@sendbird/uikit-react 3.14.5 → 3.14.6

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 (976) hide show
  1. package/.env +3 -0
  2. package/App.js +83 -83
  3. package/CHANGELOG.md +4 -0
  4. package/Channel/components/ChannelHeader.js +29 -29
  5. package/Channel/components/ChannelUI.js +63 -63
  6. package/Channel/components/FileViewer.js +29 -29
  7. package/Channel/components/FrozenNotification.js +6 -5
  8. package/Channel/components/FrozenNotification.js.map +1 -1
  9. package/Channel/components/Message.js +57 -54
  10. package/Channel/components/Message.js.map +1 -1
  11. package/Channel/components/MessageInput.js +46 -46
  12. package/Channel/components/MessageInputWrapper.js +41 -41
  13. package/Channel/components/MessageList.js +59 -59
  14. package/Channel/components/RemoveMessageModal.js +28 -28
  15. package/Channel/components/SuggestedMentionList.js +26 -26
  16. package/Channel/components/TypingIndicator.js +6 -6
  17. package/Channel/components/UnreadCount.js +7 -7
  18. package/Channel/context.js +107 -133
  19. package/Channel/context.js.map +1 -1
  20. package/Channel/hooks/useHandleUploadFiles.js +15 -15
  21. package/Channel/hooks/useInitialMessagesFetch.js +6 -6
  22. package/Channel/utils/compareMessagesForGrouping.js +4 -4
  23. package/Channel/utils/getMessagePartsInfo.js +8 -8
  24. package/Channel.js +63 -63
  25. package/ChannelList/components/AddChannel.js +22 -22
  26. package/ChannelList/components/ChannelListHeader.js +10 -10
  27. package/ChannelList/components/ChannelListUI.js +36 -36
  28. package/ChannelList/components/ChannelPreview.js +28 -28
  29. package/ChannelList/components/ChannelPreviewAction.js +13 -13
  30. package/ChannelList/context.js +9 -9
  31. package/ChannelList.js +35 -35
  32. package/ChannelSettings/components/ChannelProfile.js +20 -20
  33. package/ChannelSettings/components/ChannelSettingsHeader.js +8 -8
  34. package/ChannelSettings/components/ChannelSettingsUI.js +26 -26
  35. package/ChannelSettings/components/EditDetailsModal.js +32 -27
  36. package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
  37. package/ChannelSettings/components/LeaveChannel.js +16 -16
  38. package/ChannelSettings/components/ModerationPanel.js +39 -36
  39. package/ChannelSettings/components/ModerationPanel.js.map +1 -1
  40. package/ChannelSettings/components/UserListItem.js +19 -19
  41. package/ChannelSettings/components/UserPanel.js +22 -22
  42. package/ChannelSettings/context.js +10 -5
  43. package/ChannelSettings/context.js.map +1 -1
  44. package/ChannelSettings.js +23 -23
  45. package/CreateChannel/components/CreateChannelUI.js +19 -19
  46. package/CreateChannel/components/InviteUsers.js +28 -31
  47. package/CreateChannel/components/InviteUsers.js.map +1 -1
  48. package/CreateChannel/components/SelectChannelType.js +16 -16
  49. package/CreateChannel/context.js +4 -4
  50. package/CreateChannel.js +18 -18
  51. package/CreateOpenChannel/components/CreateOpenChannelUI.js +26 -22
  52. package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
  53. package/CreateOpenChannel/context.js +10 -10
  54. package/CreateOpenChannel.js +16 -16
  55. package/EditUserProfile/components/EditUserProfileUI.js +26 -22
  56. package/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
  57. package/EditUserProfile/context.js +12 -13
  58. package/EditUserProfile/context.js.map +1 -1
  59. package/EditUserProfile.js +17 -17
  60. package/GroupChannel/components/FileViewer.js +28 -29
  61. package/GroupChannel/components/FileViewer.js.map +1 -1
  62. package/GroupChannel/components/FrozenNotification.js +7 -6
  63. package/GroupChannel/components/FrozenNotification.js.map +1 -1
  64. package/GroupChannel/components/GroupChannelHeader.js +24 -24
  65. package/GroupChannel/components/GroupChannelUI.js +58 -58
  66. package/GroupChannel/components/Message.js +55 -52
  67. package/GroupChannel/components/Message.js.map +1 -1
  68. package/GroupChannel/components/MessageInputWrapper.js +41 -41
  69. package/GroupChannel/components/MessageList.js +53 -53
  70. package/GroupChannel/components/RemoveMessageModal.js +25 -25
  71. package/GroupChannel/components/SuggestedMentionList.js +12 -12
  72. package/GroupChannel/components/TypingIndicator.js +6 -6
  73. package/GroupChannel/components/UnreadCount.js +8 -8
  74. package/GroupChannel/context.js +39 -31
  75. package/GroupChannel/context.js.map +1 -1
  76. package/GroupChannel.js +58 -58
  77. package/GroupChannelList/components/AddGroupChannel.js +20 -20
  78. package/GroupChannelList/components/GroupChannelListHeader.js +11 -11
  79. package/GroupChannelList/components/GroupChannelListItem.js +26 -26
  80. package/GroupChannelList/components/GroupChannelListUI.js +35 -35
  81. package/GroupChannelList/components/GroupChannelPreviewAction.js +14 -14
  82. package/GroupChannelList/context.js +5 -5
  83. package/GroupChannelList.js +34 -34
  84. package/MessageSearch/components/MessageSearchUI.js +21 -22
  85. package/MessageSearch/components/MessageSearchUI.js.map +1 -1
  86. package/MessageSearch/context.js +18 -10
  87. package/MessageSearch/context.js.map +1 -1
  88. package/MessageSearch.js +24 -25
  89. package/MessageSearch.js.map +1 -1
  90. package/OpenChannel/components/FrozenChannelNotification.js +5 -5
  91. package/OpenChannel/components/OpenChannelHeader.js +20 -20
  92. package/OpenChannel/components/OpenChannelInput.js +26 -26
  93. package/OpenChannel/components/OpenChannelMessage.js +37 -37
  94. package/OpenChannel/components/OpenChannelMessageList.js +43 -42
  95. package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  96. package/OpenChannel/components/OpenChannelUI.js +40 -40
  97. package/OpenChannel/context.js +19 -19
  98. package/OpenChannel.js +40 -40
  99. package/OpenChannelList/components/OpenChannelListUI.js +18 -18
  100. package/OpenChannelList/components/OpenChannelPreview.js +8 -8
  101. package/OpenChannelList/context.js +3 -3
  102. package/OpenChannelList.js +18 -18
  103. package/OpenChannelSettings/components/EditDetailsModal.js +34 -30
  104. package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
  105. package/OpenChannelSettings/components/OpenChannelProfile.js +19 -19
  106. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +22 -22
  107. package/OpenChannelSettings/components/OperatorUI.js +56 -49
  108. package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
  109. package/OpenChannelSettings/components/ParticipantUI.js +18 -18
  110. package/OpenChannelSettings/context.js +10 -5
  111. package/OpenChannelSettings/context.js.map +1 -1
  112. package/OpenChannelSettings.js +20 -20
  113. package/SendbirdProvider.js +37 -43
  114. package/SendbirdProvider.js.map +1 -1
  115. package/Thread/components/ParentMessageInfo.js +52 -51
  116. package/Thread/components/ParentMessageInfo.js.map +1 -1
  117. package/Thread/components/ParentMessageInfoItem.js +43 -41
  118. package/Thread/components/ParentMessageInfoItem.js.map +1 -1
  119. package/Thread/components/ThreadHeader.js +9 -9
  120. package/Thread/components/ThreadList.js +48 -48
  121. package/Thread/components/ThreadListItem.js +56 -58
  122. package/Thread/components/ThreadListItem.js.map +1 -1
  123. package/Thread/components/ThreadMessageInput.js +46 -46
  124. package/Thread/components/ThreadUI.js +60 -58
  125. package/Thread/components/ThreadUI.js.map +1 -1
  126. package/Thread/context.js +28 -38
  127. package/Thread/context.js.map +1 -1
  128. package/Thread.js +56 -56
  129. package/VoicePlayer/context.js +3 -3
  130. package/VoicePlayer/useVoicePlayer.js +17 -17
  131. package/VoiceRecorder/context.js +13 -13
  132. package/VoiceRecorder/useVoiceRecorder.js +20 -20
  133. package/chunks/{bundle-Cj-w5I5i.js → bundle-3Mubyujl.js} +1 -1
  134. package/chunks/bundle-3Mubyujl.js.map +1 -0
  135. package/chunks/{bundle-DEFOjZw9.js → bundle-B-DnYw4p.js} +4 -4
  136. package/chunks/bundle-B-DnYw4p.js.map +1 -0
  137. package/chunks/{bundle-YveljAuC.js → bundle-B3nNazhn.js} +1 -1
  138. package/chunks/bundle-B3nNazhn.js.map +1 -0
  139. package/chunks/{bundle-BI0n-T1b.js → bundle-B3sFrr1p.js} +4 -4
  140. package/chunks/bundle-B3sFrr1p.js.map +1 -0
  141. package/chunks/{bundle-DG8DFRNL.js → bundle-B3xB7_P4.js} +6 -5
  142. package/chunks/{bundle-DG8DFRNL.js.map → bundle-B3xB7_P4.js.map} +1 -1
  143. package/chunks/{bundle-Cw_yF4Vi.js → bundle-B4izwMfD.js} +1 -1
  144. package/chunks/bundle-B4izwMfD.js.map +1 -0
  145. package/chunks/{bundle-E4462uBn.js → bundle-B65gr4tC.js} +1 -1
  146. package/chunks/bundle-B65gr4tC.js.map +1 -0
  147. package/chunks/{bundle-CDMcNani.js → bundle-B9ue8vfn.js} +6 -5
  148. package/chunks/{bundle-CDMcNani.js.map → bundle-B9ue8vfn.js.map} +1 -1
  149. package/chunks/{bundle-BxaysvGU.js → bundle-BFa8UJ8b.js} +2 -2
  150. package/chunks/bundle-BFa8UJ8b.js.map +1 -0
  151. package/chunks/{bundle-Br_sURBN.js → bundle-BKVuhi2w.js} +1 -1
  152. package/chunks/bundle-BKVuhi2w.js.map +1 -0
  153. package/chunks/{bundle-D2MpL8t0.js → bundle-BMQLJ23N.js} +16 -11
  154. package/chunks/{bundle-D2MpL8t0.js.map → bundle-BMQLJ23N.js.map} +1 -1
  155. package/chunks/{bundle-Cdx5L_Jm.js → bundle-BRZDoZIQ.js} +3 -3
  156. package/chunks/bundle-BRZDoZIQ.js.map +1 -0
  157. package/chunks/{bundle-SI5OarjR.js → bundle-BWiA6-mB.js} +3 -3
  158. package/chunks/{bundle-SI5OarjR.js.map → bundle-BWiA6-mB.js.map} +1 -1
  159. package/chunks/{bundle-cgNuve_E.js → bundle-BYyMnx0z.js} +2 -2
  160. package/chunks/bundle-BYyMnx0z.js.map +1 -0
  161. package/chunks/{bundle-Y_WIAHds.js → bundle-BaXke8XU.js} +3 -3
  162. package/chunks/bundle-BaXke8XU.js.map +1 -0
  163. package/chunks/{bundle-HFOQJZAX.js → bundle-Bd6fN8eX.js} +1 -1
  164. package/chunks/bundle-Bd6fN8eX.js.map +1 -0
  165. package/chunks/{bundle-C1XVT5qc.js → bundle-BgL9QnGd.js} +5 -4
  166. package/chunks/bundle-BgL9QnGd.js.map +1 -0
  167. package/chunks/{bundle-B26G55qN.js → bundle-BiK_ngKm.js} +1 -1
  168. package/chunks/{bundle-B26G55qN.js.map → bundle-BiK_ngKm.js.map} +1 -1
  169. package/chunks/{bundle-CUOi3VHK.js → bundle-BjTYwue9.js} +5 -5
  170. package/chunks/{bundle-CUOi3VHK.js.map → bundle-BjTYwue9.js.map} +1 -1
  171. package/chunks/{bundle-BQPvwBK8.js → bundle-Bmk2FVdj.js} +1 -1
  172. package/chunks/bundle-Bmk2FVdj.js.map +1 -0
  173. package/chunks/{bundle-hF8Gurf8.js → bundle-Boh0Ffwo.js} +1 -1
  174. package/chunks/bundle-Boh0Ffwo.js.map +1 -0
  175. package/chunks/{bundle-C8hyJJ4a.js → bundle-C093wLqR.js} +10 -9
  176. package/chunks/{bundle-C8hyJJ4a.js.map → bundle-C093wLqR.js.map} +1 -1
  177. package/chunks/{bundle-B4q4jk6S.js → bundle-C3gISq8S.js} +31 -26
  178. package/chunks/bundle-C3gISq8S.js.map +1 -0
  179. package/chunks/{bundle-CTqXLoJ-.js → bundle-C7Vw36CA.js} +1 -1
  180. package/chunks/{bundle-CTqXLoJ-.js.map → bundle-C7Vw36CA.js.map} +1 -1
  181. package/chunks/{bundle-C2B-jwQF.js → bundle-C8jE79mn.js} +1 -1
  182. package/chunks/bundle-C8jE79mn.js.map +1 -0
  183. package/chunks/{bundle-u9Zl-7Je.js → bundle-CFgnDIJC.js} +1 -1
  184. package/chunks/bundle-CFgnDIJC.js.map +1 -0
  185. package/chunks/{bundle-DiVyB2HD.js → bundle-CGmq3qGM.js} +25 -30
  186. package/chunks/bundle-CGmq3qGM.js.map +1 -0
  187. package/chunks/{bundle-DudTIr4X.js → bundle-COYqO05C.js} +1 -1
  188. package/chunks/bundle-COYqO05C.js.map +1 -0
  189. package/chunks/{bundle-B8F-tpmW.js → bundle-COd0N3nE.js} +34 -30
  190. package/chunks/{bundle-B8F-tpmW.js.map → bundle-COd0N3nE.js.map} +1 -1
  191. package/chunks/{bundle-DHrYAkRt.js → bundle-COoyrRF6.js} +2 -1
  192. package/chunks/bundle-COoyrRF6.js.map +1 -0
  193. package/chunks/{bundle-C5i4dn9q.js → bundle-CWXSCBTE.js} +1 -1
  194. package/chunks/bundle-CWXSCBTE.js.map +1 -0
  195. package/chunks/{bundle-BD-1uffr.js → bundle-CYknZObK.js} +6 -6
  196. package/chunks/{bundle-BD-1uffr.js.map → bundle-CYknZObK.js.map} +1 -1
  197. package/chunks/{bundle-60et0yds.js → bundle-C_dNvBEo.js} +2 -4
  198. package/chunks/bundle-C_dNvBEo.js.map +1 -0
  199. package/chunks/{bundle-DElB1Hqa.js → bundle-CbFt9rKR.js} +6 -6
  200. package/chunks/bundle-CbFt9rKR.js.map +1 -0
  201. package/chunks/{bundle-B621kS6J.js → bundle-Ce-B4ROs.js} +1 -1
  202. package/chunks/{bundle-B621kS6J.js.map → bundle-Ce-B4ROs.js.map} +1 -1
  203. package/chunks/{bundle-BGTq2aZA.js → bundle-Ck_ke5Gq.js} +4 -4
  204. package/chunks/bundle-Ck_ke5Gq.js.map +1 -0
  205. package/chunks/{bundle-DYmy2oK3.js → bundle-Cn6S1UKt.js} +11 -11
  206. package/chunks/bundle-Cn6S1UKt.js.map +1 -0
  207. package/chunks/{bundle-C6yCDg1g.js → bundle-Cp2PKGXI.js} +18 -17
  208. package/chunks/{bundle-C6yCDg1g.js.map → bundle-Cp2PKGXI.js.map} +1 -1
  209. package/chunks/{bundle-CtgXJZJt.js → bundle-CriEArZn.js} +1 -1
  210. package/chunks/bundle-CriEArZn.js.map +1 -0
  211. package/chunks/{bundle-2jZ-0hKC.js → bundle-Ct6xKrI3.js} +35 -38
  212. package/{cjs/chunks/bundle-BEtlTF8Q.js.map → chunks/bundle-Ct6xKrI3.js.map} +1 -1
  213. package/chunks/{bundle-D-cEFrBM.js → bundle-CttExrDx.js} +19 -35
  214. package/chunks/{bundle-D-cEFrBM.js.map → bundle-CttExrDx.js.map} +1 -1
  215. package/chunks/{bundle-DZl5IVWc.js → bundle-D1rcEkoi.js} +2 -2
  216. package/chunks/{bundle-DZl5IVWc.js.map → bundle-D1rcEkoi.js.map} +1 -1
  217. package/chunks/{bundle-BXXtOrta.js → bundle-D5P54ZJi.js} +58 -50
  218. package/chunks/{bundle-BXXtOrta.js.map → bundle-D5P54ZJi.js.map} +1 -1
  219. package/chunks/{bundle-BfjOoJk6.js → bundle-D9dyuFq0.js} +8 -8
  220. package/chunks/bundle-D9dyuFq0.js.map +1 -0
  221. package/chunks/{bundle-CDy_GVNR.js → bundle-DKkCwVCs.js} +1 -1
  222. package/chunks/{bundle-CDy_GVNR.js.map → bundle-DKkCwVCs.js.map} +1 -1
  223. package/chunks/{bundle-BA5xmpyI.js → bundle-DKs8lowG.js} +40 -62
  224. package/chunks/{bundle-BA5xmpyI.js.map → bundle-DKs8lowG.js.map} +1 -1
  225. package/chunks/{bundle-C8XqVZD9.js → bundle-DQZG-uS3.js} +6 -6
  226. package/chunks/bundle-DQZG-uS3.js.map +1 -0
  227. package/chunks/{bundle-D5DtB0L7.js → bundle-DQdztuN4.js} +62 -69
  228. package/chunks/{bundle-D5DtB0L7.js.map → bundle-DQdztuN4.js.map} +1 -1
  229. package/chunks/{bundle-ARb5Lm9T.js → bundle-DYErcqMl.js} +2 -2
  230. package/chunks/bundle-DYErcqMl.js.map +1 -0
  231. package/chunks/{bundle-DwvN2wPi.js → bundle-DYtgOX1c.js} +6 -6
  232. package/chunks/bundle-DYtgOX1c.js.map +1 -0
  233. package/chunks/{bundle-thdxvFU8.js → bundle-DhBuJR0w.js} +3 -2
  234. package/chunks/bundle-DhBuJR0w.js.map +1 -0
  235. package/chunks/{bundle-DwPw_RW5.js → bundle-Dk5y6RzJ.js} +1 -1
  236. package/chunks/bundle-Dk5y6RzJ.js.map +1 -0
  237. package/chunks/{bundle-9Pg6kODx.js → bundle-DprHnWfH.js} +1 -1
  238. package/chunks/{bundle-9Pg6kODx.js.map → bundle-DprHnWfH.js.map} +1 -1
  239. package/chunks/{bundle-uI-GOX6U.js → bundle-DuBg9tG9.js} +2 -2
  240. package/chunks/bundle-DuBg9tG9.js.map +1 -0
  241. package/chunks/{bundle-WdeDKCD0.js → bundle-DuRujwfr.js} +10 -10
  242. package/chunks/bundle-DuRujwfr.js.map +1 -0
  243. package/chunks/{bundle-e3NlFYfX.js → bundle-Dv6nIlPZ.js} +7 -7
  244. package/chunks/bundle-Dv6nIlPZ.js.map +1 -0
  245. package/chunks/{bundle-Chn4Xw78.js → bundle-DvNDJy8Z.js} +2 -2
  246. package/chunks/bundle-DvNDJy8Z.js.map +1 -0
  247. package/chunks/{bundle-DhJuLwLJ.js → bundle-Dw9nwO7e.js} +1 -1
  248. package/chunks/bundle-Dw9nwO7e.js.map +1 -0
  249. package/chunks/{bundle-2vhBVWLQ.js → bundle-DwJ8HgZK.js} +7 -4
  250. package/{cjs/chunks/bundle-Bpy7IQta.js.map → chunks/bundle-DwJ8HgZK.js.map} +1 -1
  251. package/chunks/{bundle-DVc25Jb7.js → bundle-EYdnditu.js} +5 -5
  252. package/chunks/bundle-EYdnditu.js.map +1 -0
  253. package/chunks/{bundle-klvZ-YE5.js → bundle-EgWLYRXK.js} +1 -1
  254. package/chunks/bundle-EgWLYRXK.js.map +1 -0
  255. package/chunks/{bundle-DoXeGvHN.js → bundle-FfoT30Gt.js} +1 -1
  256. package/chunks/bundle-FfoT30Gt.js.map +1 -0
  257. package/chunks/{bundle-Pw31xKtZ.js → bundle-GMapp_Tb.js} +9 -5
  258. package/chunks/bundle-GMapp_Tb.js.map +1 -0
  259. package/chunks/{bundle-iA2l_iD3.js → bundle-Ps1Qc3cX.js} +9 -3
  260. package/chunks/bundle-Ps1Qc3cX.js.map +1 -0
  261. package/chunks/{bundle-DUVa5cu6.js → bundle-QPuxH0uW.js} +1 -1
  262. package/chunks/bundle-QPuxH0uW.js.map +1 -0
  263. package/chunks/{bundle-xHRJMo_A.js → bundle-RoB3xpYU.js} +3 -3
  264. package/chunks/bundle-RoB3xpYU.js.map +1 -0
  265. package/chunks/{bundle-DVMiIa_8.js → bundle-RuTR5KRM.js} +13 -13
  266. package/chunks/{bundle-DVMiIa_8.js.map → bundle-RuTR5KRM.js.map} +1 -1
  267. package/chunks/{bundle-CLQfFjkS.js → bundle-U_oIvkG2.js} +3 -3
  268. package/chunks/bundle-U_oIvkG2.js.map +1 -0
  269. package/chunks/{bundle-Dpj_mOs8.js → bundle-YUF6WfTL.js} +30 -33
  270. package/chunks/bundle-YUF6WfTL.js.map +1 -0
  271. package/chunks/{bundle-HhDUyQa4.js → bundle-ZBhGb8Lc.js} +2 -2
  272. package/chunks/bundle-ZBhGb8Lc.js.map +1 -0
  273. package/chunks/{bundle-BUMKThPh.js → bundle-gH-X0MYD.js} +17 -16
  274. package/chunks/{bundle-BEbribQZ.js.map → bundle-gH-X0MYD.js.map} +1 -1
  275. package/chunks/{bundle-KmtzKHnJ.js → bundle-gNs_MAJh.js} +1 -1
  276. package/chunks/bundle-gNs_MAJh.js.map +1 -0
  277. package/chunks/{bundle-BCuW6lS8.js → bundle-h8I0AuUK.js} +2 -2
  278. package/chunks/bundle-h8I0AuUK.js.map +1 -0
  279. package/chunks/{bundle-BH5EGLxi.js → bundle-janisM9b.js} +7 -7
  280. package/chunks/{bundle-BH5EGLxi.js.map → bundle-janisM9b.js.map} +1 -1
  281. package/chunks/bundle-nfJ9J5Md.js +18 -0
  282. package/chunks/bundle-nfJ9J5Md.js.map +1 -0
  283. package/chunks/{bundle-q3jyuKU7.js → bundle-prXB4t_m.js} +3 -3
  284. package/chunks/bundle-prXB4t_m.js.map +1 -0
  285. package/chunks/{bundle-BEbribQZ.js → bundle-sX9kxwmI.js} +11 -13
  286. package/chunks/{bundle-BUMKThPh.js.map → bundle-sX9kxwmI.js.map} +1 -1
  287. package/chunks/{bundle-DQ3tLeW9.js → bundle-t4qeDosj.js} +2 -2
  288. package/chunks/{bundle-DQ3tLeW9.js.map → bundle-t4qeDosj.js.map} +1 -1
  289. package/chunks/{bundle-8J9SSfIS.js → bundle-uIqOEfCa.js} +1 -1
  290. package/chunks/bundle-uIqOEfCa.js.map +1 -0
  291. package/chunks/{bundle-CclWZYVY.js → bundle-zwvszN0Y.js} +19 -16
  292. package/{cjs/chunks/bundle-Cc89qdjT.js.map → chunks/bundle-zwvszN0Y.js.map} +1 -1
  293. package/cjs/App.js +83 -83
  294. package/cjs/Channel/components/ChannelHeader.js +29 -29
  295. package/cjs/Channel/components/ChannelUI.js +63 -63
  296. package/cjs/Channel/components/FileViewer.js +29 -29
  297. package/cjs/Channel/components/FrozenNotification.js +6 -5
  298. package/cjs/Channel/components/FrozenNotification.js.map +1 -1
  299. package/cjs/Channel/components/Message.js +57 -54
  300. package/cjs/Channel/components/Message.js.map +1 -1
  301. package/cjs/Channel/components/MessageInput.js +46 -46
  302. package/cjs/Channel/components/MessageInputWrapper.js +41 -41
  303. package/cjs/Channel/components/MessageList.js +59 -59
  304. package/cjs/Channel/components/RemoveMessageModal.js +28 -28
  305. package/cjs/Channel/components/SuggestedMentionList.js +26 -26
  306. package/cjs/Channel/components/TypingIndicator.js +6 -6
  307. package/cjs/Channel/components/UnreadCount.js +7 -7
  308. package/cjs/Channel/context.js +107 -133
  309. package/cjs/Channel/context.js.map +1 -1
  310. package/cjs/Channel/hooks/useHandleUploadFiles.js +15 -15
  311. package/cjs/Channel/hooks/useInitialMessagesFetch.js +6 -6
  312. package/cjs/Channel/utils/compareMessagesForGrouping.js +4 -4
  313. package/cjs/Channel/utils/getMessagePartsInfo.js +8 -8
  314. package/cjs/Channel.js +63 -63
  315. package/cjs/ChannelList/components/AddChannel.js +22 -22
  316. package/cjs/ChannelList/components/ChannelListHeader.js +10 -10
  317. package/cjs/ChannelList/components/ChannelListUI.js +36 -36
  318. package/cjs/ChannelList/components/ChannelPreview.js +28 -28
  319. package/cjs/ChannelList/components/ChannelPreviewAction.js +13 -13
  320. package/cjs/ChannelList/context.js +9 -9
  321. package/cjs/ChannelList.js +35 -35
  322. package/cjs/ChannelSettings/components/ChannelProfile.js +20 -20
  323. package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +8 -8
  324. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +25 -25
  325. package/cjs/ChannelSettings/components/EditDetailsModal.js +32 -27
  326. package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
  327. package/cjs/ChannelSettings/components/LeaveChannel.js +16 -16
  328. package/cjs/ChannelSettings/components/ModerationPanel.js +39 -36
  329. package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
  330. package/cjs/ChannelSettings/components/UserListItem.js +19 -19
  331. package/cjs/ChannelSettings/components/UserPanel.js +22 -22
  332. package/cjs/ChannelSettings/context.js +10 -5
  333. package/cjs/ChannelSettings/context.js.map +1 -1
  334. package/cjs/ChannelSettings.js +23 -23
  335. package/cjs/CreateChannel/components/CreateChannelUI.js +19 -19
  336. package/cjs/CreateChannel/components/InviteUsers.js +28 -31
  337. package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
  338. package/cjs/CreateChannel/components/SelectChannelType.js +16 -16
  339. package/cjs/CreateChannel/context.js +4 -4
  340. package/cjs/CreateChannel.js +18 -18
  341. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +26 -22
  342. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
  343. package/cjs/CreateOpenChannel/context.js +10 -10
  344. package/cjs/CreateOpenChannel.js +16 -16
  345. package/cjs/EditUserProfile/components/EditUserProfileUI.js +26 -22
  346. package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
  347. package/cjs/EditUserProfile/context.js +11 -12
  348. package/cjs/EditUserProfile/context.js.map +1 -1
  349. package/cjs/EditUserProfile.js +17 -17
  350. package/cjs/GroupChannel/components/FileViewer.js +28 -29
  351. package/cjs/GroupChannel/components/FileViewer.js.map +1 -1
  352. package/cjs/GroupChannel/components/FrozenNotification.js +7 -6
  353. package/cjs/GroupChannel/components/FrozenNotification.js.map +1 -1
  354. package/cjs/GroupChannel/components/GroupChannelHeader.js +24 -24
  355. package/cjs/GroupChannel/components/GroupChannelUI.js +58 -58
  356. package/cjs/GroupChannel/components/Message.js +55 -52
  357. package/cjs/GroupChannel/components/Message.js.map +1 -1
  358. package/cjs/GroupChannel/components/MessageInputWrapper.js +40 -40
  359. package/cjs/GroupChannel/components/MessageList.js +53 -53
  360. package/cjs/GroupChannel/components/RemoveMessageModal.js +25 -25
  361. package/cjs/GroupChannel/components/SuggestedMentionList.js +12 -12
  362. package/cjs/GroupChannel/components/TypingIndicator.js +6 -6
  363. package/cjs/GroupChannel/components/UnreadCount.js +8 -8
  364. package/cjs/GroupChannel/context.js +39 -31
  365. package/cjs/GroupChannel/context.js.map +1 -1
  366. package/cjs/GroupChannel.js +58 -58
  367. package/cjs/GroupChannelList/components/AddGroupChannel.js +20 -20
  368. package/cjs/GroupChannelList/components/GroupChannelListHeader.js +11 -11
  369. package/cjs/GroupChannelList/components/GroupChannelListItem.js +26 -26
  370. package/cjs/GroupChannelList/components/GroupChannelListUI.js +35 -35
  371. package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +14 -14
  372. package/cjs/GroupChannelList/context.js +5 -5
  373. package/cjs/GroupChannelList.js +34 -34
  374. package/cjs/MessageSearch/components/MessageSearchUI.js +21 -22
  375. package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
  376. package/cjs/MessageSearch/context.js +18 -10
  377. package/cjs/MessageSearch/context.js.map +1 -1
  378. package/cjs/MessageSearch.js +24 -25
  379. package/cjs/MessageSearch.js.map +1 -1
  380. package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
  381. package/cjs/OpenChannel/components/OpenChannelHeader.js +20 -20
  382. package/cjs/OpenChannel/components/OpenChannelInput.js +26 -26
  383. package/cjs/OpenChannel/components/OpenChannelMessage.js +37 -37
  384. package/cjs/OpenChannel/components/OpenChannelMessageList.js +43 -42
  385. package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  386. package/cjs/OpenChannel/components/OpenChannelUI.js +40 -40
  387. package/cjs/OpenChannel/context.js +19 -19
  388. package/cjs/OpenChannel.js +40 -40
  389. package/cjs/OpenChannelList/components/OpenChannelListUI.js +18 -18
  390. package/cjs/OpenChannelList/components/OpenChannelPreview.js +8 -8
  391. package/cjs/OpenChannelList/context.js +3 -3
  392. package/cjs/OpenChannelList.js +18 -18
  393. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +34 -30
  394. package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
  395. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +19 -19
  396. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +22 -22
  397. package/cjs/OpenChannelSettings/components/OperatorUI.js +56 -49
  398. package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
  399. package/cjs/OpenChannelSettings/components/ParticipantUI.js +18 -18
  400. package/cjs/OpenChannelSettings/context.js +10 -5
  401. package/cjs/OpenChannelSettings/context.js.map +1 -1
  402. package/cjs/OpenChannelSettings.js +20 -20
  403. package/cjs/SendbirdProvider.js +37 -43
  404. package/cjs/SendbirdProvider.js.map +1 -1
  405. package/cjs/Thread/components/ParentMessageInfo.js +52 -51
  406. package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
  407. package/cjs/Thread/components/ParentMessageInfoItem.js +43 -41
  408. package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
  409. package/cjs/Thread/components/ThreadHeader.js +9 -9
  410. package/cjs/Thread/components/ThreadList.js +48 -48
  411. package/cjs/Thread/components/ThreadListItem.js +56 -58
  412. package/cjs/Thread/components/ThreadListItem.js.map +1 -1
  413. package/cjs/Thread/components/ThreadMessageInput.js +46 -46
  414. package/cjs/Thread/components/ThreadUI.js +60 -58
  415. package/cjs/Thread/components/ThreadUI.js.map +1 -1
  416. package/cjs/Thread/context.js +28 -38
  417. package/cjs/Thread/context.js.map +1 -1
  418. package/cjs/Thread.js +56 -56
  419. package/cjs/VoicePlayer/context.js +3 -3
  420. package/cjs/VoicePlayer/useVoicePlayer.js +16 -16
  421. package/cjs/VoiceRecorder/context.js +13 -13
  422. package/cjs/VoiceRecorder/useVoiceRecorder.js +20 -20
  423. package/cjs/chunks/{bundle-DvkiHRsE.js → bundle-0t_JDxef.js} +6 -5
  424. package/cjs/chunks/bundle-0t_JDxef.js.map +1 -0
  425. package/cjs/chunks/{bundle-ZItyfz7r.js → bundle-133JUAh1.js} +4 -4
  426. package/cjs/chunks/bundle-133JUAh1.js.map +1 -0
  427. package/cjs/chunks/{bundle-CpIdIHld.js → bundle-13qq2yWM.js} +10 -10
  428. package/cjs/chunks/bundle-13qq2yWM.js.map +1 -0
  429. package/cjs/chunks/{bundle-CDJXrIVC.js → bundle-1A4pOyri.js} +1 -1
  430. package/cjs/chunks/{bundle-CDJXrIVC.js.map → bundle-1A4pOyri.js.map} +1 -1
  431. package/cjs/chunks/{bundle-BG8qs_3y.js → bundle-6_B00yYz.js} +1 -1
  432. package/cjs/chunks/bundle-6_B00yYz.js.map +1 -0
  433. package/cjs/chunks/{bundle-BvhC4El1.js → bundle-6aemRbmn.js} +18 -17
  434. package/cjs/chunks/{bundle-BvhC4El1.js.map → bundle-6aemRbmn.js.map} +1 -1
  435. package/cjs/chunks/{bundle-DpK1fr1j.js → bundle-7CEyuoln.js} +1 -1
  436. package/cjs/chunks/bundle-7CEyuoln.js.map +1 -0
  437. package/cjs/chunks/{bundle-B-0_xv9u.js → bundle-86A5Bf9J.js} +9 -3
  438. package/cjs/chunks/bundle-86A5Bf9J.js.map +1 -0
  439. package/cjs/chunks/{bundle-BOrMDMdN.js → bundle-A_xDyoq6.js} +30 -33
  440. package/cjs/chunks/bundle-A_xDyoq6.js.map +1 -0
  441. package/cjs/chunks/{bundle-DFVUnSWq.js → bundle-B1Ql7yM0.js} +2 -2
  442. package/cjs/chunks/bundle-B1Ql7yM0.js.map +1 -0
  443. package/cjs/chunks/{bundle-B2h5VMZ6.js → bundle-B2WuxwoH.js} +2 -2
  444. package/cjs/chunks/bundle-B2WuxwoH.js.map +1 -0
  445. package/cjs/chunks/{bundle-D1X4MKLh.js → bundle-BBsKv3Vz.js} +6 -5
  446. package/{chunks/bundle-B4q4jk6S.js.map → cjs/chunks/bundle-BBsKv3Vz.js.map} +1 -1
  447. package/cjs/chunks/{bundle-B1uXZFKP.js → bundle-BE-L5873.js} +19 -16
  448. package/cjs/chunks/{bundle-B1uXZFKP.js.map → bundle-BE-L5873.js.map} +1 -1
  449. package/cjs/chunks/{bundle-DZMn5ScB.js → bundle-BE1dAigY.js} +6 -6
  450. package/cjs/chunks/bundle-BE1dAigY.js.map +1 -0
  451. package/cjs/chunks/{bundle-Ci6F_UQc.js → bundle-BFy8_d3W.js} +1 -1
  452. package/cjs/chunks/bundle-BFy8_d3W.js.map +1 -0
  453. package/cjs/chunks/{bundle-CcmMvK6l.js → bundle-BK_SqbHE.js} +1 -1
  454. package/cjs/chunks/bundle-BK_SqbHE.js.map +1 -0
  455. package/cjs/chunks/{bundle-8IuV93EV.js → bundle-BLs0JcXs.js} +62 -69
  456. package/cjs/chunks/{bundle-8IuV93EV.js.map → bundle-BLs0JcXs.js.map} +1 -1
  457. package/cjs/chunks/{bundle-DWBc-Yv7.js → bundle-BNMoxGCr.js} +1 -1
  458. package/cjs/chunks/bundle-BNMoxGCr.js.map +1 -0
  459. package/cjs/chunks/{bundle-Ca7xeBTO.js → bundle-BNzVVkzd.js} +3 -1
  460. package/cjs/chunks/bundle-BNzVVkzd.js.map +1 -0
  461. package/cjs/chunks/{bundle-DsrfvJYA.js → bundle-BPV3CKzS.js} +30 -25
  462. package/cjs/chunks/bundle-BPV3CKzS.js.map +1 -0
  463. package/cjs/chunks/{bundle-Pfx0MBr4.js → bundle-Bgeq75IH.js} +3 -3
  464. package/cjs/chunks/bundle-Bgeq75IH.js.map +1 -0
  465. package/cjs/chunks/{bundle-B4EdciCR.js → bundle-BimsU_nb.js} +2 -1
  466. package/cjs/chunks/bundle-BimsU_nb.js.map +1 -0
  467. package/cjs/chunks/{bundle-OCHWYrfg.js → bundle-BtsHzLKX.js} +2 -2
  468. package/cjs/chunks/bundle-BtsHzLKX.js.map +1 -0
  469. package/cjs/chunks/{bundle-BMN1aDia.js → bundle-Bvsx1m1J.js} +1 -1
  470. package/cjs/chunks/bundle-Bvsx1m1J.js.map +1 -0
  471. package/cjs/chunks/{bundle-DOUm656A.js → bundle-Bw1ttM89.js} +3 -3
  472. package/cjs/chunks/bundle-Bw1ttM89.js.map +1 -0
  473. package/cjs/chunks/{bundle-IE4yQ0qq.js → bundle-BzyQ6Vof.js} +1 -1
  474. package/cjs/chunks/bundle-BzyQ6Vof.js.map +1 -0
  475. package/cjs/chunks/{bundle-cl2q8NwQ.js → bundle-C1YuUjH3.js} +6 -6
  476. package/cjs/chunks/bundle-C1YuUjH3.js.map +1 -0
  477. package/cjs/chunks/{bundle-DFsKxEv-.js → bundle-C4Gs08vJ.js} +34 -30
  478. package/cjs/chunks/bundle-C4Gs08vJ.js.map +1 -0
  479. package/cjs/chunks/{bundle-DWGp201o.js → bundle-CA69fSDI.js} +2 -2
  480. package/cjs/chunks/bundle-CA69fSDI.js.map +1 -0
  481. package/cjs/chunks/{bundle-ClBBhzU-.js → bundle-CBNBRNN0.js} +1 -1
  482. package/cjs/chunks/bundle-CBNBRNN0.js.map +1 -0
  483. package/cjs/chunks/{bundle-hVU-fzqu.js → bundle-CCYpnzRf.js} +58 -50
  484. package/cjs/chunks/bundle-CCYpnzRf.js.map +1 -0
  485. package/cjs/chunks/{bundle-DvpCzVKY.js → bundle-CHvJg3bD.js} +1 -1
  486. package/cjs/chunks/bundle-CHvJg3bD.js.map +1 -0
  487. package/cjs/chunks/{bundle-D4e0UT-6.js → bundle-CI1zoEKe.js} +1 -1
  488. package/cjs/chunks/bundle-CI1zoEKe.js.map +1 -0
  489. package/cjs/chunks/{bundle-Cvu5DOpl.js → bundle-CJk1q-XX.js} +13 -13
  490. package/cjs/chunks/{bundle-Cvu5DOpl.js.map → bundle-CJk1q-XX.js.map} +1 -1
  491. package/cjs/chunks/{bundle-DLTCoQzD.js → bundle-CL4Kklzg.js} +1 -1
  492. package/cjs/chunks/bundle-CL4Kklzg.js.map +1 -0
  493. package/cjs/chunks/{bundle-IZLtKe6R.js → bundle-CTraI7aM.js} +11 -11
  494. package/cjs/chunks/bundle-CTraI7aM.js.map +1 -0
  495. package/cjs/chunks/{bundle-BAqFIbKr.js → bundle-CW2oMonb.js} +16 -11
  496. package/cjs/chunks/bundle-CW2oMonb.js.map +1 -0
  497. package/cjs/chunks/{bundle-C0ZNrrcl.js → bundle-C_8UQBXr.js} +5 -4
  498. package/cjs/chunks/bundle-C_8UQBXr.js.map +1 -0
  499. package/cjs/chunks/{bundle-CjYhSLRD.js → bundle-Cd-3W3UM.js} +2 -2
  500. package/cjs/chunks/{bundle-CjYhSLRD.js.map → bundle-Cd-3W3UM.js.map} +1 -1
  501. package/cjs/chunks/{bundle-WETElB-o.js → bundle-Cd0cyqgA.js} +7 -7
  502. package/cjs/chunks/bundle-Cd0cyqgA.js.map +1 -0
  503. package/cjs/chunks/{bundle-BEtlTF8Q.js → bundle-CliI7H5v.js} +39 -61
  504. package/cjs/chunks/bundle-CliI7H5v.js.map +1 -0
  505. package/cjs/chunks/{bundle-BCt-Rzil.js → bundle-CoJbL3ob.js} +4 -4
  506. package/cjs/chunks/bundle-CoJbL3ob.js.map +1 -0
  507. package/cjs/chunks/{bundle-B2KKkvdj.js → bundle-CuOOXDK0.js} +1 -1
  508. package/cjs/chunks/bundle-CuOOXDK0.js.map +1 -0
  509. package/cjs/chunks/{bundle-LLV3t4--.js → bundle-D1Ka8I9e.js} +5 -5
  510. package/cjs/chunks/bundle-D1Ka8I9e.js.map +1 -0
  511. package/cjs/chunks/{bundle-DGJX80zy.js → bundle-D1mguvwi.js} +10 -9
  512. package/cjs/chunks/bundle-D1mguvwi.js.map +1 -0
  513. package/cjs/chunks/{bundle-SfusZfMJ.js → bundle-D3BhVTZt.js} +1 -1
  514. package/cjs/chunks/bundle-D3BhVTZt.js.map +1 -0
  515. package/cjs/chunks/{bundle-DPrTZ-1L.js → bundle-D7rSRN-8.js} +5 -5
  516. package/cjs/chunks/bundle-D7rSRN-8.js.map +1 -0
  517. package/cjs/chunks/{bundle-BNVygboA.js → bundle-DAEHB1AV.js} +3 -3
  518. package/cjs/chunks/bundle-DAEHB1AV.js.map +1 -0
  519. package/cjs/chunks/{bundle-dr9zoU1D.js → bundle-DMUz-Xui.js} +17 -16
  520. package/cjs/chunks/{bundle-dr9zoU1D.js.map → bundle-DMUz-Xui.js.map} +1 -1
  521. package/cjs/chunks/{bundle-CLte647H.js → bundle-DOoshvnj.js} +1 -1
  522. package/cjs/chunks/bundle-DOoshvnj.js.map +1 -0
  523. package/cjs/chunks/{bundle-hXD0NDZt.js → bundle-DQu5RJ2y.js} +4 -4
  524. package/cjs/chunks/bundle-DQu5RJ2y.js.map +1 -0
  525. package/cjs/chunks/{bundle-Cc89qdjT.js → bundle-DSLFcE0C.js} +11 -13
  526. package/{chunks/bundle-CclWZYVY.js.map → cjs/chunks/bundle-DSLFcE0C.js.map} +1 -1
  527. package/cjs/chunks/{bundle-CgOafeY_.js → bundle-DTJnlh7y.js} +3 -3
  528. package/cjs/chunks/{bundle-CgOafeY_.js.map → bundle-DTJnlh7y.js.map} +1 -1
  529. package/cjs/chunks/{bundle-D7v4i_Ae.js → bundle-DTzydpqA.js} +2 -4
  530. package/cjs/chunks/bundle-DTzydpqA.js.map +1 -0
  531. package/cjs/chunks/{bundle-jLW3AG2G.js → bundle-DUzcm-3u.js} +1 -1
  532. package/cjs/chunks/{bundle-jLW3AG2G.js.map → bundle-DUzcm-3u.js.map} +1 -1
  533. package/cjs/chunks/{bundle-DJ9gapN2.js → bundle-DW8u-n3u.js} +25 -30
  534. package/cjs/chunks/{bundle-DJ9gapN2.js.map → bundle-DW8u-n3u.js.map} +1 -1
  535. package/cjs/chunks/{bundle-Deao1Upp.js → bundle-DY5rfl6W.js} +3 -3
  536. package/cjs/chunks/bundle-DY5rfl6W.js.map +1 -0
  537. package/cjs/chunks/{bundle-CxNGVWIy.js → bundle-DcQeRT4T.js} +1 -1
  538. package/cjs/chunks/bundle-DcQeRT4T.js.map +1 -0
  539. package/cjs/chunks/{bundle-BCQxFX-W.js → bundle-Dd1DS9KT.js} +1 -1
  540. package/cjs/chunks/bundle-Dd1DS9KT.js.map +1 -0
  541. package/cjs/chunks/{bundle-CPIzT1cf.js → bundle-DikFXMAd.js} +1 -1
  542. package/cjs/chunks/bundle-DikFXMAd.js.map +1 -0
  543. package/cjs/chunks/{bundle-CHXLIlQ1.js → bundle-DohVekRv.js} +19 -35
  544. package/cjs/chunks/{bundle-CHXLIlQ1.js.map → bundle-DohVekRv.js.map} +1 -1
  545. package/cjs/chunks/{bundle-Cw7xe6J1.js → bundle-DrYI_bNa.js} +7 -7
  546. package/cjs/chunks/{bundle-Cw7xe6J1.js.map → bundle-DrYI_bNa.js.map} +1 -1
  547. package/cjs/chunks/{bundle-Bpy7IQta.js → bundle-Dymg5zVO.js} +7 -4
  548. package/cjs/chunks/{bundle-DGJX80zy.js.map → bundle-Dymg5zVO.js.map} +1 -1
  549. package/cjs/chunks/{bundle-30fh5iPx.js → bundle-H13ErLKW.js} +2 -2
  550. package/cjs/chunks/bundle-H13ErLKW.js.map +1 -0
  551. package/cjs/chunks/{bundle-Cnyr9_mq.js → bundle-KUj3wjEl.js} +3 -3
  552. package/cjs/chunks/bundle-KUj3wjEl.js.map +1 -0
  553. package/cjs/chunks/{bundle-GFjnAifB.js → bundle-Kf3idGio.js} +9 -5
  554. package/cjs/chunks/bundle-Kf3idGio.js.map +1 -0
  555. package/cjs/chunks/{bundle-Bw_LvbLk.js → bundle-LO6QlzTz.js} +2 -2
  556. package/cjs/chunks/bundle-LO6QlzTz.js.map +1 -0
  557. package/cjs/chunks/{bundle-CLNUkVC8.js → bundle-OIKGVRus.js} +1 -1
  558. package/cjs/chunks/bundle-OIKGVRus.js.map +1 -0
  559. package/cjs/chunks/bundle-OWb8eJt-.js +22 -0
  560. package/cjs/chunks/bundle-OWb8eJt-.js.map +1 -0
  561. package/cjs/chunks/{bundle-glVs_8wY.js → bundle-RUFiV4i0.js} +1 -1
  562. package/cjs/chunks/bundle-RUFiV4i0.js.map +1 -0
  563. package/cjs/chunks/{bundle-CL-vjR4o.js → bundle-TEjGhclf.js} +2 -2
  564. package/cjs/chunks/{bundle-CL-vjR4o.js.map → bundle-TEjGhclf.js.map} +1 -1
  565. package/cjs/chunks/{bundle-Ub33KGva.js → bundle-YRiE_c63.js} +1 -1
  566. package/cjs/chunks/bundle-YRiE_c63.js.map +1 -0
  567. package/cjs/chunks/{bundle-BiTKgXrx.js → bundle-ZjYFUjTH.js} +35 -38
  568. package/{chunks/bundle-2jZ-0hKC.js.map → cjs/chunks/bundle-ZjYFUjTH.js.map} +1 -1
  569. package/cjs/chunks/{bundle-DmVeFWB4.js → bundle-cqwHj7Dj.js} +2 -2
  570. package/cjs/chunks/bundle-cqwHj7Dj.js.map +1 -0
  571. package/cjs/chunks/{bundle-C-r9vRgc.js → bundle-eTYC1RPT.js} +1 -1
  572. package/cjs/chunks/bundle-eTYC1RPT.js.map +1 -0
  573. package/cjs/chunks/{bundle-D9UFa9yx.js → bundle-jHjvHr01.js} +1 -1
  574. package/cjs/chunks/bundle-jHjvHr01.js.map +1 -0
  575. package/cjs/chunks/{bundle-xADAFEo0.js → bundle-kbRkyLdH.js} +6 -6
  576. package/cjs/chunks/bundle-kbRkyLdH.js.map +1 -0
  577. package/cjs/chunks/{bundle-Bv_QMEk2.js → bundle-lYouUxag.js} +6 -6
  578. package/cjs/chunks/bundle-lYouUxag.js.map +1 -0
  579. package/cjs/chunks/{bundle-Bc92JuA7.js → bundle-ozey_V94.js} +8 -8
  580. package/cjs/chunks/bundle-ozey_V94.js.map +1 -0
  581. package/cjs/chunks/{bundle-C4UzGGy_.js → bundle-wz_O1vyk.js} +1 -1
  582. package/cjs/chunks/bundle-wz_O1vyk.js.map +1 -0
  583. package/cjs/hooks/useModal.js +13 -13
  584. package/cjs/index.js +78 -78
  585. package/cjs/pubSub/topics.js +1 -1
  586. package/cjs/sendbirdSelectors.js +3 -3
  587. package/cjs/ui/Accordion.js +3 -3
  588. package/cjs/ui/AccordionGroup.js +1 -1
  589. package/cjs/ui/AdminMessage.js +3 -3
  590. package/cjs/ui/Avatar.js +4 -4
  591. package/cjs/ui/Badge.js +5 -5
  592. package/cjs/ui/BottomSheet.js +16 -16
  593. package/cjs/ui/Button.js +5 -5
  594. package/cjs/ui/ChannelAvatar.js +5 -5
  595. package/cjs/ui/ConnectionStatus.js +6 -6
  596. package/cjs/ui/ContextMenu.js +6 -6
  597. package/cjs/ui/DateSeparator.js +5 -5
  598. package/cjs/ui/EmojiReactions.js +22 -22
  599. package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +7 -7
  600. package/cjs/ui/FileMessageItemBody.js +9 -9
  601. package/cjs/ui/FileViewer.js +17 -17
  602. package/cjs/ui/Header.js +8 -8
  603. package/cjs/ui/Icon.js +2 -2
  604. package/cjs/ui/IconButton.js +1 -1
  605. package/cjs/ui/ImageRenderer.js +4 -2
  606. package/cjs/ui/ImageRenderer.js.map +1 -1
  607. package/cjs/ui/Input.js +3 -3
  608. package/cjs/ui/Label.js +3 -3
  609. package/cjs/ui/LinkLabel.js +4 -4
  610. package/cjs/ui/Loader.js +2 -2
  611. package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +4 -4
  612. package/cjs/ui/MentionLabel.js +14 -14
  613. package/cjs/ui/MentionUserLabel.js +3 -2
  614. package/cjs/ui/MentionUserLabel.js.map +1 -1
  615. package/cjs/ui/MessageContent.js +76 -69
  616. package/cjs/ui/MessageContent.js.map +1 -1
  617. package/cjs/ui/MessageFeedbackFailedModal.js +14 -14
  618. package/cjs/ui/MessageFeedbackModal.js +19 -19
  619. package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
  620. package/cjs/ui/MessageInput.js +103 -82
  621. package/cjs/ui/MessageInput.js.map +1 -1
  622. package/cjs/ui/MessageItemMenu.js +20 -20
  623. package/cjs/ui/MessageItemReactionMenu.js +15 -15
  624. package/cjs/ui/MessageSearchFileItem.js +15 -15
  625. package/cjs/ui/MessageSearchItem.js +13 -13
  626. package/cjs/ui/MessageStatus.js +11 -11
  627. package/cjs/ui/MessageTemplate.js +1 -1
  628. package/cjs/ui/MobileFeedbackMenu.js +13 -13
  629. package/cjs/ui/Modal.js +13 -13
  630. package/cjs/ui/MutedAvatarOverlay.js +2 -2
  631. package/cjs/ui/OGMessageItemBody.js +23 -22
  632. package/cjs/ui/OGMessageItemBody.js.map +1 -1
  633. package/cjs/ui/OpenChannelAdminMessage.js +3 -3
  634. package/cjs/ui/OpenChannelAvatar.js +8 -8
  635. package/cjs/ui/OpenchannelConversationHeader.js +8 -8
  636. package/cjs/ui/OpenchannelFileMessage.js +18 -18
  637. package/cjs/ui/OpenchannelOGMessage.js +36 -36
  638. package/cjs/ui/OpenchannelThumbnailMessage.js +18 -18
  639. package/cjs/ui/OpenchannelUserMessage.js +23 -23
  640. package/cjs/ui/PlaceHolder.js +7 -7
  641. package/cjs/ui/PlaybackTime.js +3 -3
  642. package/cjs/ui/ProgressBar.js +2 -1
  643. package/cjs/ui/ProgressBar.js.map +1 -1
  644. package/cjs/ui/QuoteMessage.js +8 -8
  645. package/cjs/ui/QuoteMessageInput.js +11 -11
  646. package/cjs/ui/ReactionBadge.js +4 -4
  647. package/cjs/ui/ReactionButton.js +4 -4
  648. package/cjs/ui/SortByRow.js +2 -2
  649. package/cjs/ui/TemplateMessageItemBody.js +22 -20
  650. package/cjs/ui/TemplateMessageItemBody.js.map +1 -1
  651. package/cjs/ui/TextButton.js +2 -2
  652. package/cjs/ui/TextMessageItemBody.js +25 -22
  653. package/cjs/ui/TextMessageItemBody.js.map +1 -1
  654. package/cjs/ui/ThreadReplies.js +10 -10
  655. package/cjs/ui/ThumbnailMessageItemBody.js +6 -6
  656. package/cjs/ui/Toggle.js +3 -3
  657. package/cjs/ui/Tooltip.js +3 -3
  658. package/cjs/ui/TooltipWrapper.js +3 -3
  659. package/cjs/ui/TypingIndicatorBubble.js +4 -4
  660. package/cjs/ui/UnknownMessageItemBody.js +7 -7
  661. package/cjs/ui/UserListItem.js +15 -15
  662. package/cjs/ui/UserProfile.js +12 -12
  663. package/cjs/ui/VoiceMessageInput.js +9 -9
  664. package/cjs/ui/VoiceMessageItemBody.js +20 -19
  665. package/cjs/ui/VoiceMessageItemBody.js.map +1 -1
  666. package/cjs/ui/Word.js +14 -14
  667. package/cjs/useSendbirdStateContext.js +1 -1
  668. package/cjs/utils/message/isVoiceMessage.js +2 -2
  669. package/cjs/withSendbird.js +4 -3
  670. package/cjs/withSendbird.js.map +1 -1
  671. package/dist/index.css +3 -4
  672. package/hooks/useModal.js +13 -13
  673. package/index.js +78 -78
  674. package/package.json +1 -1
  675. package/pubSub/topics.js +1 -1
  676. package/sendbirdSelectors.js +3 -3
  677. package/types/hooks/VoicePlayer/useVoicePlayer.d.ts +2 -2
  678. package/types/hooks/VoiceRecorder/WebAudioUtils.d.ts +5 -2
  679. package/types/hooks/VoiceRecorder/useVoiceRecorder.d.ts +1 -1
  680. package/types/lib/LocalizationContext.d.ts +3 -4
  681. package/types/lib/Logger/index.d.ts +1 -1
  682. package/types/lib/Sendbird.d.ts +2 -8
  683. package/types/lib/SendbirdSdkContext.d.ts +3 -0
  684. package/types/lib/hooks/useTheme.d.ts +1 -1
  685. package/types/lib/pubSub/topics.d.ts +2 -2
  686. package/types/lib/selectors.d.ts +4 -4
  687. package/types/lib/types.d.ts +5 -5
  688. package/types/modules/App/AppLayout.d.ts +1 -1
  689. package/types/modules/App/types.d.ts +1 -1
  690. package/types/modules/Channel/components/Message/index.d.ts +1 -1
  691. package/types/modules/Channel/context/ChannelProvider.d.ts +11 -12
  692. package/types/modules/Channel/context/hooks/useHandleChannelEvents.d.ts +2 -2
  693. package/types/modules/Channel/context/hooks/useHandleReconnect.d.ts +1 -1
  694. package/types/modules/Channel/context/hooks/useHandleReconnectForChannelList.d.ts +4 -4
  695. package/types/modules/Channel/context/hooks/useInitialMessagesFetch.d.ts +3 -3
  696. package/types/modules/Channel/context/hooks/useReconnectOnIdle.d.ts +1 -1
  697. package/types/modules/Channel/context/hooks/useScrollCallback.d.ts +2 -2
  698. package/types/modules/Channel/context/hooks/useScrollDownCallback.d.ts +1 -1
  699. package/types/modules/Channel/context/hooks/useScrollToMessage.d.ts +3 -3
  700. package/types/modules/Channel/context/hooks/useSendFileMessageCallback.d.ts +2 -2
  701. package/types/modules/Channel/context/hooks/useSendVoiceMessageCallback.d.ts +1 -1
  702. package/types/modules/Channel/context/utils.d.ts +4 -4
  703. package/types/modules/ChannelList/components/ChannelListUI/index.d.ts +1 -1
  704. package/types/modules/ChannelList/context/ChannelListProvider.d.ts +7 -7
  705. package/types/modules/ChannelList/index.d.ts +1 -1
  706. package/types/modules/ChannelList/utils.d.ts +2 -2
  707. package/types/modules/ChannelSettings/components/UserListItem/index.d.ts +4 -7
  708. package/types/modules/ChannelSettings/context/ChannelSettingsProvider.d.ts +1 -1
  709. package/types/modules/CreateChannel/context/CreateChannelProvider.d.ts +3 -2
  710. package/types/modules/EditUserProfile/components/EditUserProfileUI/EditUserProfileUIView.d.ts +1 -1
  711. package/types/modules/EditUserProfile/components/EditUserProfileUI/index.d.ts +1 -1
  712. package/types/modules/EditUserProfile/context/EditUserProfileProvider.d.ts +1 -1
  713. package/types/modules/GroupChannel/components/Message/MessageView.d.ts +9 -9
  714. package/types/modules/GroupChannel/components/MessageInputWrapper/MessageInputWrapperView.d.ts +2 -2
  715. package/types/modules/GroupChannel/components/MessageList/getMessagePartsInfo.d.ts +3 -3
  716. package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +4 -4
  717. package/types/modules/GroupChannel/context/hooks/useMessageActions.d.ts +1 -1
  718. package/types/modules/GroupChannel/context/utils.d.ts +2 -2
  719. package/types/modules/MessageSearch/context/MessageSearchProvider.d.ts +4 -4
  720. package/types/modules/MessageSearch/context/hooks/useGetSearchedMessages.d.ts +1 -1
  721. package/types/modules/MessageSearch/context/hooks/useScrollCallback.d.ts +4 -4
  722. package/types/modules/MessageSearch/index.d.ts +0 -1
  723. package/types/modules/OpenChannel/context/OpenChannelProvider.d.ts +1 -2
  724. package/types/modules/OpenChannel/context/hooks/useDeleteMessageCallback.d.ts +1 -1
  725. package/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +3 -3
  726. package/types/modules/OpenChannel/context/hooks/useHandleChannelEvents.d.ts +1 -1
  727. package/types/modules/OpenChannel/context/hooks/useInitialMessagesFetch.d.ts +1 -1
  728. package/types/modules/OpenChannel/context/hooks/useResendMessageCallback.d.ts +1 -1
  729. package/types/modules/OpenChannel/context/hooks/useScrollCallback.d.ts +1 -1
  730. package/types/modules/OpenChannel/context/hooks/useSendMessageCallback.d.ts +2 -2
  731. package/types/modules/OpenChannel/context/hooks/useSetChannel.d.ts +1 -1
  732. package/types/modules/OpenChannel/context/hooks/useTrimMessageList.d.ts +1 -1
  733. package/types/modules/OpenChannel/context/hooks/useUpdateMessageCallback.d.ts +3 -3
  734. package/types/modules/OpenChannel/context/utils.d.ts +2 -3
  735. package/types/modules/OpenChannelList/context/hooks/createChannelListQuery.d.ts +1 -1
  736. package/types/modules/OpenChannelList/context/hooks/useRefreshOpenChannelList.d.ts +1 -1
  737. package/types/modules/OpenChannelList/context/hooks/useSetupOpenChannelList.d.ts +1 -1
  738. package/types/modules/OpenChannelSettings/components/ParticipantUI/ParticipantItem.d.ts +2 -2
  739. package/types/modules/OpenChannelSettings/context/OpenChannelSettingsProvider.d.ts +3 -4
  740. package/types/modules/Thread/context/ThreadProvider.d.ts +7 -5
  741. package/types/modules/Thread/context/hooks/useDeleteMessageCallback.d.ts +1 -1
  742. package/types/modules/Thread/context/hooks/useGetChannel.d.ts +2 -2
  743. package/types/modules/Thread/context/hooks/useGetParentMessage.d.ts +1 -1
  744. package/types/modules/Thread/context/hooks/useHandleChannelEvents.d.ts +1 -1
  745. package/types/modules/Thread/context/hooks/useHandleThreadPubsubEvents.d.ts +2 -2
  746. package/types/modules/Thread/context/hooks/useResendMessageCallback.d.ts +1 -1
  747. package/types/modules/Thread/context/hooks/useSendFileMessage.d.ts +1 -1
  748. package/types/modules/Thread/context/hooks/useSendUserMessageCallback.d.ts +1 -1
  749. package/types/modules/Thread/context/hooks/useSendVoiceMessageCallback.d.ts +1 -1
  750. package/types/modules/Thread/context/hooks/useThreadFetchers.d.ts +1 -1
  751. package/types/modules/Thread/context/hooks/useToggleReactionsCallback.d.ts +3 -2
  752. package/types/modules/Thread/context/hooks/useUpdateMessageCallback.d.ts +9 -2
  753. package/types/modules/Thread/context/utils.d.ts +3 -4
  754. package/types/ui/AdminMessage/index.d.ts +1 -1
  755. package/types/ui/ChannelAvatar/utils.d.ts +3 -3
  756. package/types/ui/ContextMenu/MenuItems.d.ts +3 -3
  757. package/types/ui/ImageRenderer/index.d.ts +7 -7
  758. package/types/ui/ImageRenderer/useDynamicSideLength.d.ts +2 -2
  759. package/types/ui/ImageRenderer/utils.d.ts +1 -1
  760. package/types/ui/LegacyEditUserProfile/index.d.ts +1 -1
  761. package/types/ui/MessageContent/MessageProfile/index.d.ts +1 -1
  762. package/types/ui/MessageInput/hooks/usePaste/types.d.ts +1 -1
  763. package/types/ui/MessageItemMenu/index.d.ts +5 -7
  764. package/types/ui/MessageItemReactionMenu/index.d.ts +1 -1
  765. package/types/ui/ThreadReplies/index.d.ts +1 -1
  766. package/types/ui/UserProfile/index.d.ts +1 -1
  767. package/types/ui/Word/index.d.ts +1 -1
  768. package/types/utils/consts.d.ts +1 -0
  769. package/types/utils/exports/getOutgoingMessageState.d.ts +1 -1
  770. package/types/utils/getIsReactionEnabled.d.ts +1 -1
  771. package/types/utils/index.d.ts +2 -2
  772. package/types/utils/messages.d.ts +1 -1
  773. package/types/utils/numberToPx.d.ts +1 -1
  774. package/ui/Accordion.js +3 -3
  775. package/ui/AccordionGroup.js +1 -1
  776. package/ui/AdminMessage.js +3 -3
  777. package/ui/Avatar.js +4 -4
  778. package/ui/Badge.js +5 -5
  779. package/ui/BottomSheet.js +16 -16
  780. package/ui/Button.js +5 -5
  781. package/ui/ChannelAvatar.js +5 -5
  782. package/ui/ConnectionStatus.js +6 -6
  783. package/ui/ContextMenu.js +6 -6
  784. package/ui/DateSeparator.js +5 -5
  785. package/ui/EmojiReactions.js +22 -22
  786. package/ui/FallbackTemplateMessageItemBody.tsx.js +7 -7
  787. package/ui/FileMessageItemBody.js +9 -9
  788. package/ui/FileViewer.js +17 -17
  789. package/ui/Header.js +8 -8
  790. package/ui/Icon.js +2 -2
  791. package/ui/IconButton.js +1 -1
  792. package/ui/ImageRenderer.js +4 -2
  793. package/ui/ImageRenderer.js.map +1 -1
  794. package/ui/Input.js +3 -3
  795. package/ui/Label.js +3 -3
  796. package/ui/LinkLabel.js +4 -4
  797. package/ui/Loader.js +2 -2
  798. package/ui/LoadingTemplateMessageItemBody.tsx.js +4 -4
  799. package/ui/MentionLabel.js +14 -14
  800. package/ui/MentionUserLabel.js +3 -2
  801. package/ui/MentionUserLabel.js.map +1 -1
  802. package/ui/MessageContent.js +76 -69
  803. package/ui/MessageContent.js.map +1 -1
  804. package/ui/MessageFeedbackFailedModal.js +14 -14
  805. package/ui/MessageFeedbackModal.js +19 -19
  806. package/ui/MessageInput/hooks/usePaste.js +7 -7
  807. package/ui/MessageInput.js +103 -82
  808. package/ui/MessageInput.js.map +1 -1
  809. package/ui/MessageItemMenu.js +20 -20
  810. package/ui/MessageItemReactionMenu.js +15 -15
  811. package/ui/MessageSearchFileItem.js +15 -15
  812. package/ui/MessageSearchItem.js +13 -13
  813. package/ui/MessageStatus.js +11 -11
  814. package/ui/MessageTemplate.js +1 -1
  815. package/ui/MobileFeedbackMenu.js +13 -13
  816. package/ui/Modal.js +13 -13
  817. package/ui/MutedAvatarOverlay.js +2 -2
  818. package/ui/OGMessageItemBody.js +23 -22
  819. package/ui/OGMessageItemBody.js.map +1 -1
  820. package/ui/OpenChannelAdminMessage.js +3 -3
  821. package/ui/OpenChannelAvatar.js +8 -8
  822. package/ui/OpenchannelConversationHeader.js +8 -8
  823. package/ui/OpenchannelFileMessage.js +18 -18
  824. package/ui/OpenchannelOGMessage.js +36 -36
  825. package/ui/OpenchannelThumbnailMessage.js +18 -18
  826. package/ui/OpenchannelUserMessage.js +23 -23
  827. package/ui/PlaceHolder.js +7 -7
  828. package/ui/PlaybackTime.js +3 -3
  829. package/ui/ProgressBar.js +2 -1
  830. package/ui/ProgressBar.js.map +1 -1
  831. package/ui/QuoteMessage.js +8 -8
  832. package/ui/QuoteMessageInput.js +11 -11
  833. package/ui/ReactionBadge.js +4 -4
  834. package/ui/ReactionButton.js +4 -4
  835. package/ui/SortByRow.js +2 -2
  836. package/ui/TemplateMessageItemBody.js +22 -20
  837. package/ui/TemplateMessageItemBody.js.map +1 -1
  838. package/ui/TextButton.js +2 -2
  839. package/ui/TextMessageItemBody.js +25 -22
  840. package/ui/TextMessageItemBody.js.map +1 -1
  841. package/ui/ThreadReplies.js +10 -10
  842. package/ui/ThumbnailMessageItemBody.js +6 -6
  843. package/ui/Toggle.js +3 -3
  844. package/ui/Tooltip.js +3 -3
  845. package/ui/TooltipWrapper.js +3 -3
  846. package/ui/TypingIndicatorBubble.js +4 -4
  847. package/ui/UnknownMessageItemBody.js +7 -7
  848. package/ui/UserListItem.js +15 -15
  849. package/ui/UserProfile.js +12 -12
  850. package/ui/VoiceMessageInput.js +9 -9
  851. package/ui/VoiceMessageItemBody.js +20 -19
  852. package/ui/VoiceMessageItemBody.js.map +1 -1
  853. package/ui/Word.js +14 -14
  854. package/useSendbirdStateContext.js +1 -1
  855. package/utils/message/isVoiceMessage.js +2 -2
  856. package/withSendbird.js +4 -3
  857. package/withSendbird.js.map +1 -1
  858. package/chunks/bundle-2vhBVWLQ.js.map +0 -1
  859. package/chunks/bundle-60et0yds.js.map +0 -1
  860. package/chunks/bundle-8J9SSfIS.js.map +0 -1
  861. package/chunks/bundle-ARb5Lm9T.js.map +0 -1
  862. package/chunks/bundle-BCuW6lS8.js.map +0 -1
  863. package/chunks/bundle-BGTq2aZA.js.map +0 -1
  864. package/chunks/bundle-BI0n-T1b.js.map +0 -1
  865. package/chunks/bundle-BQPvwBK8.js.map +0 -1
  866. package/chunks/bundle-BfjOoJk6.js.map +0 -1
  867. package/chunks/bundle-Br_sURBN.js.map +0 -1
  868. package/chunks/bundle-BxaysvGU.js.map +0 -1
  869. package/chunks/bundle-C1XVT5qc.js.map +0 -1
  870. package/chunks/bundle-C2B-jwQF.js.map +0 -1
  871. package/chunks/bundle-C5i4dn9q.js.map +0 -1
  872. package/chunks/bundle-C8XqVZD9.js.map +0 -1
  873. package/chunks/bundle-CAdxJnio.js +0 -16
  874. package/chunks/bundle-CAdxJnio.js.map +0 -1
  875. package/chunks/bundle-CLQfFjkS.js.map +0 -1
  876. package/chunks/bundle-Cdx5L_Jm.js.map +0 -1
  877. package/chunks/bundle-Chn4Xw78.js.map +0 -1
  878. package/chunks/bundle-Cj-w5I5i.js.map +0 -1
  879. package/chunks/bundle-CtgXJZJt.js.map +0 -1
  880. package/chunks/bundle-Cw_yF4Vi.js.map +0 -1
  881. package/chunks/bundle-DEFOjZw9.js.map +0 -1
  882. package/chunks/bundle-DElB1Hqa.js.map +0 -1
  883. package/chunks/bundle-DHrYAkRt.js.map +0 -1
  884. package/chunks/bundle-DUVa5cu6.js.map +0 -1
  885. package/chunks/bundle-DVc25Jb7.js.map +0 -1
  886. package/chunks/bundle-DYmy2oK3.js.map +0 -1
  887. package/chunks/bundle-DhJuLwLJ.js.map +0 -1
  888. package/chunks/bundle-DiVyB2HD.js.map +0 -1
  889. package/chunks/bundle-DoXeGvHN.js.map +0 -1
  890. package/chunks/bundle-Dpj_mOs8.js.map +0 -1
  891. package/chunks/bundle-DudTIr4X.js.map +0 -1
  892. package/chunks/bundle-DwPw_RW5.js.map +0 -1
  893. package/chunks/bundle-DwvN2wPi.js.map +0 -1
  894. package/chunks/bundle-E4462uBn.js.map +0 -1
  895. package/chunks/bundle-HFOQJZAX.js.map +0 -1
  896. package/chunks/bundle-HhDUyQa4.js.map +0 -1
  897. package/chunks/bundle-KmtzKHnJ.js.map +0 -1
  898. package/chunks/bundle-Pw31xKtZ.js.map +0 -1
  899. package/chunks/bundle-WdeDKCD0.js.map +0 -1
  900. package/chunks/bundle-Y_WIAHds.js.map +0 -1
  901. package/chunks/bundle-YveljAuC.js.map +0 -1
  902. package/chunks/bundle-cgNuve_E.js.map +0 -1
  903. package/chunks/bundle-e3NlFYfX.js.map +0 -1
  904. package/chunks/bundle-hF8Gurf8.js.map +0 -1
  905. package/chunks/bundle-iA2l_iD3.js.map +0 -1
  906. package/chunks/bundle-klvZ-YE5.js.map +0 -1
  907. package/chunks/bundle-q3jyuKU7.js.map +0 -1
  908. package/chunks/bundle-thdxvFU8.js.map +0 -1
  909. package/chunks/bundle-u9Zl-7Je.js.map +0 -1
  910. package/chunks/bundle-uI-GOX6U.js.map +0 -1
  911. package/chunks/bundle-xHRJMo_A.js.map +0 -1
  912. package/cjs/chunks/bundle-30fh5iPx.js.map +0 -1
  913. package/cjs/chunks/bundle-B-0_xv9u.js.map +0 -1
  914. package/cjs/chunks/bundle-B2KKkvdj.js.map +0 -1
  915. package/cjs/chunks/bundle-B2h5VMZ6.js.map +0 -1
  916. package/cjs/chunks/bundle-B4EdciCR.js.map +0 -1
  917. package/cjs/chunks/bundle-B7wJ4Hqk.js +0 -20
  918. package/cjs/chunks/bundle-B7wJ4Hqk.js.map +0 -1
  919. package/cjs/chunks/bundle-BAqFIbKr.js.map +0 -1
  920. package/cjs/chunks/bundle-BCQxFX-W.js.map +0 -1
  921. package/cjs/chunks/bundle-BCt-Rzil.js.map +0 -1
  922. package/cjs/chunks/bundle-BG8qs_3y.js.map +0 -1
  923. package/cjs/chunks/bundle-BMN1aDia.js.map +0 -1
  924. package/cjs/chunks/bundle-BNVygboA.js.map +0 -1
  925. package/cjs/chunks/bundle-BOrMDMdN.js.map +0 -1
  926. package/cjs/chunks/bundle-Bc92JuA7.js.map +0 -1
  927. package/cjs/chunks/bundle-BiTKgXrx.js.map +0 -1
  928. package/cjs/chunks/bundle-Bv_QMEk2.js.map +0 -1
  929. package/cjs/chunks/bundle-Bw_LvbLk.js.map +0 -1
  930. package/cjs/chunks/bundle-C-r9vRgc.js.map +0 -1
  931. package/cjs/chunks/bundle-C0ZNrrcl.js.map +0 -1
  932. package/cjs/chunks/bundle-C4UzGGy_.js.map +0 -1
  933. package/cjs/chunks/bundle-CLNUkVC8.js.map +0 -1
  934. package/cjs/chunks/bundle-CLte647H.js.map +0 -1
  935. package/cjs/chunks/bundle-CPIzT1cf.js.map +0 -1
  936. package/cjs/chunks/bundle-Ca7xeBTO.js.map +0 -1
  937. package/cjs/chunks/bundle-CcmMvK6l.js.map +0 -1
  938. package/cjs/chunks/bundle-Ci6F_UQc.js.map +0 -1
  939. package/cjs/chunks/bundle-ClBBhzU-.js.map +0 -1
  940. package/cjs/chunks/bundle-Cnyr9_mq.js.map +0 -1
  941. package/cjs/chunks/bundle-CpIdIHld.js.map +0 -1
  942. package/cjs/chunks/bundle-CxNGVWIy.js.map +0 -1
  943. package/cjs/chunks/bundle-D1X4MKLh.js.map +0 -1
  944. package/cjs/chunks/bundle-D4e0UT-6.js.map +0 -1
  945. package/cjs/chunks/bundle-D7v4i_Ae.js.map +0 -1
  946. package/cjs/chunks/bundle-D9UFa9yx.js.map +0 -1
  947. package/cjs/chunks/bundle-DFVUnSWq.js.map +0 -1
  948. package/cjs/chunks/bundle-DFsKxEv-.js.map +0 -1
  949. package/cjs/chunks/bundle-DLTCoQzD.js.map +0 -1
  950. package/cjs/chunks/bundle-DOUm656A.js.map +0 -1
  951. package/cjs/chunks/bundle-DPrTZ-1L.js.map +0 -1
  952. package/cjs/chunks/bundle-DWBc-Yv7.js.map +0 -1
  953. package/cjs/chunks/bundle-DWGp201o.js.map +0 -1
  954. package/cjs/chunks/bundle-DZMn5ScB.js.map +0 -1
  955. package/cjs/chunks/bundle-Deao1Upp.js.map +0 -1
  956. package/cjs/chunks/bundle-DmVeFWB4.js.map +0 -1
  957. package/cjs/chunks/bundle-DpK1fr1j.js.map +0 -1
  958. package/cjs/chunks/bundle-DsrfvJYA.js.map +0 -1
  959. package/cjs/chunks/bundle-DvkiHRsE.js.map +0 -1
  960. package/cjs/chunks/bundle-DvpCzVKY.js.map +0 -1
  961. package/cjs/chunks/bundle-GFjnAifB.js.map +0 -1
  962. package/cjs/chunks/bundle-IE4yQ0qq.js.map +0 -1
  963. package/cjs/chunks/bundle-IZLtKe6R.js.map +0 -1
  964. package/cjs/chunks/bundle-LLV3t4--.js.map +0 -1
  965. package/cjs/chunks/bundle-OCHWYrfg.js.map +0 -1
  966. package/cjs/chunks/bundle-Pfx0MBr4.js.map +0 -1
  967. package/cjs/chunks/bundle-SfusZfMJ.js.map +0 -1
  968. package/cjs/chunks/bundle-Ub33KGva.js.map +0 -1
  969. package/cjs/chunks/bundle-WETElB-o.js.map +0 -1
  970. package/cjs/chunks/bundle-ZItyfz7r.js.map +0 -1
  971. package/cjs/chunks/bundle-cl2q8NwQ.js.map +0 -1
  972. package/cjs/chunks/bundle-glVs_8wY.js.map +0 -1
  973. package/cjs/chunks/bundle-hVU-fzqu.js.map +0 -1
  974. package/cjs/chunks/bundle-hXD0NDZt.js.map +0 -1
  975. package/cjs/chunks/bundle-xADAFEo0.js.map +0 -1
  976. package/dist/index.css.map +0 -1
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var _tslib = require('./bundle-C-r9vRgc.js');
4
+ var _tslib = require('./bundle-eTYC1RPT.js');
5
5
  var message = require('@sendbird/chat/message');
6
6
  var useSendbirdStateContext = require('../useSendbirdStateContext.js');
7
7
  var ui_Icon = require('../ui/Icon.js');
8
8
  var ui_ImageRenderer = require('../ui/ImageRenderer.js');
9
- var index = require('./bundle-Cw7xe6J1.js');
10
- var ui_FileViewer = require('./bundle-IZLtKe6R.js');
9
+ var index = require('./bundle-DrYI_bNa.js');
10
+ var ui_FileViewer = require('./bundle-CTraI7aM.js');
11
11
 
12
12
  function ImageGrid(_a) {
13
13
  var _b;
14
14
  var children = _a.children, className = _a.className, message = _a.message, isReactionEnabled = _a.isReactionEnabled;
15
15
  return (React.createElement("div", { className: 'sendbird-image-grid-wrap' },
16
16
  React.createElement("div", { className: index.getClassName([
17
- className,
17
+ className !== null && className !== void 0 ? className : '',
18
18
  'sendbird-image-grid',
19
19
  (isReactionEnabled && ((_b = message === null || message === void 0 ? void 0 : message.reactions) === null || _b === void 0 ? void 0 : _b.length) > 0) ? 'reactions' : '',
20
20
  ]) }, children)));
@@ -70,16 +70,15 @@ function MultipleFilesMessageItemBody(_a) {
70
70
  function onClickRight() {
71
71
  setCurrentFileViewerIndex(currentFileViewerIndex === statefulFileInfoList.length - 1 ? 0 : currentFileViewerIndex + 1);
72
72
  }
73
- return (threadMessageKindKey && (React.createElement(React.Fragment, null,
73
+ return (threadMessageKindKey ? (React.createElement(React.Fragment, null,
74
74
  currentFileViewerIndex > -1 && (React.createElement(ui_FileViewer.FileViewer, { message: message$1, statefulFileInfoList: statefulFileInfoList, currentIndex: currentFileViewerIndex, onClickLeft: onClickLeft, onClickRight: onClickRight, onClose: onClose, onDownloadClick: function (e) { return _tslib.__awaiter(_this, void 0, void 0, function () {
75
75
  var allowDownload, err_1;
76
76
  var _a, _b;
77
77
  return _tslib.__generator(this, function (_c) {
78
78
  switch (_c.label) {
79
79
  case 0:
80
- if (!onBeforeDownloadFileMessage) {
81
- return [2 /*return*/, null];
82
- }
80
+ if (!onBeforeDownloadFileMessage)
81
+ return [2 /*return*/];
83
82
  _c.label = 1;
84
83
  case 1:
85
84
  _c.trys.push([1, 3, , 4]);
@@ -100,15 +99,15 @@ function MultipleFilesMessageItemBody(_a) {
100
99
  });
101
100
  }); } })),
102
101
  React.createElement(ImageGrid, { className: className, message: message$1, isReactionEnabled: isReactionEnabled }, statefulFileInfoList.map(function (fileInfo, index$1) {
103
- var _a, _b, _c;
102
+ var _a, _b, _c, _d;
104
103
  return (React.createElement("div", { className: "sendbird-multiple-files-image-renderer-wrapper", onClick: message$1.sendingStatus === message.SendingStatus.SUCCEEDED ? function () { return setCurrentFileViewerIndex(index$1); } : undefined, key: "sendbird-multiple-files-image-renderer-".concat(index$1, "-").concat(fileInfo.url) },
105
- React.createElement(ui_ImageRenderer.default, { url: (_c = (_b = (_a = fileInfo.thumbnails) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url) !== null && _c !== void 0 ? _c : fileInfo.url, fixedSize: false, width: MULTIPLE_FILES_IMAGE_SIDE_LENGTH[threadMessageKindKey], maxSideLength: MULTIPLE_FILES_IMAGE_SIDE_LENGTH.CHAT_WEB, height: MULTIPLE_FILES_IMAGE_SIDE_LENGTH[threadMessageKindKey], borderRadius: ui_ImageRenderer.getBorderRadiusForMultipleImageRenderer(MULTIPLE_FILES_IMAGE_BORDER_RADIUS[threadMessageKindKey], index$1, statefulFileInfoList.length), shadeOnHover: true, isUploaded: !!fileInfo.isUploaded, placeHolder: function (_a) {
104
+ React.createElement(ui_ImageRenderer.default, { url: (_d = (_c = (_b = (_a = fileInfo.thumbnails) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url) !== null && _c !== void 0 ? _c : fileInfo.url) !== null && _d !== void 0 ? _d : '', fixedSize: false, width: MULTIPLE_FILES_IMAGE_SIDE_LENGTH[threadMessageKindKey], maxSideLength: MULTIPLE_FILES_IMAGE_SIDE_LENGTH.CHAT_WEB, height: MULTIPLE_FILES_IMAGE_SIDE_LENGTH[threadMessageKindKey], borderRadius: ui_ImageRenderer.getBorderRadiusForMultipleImageRenderer(MULTIPLE_FILES_IMAGE_BORDER_RADIUS[threadMessageKindKey], index$1, statefulFileInfoList.length), shadeOnHover: true, isUploaded: !!fileInfo.isUploaded, placeHolder: function (_a) {
106
105
  var style = _a.style;
107
- if (index.isGif(fileInfo.mimeType))
106
+ if (fileInfo.mimeType && index.isGif(fileInfo.mimeType))
108
107
  return React.createElement(ImagePlaceholder.GIF, { style: style });
109
108
  return React.createElement(ImagePlaceholder.Default, { style: style });
110
109
  }, defaultComponent: React.createElement(ImagePlaceholder.LoadError, null) })));
111
- })))));
110
+ })))) : React.createElement(React.Fragment, null));
112
111
  }
113
112
  var ImagePlaceholder = {
114
113
  Default: function (_a) {
@@ -146,6 +145,7 @@ function useThreadMessageKindKeySelector(_a) {
146
145
  // SendingStatus.SCHEDULED is currently not covered in UIKit
147
146
  // So we can ignore for now, but for future, it is better to explicitly use PENDING, FAILED, or CANCELED.
148
147
  var useFileInfoListWithUploaded = function (message$1) {
148
+ var _a, _b;
149
149
  var blobHandler = React.useRef(new Map());
150
150
  var getObjectURL = function (index, blob) {
151
151
  if (!blobHandler.current.has(index) && blob)
@@ -166,13 +166,16 @@ var useFileInfoListWithUploaded = function (message$1) {
166
166
  }
167
167
  else if (message$1.sendingStatus === message.SendingStatus.SUCCEEDED) {
168
168
  revokeURLs();
169
- return message$1.fileInfoList.map(function (it) { return (_tslib.__assign(_tslib.__assign({}, it), { url: it.url, isUploaded: true })); });
169
+ return message$1.fileInfoList.map(function (it) {
170
+ var _a, _b;
171
+ return (_tslib.__assign(_tslib.__assign({}, it), { url: it.url, isUploaded: true, mimeType: (_a = it.mimeType) !== null && _a !== void 0 ? _a : undefined, fileName: (_b = it.fileName) !== null && _b !== void 0 ? _b : undefined }));
172
+ });
170
173
  }
171
174
  else {
172
- return message$1.messageParams.fileInfoList.map(function (it, index) {
175
+ return (_b = (_a = message$1 === null || message$1 === void 0 ? void 0 : message$1.messageParams) === null || _a === void 0 ? void 0 : _a.fileInfoList.map(function (it, index) {
173
176
  var _a, _b;
174
177
  return (_tslib.__assign(_tslib.__assign({}, it), { url: (_b = (_a = getObjectURL(index)) !== null && _a !== void 0 ? _a : it.fileUrl) !== null && _b !== void 0 ? _b : (it.file instanceof Blob ? getObjectURL(index, it.file) : undefined), isUploaded: !it.file && typeof it.fileUrl === 'string' && it.fileUrl.length > 0 }));
175
- });
178
+ })) !== null && _b !== void 0 ? _b : [];
176
179
  }
177
180
  };
178
181
 
@@ -180,4 +183,4 @@ exports.MultipleFilesMessageItemBody = MultipleFilesMessageItemBody;
180
183
  exports.ThreadMessageKind = ThreadMessageKind;
181
184
  exports.useFileInfoListWithUploaded = useFileInfoListWithUploaded;
182
185
  exports.useThreadMessageKindKeySelector = useThreadMessageKindKeySelector;
183
- //# sourceMappingURL=bundle-B1uXZFKP.js.map
186
+ //# sourceMappingURL=bundle-BE-L5873.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundle-B1uXZFKP.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"bundle-BE-L5873.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,11 +2,11 @@
2
2
 
3
3
  var React = require('react');
4
4
  var reactDom = require('react-dom');
5
- var ui_Avatar = require('./bundle-C0ZNrrcl.js');
5
+ var ui_Avatar = require('./bundle-C_8UQBXr.js');
6
6
  var ui_Icon = require('../ui/Icon.js');
7
- var ui_Label = require('./bundle-Deao1Upp.js');
8
- var index = require('./bundle-Cw7xe6J1.js');
9
- var ui_Modal = require('./bundle-DJ9gapN2.js');
7
+ var ui_Label = require('./bundle-DY5rfl6W.js');
8
+ var index = require('./bundle-DrYI_bNa.js');
9
+ var ui_Modal = require('./bundle-DW8u-n3u.js');
10
10
  var useSendbirdStateContext = require('../useSendbirdStateContext.js');
11
11
 
12
12
  var FileViewerView = function (_a) {
@@ -14,7 +14,7 @@ var FileViewerView = function (_a) {
14
14
  var sender = message.sender, type = message.type, url = message.url, _b = message.name, name = _b === void 0 ? '' : _b, threadInfo = message.threadInfo;
15
15
  var profileUrl = sender.profileUrl, nickname = sender.nickname, userId = sender.userId;
16
16
  var config = useSendbirdStateContext.useSendbirdStateContext().config;
17
- return reactDom.createPortal(React.createElement(FileViewerComponent, { profileUrl: profileUrl, nickname: nickname, type: type, url: url, name: name, onCancel: onCancel, onDelete: function () { return deleteMessage(message).then(function () { return onCancel(); }); }, isByMe: config.userId === userId, disableDelete: (threadInfo === null || threadInfo === void 0 ? void 0 : threadInfo.replyCount) > 0, onDownloadClick: onDownloadClick }), document.getElementById(ui_Modal.MODAL_ROOT));
17
+ return reactDom.createPortal(React.createElement(FileViewerComponent, { profileUrl: profileUrl, nickname: nickname, type: type, url: url, name: name, onCancel: onCancel, onDelete: function () { return deleteMessage(message).then(function () { return onCancel(); }); }, isByMe: config.userId === userId, disableDelete: (threadInfo === null || threadInfo === void 0 ? void 0 : threadInfo.replyCount) ? threadInfo.replyCount > 0 : false, onDownloadClick: onDownloadClick }), document.getElementById(ui_Modal.MODAL_ROOT));
18
18
  };
19
19
  var FileViewerComponent = function (_a) {
20
20
  var
@@ -52,4 +52,4 @@ var FileViewerComponent = function (_a) {
52
52
  };
53
53
 
54
54
  exports.FileViewerView = FileViewerView;
55
- //# sourceMappingURL=bundle-DZMn5ScB.js.map
55
+ //# sourceMappingURL=bundle-BE1dAigY.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-BE1dAigY.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -8,4 +8,4 @@ var Role = {
8
8
  };
9
9
 
10
10
  exports.Role = Role;
11
- //# sourceMappingURL=bundle-Ci6F_UQc.js.map
11
+ //# sourceMappingURL=bundle-BFy8_d3W.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-BFy8_d3W.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -13,4 +13,4 @@ function compareIds(a, b) {
13
13
  }
14
14
 
15
15
  exports.compareIds = compareIds;
16
- //# sourceMappingURL=bundle-CcmMvK6l.js.map
16
+ //# sourceMappingURL=bundle-BK_SqbHE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-BK_SqbHE.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
@@ -1,30 +1,26 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var UserProfileContext = require('./bundle-D7v4i_Ae.js');
5
- var _tslib = require('./bundle-C-r9vRgc.js');
6
- var compareIds = require('./bundle-CcmMvK6l.js');
7
- var pubSub_topics = require('./bundle-DpK1fr1j.js');
4
+ var UserProfileContext = require('./bundle-DTzydpqA.js');
5
+ var _tslib = require('./bundle-eTYC1RPT.js');
6
+ var compareIds = require('./bundle-BK_SqbHE.js');
7
+ var pubSub_topics = require('./bundle-7CEyuoln.js');
8
8
  var SendbirdChat = require('@sendbird/chat');
9
9
  var openChannel = require('@sendbird/chat/openChannel');
10
- var uuid = require('./bundle-Ub33KGva.js');
11
- var compressImages = require('./bundle-cl2q8NwQ.js');
10
+ var uuid = require('./bundle-YRiE_c63.js');
11
+ var compressImages = require('./bundle-C1YuUjH3.js');
12
12
  var useSendbirdStateContext = require('../useSendbirdStateContext.js');
13
- var ui_Modal = require('./bundle-DJ9gapN2.js');
14
- var LocalizationContext = require('./bundle-B7wJ4Hqk.js');
15
- var consts = require('./bundle-Ca7xeBTO.js');
16
- require('./bundle-Deao1Upp.js');
13
+ var ui_Modal = require('./bundle-DW8u-n3u.js');
14
+ var LocalizationContext = require('./bundle-OWb8eJt-.js');
15
+ var consts = require('./bundle-BNzVVkzd.js');
16
+ require('./bundle-DY5rfl6W.js');
17
17
  var ui_Button = require('../ui/Button.js');
18
18
 
19
19
  var shouldFetchMore = function (messageLength, maxMessages) {
20
20
  if (typeof maxMessages !== 'number') {
21
21
  return true;
22
22
  }
23
- if (typeof maxMessages === 'number'
24
- && maxMessages > messageLength) {
25
- return true;
26
- }
27
- return false;
23
+ return maxMessages > messageLength;
28
24
  };
29
25
  /* eslint-disable default-param-last */
30
26
  var scrollIntoLast = function (initialTry, scrollRef) {
@@ -37,7 +33,9 @@ var scrollIntoLast = function (initialTry, scrollRef) {
37
33
  try {
38
34
  var scrollDOM = (scrollRef === null || scrollRef === void 0 ? void 0 : scrollRef.current) || document.querySelector('.sendbird-openchannel-conversation-scroll__container__item-container');
39
35
  // eslint-disable-next-line no-multi-assign
40
- scrollDOM.scrollTop = scrollDOM.scrollHeight;
36
+ if (scrollDOM) {
37
+ scrollDOM.scrollTop = scrollDOM.scrollHeight;
38
+ }
41
39
  }
42
40
  catch (error) {
43
41
  setTimeout(function () {
@@ -62,7 +60,9 @@ var isOperator = function (openChannel, userId) {
62
60
  return true;
63
61
  };
64
62
  var isDisabledBecauseFrozen = function (openChannel, userId) {
65
- var isFrozen = openChannel === null || openChannel === void 0 ? void 0 : openChannel.isFrozen;
63
+ if (!openChannel)
64
+ return false;
65
+ var isFrozen = openChannel.isFrozen;
66
66
  return isFrozen && !isOperator(openChannel, userId);
67
67
  };
68
68
  var isDisabledBecauseMuted = function (mutedParticipantIds, userId) {
@@ -127,7 +127,7 @@ var ON_META_COUNTERS_DELETED = 'ON_META_COUNTERS_DELETED';
127
127
  var ON_MENTION_RECEIVED = 'ON_MENTION_RECEIVED';
128
128
 
129
129
  function reducer(state, action) {
130
- var _a, _b, _c;
130
+ var _a, _b, _c, _d, _e, _f, _g, _h;
131
131
  switch (action.type) {
132
132
  case RESET_MESSAGES: {
133
133
  return _tslib.__assign(_tslib.__assign({}, state), { allMessages: [] });
@@ -158,13 +158,13 @@ function reducer(state, action) {
158
158
  case GET_PREV_MESSAGES_SUCESS:
159
159
  case GET_PREV_MESSAGES_FAIL: {
160
160
  var isFailed = (action.type === GET_PREV_MESSAGES_FAIL);
161
- var _d = action.payload, _e = _d.currentOpenChannel, currentOpenChannel = _e === void 0 ? {} : _e, _f = _d.messages, messages = _f === void 0 ? [] : _f, hasMore = _d.hasMore, lastMessageTimestamp = _d.lastMessageTimestamp;
161
+ var _j = action.payload, _k = _j.currentOpenChannel, currentOpenChannel = _k === void 0 ? {} : _k, _l = _j.messages, messages = _l === void 0 ? [] : _l, hasMore = _j.hasMore, lastMessageTimestamp = _j.lastMessageTimestamp;
162
162
  var actionChannelUrl = currentOpenChannel.url;
163
- var receivedMessages_1 = isFailed ? [] : messages;
163
+ var receivedMessages_1 = (isFailed ? [] : messages);
164
164
  var _hasMore = isFailed ? false : hasMore;
165
165
  var _lastMessageTimestamp = isFailed ? 0 : lastMessageTimestamp;
166
166
  var stateChannel = state.currentOpenChannel;
167
- var stateChannelUrl = stateChannel.url;
167
+ var stateChannelUrl = stateChannel === null || stateChannel === void 0 ? void 0 : stateChannel.url;
168
168
  if (actionChannelUrl !== stateChannelUrl) {
169
169
  return state;
170
170
  }
@@ -175,8 +175,8 @@ function reducer(state, action) {
175
175
  return _tslib.__assign(_tslib.__assign({}, state), { loading: false, initialized: true, hasMore: _hasMore, lastMessageTimestamp: _lastMessageTimestamp, allMessages: _tslib.__spreadArray(_tslib.__spreadArray([], receivedMessages_1, true), filteredAllMessages, true) });
176
176
  }
177
177
  case SENDING_MESSAGE_START: {
178
- var _g = action.payload, message_1 = _g.message, channel = _g.channel;
179
- if ((channel === null || channel === void 0 ? void 0 : channel.url) !== state.currentOpenChannel.url
178
+ var _m = action.payload, message_1 = _m.message, channel = _m.channel;
179
+ if ((channel === null || channel === void 0 ? void 0 : channel.url) !== ((_c = state.currentOpenChannel) === null || _c === void 0 ? void 0 : _c.url)
180
180
  || state.allMessages.some(function (m) { return m.reqId === message_1.reqId; })
181
181
  // Handing failed first than sending start issue
182
182
  ) {
@@ -206,7 +206,7 @@ function reducer(state, action) {
206
206
  }
207
207
  case TRIM_MESSAGE_LIST: {
208
208
  var allMessages = state.allMessages;
209
- var messageLimit = (_c = action.payload) === null || _c === void 0 ? void 0 : _c.messageLimit;
209
+ var messageLimit = (_d = action.payload) === null || _d === void 0 ? void 0 : _d.messageLimit;
210
210
  if (messageLimit
211
211
  && messageLimit > 0
212
212
  && (allMessages === null || allMessages === void 0 ? void 0 : allMessages.length) > messageLimit) {
@@ -218,7 +218,7 @@ function reducer(state, action) {
218
218
  case RESENDING_MESSAGE_START: {
219
219
  var eventedChannel = action.payload.channel;
220
220
  var resentMessage_1 = action.payload.message;
221
- if (eventedChannel.url !== state.currentOpenChannel.url) {
221
+ if (eventedChannel.url !== ((_e = state.currentOpenChannel) === null || _e === void 0 ? void 0 : _e.url)) {
222
222
  return state;
223
223
  }
224
224
  return _tslib.__assign(_tslib.__assign({}, state), { allMessages: state.allMessages.map(function (m) { return (compareIds.compareIds(m.reqId, resentMessage_1.reqId) ? resentMessage_1 : m); }) });
@@ -226,7 +226,7 @@ function reducer(state, action) {
226
226
  case FETCH_PARTICIPANT_LIST: {
227
227
  var eventedChannel = action.payload.channel;
228
228
  var fetchedParticipantList = action.payload.users;
229
- if (eventedChannel.url !== state.currentOpenChannel.url) {
229
+ if (eventedChannel.url !== ((_f = state.currentOpenChannel) === null || _f === void 0 ? void 0 : _f.url)) {
230
230
  return state;
231
231
  }
232
232
  return _tslib.__assign(_tslib.__assign({}, state), { participants: _tslib.__spreadArray(_tslib.__spreadArray([], state.participants, true), fetchedParticipantList, true) });
@@ -234,7 +234,7 @@ function reducer(state, action) {
234
234
  case FETCH_BANNED_USER_LIST: {
235
235
  var eventedChannel = action.payload.channel;
236
236
  var fetchedBannedUserList = action.payload.users;
237
- if ((eventedChannel.url !== state.currentOpenChannel.url)
237
+ if ((eventedChannel.url !== ((_g = state.currentOpenChannel) === null || _g === void 0 ? void 0 : _g.url))
238
238
  || !(fetchedBannedUserList.every(function (user) { return typeof user.userId === 'string'; }))) {
239
239
  return state;
240
240
  }
@@ -243,7 +243,7 @@ function reducer(state, action) {
243
243
  case FETCH_MUTED_USER_LIST: {
244
244
  var eventedChannel = action.payload.channel;
245
245
  var fetchedMutedUserList = action.payload.users;
246
- if ((eventedChannel.url !== state.currentOpenChannel.url)
246
+ if ((eventedChannel.url !== ((_h = state.currentOpenChannel) === null || _h === void 0 ? void 0 : _h.url))
247
247
  || !(fetchedMutedUserList.every(function (user) { return typeof user.userId === 'string'; }))) {
248
248
  return state;
249
249
  }
@@ -254,7 +254,7 @@ function reducer(state, action) {
254
254
  var eventedChannel = action.payload.channel;
255
255
  var receivedMessage = action.payload.message;
256
256
  var currentOpenChannel = state.currentOpenChannel;
257
- if (!compareIds.compareIds(eventedChannel.url, currentOpenChannel.url)
257
+ if (!compareIds.compareIds(eventedChannel.url, currentOpenChannel === null || currentOpenChannel === void 0 ? void 0 : currentOpenChannel.url)
258
258
  || (!(state.allMessages.map(function (message) { return message.messageId; }).indexOf(receivedMessage.messageId) < 0))) {
259
259
  return state;
260
260
  }
@@ -771,6 +771,7 @@ function useInitialMessagesFetch(_a, _b) {
771
771
  };
772
772
  if (userFilledMessageListParams) {
773
773
  Object.keys(userFilledMessageListParams).forEach(function (key) {
774
+ // @ts-ignore
774
775
  messageListParams_1[key] = userFilledMessageListParams[key];
775
776
  });
776
777
  logger.info('OpenChannel | useInitialMessagesFetch: Used customizedMessageListParams');
@@ -823,12 +824,13 @@ function useScrollCallback(_a, _b) {
823
824
  };
824
825
  if (userFilledMessageListParams) {
825
826
  Object.keys(userFilledMessageListParams).forEach(function (key) {
827
+ // @ts-ignore
826
828
  messageListParams_1[key] = userFilledMessageListParams[key];
827
829
  });
828
830
  logger.info('OpenChannel | useScrollCallback: Used userFilledMessageListParams', userFilledMessageListParams);
829
831
  }
830
832
  logger.info('OpenChannel | useScrollCallback: Fetching messages', { currentOpenChannel: currentOpenChannel, messageListParams: messageListParams_1 });
831
- currentOpenChannel.getMessagesByTimestamp(lastMessageTimestamp || new Date().getTime(), messageListParams_1).then(function (messages) {
833
+ currentOpenChannel === null || currentOpenChannel === void 0 ? void 0 : currentOpenChannel.getMessagesByTimestamp(lastMessageTimestamp || new Date().getTime(), messageListParams_1).then(function (messages) {
832
834
  logger.info('OpenChannel | useScrollCallback: Fetching messages succeeded', messages);
833
835
  var hasMore = (messages && messages.length > 0);
834
836
  var lastMessageTimestamp = hasMore ? messages[0].createdAt : null;
@@ -882,8 +884,9 @@ function useSendMessageCallback(_a, _b) {
882
884
  var currentOpenChannel = _a.currentOpenChannel, onBeforeSendUserMessage = _a.onBeforeSendUserMessage, messageInputRef = _a.messageInputRef;
883
885
  var sdk = _b.sdk, logger = _b.logger, messagesDispatcher = _b.messagesDispatcher, scrollRef = _b.scrollRef;
884
886
  return React.useCallback(function () {
887
+ var _a;
885
888
  if (sdk) {
886
- var text = messageInputRef.current.innerText;
889
+ var text = (_a = messageInputRef.current) === null || _a === void 0 ? void 0 : _a.innerText;
887
890
  var createParamsDefault = function (txt) {
888
891
  var message = txt;
889
892
  var params = {
@@ -895,11 +898,10 @@ function useSendMessageCallback(_a, _b) {
895
898
  if (createCustomParams) {
896
899
  logger.info('OpenChannel | useSendMessageCallback: Creating params using onBeforeSendUserMessage', onBeforeSendUserMessage);
897
900
  }
898
- var params = onBeforeSendUserMessage ? onBeforeSendUserMessage(text) : createParamsDefault(text);
901
+ var params = onBeforeSendUserMessage ? onBeforeSendUserMessage(text !== null && text !== void 0 ? text : '') : createParamsDefault(text !== null && text !== void 0 ? text : '');
899
902
  logger.info('OpenChannel | useSendMessageCallback: Sending message has started', params);
900
- var pendingMsg_1 = null;
901
- currentOpenChannel.sendUserMessage(params)
902
- .onPending(function (pendingMessage) {
903
+ var pendingMsg_1;
904
+ currentOpenChannel === null || currentOpenChannel === void 0 ? void 0 : currentOpenChannel.sendUserMessage(params).onPending(function (pendingMessage) {
903
905
  messagesDispatcher({
904
906
  type: SENDING_MESSAGE_START,
905
907
  payload: {
@@ -909,15 +911,13 @@ function useSendMessageCallback(_a, _b) {
909
911
  });
910
912
  pendingMsg_1 = pendingMessage;
911
913
  setTimeout(function () { return scrollIntoLast(0, scrollRef); });
912
- })
913
- .onSucceeded(function (message) {
914
+ }).onSucceeded(function (message) {
914
915
  logger.info('OpenChannel | useSendMessageCallback: Sending message succeeded', message);
915
916
  messagesDispatcher({
916
917
  type: SENDING_MESSAGE_SUCCEEDED,
917
918
  payload: message,
918
919
  });
919
- })
920
- .onFailed(function (error) {
920
+ }).onFailed(function (error) {
921
921
  logger.warning('OpenChannel | useSendMessageCallback: Sending message failed', error);
922
922
  messagesDispatcher({
923
923
  type: SENDING_MESSAGE_FAILED,
@@ -956,9 +956,9 @@ function useFileUploadCallback(_a, _b) {
956
956
  if (!sdk) return [3 /*break*/, 2];
957
957
  file_1 = Array.isArray(files) ? files[0] : files;
958
958
  createCustomParams = onBeforeSendFileMessage && typeof onBeforeSendFileMessage === 'function';
959
- createParamsDefault = function (file_) {
959
+ createParamsDefault = function (file) {
960
960
  var params = {};
961
- params.file = file_;
961
+ params.file = file;
962
962
  return params;
963
963
  };
964
964
  /**
@@ -993,8 +993,7 @@ function useFileUploadCallback(_a, _b) {
993
993
  }
994
994
  params = onBeforeSendFileMessage ? onBeforeSendFileMessage(compressedFile) : createParamsDefault(compressedFile);
995
995
  logger.info('OpenChannel | useFileUploadCallback: Uploading file message start', params);
996
- currentOpenChannel.sendFileMessage(params)
997
- .onPending(function (pendingMessage) {
996
+ currentOpenChannel === null || currentOpenChannel === void 0 ? void 0 : currentOpenChannel.sendFileMessage(params).onPending(function (pendingMessage) {
998
997
  messagesDispatcher({
999
998
  type: SENDING_MESSAGE_START,
1000
999
  payload: {
@@ -1006,15 +1005,13 @@ function useFileUploadCallback(_a, _b) {
1006
1005
  },
1007
1006
  });
1008
1007
  setTimeout(function () { return scrollIntoLast(0, scrollRef); });
1009
- })
1010
- .onSucceeded(function (message) {
1008
+ }).onSucceeded(function (message) {
1011
1009
  logger.info('OpenChannel | useFileUploadCallback: Sending message succeeded', message);
1012
1010
  messagesDispatcher({
1013
1011
  type: SENDING_MESSAGE_SUCCEEDED,
1014
1012
  payload: message,
1015
1013
  });
1016
- })
1017
- .onFailed(function (error, message) {
1014
+ }).onFailed(function (error, message) {
1018
1015
  logger.error('OpenChannel | useFileUploadCallback: Sending file message failed', { message: message, error: error });
1019
1016
  // @ts-ignore
1020
1017
  message.localUrl = URL.createObjectURL(file_1);
@@ -1037,10 +1034,9 @@ function useUpdateMessageCallback(_a, _b) {
1037
1034
  var logger = _b.logger, messagesDispatcher = _b.messagesDispatcher;
1038
1035
  return React.useCallback(function (messageId, text, callback) {
1039
1036
  var createParamsDefault = function (txt) {
1040
- var params = {
1037
+ return {
1041
1038
  message: txt,
1042
1039
  };
1043
- return params;
1044
1040
  };
1045
1041
  if (onBeforeSendUserMessage && typeof onBeforeSendUserMessage === 'function') {
1046
1042
  logger.info('OpenChannel | useUpdateMessageCallback: Creating params using onBeforeUpdateUserMessage');
@@ -1085,7 +1081,7 @@ function useDeleteMessageCallback(_a, _b) {
1085
1081
  return;
1086
1082
  }
1087
1083
  var messageToDelete = message;
1088
- currentOpenChannel.deleteMessage(messageToDelete).then(function () {
1084
+ currentOpenChannel === null || currentOpenChannel === void 0 ? void 0 : currentOpenChannel.deleteMessage(messageToDelete).then(function () {
1089
1085
  logger.info('OpenChannel | useDeleteMessageCallback: Deleting message on server', sendingStatus);
1090
1086
  if (callback) {
1091
1087
  callback();
@@ -1114,9 +1110,7 @@ function useResendMessageCallback(_a, _b) {
1114
1110
  && failedMessage.isResendable) {
1115
1111
  // userMessage
1116
1112
  if (failedMessage.isUserMessage()) {
1117
- currentOpenChannel
1118
- .resendMessage(failedMessage)
1119
- .onPending(function (message) {
1113
+ currentOpenChannel === null || currentOpenChannel === void 0 ? void 0 : currentOpenChannel.resendMessage(failedMessage).onPending(function (message) {
1120
1114
  messagesDispatcher({
1121
1115
  type: RESENDING_MESSAGE_START,
1122
1116
  payload: {
@@ -1124,15 +1118,13 @@ function useResendMessageCallback(_a, _b) {
1124
1118
  message: message,
1125
1119
  },
1126
1120
  });
1127
- })
1128
- .onSucceeded(function (message) {
1121
+ }).onSucceeded(function (message) {
1129
1122
  logger.info('OpenChannel | useResendMessageCallback: Reseding message succeeded', message);
1130
1123
  messagesDispatcher({
1131
1124
  type: SENDING_MESSAGE_SUCCEEDED,
1132
1125
  payload: message,
1133
1126
  });
1134
- })
1135
- .onFailed(function (error, message) {
1127
+ }).onFailed(function (error, message) {
1136
1128
  logger.warning('OpenChannel | useResendMessageCallback: Resending message failed', error);
1137
1129
  messagesDispatcher({
1138
1130
  type: SENDING_MESSAGE_FAILED,
@@ -1142,9 +1134,7 @@ function useResendMessageCallback(_a, _b) {
1142
1134
  }
1143
1135
  // fileMessage
1144
1136
  if (failedMessage.isFileMessage()) {
1145
- currentOpenChannel
1146
- .resendMessage(failedMessage)
1147
- .onPending(function (message) {
1137
+ currentOpenChannel === null || currentOpenChannel === void 0 ? void 0 : currentOpenChannel.resendMessage(failedMessage).onPending(function (message) {
1148
1138
  messagesDispatcher({
1149
1139
  type: RESENDING_MESSAGE_START,
1150
1140
  payload: {
@@ -1152,15 +1142,13 @@ function useResendMessageCallback(_a, _b) {
1152
1142
  message: message,
1153
1143
  },
1154
1144
  });
1155
- })
1156
- .onSucceeded(function (message) {
1145
+ }).onSucceeded(function (message) {
1157
1146
  logger.info('OpenChannel | useResendMessageCallback: Resending file message succeeded', message);
1158
1147
  messagesDispatcher({
1159
1148
  type: SENDING_MESSAGE_SUCCEEDED,
1160
1149
  payload: message,
1161
1150
  });
1162
- })
1163
- .onFailed(function (error, message) {
1151
+ }).onFailed(function (error, message) {
1164
1152
  logger.warning('OpenChannel | useResendMessageCallback: Resending file message failed', error);
1165
1153
  messagesDispatcher({
1166
1154
  type: SENDING_MESSAGE_FAILED,
@@ -1191,7 +1179,7 @@ function useTrimMessageList(_a, _b) {
1191
1179
  if (inProgress) {
1192
1180
  return;
1193
1181
  }
1194
- if (typeof messagesLength === 'number' && messagesLength > messageLimit) {
1182
+ if (typeof messagesLength === 'number' && typeof messageLimit === 'number' && messagesLength > messageLimit) {
1195
1183
  logger.info('Trimming MessageList');
1196
1184
  messagesDispatcher({
1197
1185
  type: TRIM_MESSAGE_LIST,
@@ -1203,7 +1191,7 @@ function useTrimMessageList(_a, _b) {
1203
1191
  }, [messagesLength, messageLimit]);
1204
1192
  }
1205
1193
 
1206
- var OpenChannelContext = React.createContext(undefined);
1194
+ var OpenChannelContext = React.createContext(null);
1207
1195
  var OpenChannelProvider = function (props) {
1208
1196
  var _a, _b, _c, _d, _e, _f, _g;
1209
1197
  var channelUrl = props.channelUrl, children = props.children, _h = props.isMessageGroupingEnabled, isMessageGroupingEnabled = _h === void 0 ? true : _h, queries = props.queries, onBeforeSendUserMessage = props.onBeforeSendUserMessage, messageLimit = props.messageLimit, onBeforeSendFileMessage = props.onBeforeSendFileMessage, onChatHeaderActionClick = props.onChatHeaderActionClick, onBackClick = props.onBackClick, disableUserProfile = props.disableUserProfile, renderUserProfile = props.renderUserProfile;
@@ -1243,7 +1231,7 @@ var OpenChannelProvider = function (props) {
1243
1231
  useHandleChannelEvents({ currentOpenChannel: currentOpenChannel, checkScrollBottom: checkScrollBottom }, { sdk: sdk, logger: logger, messagesDispatcher: messagesDispatcher, scrollRef: conversationScrollRef });
1244
1232
  useInitialMessagesFetch({ currentOpenChannel: currentOpenChannel, userFilledMessageListParams: userFilledMessageListParams }, { logger: logger, messagesDispatcher: messagesDispatcher, scrollRef: conversationScrollRef });
1245
1233
  var fetchMore = shouldFetchMore(allMessages === null || allMessages === void 0 ? void 0 : allMessages.length, messageLimit);
1246
- // donot fetch more for streaming
1234
+ // do not fetch more for streaming
1247
1235
  var onScroll = useScrollCallback({ currentOpenChannel: currentOpenChannel, lastMessageTimestamp: lastMessageTimestamp, fetchMore: fetchMore }, { sdk: sdk, logger: logger, messagesDispatcher: messagesDispatcher, hasMore: hasMore, userFilledMessageListParams: userFilledMessageListParams });
1248
1236
  var handleSendMessage = useSendMessageCallback({ currentOpenChannel: currentOpenChannel, onBeforeSendUserMessage: onBeforeSendUserMessage, checkScrollBottom: checkScrollBottom, messageInputRef: messageInputRef }, { sdk: sdk, logger: logger, messagesDispatcher: messagesDispatcher, scrollRef: conversationScrollRef });
1249
1237
  var handleFileUpload = useFileUploadCallback({ currentOpenChannel: currentOpenChannel, onBeforeSendFileMessage: onBeforeSendFileMessage, checkScrollBottom: checkScrollBottom, imageCompression: imageCompression }, { sdk: sdk, logger: logger, messagesDispatcher: messagesDispatcher, scrollRef: conversationScrollRef });
@@ -1361,9 +1349,14 @@ var OpenChannelProvider = function (props) {
1361
1349
  } },
1362
1350
  React.createElement(UserProfileContext.UserProfileProvider, { isOpenChannel: true, renderUserProfile: props === null || props === void 0 ? void 0 : props.renderUserProfile, disableUserProfile: (_g = props === null || props === void 0 ? void 0 : props.disableUserProfile) !== null && _g !== void 0 ? _g : config === null || config === void 0 ? void 0 : config.disableUserProfile }, children)));
1363
1351
  };
1364
- var useOpenChannelContext = function () { return React.useContext(OpenChannelContext); };
1352
+ var useOpenChannelContext = function () {
1353
+ var context = React.useContext(OpenChannelContext);
1354
+ if (!context)
1355
+ throw new Error('OpenChannelContext not found. Use within the OpenChannel module');
1356
+ return context;
1357
+ };
1365
1358
 
1366
1359
  exports.OpenChannelProvider = OpenChannelProvider;
1367
1360
  exports.kFormatter = kFormatter;
1368
1361
  exports.useOpenChannelContext = useOpenChannelContext;
1369
- //# sourceMappingURL=bundle-8IuV93EV.js.map
1362
+ //# sourceMappingURL=bundle-BLs0JcXs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundle-8IuV93EV.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"bundle-BLs0JcXs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -236,4 +236,4 @@ var getStringSet = function (lang) {
236
236
  };
237
237
 
238
238
  exports.getStringSet = getStringSet;
239
- //# sourceMappingURL=bundle-DWBc-Yv7.js.map
239
+ //# sourceMappingURL=bundle-BNMoxGCr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-BNMoxGCr.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -30,6 +30,7 @@ var DELIVERY_RECEIPT = 'delivery_receipt';
30
30
  var SLIDER_BUTTON_ICON_SIDE_LENGTH = '32px';
31
31
  // multiple files message file info count limit
32
32
  var DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT = 10;
33
+ var DEFAULT_UPLOAD_SIZE_LIMIT = 25 * 1024 * 1024;
33
34
  // Local storage item key for sdk templates token
34
35
  var CACHED_MESSAGE_TEMPLATES_TOKEN_KEY = 'sendbird_message_templates_token_key';
35
36
  // Local storage item key for templates in JSON string form
@@ -39,6 +40,7 @@ exports.BROWSER_SUPPORT_MIME_TYPE_LIST = BROWSER_SUPPORT_MIME_TYPE_LIST;
39
40
  exports.CACHED_MESSAGE_TEMPLATES_KEY = CACHED_MESSAGE_TEMPLATES_KEY;
40
41
  exports.CACHED_MESSAGE_TEMPLATES_TOKEN_KEY = CACHED_MESSAGE_TEMPLATES_TOKEN_KEY;
41
42
  exports.DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT = DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT;
43
+ exports.DEFAULT_UPLOAD_SIZE_LIMIT = DEFAULT_UPLOAD_SIZE_LIMIT;
42
44
  exports.DELIVERY_RECEIPT = DELIVERY_RECEIPT;
43
45
  exports.META_ARRAY_MESSAGE_TYPE_KEY = META_ARRAY_MESSAGE_TYPE_KEY;
44
46
  exports.META_ARRAY_MESSAGE_TYPE_VALUE__VOICE = META_ARRAY_MESSAGE_TYPE_VALUE__VOICE;
@@ -57,4 +59,4 @@ exports.VOICE_RECORDER_AUDIO_SAMPLE_RATE = VOICE_RECORDER_AUDIO_SAMPLE_RATE;
57
59
  exports.VOICE_RECORDER_CLICK_BUFFER_TIME = VOICE_RECORDER_CLICK_BUFFER_TIME;
58
60
  exports.VOICE_RECORDER_DEFAULT_MAX = VOICE_RECORDER_DEFAULT_MAX;
59
61
  exports.VOICE_RECORDER_DEFAULT_MIN = VOICE_RECORDER_DEFAULT_MIN;
60
- //# sourceMappingURL=bundle-Ca7xeBTO.js.map
62
+ //# sourceMappingURL=bundle-BNzVVkzd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-BNzVVkzd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}