@sendbird/uikit-react 3.14.3 → 3.14.4

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 (1063) hide show
  1. package/App.js +377 -378
  2. package/App.js.map +1 -1
  3. package/CHANGELOG.md +23 -0
  4. package/Channel/components/ChannelHeader.js +36 -34
  5. package/Channel/components/ChannelHeader.js.map +1 -1
  6. package/Channel/components/ChannelUI.js +74 -74
  7. package/Channel/components/FileViewer.js +37 -33
  8. package/Channel/components/FileViewer.js.map +1 -1
  9. package/Channel/components/FrozenNotification.js +5 -5
  10. package/Channel/components/Message.js +80 -81
  11. package/Channel/components/Message.js.map +1 -1
  12. package/Channel/components/MessageInput.js +72 -70
  13. package/Channel/components/MessageInput.js.map +1 -1
  14. package/Channel/components/MessageInputWrapper.js +45 -43
  15. package/Channel/components/MessageInputWrapper.js.map +1 -1
  16. package/Channel/components/MessageList.js +249 -250
  17. package/Channel/components/MessageList.js.map +1 -1
  18. package/Channel/components/RemoveMessageModal.js +38 -33
  19. package/Channel/components/RemoveMessageModal.js.map +1 -1
  20. package/Channel/components/SuggestedMentionList.js +29 -30
  21. package/Channel/components/SuggestedMentionList.js.map +1 -1
  22. package/Channel/components/TypingIndicator.js +6 -6
  23. package/Channel/components/UnreadCount.js +7 -7
  24. package/Channel/context.js +1453 -1453
  25. package/Channel/hooks/useHandleUploadFiles.js +125 -120
  26. package/Channel/hooks/useHandleUploadFiles.js.map +1 -1
  27. package/Channel/hooks/useInitialMessagesFetch.js +6 -6
  28. package/Channel/utils/compareMessagesForGrouping.js +50 -51
  29. package/Channel/utils/compareMessagesForGrouping.js.map +1 -1
  30. package/Channel/utils/getMessagePartsInfo.js +26 -27
  31. package/Channel/utils/getMessagePartsInfo.js.map +1 -1
  32. package/Channel.js +71 -71
  33. package/ChannelList/components/AddChannel.js +29 -26
  34. package/ChannelList/components/AddChannel.js.map +1 -1
  35. package/ChannelList/components/ChannelListHeader.js +13 -8
  36. package/ChannelList/components/ChannelListHeader.js.map +1 -1
  37. package/ChannelList/components/ChannelListUI.js +109 -106
  38. package/ChannelList/components/ChannelListUI.js.map +1 -1
  39. package/ChannelList/components/ChannelPreview.js +43 -38
  40. package/ChannelList/components/ChannelPreview.js.map +1 -1
  41. package/ChannelList/components/ChannelPreviewAction.js +16 -12
  42. package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
  43. package/ChannelList/context.js +9 -10
  44. package/ChannelList/context.js.map +1 -1
  45. package/ChannelList.js +43 -40
  46. package/ChannelList.js.map +1 -1
  47. package/ChannelSettings/components/ChannelProfile.js +57 -47
  48. package/ChannelSettings/components/ChannelProfile.js.map +1 -1
  49. package/ChannelSettings/components/ChannelSettingsHeader.js +24 -21
  50. package/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
  51. package/ChannelSettings/components/ChannelSettingsUI.js +78 -75
  52. package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  53. package/ChannelSettings/components/EditDetailsModal.js +90 -80
  54. package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
  55. package/ChannelSettings/components/LeaveChannel.js +63 -53
  56. package/ChannelSettings/components/LeaveChannel.js.map +1 -1
  57. package/ChannelSettings/components/ModerationPanel.js +447 -445
  58. package/ChannelSettings/components/ModerationPanel.js.map +1 -1
  59. package/ChannelSettings/components/UserListItem.js +49 -49
  60. package/ChannelSettings/components/UserPanel.js +47 -45
  61. package/ChannelSettings/components/UserPanel.js.map +1 -1
  62. package/ChannelSettings/context.js +105 -105
  63. package/ChannelSettings.js +35 -32
  64. package/ChannelSettings.js.map +1 -1
  65. package/CreateChannel/components/CreateChannelUI.js +33 -29
  66. package/CreateChannel/components/CreateChannelUI.js.map +1 -1
  67. package/CreateChannel/components/InviteUsers.js +143 -139
  68. package/CreateChannel/components/InviteUsers.js.map +1 -1
  69. package/CreateChannel/components/SelectChannelType.js +76 -65
  70. package/CreateChannel/components/SelectChannelType.js.map +1 -1
  71. package/CreateChannel/context.js +4 -4
  72. package/CreateChannel.js +27 -23
  73. package/CreateChannel.js.map +1 -1
  74. package/CreateOpenChannel/components/CreateOpenChannelUI.js +63 -52
  75. package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
  76. package/CreateOpenChannel/context.js +41 -41
  77. package/CreateOpenChannel.js +28 -17
  78. package/CreateOpenChannel.js.map +1 -1
  79. package/EditUserProfile/components/EditUserProfileUI.js +110 -99
  80. package/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
  81. package/EditUserProfile/context.js +12 -12
  82. package/EditUserProfile.js +27 -16
  83. package/EditUserProfile.js.map +1 -1
  84. package/GroupChannel/components/FileViewer.js +62 -58
  85. package/GroupChannel/components/FileViewer.js.map +1 -1
  86. package/GroupChannel/components/FrozenNotification.js +10 -10
  87. package/GroupChannel/components/GroupChannelHeader.js +30 -28
  88. package/GroupChannel/components/GroupChannelHeader.js.map +1 -1
  89. package/GroupChannel/components/GroupChannelUI.js +68 -68
  90. package/GroupChannel/components/Message.js +66 -77
  91. package/GroupChannel/components/Message.js.map +1 -1
  92. package/GroupChannel/components/MessageInputWrapper.js +63 -62
  93. package/GroupChannel/components/MessageInputWrapper.js.map +1 -1
  94. package/GroupChannel/components/MessageList.js +154 -155
  95. package/GroupChannel/components/MessageList.js.map +1 -1
  96. package/GroupChannel/components/RemoveMessageModal.js +32 -27
  97. package/GroupChannel/components/RemoveMessageModal.js.map +1 -1
  98. package/GroupChannel/components/SuggestedMentionList.js +14 -14
  99. package/GroupChannel/components/SuggestedReplies.js +15 -14
  100. package/GroupChannel/components/SuggestedReplies.js.map +1 -1
  101. package/GroupChannel/components/TypingIndicator.js +59 -59
  102. package/GroupChannel/components/UnreadCount.js +26 -26
  103. package/GroupChannel/context.js +568 -568
  104. package/GroupChannel.js +65 -65
  105. package/GroupChannelList/components/AddGroupChannel.js +30 -27
  106. package/GroupChannelList/components/AddGroupChannel.js.map +1 -1
  107. package/GroupChannelList/components/GroupChannelListHeader.js +34 -28
  108. package/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
  109. package/GroupChannelList/components/GroupChannelListItem.js +39 -35
  110. package/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
  111. package/GroupChannelList/components/GroupChannelListUI.js +86 -83
  112. package/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
  113. package/GroupChannelList/components/GroupChannelPreviewAction.js +48 -44
  114. package/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
  115. package/GroupChannelList/context.js +81 -97
  116. package/GroupChannelList/context.js.map +1 -1
  117. package/GroupChannelList.js +43 -40
  118. package/GroupChannelList.js.map +1 -1
  119. package/Message/context.js +21 -21
  120. package/Message/hooks/useDirtyGetMentions.js +52 -52
  121. package/MessageSearch/components/MessageSearchUI.js +71 -72
  122. package/MessageSearch/components/MessageSearchUI.js.map +1 -1
  123. package/MessageSearch/context.js +247 -247
  124. package/MessageSearch.js +59 -59
  125. package/OpenChannel/components/FrozenChannelNotification.js +9 -9
  126. package/OpenChannel/components/OpenChannelHeader.js +43 -38
  127. package/OpenChannel/components/OpenChannelHeader.js.map +1 -1
  128. package/OpenChannel/components/OpenChannelInput.js +47 -45
  129. package/OpenChannel/components/OpenChannelInput.js.map +1 -1
  130. package/OpenChannel/components/OpenChannelMessage.js +158 -157
  131. package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  132. package/OpenChannel/components/OpenChannelMessageList.js +95 -94
  133. package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  134. package/OpenChannel/components/OpenChannelUI.js +71 -70
  135. package/OpenChannel/components/OpenChannelUI.js.map +1 -1
  136. package/OpenChannel/context.js +23 -18
  137. package/OpenChannel/context.js.map +1 -1
  138. package/OpenChannel.js +44 -43
  139. package/OpenChannel.js.map +1 -1
  140. package/OpenChannelList/components/OpenChannelListUI.js +102 -92
  141. package/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
  142. package/OpenChannelList/components/OpenChannelPreview.js +20 -20
  143. package/OpenChannelList/context.js +3 -3
  144. package/OpenChannelList.js +34 -24
  145. package/OpenChannelList.js.map +1 -1
  146. package/OpenChannelSettings/components/EditDetailsModal.js +82 -73
  147. package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
  148. package/OpenChannelSettings/components/OpenChannelProfile.js +47 -38
  149. package/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
  150. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +61 -57
  151. package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
  152. package/OpenChannelSettings/components/OperatorUI.js +454 -450
  153. package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
  154. package/OpenChannelSettings/components/ParticipantUI.js +21 -17
  155. package/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
  156. package/OpenChannelSettings/context.js +114 -114
  157. package/OpenChannelSettings.js +29 -25
  158. package/OpenChannelSettings.js.map +1 -1
  159. package/README.md +2 -13
  160. package/SendbirdProvider.js +1139 -1183
  161. package/SendbirdProvider.js.map +1 -1
  162. package/Thread/components/ParentMessageInfo.js +240 -239
  163. package/Thread/components/ParentMessageInfo.js.map +1 -1
  164. package/Thread/components/ParentMessageInfoItem.js +148 -148
  165. package/Thread/components/ThreadHeader.js +23 -26
  166. package/Thread/components/ThreadHeader.js.map +1 -1
  167. package/Thread/components/ThreadList.js +122 -122
  168. package/Thread/components/ThreadListItem.js +341 -340
  169. package/Thread/components/ThreadListItem.js.map +1 -1
  170. package/Thread/components/ThreadMessageInput.js +167 -165
  171. package/Thread/components/ThreadMessageInput.js.map +1 -1
  172. package/Thread/components/ThreadUI.js +207 -207
  173. package/Thread/context/types.js +21 -21
  174. package/Thread/context.js +1283 -1281
  175. package/Thread/context.js.map +1 -1
  176. package/Thread.js +73 -73
  177. package/VoicePlayer/context.js +3 -3
  178. package/VoicePlayer/useVoicePlayer.js +68 -60
  179. package/VoicePlayer/useVoicePlayer.js.map +1 -1
  180. package/VoiceRecorder/context.js +21 -127
  181. package/VoiceRecorder/context.js.map +1 -1
  182. package/VoiceRecorder/useVoiceRecorder.js +105 -96
  183. package/VoiceRecorder/useVoiceRecorder.js.map +1 -1
  184. package/chunks/{bundle-DiuoVXwl.js → bundle--nVHk3fx.js} +161 -162
  185. package/chunks/{bundle-DiuoVXwl.js.map → bundle--nVHk3fx.js.map} +1 -1
  186. package/chunks/{bundle-CUPPssXo.js → bundle-2uJIsyo2.js} +27 -27
  187. package/chunks/bundle-2uJIsyo2.js.map +1 -0
  188. package/chunks/bundle-3amhHjNa.js +120 -0
  189. package/chunks/bundle-3amhHjNa.js.map +1 -0
  190. package/chunks/{bundle-DZcgZWKq.js → bundle-7oF7KbGv.js} +2 -2
  191. package/chunks/{bundle-DZcgZWKq.js.map → bundle-7oF7KbGv.js.map} +1 -1
  192. package/chunks/{bundle-CXtl77MC.js → bundle-9MhshueU.js} +21 -21
  193. package/chunks/bundle-9MhshueU.js.map +1 -0
  194. package/chunks/{bundle-COLsFI7t.js → bundle-B5N2u5f-.js} +1 -1
  195. package/chunks/bundle-B5N2u5f-.js.map +1 -0
  196. package/chunks/{bundle-DGnpw8up.js → bundle-B7barEsR.js} +19 -19
  197. package/chunks/bundle-B7barEsR.js.map +1 -0
  198. package/chunks/{bundle-mRqHYNyY.js → bundle-B8gKMDtp.js} +28 -28
  199. package/chunks/bundle-B8gKMDtp.js.map +1 -0
  200. package/chunks/{bundle-D8JekjLy.js → bundle-BAvMd_j0.js} +45 -46
  201. package/chunks/bundle-BAvMd_j0.js.map +1 -0
  202. package/chunks/{bundle-DfDCjniq.js → bundle-BHn3F_OF.js} +17 -17
  203. package/chunks/bundle-BHn3F_OF.js.map +1 -0
  204. package/chunks/{bundle-BbeHRXOp.js → bundle-BJ46V6XQ.js} +10 -10
  205. package/chunks/bundle-BJ46V6XQ.js.map +1 -0
  206. package/chunks/{bundle-DQKxIg_X.js → bundle-BKho3Uub.js} +11 -11
  207. package/chunks/bundle-BKho3Uub.js.map +1 -0
  208. package/chunks/{bundle-BTLVyMgj.js → bundle-BOSnopxk.js} +8 -8
  209. package/chunks/bundle-BOSnopxk.js.map +1 -0
  210. package/chunks/{bundle-DbwlpQTj.js → bundle-BTD0sBED.js} +89 -89
  211. package/chunks/{bundle-DbwlpQTj.js.map → bundle-BTD0sBED.js.map} +1 -1
  212. package/chunks/{bundle-CkgVJjMI.js → bundle-BTkRy0wv.js} +94 -94
  213. package/chunks/{bundle-CkgVJjMI.js.map → bundle-BTkRy0wv.js.map} +1 -1
  214. package/chunks/{bundle-DwApARpe.js → bundle-BWCGFXhj.js} +732 -731
  215. package/chunks/bundle-BWCGFXhj.js.map +1 -0
  216. package/chunks/{bundle-BX_IXLSp.js → bundle-BWuyd0AD.js} +37 -37
  217. package/chunks/bundle-BWuyd0AD.js.map +1 -0
  218. package/chunks/{bundle-DOG83iYO.js → bundle-BZd5IHBF.js} +83 -83
  219. package/chunks/{bundle-DOG83iYO.js.map → bundle-BZd5IHBF.js.map} +1 -1
  220. package/chunks/{bundle-BiINvVSK.js → bundle-B__zC9zD.js} +131 -132
  221. package/chunks/{bundle-DBBVxbFA.js.map → bundle-B__zC9zD.js.map} +1 -1
  222. package/chunks/bundle-BbWD2VuS.js +93 -0
  223. package/chunks/bundle-BbWD2VuS.js.map +1 -0
  224. package/chunks/{bundle-CDnCdfIC.js → bundle-Bi8Wfc2I.js} +1326 -1327
  225. package/chunks/{bundle-CDnCdfIC.js.map → bundle-Bi8Wfc2I.js.map} +1 -1
  226. package/chunks/{bundle-BcKA_SAt.js → bundle-BjrRhdgd.js} +258 -258
  227. package/chunks/{bundle-BcKA_SAt.js.map → bundle-BjrRhdgd.js.map} +1 -1
  228. package/chunks/{bundle-CYXIQgUE.js → bundle-BmTGlIgs.js} +920 -923
  229. package/chunks/{bundle-CYXIQgUE.js.map → bundle-BmTGlIgs.js.map} +1 -1
  230. package/chunks/{bundle-BhkcPTQE.js → bundle-BtY8jyVv.js} +26 -26
  231. package/chunks/{bundle-BhkcPTQE.js.map → bundle-BtY8jyVv.js.map} +1 -1
  232. package/chunks/{bundle-C3K7W_E-.js → bundle-BvG71y_P.js} +31 -31
  233. package/chunks/bundle-BvG71y_P.js.map +1 -0
  234. package/chunks/{bundle-DS5ljghe.js → bundle-BvaqGh4L.js} +5 -5
  235. package/chunks/bundle-BvaqGh4L.js.map +1 -0
  236. package/chunks/{bundle-tIPAQa1P.js → bundle-Bx5vhTbU.js} +11 -11
  237. package/chunks/bundle-Bx5vhTbU.js.map +1 -0
  238. package/chunks/{bundle-DkspvEHK.js → bundle-Byig85JJ.js} +185 -185
  239. package/chunks/{bundle-DkspvEHK.js.map → bundle-Byig85JJ.js.map} +1 -1
  240. package/chunks/bundle-BymWz1lX.js +30 -0
  241. package/chunks/bundle-BymWz1lX.js.map +1 -0
  242. package/chunks/{bundle-DZl__KhG.js → bundle-ByvmbZD0.js} +36 -29
  243. package/chunks/bundle-ByvmbZD0.js.map +1 -0
  244. package/chunks/{bundle-DZie-lCF.js → bundle-C040958G.js} +2 -2
  245. package/chunks/{bundle-DZie-lCF.js.map → bundle-C040958G.js.map} +1 -1
  246. package/chunks/{bundle-Danvz0zD.js → bundle-C1ds4cil.js} +1 -1
  247. package/chunks/{bundle-Danvz0zD.js.map → bundle-C1ds4cil.js.map} +1 -1
  248. package/chunks/{bundle-D4x1_hkl.js → bundle-C1hw1sij.js} +26 -26
  249. package/chunks/bundle-C1hw1sij.js.map +1 -0
  250. package/chunks/bundle-C4Z-NWqF.js +279 -0
  251. package/chunks/bundle-C4Z-NWqF.js.map +1 -0
  252. package/chunks/{bundle-BLGMGsvT.js → bundle-C8im5l9B.js} +234 -234
  253. package/chunks/{bundle-BLGMGsvT.js.map → bundle-C8im5l9B.js.map} +1 -1
  254. package/chunks/{bundle-Dc7E6GJc.js → bundle-CD9AzC6s.js} +35 -35
  255. package/chunks/bundle-CD9AzC6s.js.map +1 -0
  256. package/chunks/{bundle-DpCn3P9s.js → bundle-CDwtSJbC.js} +210 -206
  257. package/chunks/{bundle-CwHpV2cp.js.map → bundle-CDwtSJbC.js.map} +1 -1
  258. package/chunks/{bundle-BbusXHy3.js → bundle-CIwVkd-E.js} +234 -234
  259. package/chunks/{bundle-BbusXHy3.js.map → bundle-CIwVkd-E.js.map} +1 -1
  260. package/chunks/{bundle-B9sTU4LX.js → bundle-CJk_QDUV.js} +58 -58
  261. package/chunks/bundle-CJk_QDUV.js.map +1 -0
  262. package/chunks/{bundle-BPvfVEd8.js → bundle-CNJMLyGJ.js} +61 -61
  263. package/chunks/bundle-CNJMLyGJ.js.map +1 -0
  264. package/chunks/{bundle-CUd4X5O2.js → bundle-CT8ZXUi2.js} +12 -12
  265. package/chunks/bundle-CT8ZXUi2.js.map +1 -0
  266. package/chunks/{bundle-Bf6VvPhp.js → bundle-C_Vyt_ii.js} +25 -25
  267. package/chunks/bundle-C_Vyt_ii.js.map +1 -0
  268. package/chunks/{bundle-Bkbg_RQ-.js → bundle-CaaUNO3F.js} +2 -2
  269. package/chunks/{bundle-Bkbg_RQ-.js.map → bundle-CaaUNO3F.js.map} +1 -1
  270. package/chunks/{bundle-DL_Xts3y.js → bundle-Ci146LvO.js} +370 -368
  271. package/chunks/{bundle-DL_Xts3y.js.map → bundle-Ci146LvO.js.map} +1 -1
  272. package/chunks/{bundle-fxTywxQ4.js → bundle-Clhqc2C_.js} +6 -6
  273. package/chunks/bundle-Clhqc2C_.js.map +1 -0
  274. package/chunks/{bundle-B7J4Fm0y.js → bundle-D2i2ti1U.js} +36 -36
  275. package/chunks/bundle-D2i2ti1U.js.map +1 -0
  276. package/chunks/{bundle-CY2Lga-4.js → bundle-DDhhxSv0.js} +64 -65
  277. package/chunks/bundle-DDhhxSv0.js.map +1 -0
  278. package/chunks/{bundle-DWW0XPV9.js → bundle-DDkUg3Os.js} +118 -118
  279. package/chunks/{bundle-DWW0XPV9.js.map → bundle-DDkUg3Os.js.map} +1 -1
  280. package/chunks/{bundle-Otcx8Wxy.js → bundle-DJTSztr0.js} +124 -124
  281. package/chunks/bundle-DJTSztr0.js.map +1 -0
  282. package/chunks/{bundle-WmbZYtqM.js → bundle-DNMURwG9.js} +120 -120
  283. package/chunks/bundle-DNMURwG9.js.map +1 -0
  284. package/chunks/{bundle-B_fxVgAX.js → bundle-DO1vNias.js} +244 -244
  285. package/chunks/{bundle-B_fxVgAX.js.map → bundle-DO1vNias.js.map} +1 -1
  286. package/chunks/{bundle-D5lQwKgM.js → bundle-DQ2q-zNM.js} +1 -1
  287. package/chunks/bundle-DQ2q-zNM.js.map +1 -0
  288. package/chunks/{bundle-5yHWoLVJ.js → bundle-DQFIz2Zf.js} +11 -11
  289. package/chunks/bundle-DQFIz2Zf.js.map +1 -0
  290. package/chunks/{bundle-DpkEqNiD.js → bundle-DSOf9RKe.js} +1 -1
  291. package/chunks/bundle-DSOf9RKe.js.map +1 -0
  292. package/chunks/{bundle-BOUVMTAt.js → bundle-DThbnyZd.js} +25 -25
  293. package/chunks/bundle-DThbnyZd.js.map +1 -0
  294. package/chunks/{bundle-CwHpV2cp.js → bundle-DXCQovsu.js} +213 -213
  295. package/{cjs/chunks/bundle-66eVSkB5.js.map → chunks/bundle-DXCQovsu.js.map} +1 -1
  296. package/chunks/{bundle-BmFbOU4C.js → bundle-D_eJq5Xk.js} +12 -12
  297. package/chunks/bundle-D_eJq5Xk.js.map +1 -0
  298. package/chunks/{bundle-CXxeDfXV.js → bundle-DaAoUDJk.js} +164 -164
  299. package/chunks/{bundle-CXxeDfXV.js.map → bundle-DaAoUDJk.js.map} +1 -1
  300. package/chunks/{bundle-CMZVPZeM.js → bundle-DaoHZIZy.js} +51 -51
  301. package/chunks/bundle-DaoHZIZy.js.map +1 -0
  302. package/chunks/{bundle-BlK-fMQm.js → bundle-Diqj6For.js} +71 -71
  303. package/chunks/bundle-Diqj6For.js.map +1 -0
  304. package/chunks/{bundle-CKf9oBLV.js → bundle-DlfN5GTa.js} +160 -160
  305. package/chunks/{bundle-CKf9oBLV.js.map → bundle-DlfN5GTa.js.map} +1 -1
  306. package/chunks/{bundle-BPj0X5TA.js → bundle-DmYqVYeD.js} +6 -6
  307. package/chunks/bundle-DmYqVYeD.js.map +1 -0
  308. package/chunks/{bundle-DBBVxbFA.js → bundle-DpGWywZ5.js} +138 -138
  309. package/chunks/bundle-DpGWywZ5.js.map +1 -0
  310. package/chunks/{bundle-BPbwxMIx.js → bundle-DzxiMlgV.js} +11 -12
  311. package/chunks/bundle-DzxiMlgV.js.map +1 -0
  312. package/chunks/{bundle-BwJTKHEl.js → bundle-Gx0ryc_f.js} +72 -72
  313. package/chunks/bundle-Gx0ryc_f.js.map +1 -0
  314. package/chunks/{bundle-BMPm6lKq.js → bundle-HoQqraNc.js} +23 -23
  315. package/chunks/bundle-HoQqraNc.js.map +1 -0
  316. package/chunks/{bundle-CllFAkeZ.js → bundle-IGQYX_K1.js} +152 -1079
  317. package/chunks/bundle-IGQYX_K1.js.map +1 -0
  318. package/chunks/{bundle-DfhJ_oFZ.js → bundle-Jir4hfa9.js} +13 -13
  319. package/chunks/bundle-Jir4hfa9.js.map +1 -0
  320. package/chunks/{bundle-Dk211z5R.js → bundle-LYAWKk4n.js} +78 -79
  321. package/chunks/bundle-LYAWKk4n.js.map +1 -0
  322. package/chunks/{bundle-OIgXk-TJ.js → bundle-QxUVt4Ms.js} +15 -15
  323. package/chunks/bundle-QxUVt4Ms.js.map +1 -0
  324. package/chunks/{bundle-C2A3dCIs.js → bundle-ZsYMd8JA.js} +192 -185
  325. package/chunks/{bundle-C2A3dCIs.js.map → bundle-ZsYMd8JA.js.map} +1 -1
  326. package/chunks/{bundle-BKCDSKx6.js → bundle-_-vntp1z.js} +28 -28
  327. package/chunks/bundle-_-vntp1z.js.map +1 -0
  328. package/chunks/{bundle-BzYv4x2T.js → bundle-afCfXO2C.js} +22 -22
  329. package/chunks/bundle-afCfXO2C.js.map +1 -0
  330. package/chunks/{bundle-D4rjbjNv.js → bundle-dC3DwujZ.js} +18 -18
  331. package/chunks/bundle-dC3DwujZ.js.map +1 -0
  332. package/chunks/{bundle-CUDCHaXM.js → bundle-fRP_rTVb.js} +75 -74
  333. package/chunks/bundle-fRP_rTVb.js.map +1 -0
  334. package/chunks/{bundle-Dzm909k5.js → bundle-h3a36twH.js} +48 -48
  335. package/chunks/bundle-h3a36twH.js.map +1 -0
  336. package/chunks/{bundle-XogVJY7Q.js → bundle-k3XccyCm.js} +333 -333
  337. package/chunks/{bundle-XogVJY7Q.js.map → bundle-k3XccyCm.js.map} +1 -1
  338. package/chunks/{bundle-Y3Y435SA.js → bundle-oCSRGy9i.js} +29 -29
  339. package/chunks/bundle-oCSRGy9i.js.map +1 -0
  340. package/chunks/{bundle-BLMDgHS-.js → bundle-uBJzoaNT.js} +82 -82
  341. package/chunks/bundle-uBJzoaNT.js.map +1 -0
  342. package/chunks/{bundle-BKTUnkiE.js → bundle-yZ1rqvSQ.js} +3 -3
  343. package/chunks/{bundle-BKTUnkiE.js.map → bundle-yZ1rqvSQ.js.map} +1 -1
  344. package/cjs/App.js +377 -378
  345. package/cjs/App.js.map +1 -1
  346. package/cjs/Channel/components/ChannelHeader.js +36 -34
  347. package/cjs/Channel/components/ChannelHeader.js.map +1 -1
  348. package/cjs/Channel/components/ChannelUI.js +74 -74
  349. package/cjs/Channel/components/FileViewer.js +37 -33
  350. package/cjs/Channel/components/FileViewer.js.map +1 -1
  351. package/cjs/Channel/components/FrozenNotification.js +5 -5
  352. package/cjs/Channel/components/Message.js +80 -81
  353. package/cjs/Channel/components/Message.js.map +1 -1
  354. package/cjs/Channel/components/MessageInput.js +72 -70
  355. package/cjs/Channel/components/MessageInput.js.map +1 -1
  356. package/cjs/Channel/components/MessageInputWrapper.js +45 -43
  357. package/cjs/Channel/components/MessageInputWrapper.js.map +1 -1
  358. package/cjs/Channel/components/MessageList.js +249 -250
  359. package/cjs/Channel/components/MessageList.js.map +1 -1
  360. package/cjs/Channel/components/RemoveMessageModal.js +38 -33
  361. package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
  362. package/cjs/Channel/components/SuggestedMentionList.js +29 -30
  363. package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
  364. package/cjs/Channel/components/TypingIndicator.js +6 -6
  365. package/cjs/Channel/components/UnreadCount.js +7 -7
  366. package/cjs/Channel/context.js +1453 -1453
  367. package/cjs/Channel/hooks/useHandleUploadFiles.js +125 -120
  368. package/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -1
  369. package/cjs/Channel/hooks/useInitialMessagesFetch.js +6 -6
  370. package/cjs/Channel/utils/compareMessagesForGrouping.js +50 -51
  371. package/cjs/Channel/utils/compareMessagesForGrouping.js.map +1 -1
  372. package/cjs/Channel/utils/getMessagePartsInfo.js +26 -27
  373. package/cjs/Channel/utils/getMessagePartsInfo.js.map +1 -1
  374. package/cjs/Channel.js +71 -71
  375. package/cjs/ChannelList/components/AddChannel.js +29 -26
  376. package/cjs/ChannelList/components/AddChannel.js.map +1 -1
  377. package/cjs/ChannelList/components/ChannelListHeader.js +13 -8
  378. package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
  379. package/cjs/ChannelList/components/ChannelListUI.js +109 -106
  380. package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
  381. package/cjs/ChannelList/components/ChannelPreview.js +43 -38
  382. package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
  383. package/cjs/ChannelList/components/ChannelPreviewAction.js +16 -12
  384. package/cjs/ChannelList/components/ChannelPreviewAction.js.map +1 -1
  385. package/cjs/ChannelList/context.js +9 -10
  386. package/cjs/ChannelList/context.js.map +1 -1
  387. package/cjs/ChannelList.js +43 -40
  388. package/cjs/ChannelList.js.map +1 -1
  389. package/cjs/ChannelSettings/components/ChannelProfile.js +57 -47
  390. package/cjs/ChannelSettings/components/ChannelProfile.js.map +1 -1
  391. package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +23 -20
  392. package/cjs/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
  393. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +78 -75
  394. package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  395. package/cjs/ChannelSettings/components/EditDetailsModal.js +90 -80
  396. package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
  397. package/cjs/ChannelSettings/components/LeaveChannel.js +63 -53
  398. package/cjs/ChannelSettings/components/LeaveChannel.js.map +1 -1
  399. package/cjs/ChannelSettings/components/ModerationPanel.js +447 -445
  400. package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
  401. package/cjs/ChannelSettings/components/UserListItem.js +49 -49
  402. package/cjs/ChannelSettings/components/UserPanel.js +47 -45
  403. package/cjs/ChannelSettings/components/UserPanel.js.map +1 -1
  404. package/cjs/ChannelSettings/context.js +105 -105
  405. package/cjs/ChannelSettings.js +35 -32
  406. package/cjs/ChannelSettings.js.map +1 -1
  407. package/cjs/CreateChannel/components/CreateChannelUI.js +33 -29
  408. package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
  409. package/cjs/CreateChannel/components/InviteUsers.js +143 -139
  410. package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
  411. package/cjs/CreateChannel/components/SelectChannelType.js +76 -65
  412. package/cjs/CreateChannel/components/SelectChannelType.js.map +1 -1
  413. package/cjs/CreateChannel/context.js +4 -4
  414. package/cjs/CreateChannel.js +27 -23
  415. package/cjs/CreateChannel.js.map +1 -1
  416. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +63 -52
  417. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
  418. package/cjs/CreateOpenChannel/context.js +41 -41
  419. package/cjs/CreateOpenChannel.js +28 -17
  420. package/cjs/CreateOpenChannel.js.map +1 -1
  421. package/cjs/EditUserProfile/components/EditUserProfileUI.js +110 -99
  422. package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
  423. package/cjs/EditUserProfile/context.js +12 -12
  424. package/cjs/EditUserProfile.js +27 -16
  425. package/cjs/EditUserProfile.js.map +1 -1
  426. package/cjs/GroupChannel/components/FileViewer.js +62 -58
  427. package/cjs/GroupChannel/components/FileViewer.js.map +1 -1
  428. package/cjs/GroupChannel/components/FrozenNotification.js +10 -10
  429. package/cjs/GroupChannel/components/GroupChannelHeader.js +30 -28
  430. package/cjs/GroupChannel/components/GroupChannelHeader.js.map +1 -1
  431. package/cjs/GroupChannel/components/GroupChannelUI.js +68 -68
  432. package/cjs/GroupChannel/components/Message.js +66 -77
  433. package/cjs/GroupChannel/components/Message.js.map +1 -1
  434. package/cjs/GroupChannel/components/MessageInputWrapper.js +62 -61
  435. package/cjs/GroupChannel/components/MessageInputWrapper.js.map +1 -1
  436. package/cjs/GroupChannel/components/MessageList.js +154 -155
  437. package/cjs/GroupChannel/components/MessageList.js.map +1 -1
  438. package/cjs/GroupChannel/components/RemoveMessageModal.js +32 -27
  439. package/cjs/GroupChannel/components/RemoveMessageModal.js.map +1 -1
  440. package/cjs/GroupChannel/components/SuggestedMentionList.js +14 -14
  441. package/cjs/GroupChannel/components/SuggestedReplies.js +15 -14
  442. package/cjs/GroupChannel/components/SuggestedReplies.js.map +1 -1
  443. package/cjs/GroupChannel/components/TypingIndicator.js +59 -59
  444. package/cjs/GroupChannel/components/UnreadCount.js +26 -26
  445. package/cjs/GroupChannel/context.js +568 -568
  446. package/cjs/GroupChannel.js +65 -65
  447. package/cjs/GroupChannelList/components/AddGroupChannel.js +30 -27
  448. package/cjs/GroupChannelList/components/AddGroupChannel.js.map +1 -1
  449. package/cjs/GroupChannelList/components/GroupChannelListHeader.js +34 -28
  450. package/cjs/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
  451. package/cjs/GroupChannelList/components/GroupChannelListItem.js +39 -35
  452. package/cjs/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
  453. package/cjs/GroupChannelList/components/GroupChannelListUI.js +86 -83
  454. package/cjs/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
  455. package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +48 -44
  456. package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
  457. package/cjs/GroupChannelList/context.js +81 -97
  458. package/cjs/GroupChannelList/context.js.map +1 -1
  459. package/cjs/GroupChannelList.js +43 -40
  460. package/cjs/GroupChannelList.js.map +1 -1
  461. package/cjs/Message/context.js +21 -21
  462. package/cjs/Message/hooks/useDirtyGetMentions.js +52 -52
  463. package/cjs/MessageSearch/components/MessageSearchUI.js +71 -72
  464. package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
  465. package/cjs/MessageSearch/context.js +247 -247
  466. package/cjs/MessageSearch.js +59 -59
  467. package/cjs/OpenChannel/components/FrozenChannelNotification.js +9 -9
  468. package/cjs/OpenChannel/components/OpenChannelHeader.js +43 -38
  469. package/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -1
  470. package/cjs/OpenChannel/components/OpenChannelInput.js +47 -45
  471. package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
  472. package/cjs/OpenChannel/components/OpenChannelMessage.js +158 -157
  473. package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  474. package/cjs/OpenChannel/components/OpenChannelMessageList.js +95 -94
  475. package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  476. package/cjs/OpenChannel/components/OpenChannelUI.js +71 -70
  477. package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
  478. package/cjs/OpenChannel/context.js +23 -18
  479. package/cjs/OpenChannel/context.js.map +1 -1
  480. package/cjs/OpenChannel.js +44 -43
  481. package/cjs/OpenChannel.js.map +1 -1
  482. package/cjs/OpenChannelList/components/OpenChannelListUI.js +102 -92
  483. package/cjs/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
  484. package/cjs/OpenChannelList/components/OpenChannelPreview.js +20 -20
  485. package/cjs/OpenChannelList/context.js +3 -3
  486. package/cjs/OpenChannelList.js +34 -24
  487. package/cjs/OpenChannelList.js.map +1 -1
  488. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +82 -73
  489. package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
  490. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +47 -38
  491. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
  492. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +61 -57
  493. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
  494. package/cjs/OpenChannelSettings/components/OperatorUI.js +454 -450
  495. package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
  496. package/cjs/OpenChannelSettings/components/ParticipantUI.js +21 -17
  497. package/cjs/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
  498. package/cjs/OpenChannelSettings/context.js +114 -114
  499. package/cjs/OpenChannelSettings.js +29 -25
  500. package/cjs/OpenChannelSettings.js.map +1 -1
  501. package/cjs/SendbirdProvider.js +1139 -1183
  502. package/cjs/SendbirdProvider.js.map +1 -1
  503. package/cjs/Thread/components/ParentMessageInfo.js +240 -239
  504. package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
  505. package/cjs/Thread/components/ParentMessageInfoItem.js +148 -148
  506. package/cjs/Thread/components/ThreadHeader.js +22 -25
  507. package/cjs/Thread/components/ThreadHeader.js.map +1 -1
  508. package/cjs/Thread/components/ThreadList.js +122 -122
  509. package/cjs/Thread/components/ThreadListItem.js +341 -340
  510. package/cjs/Thread/components/ThreadListItem.js.map +1 -1
  511. package/cjs/Thread/components/ThreadMessageInput.js +167 -165
  512. package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
  513. package/cjs/Thread/components/ThreadUI.js +207 -207
  514. package/cjs/Thread/context/types.js +21 -21
  515. package/cjs/Thread/context.js +1283 -1281
  516. package/cjs/Thread/context.js.map +1 -1
  517. package/cjs/Thread.js +73 -73
  518. package/cjs/VoicePlayer/context.js +3 -3
  519. package/cjs/VoicePlayer/useVoicePlayer.js +68 -60
  520. package/cjs/VoicePlayer/useVoicePlayer.js.map +1 -1
  521. package/cjs/VoiceRecorder/context.js +25 -127
  522. package/cjs/VoiceRecorder/context.js.map +1 -1
  523. package/cjs/VoiceRecorder/useVoiceRecorder.js +105 -96
  524. package/cjs/VoiceRecorder/useVoiceRecorder.js.map +1 -1
  525. package/cjs/chunks/{bundle-BRjBigtB.js → bundle-1XtsxT8L.js} +10 -10
  526. package/cjs/chunks/bundle-1XtsxT8L.js.map +1 -0
  527. package/cjs/chunks/{bundle-CVSpiKNJ.js → bundle-4vdy6J5u.js} +17 -17
  528. package/cjs/chunks/bundle-4vdy6J5u.js.map +1 -0
  529. package/cjs/chunks/{bundle-BuYf2Pa8.js → bundle-5_kPn4wU.js} +77 -79
  530. package/cjs/chunks/bundle-5_kPn4wU.js.map +1 -0
  531. package/cjs/chunks/{bundle-ByBh6M0g.js → bundle-7UHC8ujA.js} +94 -94
  532. package/cjs/chunks/bundle-7UHC8ujA.js.map +1 -0
  533. package/cjs/chunks/{bundle-DessEmBr.js → bundle-8VyIP0TE.js} +1 -1
  534. package/cjs/chunks/bundle-8VyIP0TE.js.map +1 -0
  535. package/cjs/chunks/{bundle-C80RIOub.js → bundle-B-olJv7b.js} +1326 -1327
  536. package/cjs/chunks/{bundle-C80RIOub.js.map → bundle-B-olJv7b.js.map} +1 -1
  537. package/cjs/chunks/{bundle-DBdGwyXE.js → bundle-B31bbem0.js} +192 -185
  538. package/cjs/chunks/bundle-B31bbem0.js.map +1 -0
  539. package/cjs/chunks/{bundle-CFWumCsy.js → bundle-BBoPpUMg.js} +22 -22
  540. package/cjs/chunks/bundle-BBoPpUMg.js.map +1 -0
  541. package/cjs/chunks/{bundle-C0LFi1ur.js → bundle-BLc7P6Sp.js} +244 -244
  542. package/cjs/chunks/bundle-BLc7P6Sp.js.map +1 -0
  543. package/cjs/chunks/{bundle-XEpryGfs.js → bundle-BOkZUm8a.js} +27 -27
  544. package/cjs/chunks/bundle-BOkZUm8a.js.map +1 -0
  545. package/cjs/chunks/{bundle-BiXN0Ylc.js → bundle-BSAWCcb_.js} +920 -923
  546. package/cjs/chunks/{bundle-BiXN0Ylc.js.map → bundle-BSAWCcb_.js.map} +1 -1
  547. package/cjs/chunks/bundle-BTU876jx.js +95 -0
  548. package/cjs/chunks/{bundle-BRUrQgUE.js.map → bundle-BTU876jx.js.map} +1 -1
  549. package/cjs/chunks/{bundle-BRUrQgUE.js → bundle-BTod-EOk.js} +83 -83
  550. package/cjs/chunks/bundle-BTod-EOk.js.map +1 -0
  551. package/cjs/chunks/{bundle-BwvM-P29.js → bundle-BWGOXLHb.js} +1 -1
  552. package/cjs/chunks/{bundle-BwvM-P29.js.map → bundle-BWGOXLHb.js.map} +1 -1
  553. package/cjs/chunks/{bundle-DbS-u43Y.js → bundle-BXEGf4g2.js} +164 -164
  554. package/cjs/chunks/bundle-BXEGf4g2.js.map +1 -0
  555. package/cjs/chunks/{bundle-juHuQ6-V.js → bundle-B_51Svr9.js} +3 -3
  556. package/cjs/chunks/{bundle-juHuQ6-V.js.map → bundle-B_51Svr9.js.map} +1 -1
  557. package/cjs/chunks/{bundle-DdSNUhSn.js → bundle-BaAUvjl9.js} +6 -6
  558. package/cjs/chunks/bundle-BaAUvjl9.js.map +1 -0
  559. package/cjs/chunks/{bundle-D3tBia0F.js → bundle-BaM5Ed34.js} +160 -160
  560. package/cjs/chunks/{bundle-D3tBia0F.js.map → bundle-BaM5Ed34.js.map} +1 -1
  561. package/cjs/chunks/{bundle-CZObcUAk.js → bundle-BaQc9oOW.js} +29 -29
  562. package/cjs/chunks/bundle-BaQc9oOW.js.map +1 -0
  563. package/cjs/chunks/{bundle-pZbKLQPU.js → bundle-BhCAlWKP.js} +11 -11
  564. package/cjs/chunks/bundle-BhCAlWKP.js.map +1 -0
  565. package/cjs/chunks/{bundle-B3N7ehMH.js → bundle-Bi-soOXA.js} +258 -258
  566. package/cjs/chunks/bundle-Bi-soOXA.js.map +1 -0
  567. package/cjs/chunks/{bundle-D8-ob9Ia.js → bundle-BjgfoBVC.js} +26 -26
  568. package/cjs/chunks/bundle-BjgfoBVC.js.map +1 -0
  569. package/cjs/chunks/{bundle-BDbnsPGF.js → bundle-BoLhr7Ko.js} +36 -28
  570. package/cjs/chunks/bundle-BoLhr7Ko.js.map +1 -0
  571. package/cjs/chunks/{bundle-D5AiwZE4.js → bundle-BrNoc2XZ.js} +185 -185
  572. package/cjs/chunks/bundle-BrNoc2XZ.js.map +1 -0
  573. package/cjs/chunks/{bundle-BwEcnJDm.js → bundle-BwQ4BJif.js} +71 -71
  574. package/cjs/chunks/bundle-BwQ4BJif.js.map +1 -0
  575. package/cjs/chunks/{bundle-GtlapnzG.js → bundle-ByyccRIt.js} +210 -206
  576. package/cjs/chunks/{bundle-DvWHV-PM.js.map → bundle-ByyccRIt.js.map} +1 -1
  577. package/cjs/chunks/{bundle-Dn17aH6v.js → bundle-C1XVsHlE.js} +51 -51
  578. package/cjs/chunks/bundle-C1XVsHlE.js.map +1 -0
  579. package/cjs/chunks/{bundle-Df0cAbH6.js → bundle-C3DKUT4Q.js} +26 -26
  580. package/cjs/chunks/bundle-C3DKUT4Q.js.map +1 -0
  581. package/cjs/chunks/{bundle-ZuDe6I0q.js → bundle-C3RFfU6_.js} +89 -89
  582. package/cjs/chunks/bundle-C3RFfU6_.js.map +1 -0
  583. package/cjs/chunks/{bundle-C8aAwUsg.js → bundle-C51HeaX4.js} +25 -25
  584. package/cjs/chunks/bundle-C51HeaX4.js.map +1 -0
  585. package/cjs/chunks/{bundle-D9hSjP4_.js → bundle-C6a-umLQ.js} +131 -132
  586. package/{chunks/bundle-BiINvVSK.js.map → cjs/chunks/bundle-C6a-umLQ.js.map} +1 -1
  587. package/cjs/chunks/{bundle-C-zGGOpz.js → bundle-C93-onMF.js} +12 -12
  588. package/cjs/chunks/bundle-C93-onMF.js.map +1 -0
  589. package/cjs/chunks/{bundle-C7_tieEZ.js → bundle-CAUMYdVU.js} +19 -19
  590. package/cjs/chunks/bundle-CAUMYdVU.js.map +1 -0
  591. package/cjs/chunks/{bundle-Djp6Qheo.js → bundle-CDIVI7bT.js} +146 -1073
  592. package/cjs/chunks/bundle-CDIVI7bT.js.map +1 -0
  593. package/cjs/chunks/{bundle-u8pJrzSP.js → bundle-CE6bFQmu.js} +118 -118
  594. package/cjs/chunks/bundle-CE6bFQmu.js.map +1 -0
  595. package/cjs/chunks/{bundle-SdH24Cv9.js → bundle-CLOaQmX9.js} +138 -138
  596. package/cjs/chunks/bundle-CLOaQmX9.js.map +1 -0
  597. package/cjs/chunks/{bundle-7zHCY6TY.js → bundle-CQ34zxiR.js} +36 -36
  598. package/cjs/chunks/bundle-CQ34zxiR.js.map +1 -0
  599. package/cjs/chunks/{bundle-B6uiunjG.js → bundle-CR04Yhbr.js} +8 -8
  600. package/cjs/chunks/bundle-CR04Yhbr.js.map +1 -0
  601. package/cjs/chunks/bundle-CZfcXYaX.js +292 -0
  602. package/cjs/chunks/bundle-CZfcXYaX.js.map +1 -0
  603. package/cjs/chunks/{bundle-66eVSkB5.js → bundle-Cgl5e8xs.js} +213 -213
  604. package/cjs/chunks/bundle-Cgl5e8xs.js.map +1 -0
  605. package/cjs/chunks/{bundle-BoCS4RH3.js → bundle-CmpLg1_S.js} +15 -15
  606. package/cjs/chunks/bundle-CmpLg1_S.js.map +1 -0
  607. package/cjs/chunks/{bundle-DsKL-Ede.js → bundle-Com-Z-XI.js} +82 -82
  608. package/cjs/chunks/bundle-Com-Z-XI.js.map +1 -0
  609. package/cjs/chunks/{bundle-BrD0IuOc.js → bundle-CsJKON_3.js} +120 -120
  610. package/cjs/chunks/bundle-CsJKON_3.js.map +1 -0
  611. package/cjs/chunks/{bundle-B6hKU81Z.js → bundle-D-qAbZhp.js} +48 -48
  612. package/cjs/chunks/bundle-D-qAbZhp.js.map +1 -0
  613. package/cjs/chunks/{bundle-DPoAoYEl.js → bundle-D4aDRH9m.js} +1 -1
  614. package/cjs/chunks/bundle-D4aDRH9m.js.map +1 -0
  615. package/cjs/chunks/{bundle-BF3NYKgh.js → bundle-D6E8Fmnl.js} +333 -333
  616. package/cjs/chunks/{bundle-BF3NYKgh.js.map → bundle-D6E8Fmnl.js.map} +1 -1
  617. package/cjs/chunks/{bundle-q2tBQOdq.js → bundle-D8gia2Hg.js} +11 -12
  618. package/cjs/chunks/bundle-D8gia2Hg.js.map +1 -0
  619. package/cjs/chunks/{bundle-IVTygAtE.js → bundle-DAIf7fWo.js} +28 -28
  620. package/cjs/chunks/bundle-DAIf7fWo.js.map +1 -0
  621. package/cjs/chunks/{bundle-BmEl3iIW.js → bundle-DAj-1QVM.js} +2 -2
  622. package/cjs/chunks/{bundle-BmEl3iIW.js.map → bundle-DAj-1QVM.js.map} +1 -1
  623. package/cjs/chunks/{bundle-DI-qrtXL.js → bundle-DAxedY0T.js} +23 -23
  624. package/cjs/chunks/bundle-DAxedY0T.js.map +1 -0
  625. package/cjs/chunks/{bundle-DR-T3oW9.js → bundle-DMGpM9Ye.js} +370 -368
  626. package/cjs/chunks/{bundle-DR-T3oW9.js.map → bundle-DMGpM9Ye.js.map} +1 -1
  627. package/cjs/chunks/{bundle-BzR58JaC.js → bundle-DQy218lT.js} +31 -31
  628. package/cjs/chunks/bundle-DQy218lT.js.map +1 -0
  629. package/cjs/chunks/{bundle-BJBClQcM.js → bundle-DRp9IuV2.js} +28 -28
  630. package/cjs/chunks/bundle-DRp9IuV2.js.map +1 -0
  631. package/cjs/chunks/{bundle-DbykvtHO.js → bundle-DRy7eNJ0.js} +11 -11
  632. package/cjs/chunks/bundle-DRy7eNJ0.js.map +1 -0
  633. package/cjs/chunks/{bundle-ChIhNCh1.js → bundle-DTCz0BH1.js} +161 -162
  634. package/cjs/chunks/bundle-DTCz0BH1.js.map +1 -0
  635. package/cjs/chunks/{bundle-DDmTdnuT.js → bundle-DcSTnNI0.js} +64 -65
  636. package/cjs/chunks/bundle-DcSTnNI0.js.map +1 -0
  637. package/cjs/chunks/{bundle-DIxulCCm.js → bundle-DdxJqNSP.js} +1 -1
  638. package/cjs/chunks/bundle-DdxJqNSP.js.map +1 -0
  639. package/cjs/chunks/{bundle-t1Tb_Gz2.js → bundle-DeQZn8GZ.js} +75 -74
  640. package/cjs/chunks/bundle-DeQZn8GZ.js.map +1 -0
  641. package/cjs/chunks/{bundle-0W_w8lRK.js → bundle-Dehhi1FZ.js} +37 -37
  642. package/cjs/chunks/bundle-Dehhi1FZ.js.map +1 -0
  643. package/cjs/chunks/{bundle-DnXNmdmw.js → bundle-DfcEln0Z.js} +34 -34
  644. package/cjs/chunks/bundle-DfcEln0Z.js.map +1 -0
  645. package/cjs/chunks/bundle-DmX69_-l.js +32 -0
  646. package/cjs/chunks/bundle-DmX69_-l.js.map +1 -0
  647. package/cjs/chunks/{bundle-DLdV8LNR.js → bundle-Dnq2YP_l.js} +6 -6
  648. package/cjs/chunks/bundle-Dnq2YP_l.js.map +1 -0
  649. package/cjs/chunks/{bundle-C-gA8UhR.js → bundle-Dww6fCVQ.js} +13 -13
  650. package/cjs/chunks/bundle-Dww6fCVQ.js.map +1 -0
  651. package/cjs/chunks/{bundle-oUs61pbv.js → bundle-DxSB9NRz.js} +61 -61
  652. package/cjs/chunks/bundle-DxSB9NRz.js.map +1 -0
  653. package/cjs/chunks/{bundle-CY1bUkfG.js → bundle-HGbi-rCv.js} +1 -1
  654. package/cjs/chunks/bundle-HGbi-rCv.js.map +1 -0
  655. package/cjs/chunks/{bundle-DYZo-ek9.js → bundle-JtgSY0zB.js} +58 -58
  656. package/cjs/chunks/bundle-JtgSY0zB.js.map +1 -0
  657. package/cjs/chunks/{bundle-DlPLp6fm.js → bundle-L3FEqZsK.js} +234 -234
  658. package/cjs/chunks/bundle-L3FEqZsK.js.map +1 -0
  659. package/cjs/chunks/{bundle-DHuWzY0s.js → bundle-N_CwOE5a.js} +124 -124
  660. package/cjs/chunks/bundle-N_CwOE5a.js.map +1 -0
  661. package/cjs/chunks/bundle-Q4icQ1qH.js +122 -0
  662. package/{chunks/bundle-CVu64-xY.js.map → cjs/chunks/bundle-Q4icQ1qH.js.map} +1 -1
  663. package/cjs/chunks/{bundle-C-noHeKZ.js → bundle-T4lp5F85.js} +25 -25
  664. package/cjs/chunks/bundle-T4lp5F85.js.map +1 -0
  665. package/cjs/chunks/{bundle-CBmExSEr.js → bundle-Tjx9wNAv.js} +21 -21
  666. package/cjs/chunks/bundle-Tjx9wNAv.js.map +1 -0
  667. package/cjs/chunks/{bundle-CZz2cvTG.js → bundle-X03vJTEw.js} +45 -46
  668. package/cjs/chunks/bundle-X03vJTEw.js.map +1 -0
  669. package/cjs/chunks/{bundle-jkB4LAcp.js → bundle-_ekaw3iI.js} +18 -18
  670. package/cjs/chunks/bundle-_ekaw3iI.js.map +1 -0
  671. package/cjs/chunks/{bundle-CEueJUxG.js → bundle-bqRlVm3u.js} +12 -12
  672. package/cjs/chunks/bundle-bqRlVm3u.js.map +1 -0
  673. package/cjs/chunks/{bundle-DvWHV-PM.js → bundle-gtkPlUrw.js} +234 -234
  674. package/cjs/chunks/bundle-gtkPlUrw.js.map +1 -0
  675. package/cjs/chunks/{bundle-D4pqJjg-.js → bundle-miB6ue8g.js} +72 -72
  676. package/cjs/chunks/bundle-miB6ue8g.js.map +1 -0
  677. package/cjs/chunks/{bundle-E9H8fQL4.js → bundle-oeWNUdCB.js} +11 -11
  678. package/cjs/chunks/bundle-oeWNUdCB.js.map +1 -0
  679. package/cjs/chunks/{bundle-BufWOg42.js → bundle-qI5gnScC.js} +5 -5
  680. package/cjs/chunks/bundle-qI5gnScC.js.map +1 -0
  681. package/cjs/chunks/{bundle--yYCgVRq.js → bundle-wMKhbE3c.js} +2 -2
  682. package/cjs/chunks/{bundle--yYCgVRq.js.map → bundle-wMKhbE3c.js.map} +1 -1
  683. package/cjs/chunks/{bundle-D3Gxy8S0.js → bundle-wl1uuzU7.js} +733 -730
  684. package/cjs/chunks/bundle-wl1uuzU7.js.map +1 -0
  685. package/cjs/handlers/OpenChannelHandler.js +2 -2
  686. package/cjs/handlers/SessionHandler.js +2 -2
  687. package/cjs/hooks/useModal.js +25 -48
  688. package/cjs/hooks/useModal.js.map +1 -1
  689. package/cjs/index.js +80 -81
  690. package/cjs/index.js.map +1 -1
  691. package/cjs/pubSub/topics.js +1 -1
  692. package/cjs/sendbirdSelectors.js +550 -550
  693. package/cjs/ui/Accordion.js +25 -25
  694. package/cjs/ui/AccordionGroup.js +40 -40
  695. package/cjs/ui/AdminMessage.js +13 -13
  696. package/cjs/ui/Avatar.js +4 -4
  697. package/cjs/ui/Badge.js +18 -18
  698. package/cjs/ui/BottomSheet.js +40 -26
  699. package/cjs/ui/BottomSheet.js.map +1 -1
  700. package/cjs/ui/Button.js +41 -41
  701. package/cjs/ui/ChannelAvatar.js +21 -21
  702. package/cjs/ui/Checkbox.js +15 -15
  703. package/cjs/ui/ConnectionStatus.js +11 -11
  704. package/cjs/ui/ContextMenu.js +180 -267
  705. package/cjs/ui/ContextMenu.js.map +1 -1
  706. package/cjs/ui/DateSeparator.js +13 -13
  707. package/cjs/ui/EmojiReactions.js +167 -164
  708. package/cjs/ui/EmojiReactions.js.map +1 -1
  709. package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +20 -21
  710. package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
  711. package/cjs/ui/FeedbackIconButton.js +14 -14
  712. package/cjs/ui/FileMessageItemBody.js +65 -66
  713. package/cjs/ui/FileMessageItemBody.js.map +1 -1
  714. package/cjs/ui/FileViewer.js +23 -17
  715. package/cjs/ui/FileViewer.js.map +1 -1
  716. package/cjs/ui/Header.js +53 -0
  717. package/cjs/ui/Header.js.map +1 -0
  718. package/cjs/ui/Icon.js +844 -964
  719. package/cjs/ui/Icon.js.map +1 -1
  720. package/cjs/ui/IconButton.js +18 -18
  721. package/cjs/ui/ImageRenderer.js +151 -151
  722. package/cjs/ui/Input.js +15 -15
  723. package/cjs/ui/Label.js +4 -4
  724. package/cjs/ui/LinkLabel.js +21 -21
  725. package/cjs/ui/Loader.js +11 -11
  726. package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +13 -14
  727. package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js.map +1 -1
  728. package/cjs/ui/MentionLabel.js +50 -50
  729. package/cjs/ui/MentionUserLabel.js +4 -4
  730. package/cjs/ui/MessageContent.js +586 -581
  731. package/cjs/ui/MessageContent.js.map +1 -1
  732. package/cjs/ui/MessageFeedbackFailedModal.js +34 -22
  733. package/cjs/ui/MessageFeedbackFailedModal.js.map +1 -1
  734. package/cjs/ui/MessageFeedbackModal.js +66 -54
  735. package/cjs/ui/MessageFeedbackModal.js.map +1 -1
  736. package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
  737. package/cjs/ui/MessageInput.js +423 -424
  738. package/cjs/ui/MessageInput.js.map +1 -1
  739. package/cjs/ui/MessageItemMenu.js +134 -134
  740. package/cjs/ui/MessageItemReactionMenu.js +42 -42
  741. package/cjs/ui/MessageSearchFileItem.js +77 -78
  742. package/cjs/ui/MessageSearchFileItem.js.map +1 -1
  743. package/cjs/ui/MessageSearchItem.js +50 -50
  744. package/cjs/ui/MessageStatus.js +11 -12
  745. package/cjs/ui/MessageStatus.js.map +1 -1
  746. package/cjs/ui/MessageTemplate.js +1 -2
  747. package/cjs/ui/MessageTemplate.js.map +1 -1
  748. package/cjs/ui/MobileFeedbackMenu.js +36 -25
  749. package/cjs/ui/MobileFeedbackMenu.js.map +1 -1
  750. package/cjs/ui/Modal.js +21 -8
  751. package/cjs/ui/Modal.js.map +1 -1
  752. package/cjs/ui/MutedAvatarOverlay.js +14 -14
  753. package/cjs/ui/OGMessageItemBody.js +76 -76
  754. package/cjs/ui/OpenChannelAdminMessage.js +9 -9
  755. package/cjs/ui/OpenChannelAvatar.js +15 -15
  756. package/cjs/ui/OpenchannelConversationHeader.js +22 -22
  757. package/cjs/ui/OpenchannelFileMessage.js +117 -117
  758. package/cjs/ui/OpenchannelOGMessage.js +146 -146
  759. package/cjs/ui/OpenchannelThumbnailMessage.js +155 -155
  760. package/cjs/ui/OpenchannelUserMessage.js +128 -128
  761. package/cjs/ui/PlaceHolder.js +45 -45
  762. package/cjs/ui/PlaybackTime.js +11 -11
  763. package/cjs/ui/ProgressBar.js +12 -12
  764. package/cjs/ui/QuoteMessage.js +69 -70
  765. package/cjs/ui/QuoteMessage.js.map +1 -1
  766. package/cjs/ui/QuoteMessageInput.js +66 -67
  767. package/cjs/ui/QuoteMessageInput.js.map +1 -1
  768. package/cjs/ui/ReactionBadge.js +20 -20
  769. package/cjs/ui/ReactionButton.js +17 -17
  770. package/cjs/ui/SortByRow.js +23 -23
  771. package/cjs/ui/TemplateMessageItemBody.js +423 -424
  772. package/cjs/ui/TemplateMessageItemBody.js.map +1 -1
  773. package/cjs/ui/TextButton.js +9 -9
  774. package/cjs/ui/TextMessageItemBody.js +44 -44
  775. package/cjs/ui/ThreadReplies.js +34 -34
  776. package/cjs/ui/ThumbnailMessageItemBody.js +36 -37
  777. package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
  778. package/cjs/ui/Toggle.js +110 -110
  779. package/cjs/ui/Tooltip.js +9 -9
  780. package/cjs/ui/TooltipWrapper.js +13 -13
  781. package/cjs/ui/TypingIndicatorBubble.js +56 -56
  782. package/cjs/ui/UnknownMessageItemBody.js +19 -20
  783. package/cjs/ui/UnknownMessageItemBody.js.map +1 -1
  784. package/cjs/ui/UserListItem.js +56 -56
  785. package/cjs/ui/UserProfile.js +45 -45
  786. package/cjs/ui/VoiceMessageInput.js +9 -9
  787. package/cjs/ui/VoiceMessageItemBody.js +62 -54
  788. package/cjs/ui/VoiceMessageItemBody.js.map +1 -1
  789. package/cjs/ui/Word.js +41 -41
  790. package/cjs/useSendbirdStateContext.js +15 -15
  791. package/cjs/utils/message/getOutgoingMessageState.js +32 -32
  792. package/cjs/utils/message/isVoiceMessage.js +2 -3
  793. package/cjs/utils/message/isVoiceMessage.js.map +1 -1
  794. package/cjs/withSendbird.js +17 -17
  795. package/dist/index.css +195 -169
  796. package/dist/index.css.map +1 -1
  797. package/handlers/OpenChannelHandler.js +2 -2
  798. package/handlers/SessionHandler.js +2 -2
  799. package/hooks/useModal.js +22 -50
  800. package/hooks/useModal.js.map +1 -1
  801. package/index.js +80 -81
  802. package/index.js.map +1 -1
  803. package/package.json +13 -5
  804. package/pubSub/topics.js +1 -1
  805. package/sendbirdSelectors.js +550 -550
  806. package/types/lib/pubSub/topics.d.ts +2 -2
  807. package/types/lib/types.d.ts +50 -15
  808. package/types/modules/App/index.d.ts +17 -10
  809. package/types/modules/Channel/context/ChannelProvider.d.ts +1 -4
  810. package/types/modules/ChannelList/components/ChannelPreviewAction.d.ts +2 -2
  811. package/types/modules/ChannelSettings/components/ChannelSettingsUI/ChannelSettingsHeader.d.ts +4 -3
  812. package/types/modules/GroupChannel/components/FileViewer/FileViewerView.d.ts +2 -2
  813. package/types/modules/GroupChannel/components/GroupChannelHeader/GroupChannelHeaderView.d.ts +3 -2
  814. package/types/modules/GroupChannel/components/GroupChannelHeader/index.d.ts +3 -2
  815. package/types/modules/GroupChannel/components/MessageInputWrapper/MessageInputWrapperView.d.ts +1 -1
  816. package/types/modules/GroupChannel/components/MessageInputWrapper/VoiceMessageInputWrapper.d.ts +2 -2
  817. package/types/modules/GroupChannel/components/MessageInputWrapper/index.d.ts +1 -1
  818. package/types/modules/GroupChannel/components/SuggestedReplies/index.d.ts +3 -1
  819. package/types/modules/GroupChannelList/components/GroupChannelListHeader/index.d.ts +4 -2
  820. package/types/modules/MessageSearch/context/MessageSearchProvider.d.ts +1 -1
  821. package/types/modules/OpenChannelApp/index.d.ts +3 -3
  822. package/types/modules/Thread/components/ThreadHeader/index.d.ts +2 -2
  823. package/types/ui/Header/index.d.ts +45 -0
  824. package/types/ui/Icon/index.d.ts +2 -3
  825. package/types/ui/Label/index.d.ts +3 -4
  826. package/types/ui/MessageInput/hooks/usePaste/consts.d.ts +1 -1
  827. package/types/ui/Modal/index.d.ts +2 -4
  828. package/types/ui/TextButton/index.d.ts +1 -1
  829. package/types/ui/Toggle/ToggleContainer.d.ts +2 -1
  830. package/types/utils/index.d.ts +0 -1
  831. package/types/utils/utils.d.ts +2 -0
  832. package/ui/Accordion.js +25 -25
  833. package/ui/AccordionGroup.js +40 -40
  834. package/ui/AdminMessage.js +13 -13
  835. package/ui/Avatar.js +4 -4
  836. package/ui/Badge.js +18 -18
  837. package/ui/BottomSheet.js +40 -26
  838. package/ui/BottomSheet.js.map +1 -1
  839. package/ui/Button.js +41 -41
  840. package/ui/ChannelAvatar.js +21 -21
  841. package/ui/Checkbox.js +15 -15
  842. package/ui/ConnectionStatus.js +11 -11
  843. package/ui/ContextMenu.js +180 -267
  844. package/ui/ContextMenu.js.map +1 -1
  845. package/ui/DateSeparator.js +13 -13
  846. package/ui/EmojiReactions.js +167 -164
  847. package/ui/EmojiReactions.js.map +1 -1
  848. package/ui/FallbackTemplateMessageItemBody.tsx.js +20 -21
  849. package/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
  850. package/ui/FeedbackIconButton.js +14 -14
  851. package/ui/FileMessageItemBody.js +65 -66
  852. package/ui/FileMessageItemBody.js.map +1 -1
  853. package/ui/FileViewer.js +23 -17
  854. package/ui/FileViewer.js.map +1 -1
  855. package/ui/Header.js +45 -0
  856. package/ui/Header.js.map +1 -0
  857. package/ui/Icon.js +845 -965
  858. package/ui/Icon.js.map +1 -1
  859. package/ui/IconButton.js +18 -18
  860. package/ui/ImageRenderer.js +151 -151
  861. package/ui/Input.js +15 -15
  862. package/ui/Label.js +3 -3
  863. package/ui/LinkLabel.js +21 -21
  864. package/ui/Loader.js +11 -11
  865. package/ui/LoadingTemplateMessageItemBody.tsx.js +13 -14
  866. package/ui/LoadingTemplateMessageItemBody.tsx.js.map +1 -1
  867. package/ui/MentionLabel.js +50 -50
  868. package/ui/MentionUserLabel.js +4 -4
  869. package/ui/MessageContent.js +586 -581
  870. package/ui/MessageContent.js.map +1 -1
  871. package/ui/MessageFeedbackFailedModal.js +34 -22
  872. package/ui/MessageFeedbackFailedModal.js.map +1 -1
  873. package/ui/MessageFeedbackModal.js +66 -54
  874. package/ui/MessageFeedbackModal.js.map +1 -1
  875. package/ui/MessageInput/hooks/usePaste.js +7 -7
  876. package/ui/MessageInput.js +423 -424
  877. package/ui/MessageInput.js.map +1 -1
  878. package/ui/MessageItemMenu.js +134 -134
  879. package/ui/MessageItemReactionMenu.js +42 -42
  880. package/ui/MessageSearchFileItem.js +77 -78
  881. package/ui/MessageSearchFileItem.js.map +1 -1
  882. package/ui/MessageSearchItem.js +50 -50
  883. package/ui/MessageStatus.js +11 -12
  884. package/ui/MessageStatus.js.map +1 -1
  885. package/ui/MessageTemplate.js +1 -2
  886. package/ui/MessageTemplate.js.map +1 -1
  887. package/ui/MobileFeedbackMenu.js +36 -25
  888. package/ui/MobileFeedbackMenu.js.map +1 -1
  889. package/ui/Modal.js +21 -8
  890. package/ui/Modal.js.map +1 -1
  891. package/ui/MutedAvatarOverlay.js +14 -14
  892. package/ui/OGMessageItemBody.js +76 -76
  893. package/ui/OpenChannelAdminMessage.js +9 -9
  894. package/ui/OpenChannelAvatar.js +15 -15
  895. package/ui/OpenchannelConversationHeader.js +22 -22
  896. package/ui/OpenchannelFileMessage.js +117 -117
  897. package/ui/OpenchannelOGMessage.js +146 -146
  898. package/ui/OpenchannelThumbnailMessage.js +155 -155
  899. package/ui/OpenchannelUserMessage.js +128 -128
  900. package/ui/PlaceHolder.js +45 -45
  901. package/ui/PlaybackTime.js +11 -11
  902. package/ui/ProgressBar.js +12 -12
  903. package/ui/QuoteMessage.js +69 -70
  904. package/ui/QuoteMessage.js.map +1 -1
  905. package/ui/QuoteMessageInput.js +66 -67
  906. package/ui/QuoteMessageInput.js.map +1 -1
  907. package/ui/ReactionBadge.js +20 -20
  908. package/ui/ReactionButton.js +17 -17
  909. package/ui/SortByRow.js +23 -23
  910. package/ui/TemplateMessageItemBody.js +423 -424
  911. package/ui/TemplateMessageItemBody.js.map +1 -1
  912. package/ui/TextButton.js +9 -9
  913. package/ui/TextMessageItemBody.js +44 -44
  914. package/ui/ThreadReplies.js +34 -34
  915. package/ui/ThumbnailMessageItemBody.js +36 -37
  916. package/ui/ThumbnailMessageItemBody.js.map +1 -1
  917. package/ui/Toggle.js +110 -110
  918. package/ui/Tooltip.js +9 -9
  919. package/ui/TooltipWrapper.js +13 -13
  920. package/ui/TypingIndicatorBubble.js +56 -56
  921. package/ui/UnknownMessageItemBody.js +19 -20
  922. package/ui/UnknownMessageItemBody.js.map +1 -1
  923. package/ui/UserListItem.js +56 -56
  924. package/ui/UserProfile.js +45 -45
  925. package/ui/VoiceMessageInput.js +9 -9
  926. package/ui/VoiceMessageItemBody.js +62 -54
  927. package/ui/VoiceMessageItemBody.js.map +1 -1
  928. package/ui/Word.js +41 -41
  929. package/useSendbirdStateContext.js +15 -15
  930. package/utils/message/getOutgoingMessageState.js +32 -32
  931. package/utils/message/isVoiceMessage.js +2 -3
  932. package/utils/message/isVoiceMessage.js.map +1 -1
  933. package/withSendbird.js +17 -17
  934. package/chunks/bundle-5yHWoLVJ.js.map +0 -1
  935. package/chunks/bundle-B7J4Fm0y.js.map +0 -1
  936. package/chunks/bundle-B9rwLbgh.js +0 -36
  937. package/chunks/bundle-B9rwLbgh.js.map +0 -1
  938. package/chunks/bundle-B9sTU4LX.js.map +0 -1
  939. package/chunks/bundle-BKCDSKx6.js.map +0 -1
  940. package/chunks/bundle-BLMDgHS-.js.map +0 -1
  941. package/chunks/bundle-BMPm6lKq.js.map +0 -1
  942. package/chunks/bundle-BOUVMTAt.js.map +0 -1
  943. package/chunks/bundle-BPbwxMIx.js.map +0 -1
  944. package/chunks/bundle-BPj0X5TA.js.map +0 -1
  945. package/chunks/bundle-BPvfVEd8.js.map +0 -1
  946. package/chunks/bundle-BTLVyMgj.js.map +0 -1
  947. package/chunks/bundle-BX_IXLSp.js.map +0 -1
  948. package/chunks/bundle-BbeHRXOp.js.map +0 -1
  949. package/chunks/bundle-Bdw6eUSG.js +0 -4
  950. package/chunks/bundle-Bdw6eUSG.js.map +0 -1
  951. package/chunks/bundle-Bf6VvPhp.js.map +0 -1
  952. package/chunks/bundle-BlK-fMQm.js.map +0 -1
  953. package/chunks/bundle-BmFbOU4C.js.map +0 -1
  954. package/chunks/bundle-BwJTKHEl.js.map +0 -1
  955. package/chunks/bundle-BzYv4x2T.js.map +0 -1
  956. package/chunks/bundle-C3K7W_E-.js.map +0 -1
  957. package/chunks/bundle-CMZVPZeM.js.map +0 -1
  958. package/chunks/bundle-COLsFI7t.js.map +0 -1
  959. package/chunks/bundle-CSOdmQ75.js +0 -65
  960. package/chunks/bundle-CSOdmQ75.js.map +0 -1
  961. package/chunks/bundle-CUDCHaXM.js.map +0 -1
  962. package/chunks/bundle-CUPPssXo.js.map +0 -1
  963. package/chunks/bundle-CUd4X5O2.js.map +0 -1
  964. package/chunks/bundle-CVu64-xY.js +0 -122
  965. package/chunks/bundle-CXtl77MC.js.map +0 -1
  966. package/chunks/bundle-CY2Lga-4.js.map +0 -1
  967. package/chunks/bundle-CllFAkeZ.js.map +0 -1
  968. package/chunks/bundle-D4rjbjNv.js.map +0 -1
  969. package/chunks/bundle-D4x1_hkl.js.map +0 -1
  970. package/chunks/bundle-D5lQwKgM.js.map +0 -1
  971. package/chunks/bundle-D8JekjLy.js.map +0 -1
  972. package/chunks/bundle-DGnpw8up.js.map +0 -1
  973. package/chunks/bundle-DQKxIg_X.js.map +0 -1
  974. package/chunks/bundle-DS5ljghe.js.map +0 -1
  975. package/chunks/bundle-DZl__KhG.js.map +0 -1
  976. package/chunks/bundle-Dc7E6GJc.js.map +0 -1
  977. package/chunks/bundle-DfDCjniq.js.map +0 -1
  978. package/chunks/bundle-DfhJ_oFZ.js.map +0 -1
  979. package/chunks/bundle-Dk211z5R.js.map +0 -1
  980. package/chunks/bundle-DpCn3P9s.js.map +0 -1
  981. package/chunks/bundle-DpkEqNiD.js.map +0 -1
  982. package/chunks/bundle-DwApARpe.js.map +0 -1
  983. package/chunks/bundle-Dzm909k5.js.map +0 -1
  984. package/chunks/bundle-OIgXk-TJ.js.map +0 -1
  985. package/chunks/bundle-Otcx8Wxy.js.map +0 -1
  986. package/chunks/bundle-WmbZYtqM.js.map +0 -1
  987. package/chunks/bundle-Y3Y435SA.js.map +0 -1
  988. package/chunks/bundle-fxTywxQ4.js.map +0 -1
  989. package/chunks/bundle-mRqHYNyY.js.map +0 -1
  990. package/chunks/bundle-tIPAQa1P.js.map +0 -1
  991. package/cjs/chunks/bundle-0W_w8lRK.js.map +0 -1
  992. package/cjs/chunks/bundle-7zHCY6TY.js.map +0 -1
  993. package/cjs/chunks/bundle-B3N7ehMH.js.map +0 -1
  994. package/cjs/chunks/bundle-B6hKU81Z.js.map +0 -1
  995. package/cjs/chunks/bundle-B6uiunjG.js.map +0 -1
  996. package/cjs/chunks/bundle-BDbnsPGF.js.map +0 -1
  997. package/cjs/chunks/bundle-BJBClQcM.js.map +0 -1
  998. package/cjs/chunks/bundle-BRjBigtB.js.map +0 -1
  999. package/cjs/chunks/bundle-Bka-H9ks.js +0 -7
  1000. package/cjs/chunks/bundle-Bka-H9ks.js.map +0 -1
  1001. package/cjs/chunks/bundle-BoCS4RH3.js.map +0 -1
  1002. package/cjs/chunks/bundle-BrD0IuOc.js.map +0 -1
  1003. package/cjs/chunks/bundle-BuYf2Pa8.js.map +0 -1
  1004. package/cjs/chunks/bundle-BufWOg42.js.map +0 -1
  1005. package/cjs/chunks/bundle-BwEcnJDm.js.map +0 -1
  1006. package/cjs/chunks/bundle-ByBh6M0g.js.map +0 -1
  1007. package/cjs/chunks/bundle-BzR58JaC.js.map +0 -1
  1008. package/cjs/chunks/bundle-C-gA8UhR.js.map +0 -1
  1009. package/cjs/chunks/bundle-C-noHeKZ.js.map +0 -1
  1010. package/cjs/chunks/bundle-C-zGGOpz.js.map +0 -1
  1011. package/cjs/chunks/bundle-C0LFi1ur.js.map +0 -1
  1012. package/cjs/chunks/bundle-C7_tieEZ.js.map +0 -1
  1013. package/cjs/chunks/bundle-C8aAwUsg.js.map +0 -1
  1014. package/cjs/chunks/bundle-CBmExSEr.js.map +0 -1
  1015. package/cjs/chunks/bundle-CEueJUxG.js.map +0 -1
  1016. package/cjs/chunks/bundle-CFWumCsy.js.map +0 -1
  1017. package/cjs/chunks/bundle-CVSpiKNJ.js.map +0 -1
  1018. package/cjs/chunks/bundle-CY1bUkfG.js.map +0 -1
  1019. package/cjs/chunks/bundle-CZObcUAk.js.map +0 -1
  1020. package/cjs/chunks/bundle-CZz2cvTG.js.map +0 -1
  1021. package/cjs/chunks/bundle-Cc-KyTf-.js +0 -38
  1022. package/cjs/chunks/bundle-Cc-KyTf-.js.map +0 -1
  1023. package/cjs/chunks/bundle-ChIhNCh1.js.map +0 -1
  1024. package/cjs/chunks/bundle-D3Gxy8S0.js.map +0 -1
  1025. package/cjs/chunks/bundle-D4pqJjg-.js.map +0 -1
  1026. package/cjs/chunks/bundle-D5AiwZE4.js.map +0 -1
  1027. package/cjs/chunks/bundle-D8-ob9Ia.js.map +0 -1
  1028. package/cjs/chunks/bundle-D9hSjP4_.js.map +0 -1
  1029. package/cjs/chunks/bundle-DBdGwyXE.js.map +0 -1
  1030. package/cjs/chunks/bundle-DDmTdnuT.js.map +0 -1
  1031. package/cjs/chunks/bundle-DHuWzY0s.js.map +0 -1
  1032. package/cjs/chunks/bundle-DI-qrtXL.js.map +0 -1
  1033. package/cjs/chunks/bundle-DIxulCCm.js.map +0 -1
  1034. package/cjs/chunks/bundle-DLdV8LNR.js.map +0 -1
  1035. package/cjs/chunks/bundle-DPoAoYEl.js.map +0 -1
  1036. package/cjs/chunks/bundle-DYZo-ek9.js.map +0 -1
  1037. package/cjs/chunks/bundle-DbS-u43Y.js.map +0 -1
  1038. package/cjs/chunks/bundle-DbykvtHO.js.map +0 -1
  1039. package/cjs/chunks/bundle-DdSNUhSn.js.map +0 -1
  1040. package/cjs/chunks/bundle-DessEmBr.js.map +0 -1
  1041. package/cjs/chunks/bundle-Df0cAbH6.js.map +0 -1
  1042. package/cjs/chunks/bundle-Djp6Qheo.js.map +0 -1
  1043. package/cjs/chunks/bundle-DlPLp6fm.js.map +0 -1
  1044. package/cjs/chunks/bundle-Dn17aH6v.js.map +0 -1
  1045. package/cjs/chunks/bundle-DnXNmdmw.js.map +0 -1
  1046. package/cjs/chunks/bundle-DsKL-Ede.js.map +0 -1
  1047. package/cjs/chunks/bundle-E9H8fQL4.js.map +0 -1
  1048. package/cjs/chunks/bundle-GtlapnzG.js.map +0 -1
  1049. package/cjs/chunks/bundle-IVTygAtE.js.map +0 -1
  1050. package/cjs/chunks/bundle-SdH24Cv9.js.map +0 -1
  1051. package/cjs/chunks/bundle-XEpryGfs.js.map +0 -1
  1052. package/cjs/chunks/bundle-ZuDe6I0q.js.map +0 -1
  1053. package/cjs/chunks/bundle-fG1bRzYE.js +0 -72
  1054. package/cjs/chunks/bundle-fG1bRzYE.js.map +0 -1
  1055. package/cjs/chunks/bundle-jkB4LAcp.js.map +0 -1
  1056. package/cjs/chunks/bundle-oUs61pbv.js.map +0 -1
  1057. package/cjs/chunks/bundle-pZbKLQPU.js.map +0 -1
  1058. package/cjs/chunks/bundle-q2tBQOdq.js.map +0 -1
  1059. package/cjs/chunks/bundle-t1Tb_Gz2.js.map +0 -1
  1060. package/cjs/chunks/bundle-ti18J4ii.js +0 -124
  1061. package/cjs/chunks/bundle-ti18J4ii.js.map +0 -1
  1062. package/cjs/chunks/bundle-u8pJrzSP.js.map +0 -1
  1063. package/types/modules/OpenChannelApp/stories/utils.d.ts +0 -6
@@ -1,18 +1,17 @@
1
1
  import React__default, { createContext, useState, useCallback, useContext, useRef, useMemo, useEffect } from 'react';
2
- import './bundle-DZcgZWKq.js';
3
2
 
4
- var ComponentType$1;
3
+ var ComponentType;
5
4
  (function (ComponentType) {
6
5
  ComponentType["Box"] = "box";
7
6
  ComponentType["Text"] = "text";
8
7
  ComponentType["Image"] = "image";
9
8
  ComponentType["TextButton"] = "textButton";
10
9
  ComponentType["ImageButton"] = "imageButton";
11
- })(ComponentType$1 || (ComponentType$1 = {}));
12
- var CompositeComponentType$1;
10
+ })(ComponentType || (ComponentType = {}));
11
+ var CompositeComponentType;
13
12
  (function (CompositeComponentType) {
14
13
  CompositeComponentType["Carousel"] = "carouselView";
15
- })(CompositeComponentType$1 || (CompositeComponentType$1 = {}));
14
+ })(CompositeComponentType || (CompositeComponentType = {}));
16
15
 
17
16
  // -------- Set property mapper
18
17
  const MAPPER = () => undefined;
@@ -30,22 +29,22 @@ const createParser = (params) => {
30
29
  return {
31
30
  parse(item, options) {
32
31
  switch (item.type) {
33
- case ComponentType$1.Box: {
32
+ case ComponentType.Box: {
34
33
  return { properties: mapper.mapBoxProps(item, options) };
35
34
  }
36
- case ComponentType$1.Text: {
35
+ case ComponentType.Text: {
37
36
  return { properties: mapper.mapTextProps(item, options) };
38
37
  }
39
- case ComponentType$1.Image: {
38
+ case ComponentType.Image: {
40
39
  return { properties: mapper.mapImageProps(item, options) };
41
40
  }
42
- case ComponentType$1.TextButton: {
41
+ case ComponentType.TextButton: {
43
42
  return { properties: mapper.mapTextButtonProps(item, options) };
44
43
  }
45
- case ComponentType$1.ImageButton: {
44
+ case ComponentType.ImageButton: {
46
45
  return { properties: mapper.mapImageButtonProps(item, options) };
47
46
  }
48
- case CompositeComponentType$1.Carousel: {
47
+ case CompositeComponentType.Carousel: {
49
48
  return { properties: mapper.mapCarouselProps(item, options) };
50
49
  }
51
50
  default:
@@ -68,941 +67,6 @@ function createRenderer(params) {
68
67
  };
69
68
  }
70
69
 
71
- var ComponentType;
72
- (function (ComponentType) {
73
- ComponentType["Box"] = "box";
74
- ComponentType["Text"] = "text";
75
- ComponentType["Image"] = "image";
76
- ComponentType["TextButton"] = "textButton";
77
- ComponentType["ImageButton"] = "imageButton";
78
- })(ComponentType || (ComponentType = {}));
79
- var CompositeComponentType;
80
- (function (CompositeComponentType) {
81
- CompositeComponentType["Carousel"] = "carouselView";
82
- })(CompositeComponentType || (CompositeComponentType = {}));
83
-
84
- createContext({
85
- sizes: {},
86
- updateSize: function () { },
87
- });
88
-
89
- var Layout$1;
90
- (function (Layout) {
91
- Layout["Row"] = "row";
92
- Layout["Column"] = "column";
93
- })(Layout$1 || (Layout$1 = {}));
94
- var AlignValue$1;
95
- (function (AlignValue) {
96
- AlignValue["Center"] = "center";
97
- AlignValue["Left"] = "left";
98
- AlignValue["Right"] = "right";
99
- AlignValue["Top"] = "top";
100
- AlignValue["Bottom"] = "bottom";
101
- })(AlignValue$1 || (AlignValue$1 = {}));
102
- /**
103
- * @description
104
- * Caution: Numbers are passed as string types in the message template builder.
105
- * Use `==` comparison instead of `===` comparison when using a regular enum instead of a string enum.
106
- */
107
- var FlexSizeSpecValue$1;
108
- (function (FlexSizeSpecValue) {
109
- FlexSizeSpecValue[FlexSizeSpecValue["FillParent"] = 0] = "FillParent";
110
- FlexSizeSpecValue[FlexSizeSpecValue["WrapContent"] = 1] = "WrapContent";
111
- })(FlexSizeSpecValue$1 || (FlexSizeSpecValue$1 = {}));
112
- var FontWeight$1;
113
- (function (FontWeight) {
114
- FontWeight["Normal"] = "normal";
115
- FontWeight["Bold"] = "bold";
116
- })(FontWeight$1 || (FontWeight$1 = {}));
117
- var MediaContentMode$1;
118
- (function (MediaContentMode) {
119
- MediaContentMode["AspectFit"] = "aspectFit";
120
- MediaContentMode["AspectFill"] = "aspectFill";
121
- MediaContentMode["ScalesToFill"] = "scalesToFill";
122
- })(MediaContentMode$1 || (MediaContentMode$1 = {}));
123
-
124
- ({
125
- rootLayout: Layout$1.Column,
126
- view: {
127
- size: {
128
- width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
129
- height: { type: 'flex', value: FlexSizeSpecValue$1.WrapContent },
130
- },
131
- },
132
- box: {
133
- layout: Layout$1.Row,
134
- align: { vertical: AlignValue$1.Top, horizontal: AlignValue$1.Left },
135
- },
136
- });
137
-
138
- var ActionType$1;
139
- (function (ActionType) {
140
- ActionType["Web"] = "web";
141
- ActionType["Custom"] = "custom";
142
- ActionType["UIKit"] = "uikit";
143
- })(ActionType$1 || (ActionType$1 = {}));
144
-
145
- var SUPPORTED_TEMPLATE_VERSIONS = [
146
- 1,
147
- 2, // Composite templates: Carousel
148
- ];
149
- var isTemplateVersionSupported = function (templateVersion) {
150
- if (!templateVersion)
151
- return true;
152
- return SUPPORTED_TEMPLATE_VERSIONS.includes(templateVersion);
153
- };
154
-
155
- ({
156
- version: 1,
157
- body: {
158
- items: [
159
- {
160
- type: ComponentType.Image,
161
- action: { type: ActionType$1.Web, data: 'https://docs.sendbird.com' },
162
- height: { type: 'fixed', value: 236 },
163
- viewStyle: {
164
- padding: {
165
- left: 4,
166
- right: 4,
167
- top: 4,
168
- bottom: 4,
169
- },
170
- },
171
- imageUrl: 'https://cdn.pixabay.com/photo/2022/10/12/10/45/bird-7516219_1280.jpg',
172
- imageStyle: { contentMode: MediaContentMode$1.AspectFill },
173
- },
174
- {
175
- type: ComponentType.Box,
176
- layout: Layout$1.Column,
177
- width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
178
- height: { type: 'fixed', value: 200 },
179
- items: [
180
- {
181
- type: ComponentType.Box,
182
- width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
183
- height: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
184
- viewStyle: { backgroundColor: '#fa6464' },
185
- },
186
- {
187
- type: ComponentType.Box,
188
- layout: Layout$1.Column,
189
- width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
190
- height: { type: 'flex', value: FlexSizeSpecValue$1.WrapContent },
191
- viewStyle: { backgroundColor: '#ffaf5c' },
192
- items: [
193
- {
194
- type: ComponentType.Text,
195
- text: 'Message',
196
- align: { horizontal: AlignValue$1.Center, vertical: AlignValue$1.Center },
197
- width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
198
- height: { type: 'fixed', value: 50 },
199
- },
200
- {
201
- type: ComponentType.Image,
202
- action: { type: ActionType$1.Web, data: 'https://docs.sendbird.com' },
203
- width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
204
- height: { type: 'fixed', value: 50 },
205
- imageUrl: 'https://cdn.pixabay.com/photo/2022/10/12/10/45/bird-7516219_1280.jpg',
206
- imageStyle: { contentMode: MediaContentMode$1.AspectFill },
207
- },
208
- ],
209
- },
210
- {
211
- type: ComponentType.Box,
212
- width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
213
- height: { type: 'fixed', value: 20 },
214
- viewStyle: { backgroundColor: '#ffe450' },
215
- },
216
- {
217
- type: ComponentType.Box,
218
- width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
219
- height: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
220
- viewStyle: { backgroundColor: '#329a1b' },
221
- },
222
- ],
223
- },
224
- {
225
- type: ComponentType.Box,
226
- viewStyle: { padding: { top: 12, bottom: 12, left: 12, right: 12 } },
227
- layout: Layout$1.Column,
228
- items: [
229
- {
230
- type: ComponentType.Box,
231
- align: { horizontal: AlignValue$1.Left, vertical: AlignValue$1.Center },
232
- layout: Layout$1.Row,
233
- viewStyle: {
234
- borderWidth: 1,
235
- borderColor: '#72723f',
236
- },
237
- width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
238
- height: { type: 'fixed', value: 150 },
239
- items: [
240
- {
241
- type: ComponentType.Text,
242
- width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
243
- height: { type: 'fixed', value: 50 },
244
- text: 'Sample1 text',
245
- maxTextLines: 1,
246
- align: { vertical: AlignValue$1.Center, horizontal: AlignValue$1.Left },
247
- viewStyle: {
248
- backgroundColor: '#cc4400',
249
- },
250
- textStyle: {
251
- size: 16,
252
- color: '#f8f8f8',
253
- weight: FontWeight$1.Bold,
254
- },
255
- },
256
- {
257
- type: ComponentType.ImageButton,
258
- action: { type: ActionType$1.UIKit, data: 'uikit://delete' },
259
- width: { type: 'fixed', value: 20 },
260
- height: { type: 'fixed', value: 20 },
261
- imageUrl: 'https://file-ap-1.sendbird.com/5b5379aa73fd460da22ffaf9a61d0d7f.png',
262
- imageStyle: { contentMode: MediaContentMode$1.AspectFit },
263
- },
264
- ],
265
- },
266
- {
267
- type: ComponentType.Text,
268
- viewStyle: { padding: { top: 6, bottom: 12, left: 0, right: 0 } },
269
- text: 'Esse eu esse duis ipsum et dolor eu ut sit amet consectetur cillum velit officia. Ex adipisicing elit quis ea sit. Occaecat in eu aliqua nulla magna id ut excepteur minim.',
270
- maxTextLines: 2,
271
- textStyle: { size: 14, color: '#e10000' },
272
- width: { type: 'fixed', value: 200 },
273
- height: { type: 'fixed', value: 50 },
274
- },
275
- {
276
- type: ComponentType.TextButton,
277
- action: { type: ActionType$1.Web, data: 'https://www.daum.net' },
278
- text: 'Button 3',
279
- textStyle: { size: 14, color: '#742ddd', weight: FontWeight$1.Bold },
280
- },
281
- ],
282
- },
283
- ],
284
- },
285
- });
286
- ({
287
- 'version': 1,
288
- 'body': {
289
- 'items': [
290
- {
291
- 'type': ComponentType.Image,
292
- 'action': { 'type': ActionType$1.Web, 'data': 'https://www.naver.com/' },
293
- 'height': { 'type': 'fixed', 'value': 136 },
294
- 'imageUrl': 'https://cdn.pixabay.com/photo/2022/10/12/10/45/bird-7516219_1280.jpg',
295
- 'imageStyle': { 'contentMode': MediaContentMode$1.AspectFill },
296
- },
297
- {
298
- 'type': ComponentType.Box,
299
- 'viewStyle': { 'padding': { 'top': 12, 'bottom': 12, 'left': 12, 'right': 12 }, backgroundColor: '#cccccc' },
300
- 'layout': Layout$1.Column,
301
- width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
302
- 'items': [
303
- {
304
- 'type': ComponentType.Box,
305
- width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
306
- 'layout': Layout$1.Row,
307
- 'items': [
308
- {
309
- 'type': ComponentType.TextButton,
310
- 'action': { 'type': ActionType$1.Web, 'data': 'https://www.daum.net' },
311
- width: { type: 'fixed', value: 150 },
312
- 'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 0, 'right': 4 } },
313
- 'text': 'Button 2',
314
- 'textStyle': { 'size': 14, 'weight': FontWeight$1.Bold },
315
- },
316
- {
317
- 'type': ComponentType.TextButton,
318
- 'action': { 'type': ActionType$1.Web, 'data': 'https://www.daum.net' },
319
- width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
320
- 'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 4, 'right': 0 } },
321
- 'text': 'Button 3',
322
- 'textStyle': { 'size': 14, 'weight': FontWeight$1.Bold },
323
- },
324
- ],
325
- },
326
- {
327
- 'type': ComponentType.Box,
328
- width: { type: 'flex', value: FlexSizeSpecValue$1.FillParent },
329
- 'layout': Layout$1.Row,
330
- 'items': [
331
- {
332
- 'type': ComponentType.Text,
333
- 'text': 'Sample2 text',
334
- 'width': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
335
- 'maxTextLines': 1,
336
- 'textStyle': { 'size': 16, 'weight': FontWeight$1.Bold },
337
- },
338
- {
339
- 'type': ComponentType.ImageButton,
340
- 'action': { 'type': ActionType$1.UIKit, 'data': 'uikit://delete' },
341
- 'width': { 'type': 'fixed', 'value': 20 },
342
- 'height': { 'type': 'fixed', 'value': 20 },
343
- 'imageUrl': 'https://file-ap-1.sendbird.com/5b5379aa73fd460da22ffaf9a61d0d7f.png',
344
- 'imageStyle': { 'contentMode': MediaContentMode$1.AspectFit },
345
- },
346
- ],
347
- },
348
- {
349
- 'type': ComponentType.Text,
350
- 'viewStyle': { 'padding': { 'top': 6, 'bottom': 12, 'left': 0, 'right': 0 } },
351
- 'text': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aui',
352
- 'textStyle': { 'size': 14 },
353
- },
354
- ],
355
- },
356
- ],
357
- },
358
- });
359
- ({
360
- 'version': 1,
361
- 'body': {
362
- 'items': [
363
- {
364
- 'type': ComponentType.Box,
365
- 'viewStyle': { 'backgroundColor': '#ffffff', 'borderWidth': 1, 'borderColor': '#eeeeee', 'radius': 16 },
366
- 'layout': Layout$1.Column,
367
- 'items': [
368
- {
369
- 'type': ComponentType.Image,
370
- 'height': { 'type': 'fixed', 'value': 200 },
371
- 'imageUrl': 'https://img.freepik.com/free-vector/cartoon-happy-hours-background_52683-81243.jpg?w=2000&t=st=1666689198~exp=1666689798~hmac=23109d44ba03deee7aee069cbeebfcb48fa27f85e53c1cafc5d5d7345f1a2041',
372
- 'imageStyle': { 'contentMode': MediaContentMode$1.AspectFill },
373
- },
374
- {
375
- 'type': ComponentType.Box,
376
- 'viewStyle': { 'padding': { 'top': 15, 'bottom': 15, 'left': 15, 'right': 15 } },
377
- 'layout': Layout$1.Column,
378
- 'items': [
379
- {
380
- 'type': ComponentType.Text,
381
- 'text': "Don't miss these deals today",
382
- 'maxTextLines': 1,
383
- 'textStyle': { 'size': 20, 'color': '#e10000', 'weight': FontWeight$1.Bold },
384
- },
385
- {
386
- 'type': ComponentType.Text,
387
- 'viewStyle': { 'margin': { 'top': 5, 'bottom': 0, 'left': 0, 'right': 0 } },
388
- 'text': 'Pay with Maya and get cashback!',
389
- 'maxTextLines': 1,
390
- 'textStyle': { 'size': 14, 'color': '#e10000' },
391
- },
392
- {
393
- 'type': ComponentType.Box,
394
- 'align': { 'horizontal': AlignValue$1.Left, 'vertical': AlignValue$1.Center },
395
- 'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
396
- 'layout': Layout$1.Row,
397
- 'items': [
398
- {
399
- 'type': ComponentType.Image,
400
- 'width': { 'type': 'fixed', 'value': 50 },
401
- 'height': { 'type': 'fixed', 'value': 50 },
402
- 'viewStyle': {
403
- 'backgroundColor': '#ffffff',
404
- 'borderWidth': 1,
405
- 'borderColor': '#eeeeee',
406
- 'radius': 25,
407
- },
408
- 'imageUrl': 'https://yt3.ggpht.com/ytc/AMLnZu8Kg89ymE7qt5bsS9vMqi9h2aHiN6m9ID-IgxR6-Q=s900-c-k-c0x00ffffff-no-rj',
409
- 'imageStyle': { 'contentMode': MediaContentMode$1.AspectFill },
410
- },
411
- {
412
- 'type': ComponentType.Box,
413
- 'align': { 'horizontal': AlignValue$1.Left, 'vertical': AlignValue$1.Center },
414
- 'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 15, 'right': 0 } },
415
- 'layout': Layout$1.Column,
416
- 'items': [
417
- {
418
- 'type': ComponentType.Text,
419
- 'text': 'Meralco',
420
- 'maxTextLines': 1,
421
- 'textStyle': { 'size': 16, 'color': '#e10000', 'weight': FontWeight$1.Bold },
422
- },
423
- {
424
- 'type': ComponentType.Text,
425
- 'viewStyle': { 'margin': { 'top': 3, 'bottom': 0, 'left': 0, 'right': 0 } },
426
- 'text': '30% cashback, P300 min spend',
427
- 'maxTextLines': 1,
428
- 'textStyle': { 'size': 12, 'color': '#610000', 'weight': FontWeight$1.Bold },
429
- },
430
- ],
431
- },
432
- ],
433
- },
434
- {
435
- 'type': ComponentType.Box,
436
- 'align': { 'horizontal': AlignValue$1.Left, 'vertical': AlignValue$1.Center },
437
- 'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
438
- 'layout': Layout$1.Row,
439
- 'items': [
440
- {
441
- 'type': ComponentType.Image,
442
- 'width': { 'type': 'fixed', 'value': 50 },
443
- 'height': { 'type': 'fixed', 'value': 50 },
444
- 'viewStyle': {
445
- 'backgroundColor': '#ffffff',
446
- 'borderWidth': 1,
447
- 'borderColor': '#eeeeee',
448
- 'radius': 25,
449
- },
450
- 'imageUrl': 'https://1000logos.net/wp-content/uploads/2021/12/Globe-Telecom-logo.png',
451
- 'imageStyle': { 'contentMode': MediaContentMode$1.AspectFill, tintColor: '#a49a9a' },
452
- },
453
- {
454
- 'type': ComponentType.Box,
455
- 'align': { 'horizontal': AlignValue$1.Left, 'vertical': AlignValue$1.Center },
456
- 'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 15, 'right': 0 } },
457
- 'layout': Layout$1.Column,
458
- 'items': [
459
- {
460
- 'type': ComponentType.Text,
461
- 'text': 'Globe',
462
- 'maxTextLines': 1,
463
- 'textStyle': { 'size': 16, 'color': '#e10000', 'weight': FontWeight$1.Bold },
464
- },
465
- {
466
- 'type': ComponentType.Text,
467
- 'viewStyle': { 'margin': { 'top': 3, 'bottom': 0, 'left': 0, 'right': 0 } },
468
- 'text': '30% cashback, P300 min spend',
469
- 'maxTextLines': 1,
470
- 'textStyle': { 'size': 12, 'color': '#610000', 'weight': FontWeight$1.Bold },
471
- },
472
- ],
473
- },
474
- ],
475
- },
476
- {
477
- 'type': ComponentType.Box,
478
- 'align': { 'horizontal': AlignValue$1.Left, 'vertical': AlignValue$1.Center },
479
- 'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
480
- 'layout': Layout$1.Row,
481
- 'items': [
482
- {
483
- 'type': ComponentType.Image,
484
- 'width': { 'type': 'fixed', 'value': 50 },
485
- 'height': { 'type': 'fixed', 'value': 50 },
486
- 'viewStyle': {
487
- 'backgroundColor': '#ffffff',
488
- 'borderWidth': 1,
489
- 'borderColor': '#eeeeee',
490
- 'radius': 25,
491
- },
492
- 'imageUrl': 'https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/Cignal.svg/640px-Cignal.svg.png',
493
- 'imageStyle': { 'contentMode': MediaContentMode$1.AspectFill },
494
- },
495
- {
496
- 'type': ComponentType.Box,
497
- 'align': { 'horizontal': AlignValue$1.Left, 'vertical': AlignValue$1.Center },
498
- 'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 15, 'right': 0 } },
499
- 'layout': Layout$1.Column,
500
- 'items': [
501
- {
502
- 'type': ComponentType.Text,
503
- 'text': 'Cignal',
504
- 'maxTextLines': 1,
505
- 'textStyle': { 'size': 16, 'color': '#e10000', 'weight': FontWeight$1.Bold },
506
- },
507
- {
508
- 'type': ComponentType.Text,
509
- 'viewStyle': { 'margin': { 'top': 3, 'bottom': 0, 'left': 0, 'right': 0 } },
510
- 'text': '30% cashback, P300 min spend',
511
- 'maxTextLines': 1,
512
- 'textStyle': { 'size': 12, 'color': '#610000', 'weight': FontWeight$1.Bold },
513
- },
514
- ],
515
- },
516
- ],
517
- },
518
- {
519
- 'type': ComponentType.Box,
520
- 'align': { 'horizontal': AlignValue$1.Left, 'vertical': AlignValue$1.Center },
521
- 'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
522
- 'layout': Layout$1.Row,
523
- 'items': [
524
- {
525
- 'type': ComponentType.TextButton,
526
- 'action': { 'type': ActionType$1.Web, 'data': 'https://www.daum.net' },
527
- 'viewStyle': {
528
- 'backgroundColor': '#e0e0e0',
529
- 'radius': 16,
530
- 'margin': { 'top': 0, 'bottom': 0, 'left': 0, 'right': 4 },
531
- 'padding': { 'top': 12, 'bottom': 12, 'left': 12, 'right': 12 },
532
- },
533
- 'text': 'Learn more',
534
- 'textStyle': { 'size': 15, 'color': '#e10000', 'weight': FontWeight$1.Bold },
535
- },
536
- {
537
- 'type': ComponentType.TextButton,
538
- 'action': { 'type': ActionType$1.Web, 'data': 'https://www.daum.net' },
539
- 'viewStyle': {
540
- 'backgroundColor': '#e10000',
541
- 'radius': 16,
542
- 'margin': { 'top': 0, 'bottom': 0, 'left': 4, 'right': 0 },
543
- 'padding': { 'top': 12, 'bottom': 12, 'left': 12, 'right': 12 },
544
- },
545
- 'text': 'Pay now',
546
- 'textStyle': { 'size': 15, 'color': '#ffffff', 'weight': FontWeight$1.Bold },
547
- },
548
- ],
549
- },
550
- ],
551
- },
552
- ],
553
- },
554
- ],
555
- },
556
- });
557
- ({
558
- 'version': 1,
559
- 'body': {
560
- 'items': [
561
- {
562
- 'type': ComponentType.Box,
563
- 'layout': Layout$1.Column,
564
- 'items': [
565
- {
566
- 'type': ComponentType.Image,
567
- 'imageUrl': 'https://static.sendbird.com/sample/profiles/profile_40_512px.png',
568
- 'metaData': {
569
- 'pixelWidth': 512,
570
- 'pixelHeight': 512,
571
- },
572
- 'imageStyle': {
573
- 'tintColor': '#44ff1188',
574
- },
575
- viewStyle: {
576
- 'padding': {
577
- 'top': 12,
578
- 'right': 12,
579
- 'bottom': 12,
580
- 'left': 12,
581
- },
582
- },
583
- },
584
- {
585
- 'type': ComponentType.Box,
586
- 'viewStyle': {
587
- 'padding': {
588
- 'top': 12,
589
- 'right': 12,
590
- 'bottom': 12,
591
- 'left': 12,
592
- },
593
- },
594
- 'layout': Layout$1.Column,
595
- 'items': [
596
- {
597
- 'type': ComponentType.Box,
598
- 'layout': Layout$1.Row,
599
- 'items': [
600
- {
601
- 'type': ComponentType.Box,
602
- 'layout': Layout$1.Column,
603
- 'items': [
604
- {
605
- 'type': ComponentType.Text,
606
- 'text': 'hi',
607
- 'maxTextLines': 3,
608
- 'viewStyle': {
609
- 'padding': {
610
- 'top': 0,
611
- 'bottom': 6,
612
- 'left': 0,
613
- 'right': 0,
614
- },
615
- },
616
- 'textStyle': {
617
- 'size': 16,
618
- 'weight': FontWeight$1.Bold,
619
- },
620
- },
621
- {
622
- 'type': ComponentType.Text,
623
- 'text': 'bye',
624
- 'maxTextLines': 10,
625
- 'textStyle': {
626
- 'size': 14,
627
- },
628
- },
629
- ],
630
- },
631
- {
632
- 'type': ComponentType.ImageButton,
633
- 'action': {
634
- 'type': ActionType$1.UIKit,
635
- 'data': 'sendbirduikit://delete',
636
- },
637
- 'width': {
638
- 'type': 'fixed',
639
- 'value': 20,
640
- },
641
- 'height': {
642
- 'type': 'fixed',
643
- 'value': 20,
644
- },
645
- 'metaData': {
646
- 'pixelWidth': 60,
647
- 'pixelHeight': 60,
648
- },
649
- 'imageUrl': 'https://dxstmhyqfqr1o.cloudfront.net/sendbird-message-builder/icon-more.png',
650
- 'imageStyle': {
651
- 'tintColor': '#ff8d5a',
652
- },
653
- },
654
- ],
655
- },
656
- {
657
- 'type': ComponentType.Box,
658
- 'layout': Layout$1.Column,
659
- 'items': [
660
- {
661
- 'type': ComponentType.Box,
662
- 'viewStyle': {
663
- 'margin': {
664
- 'top': 16,
665
- 'bottom': 0,
666
- 'left': 0,
667
- 'right': 0,
668
- },
669
- },
670
- 'align': {
671
- 'horizontal': AlignValue$1.Left,
672
- 'vertical': AlignValue$1.Center,
673
- },
674
- 'layout': Layout$1.Row,
675
- 'items': [
676
- {
677
- 'type': ComponentType.Image,
678
- 'imageUrl': 'https://ca.slack-edge.com/T0ADCTNEL-ULE240VNV-83fd5776e78e-512',
679
- 'width': {
680
- 'type': 'fixed',
681
- 'value': 40,
682
- },
683
- 'height': {
684
- 'type': 'fixed',
685
- 'value': 40,
686
- },
687
- 'metaData': {
688
- 'pixelWidth': 512,
689
- 'pixelHeight': 512,
690
- },
691
- 'viewStyle': {
692
- 'backgroundColor': '#BDBDBD',
693
- 'radius': 20,
694
- },
695
- 'imageStyle': {
696
- 'contentMode': MediaContentMode$1.AspectFill,
697
- },
698
- },
699
- {
700
- 'type': ComponentType.Box,
701
- 'viewStyle': {
702
- 'margin': {
703
- 'top': 0,
704
- 'bottom': 0,
705
- 'left': 12,
706
- 'right': 0,
707
- },
708
- },
709
- 'layout': Layout$1.Column,
710
- 'items': [
711
- {
712
- 'type': ComponentType.Text,
713
- 'text': 'Chongbu',
714
- 'maxTextLines': 1,
715
- 'textStyle': {
716
- 'size': 16,
717
- 'weight': FontWeight$1.Bold,
718
- },
719
- },
720
- {
721
- 'type': ComponentType.Text,
722
- 'viewStyle': {
723
- 'margin': {
724
- 'top': 4,
725
- 'bottom': 0,
726
- 'left': 0,
727
- 'right': 0,
728
- },
729
- },
730
- 'text': ' ',
731
- 'maxTextLines': 1,
732
- 'textStyle': {
733
- 'size': 14,
734
- },
735
- },
736
- ],
737
- },
738
- ],
739
- },
740
- {
741
- 'type': ComponentType.Box,
742
- 'viewStyle': {
743
- 'margin': {
744
- 'top': 16,
745
- 'bottom': 0,
746
- 'left': 0,
747
- 'right': 0,
748
- },
749
- },
750
- 'align': {
751
- 'horizontal': AlignValue$1.Left,
752
- 'vertical': AlignValue$1.Center,
753
- },
754
- 'layout': Layout$1.Row,
755
- 'items': [
756
- {
757
- 'type': ComponentType.Image,
758
- 'imageUrl': 'https://ca.slack-edge.com/T0ADCTNEL-U02LA25KY8J-d41a3e8c7554-512',
759
- 'width': {
760
- 'type': 'fixed',
761
- 'value': 40,
762
- },
763
- 'height': {
764
- 'type': 'fixed',
765
- 'value': 40,
766
- },
767
- 'metaData': {
768
- 'pixelWidth': 512,
769
- 'pixelHeight': 512,
770
- },
771
- 'viewStyle': {
772
- 'backgroundColor': '#BDBDBD',
773
- 'radius': 20,
774
- },
775
- 'imageStyle': {
776
- 'contentMode': MediaContentMode$1.AspectFill,
777
- },
778
- },
779
- {
780
- 'type': ComponentType.Box,
781
- 'viewStyle': {
782
- 'margin': {
783
- 'top': 0,
784
- 'bottom': 0,
785
- 'left': 12,
786
- 'right': 0,
787
- },
788
- },
789
- 'layout': Layout$1.Column,
790
- 'items': [
791
- {
792
- 'type': ComponentType.Text,
793
- 'text': 'Amanda',
794
- 'maxTextLines': 1,
795
- 'textStyle': {
796
- 'size': 16,
797
- 'weight': FontWeight$1.Bold,
798
- },
799
- },
800
- {
801
- 'type': ComponentType.Text,
802
- 'viewStyle': {
803
- 'margin': {
804
- 'top': 4,
805
- 'bottom': 0,
806
- 'left': 0,
807
- 'right': 0,
808
- },
809
- },
810
- 'text': 'This is title message',
811
- 'maxTextLines': 1,
812
- 'textStyle': {
813
- 'size': 14,
814
- },
815
- },
816
- ],
817
- },
818
- ],
819
- },
820
- ],
821
- },
822
- ],
823
- },
824
- ],
825
- },
826
- ],
827
- },
828
- });
829
- ({
830
- 'version': '1',
831
- 'body': {
832
- 'items': [
833
- {
834
- 'type': 'box',
835
- 'layout': 'column',
836
- height: { type: 'fixed', value: 600 },
837
- 'items': [
838
- {
839
- 'type': 'box',
840
- 'layout': 'column',
841
- 'viewStyle': { 'radius': '8', 'padding': { 'top': '12', 'bottom': '12', 'left': '12', 'right': '12' } },
842
- 'items': [
843
- {
844
- 'type': 'text',
845
- 'text': 'Title text',
846
- 'textStyle': { 'color': '#E0000000', 'size': '16', 'weight': 'bold' },
847
- 'maxTextLines': '5',
848
- 'viewStyle': {},
849
- 'action': { 'data': 'www.naver.com' },
850
- },
851
- {
852
- 'type': 'text',
853
- 'viewStyle': { 'margin': { 'top': '8', 'right': '0', 'bottom': '0', 'left': '0' } },
854
- 'text': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aui',
855
- 'textStyle': { 'color': '#E0000000', 'size': '14', 'weight': 'normal' },
856
- 'maxTextLines': '5',
857
- 'action': { 'data': 'https://www.naver.com' },
858
- },
859
- {
860
- 'type': 'box',
861
- 'layout': 'row',
862
- 'viewStyle': { 'margin': { 'top': '12', 'right': '0', 'bottom': '0', 'left': '0' } },
863
- 'items': [
864
- {
865
- 'type': 'textButton',
866
- 'viewStyle': {
867
- 'backgroundColor': '#E0E0E0',
868
- 'padding': { 'top': '10', 'bottom': '10', 'left': '20', 'right': '20' },
869
- },
870
- 'text': 'Button 1',
871
- 'textStyle': { 'color': '#742DDD', 'size': '14', 'weight': 'bold' },
872
- 'maxTextLines': '5',
873
- 'action': { 'data': 'www.naver.com' },
874
- },
875
- {
876
- 'type': 'textButton',
877
- 'viewStyle': {
878
- 'backgroundColor': '#E0E0E0',
879
- 'padding': { 'top': '10', 'bottom': '10', 'left': '20', 'right': '20' },
880
- 'margin': { 'left': '8', 'right': '0', 'top': '0', 'bottom': '0' },
881
- },
882
- 'text': 'Button 2',
883
- 'textStyle': { 'color': '#742DDD', 'size': '14', 'weight': 'bold' },
884
- 'maxTextLines': '5',
885
- 'action': { 'data': 'https://www.naver.com' },
886
- },
887
- ],
888
- },
889
- ],
890
- 'action': { 'data': 'https://www.naver.com' },
891
- },
892
- {
893
- 'type': 'image',
894
- 'viewStyle': {},
895
- 'width': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
896
- 'height': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
897
- 'imageStyle': { 'contentMode': 'aspectFill' },
898
- 'imageUrl': 'https://file-preprod.sendbird.com/d03c08bb3f9041a88c1207b6bbf15ab8.png',
899
- 'metaData': { 'pixelWidth': '1062', 'pixelHeight': '1070' },
900
- },
901
- {
902
- 'type': 'textButton',
903
- 'viewStyle': {
904
- 'backgroundColor': '#E0E0E0',
905
- 'padding': { 'top': '10', 'bottom': '10', 'left': '20', 'right': '20' },
906
- },
907
- 'width': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
908
- 'height': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
909
- 'text': 'Button',
910
- 'textStyle': { 'color': '#742DDD', 'size': '16', 'weight': 'normal' },
911
- 'maxTextLines': '5',
912
- 'action': { 'data': 'www.naver.com' },
913
- },
914
- {
915
- 'type': 'imageButton',
916
- 'viewStyle': {},
917
- 'width': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
918
- 'height': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
919
- 'imageUrl': 'https://file-preprod.sendbird.com/38fdf5c1056f42b89a44b38155cc4b49.jpg',
920
- 'imageStyle': { 'contentMode': 'aspectFill' },
921
- 'metaData': { 'pixelWidth': '1080', 'pixelHeight': '2640' },
922
- 'action': { 'data': 'www.naver.com' },
923
- },
924
- ],
925
- 'viewStyle': {},
926
- },
927
- ],
928
- },
929
- });
930
- ({
931
- 'version': 1,
932
- 'body': {
933
- 'items': [
934
- {
935
- 'elementId': 'root',
936
- 'type': 'box',
937
- 'layout': 'column',
938
- 'width': {
939
- 'type': 'flex',
940
- 'value': FlexSizeSpecValue$1.FillParent,
941
- },
942
- 'height': {
943
- 'type': 'flex',
944
- 'value': FlexSizeSpecValue$1.WrapContent,
945
- },
946
- 'items': [
947
- {
948
- 'type': 'text',
949
- 'viewStyle': {
950
- 'backgroundColor': '#a0c0ffff',
951
- 'margin': {
952
- 'top': 16,
953
- 'bottom': 16,
954
- 'left': 16,
955
- 'right': 16,
956
- },
957
- 'padding': {
958
- 'top': 16,
959
- 'bottom': 16,
960
- 'left': 16,
961
- 'right': 16,
962
- },
963
- },
964
- 'text': 'Wrap Wrap Wrap Wrap Wrap Wrap Wrap Wrap Wrap Wrap ',
965
- 'textStyle': {
966
- 'size': 14,
967
- 'color': '#222121e0',
968
- 'weight': 'normal',
969
- },
970
- 'maxTextLines': 5,
971
- 'width': {
972
- 'type': 'flex',
973
- 'value': FlexSizeSpecValue$1.FillParent,
974
- },
975
- 'height': {
976
- 'type': 'flex',
977
- 'value': 1,
978
- },
979
- 'align': {
980
- 'horizontal': 'left',
981
- 'vertical': 'top',
982
- },
983
- 'elementId': 'c0e15878-4984-408d-abaa-4b495c2e3872',
984
- },
985
- {
986
- 'type': 'imageButton',
987
- 'viewStyle': {
988
- margin: {
989
- left: 24,
990
- right: 12,
991
- },
992
- },
993
- 'width': { 'type': 'flex', 'value': FlexSizeSpecValue$1.FillParent },
994
- 'height': { 'type': 'fixed', 'value': 250 },
995
- 'imageUrl': 'https://cdn.pixabay.com/photo/2022/10/12/10/45/bird-7516219_1280.jpg',
996
- 'imageStyle': { 'contentMode': 'aspectFill' },
997
- 'metaData': { 'pixelWidth': '1080', 'pixelHeight': '2640' },
998
- 'action': { 'data': 'www.naver.com' },
999
- },
1000
- ],
1001
- },
1002
- ],
1003
- },
1004
- });
1005
-
1006
70
  var __rest$4 = (undefined && undefined.__rest) || function (s, e) {
1007
71
  var t = {};
1008
72
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -1030,35 +94,6 @@ const SizeContextProvider = ({ children }) => {
1030
94
  };
1031
95
  const useSizeContext = () => useContext(SizeContext);
1032
96
 
1033
- const memoize = (fn) => {
1034
- const cache = new Map();
1035
- const cached = function (val) {
1036
- return cache.has(val) ? cache.get(val) : cache.set(val, fn.call(this, val)) && cache.get(val);
1037
- };
1038
- cached.cache = cache;
1039
- return cached;
1040
- };
1041
- /**
1042
- * Generate each item's id by each item's array depth
1043
- */
1044
- const setTemplateItemId = memoize((data) => {
1045
- const addIdRecursively = (item, id) => {
1046
- if ('items' in item && (item === null || item === void 0 ? void 0 : item.items) != null) {
1047
- item.items.forEach((subItem, subIdx) => {
1048
- const subId = `${id}-${subIdx}`;
1049
- subItem.id = subId;
1050
- addIdRecursively(subItem, subId);
1051
- });
1052
- }
1053
- };
1054
- data.forEach((item, idx) => {
1055
- const id = `${idx}`;
1056
- item.id = id;
1057
- addIdRecursively(item, id);
1058
- });
1059
- return data;
1060
- });
1061
-
1062
97
  var Layout;
1063
98
  (function (Layout) {
1064
99
  Layout["Row"] = "row";
@@ -1094,6 +129,58 @@ var MediaContentMode;
1094
129
  MediaContentMode["ScalesToFill"] = "scalesToFill";
1095
130
  })(MediaContentMode || (MediaContentMode = {}));
1096
131
 
132
+ const SUPPORTED_TEMPLATE_VERSIONS = [
133
+ 1,
134
+ 2, // Composite templates: Carousel
135
+ ];
136
+ const alignInFlex = (align) => {
137
+ switch (align) {
138
+ case AlignValue.Right:
139
+ case AlignValue.Bottom:
140
+ return 'flex-end';
141
+ case AlignValue.Center:
142
+ return 'center';
143
+ case AlignValue.Left:
144
+ case AlignValue.Top:
145
+ default:
146
+ return 'flex-start';
147
+ }
148
+ };
149
+ const isTemplateVersionSupported = (templateVersion) => {
150
+ if (!templateVersion)
151
+ return true;
152
+ return SUPPORTED_TEMPLATE_VERSIONS.includes(templateVersion);
153
+ };
154
+
155
+ const memoize = (fn) => {
156
+ const cache = new Map();
157
+ const cached = function (val) {
158
+ return cache.has(val) ? cache.get(val) : cache.set(val, fn.call(this, val)) && cache.get(val);
159
+ };
160
+ cached.cache = cache;
161
+ return cached;
162
+ };
163
+ /**
164
+ * Generate each item's id by each item's array depth
165
+ */
166
+ const setTemplateItemId = memoize((data) => {
167
+ const addIdRecursively = (item, id) => {
168
+ if ('items' in item && (item === null || item === void 0 ? void 0 : item.items) != null) {
169
+ item.items.forEach((subItem, subIdx) => {
170
+ const subId = `${id}-${subIdx}`;
171
+ subItem.id = subId;
172
+ addIdRecursively(subItem, subId);
173
+ });
174
+ }
175
+ };
176
+ data.forEach((item, idx) => {
177
+ const id = `${idx}`;
178
+ item.id = id;
179
+ addIdRecursively(item, id);
180
+ });
181
+ return data;
182
+ });
183
+
1097
184
  const defaultProperties = {
1098
185
  rootLayout: Layout.Column,
1099
186
  view: {
@@ -1125,7 +212,7 @@ const createMessageTemplate = (opts) => {
1125
212
  };
1126
213
  switch (item.type) {
1127
214
  // CompositeComponent should be top level component
1128
- case CompositeComponentType$1.Carousel: {
215
+ case CompositeComponentType.Carousel: {
1129
216
  if (!isRoot) {
1130
217
  throw new Error('Cannot parse template item as Carousel if the template item is not the root.');
1131
218
  }
@@ -1134,20 +221,20 @@ const createMessageTemplate = (opts) => {
1134
221
  }
1135
222
  return (React__default.createElement(renderer.carouselView, Object.assign({}, item, props), item.items.map((items, index) => (React__default.createElement(MessageTemplateBase, { key: index, templateItems: items || [], parentLayout: parentLayout })))));
1136
223
  }
1137
- case ComponentType$1.Box: {
224
+ case ComponentType.Box: {
1138
225
  return (React__default.createElement(renderer.box, Object.assign({}, item, props),
1139
226
  React__default.createElement(MessageTemplateBase, { templateItems: item.items || [], parentLayout: item.layout })));
1140
227
  }
1141
- case ComponentType$1.Text: {
228
+ case ComponentType.Text: {
1142
229
  return React__default.createElement(renderer.text, Object.assign({}, item, props));
1143
230
  }
1144
- case ComponentType$1.Image: {
231
+ case ComponentType.Image: {
1145
232
  return React__default.createElement(renderer.image, Object.assign({}, item, props));
1146
233
  }
1147
- case ComponentType$1.TextButton: {
234
+ case ComponentType.TextButton: {
1148
235
  return React__default.createElement(renderer.textButton, Object.assign({}, item, props));
1149
236
  }
1150
- case ComponentType$1.ImageButton: {
237
+ case ComponentType.ImageButton: {
1151
238
  return React__default.createElement(renderer.imageButton, Object.assign({}, item, props));
1152
239
  }
1153
240
  default: {
@@ -1168,7 +255,7 @@ const createMessageTemplate = (opts) => {
1168
255
  }
1169
256
  let isCarousel = false;
1170
257
  if (Array.isArray(items) && items.length > 0) {
1171
- isCarousel = items[0].type === CompositeComponentType$1.Carousel;
258
+ isCarousel = items[0].type === CompositeComponentType.Carousel;
1172
259
  }
1173
260
  return (React__default.createElement(SizeContextProvider, null,
1174
261
  React__default.createElement(Container, { className: isCarousel ? 'sb-message-template__parent_for_carousel' : '' },
@@ -1185,26 +272,12 @@ var ActionType;
1185
272
  ActionType["UIKit"] = "uikit";
1186
273
  })(ActionType || (ActionType = {}));
1187
274
 
1188
- const alignInFlex = (align) => {
1189
- switch (align) {
1190
- case AlignValue.Right:
1191
- case AlignValue.Bottom:
1192
- return 'flex-end';
1193
- case AlignValue.Center:
1194
- return 'center';
1195
- case AlignValue.Left:
1196
- case AlignValue.Top:
1197
- default:
1198
- return 'flex-start';
1199
- }
1200
- };
1201
-
1202
275
  ({
1203
276
  version: 1,
1204
277
  body: {
1205
278
  items: [
1206
279
  {
1207
- type: ComponentType$1.Image,
280
+ type: ComponentType.Image,
1208
281
  action: { type: ActionType.Web, data: 'https://docs.sendbird.com' },
1209
282
  height: { type: 'fixed', value: 236 },
1210
283
  viewStyle: {
@@ -1219,33 +292,33 @@ const alignInFlex = (align) => {
1219
292
  imageStyle: { contentMode: MediaContentMode.AspectFill },
1220
293
  },
1221
294
  {
1222
- type: ComponentType$1.Box,
295
+ type: ComponentType.Box,
1223
296
  layout: Layout.Column,
1224
297
  width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
1225
298
  height: { type: 'fixed', value: 200 },
1226
299
  items: [
1227
300
  {
1228
- type: ComponentType$1.Box,
301
+ type: ComponentType.Box,
1229
302
  width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
1230
303
  height: { type: 'flex', value: FlexSizeSpecValue.FillParent },
1231
304
  viewStyle: { backgroundColor: '#fa6464' },
1232
305
  },
1233
306
  {
1234
- type: ComponentType$1.Box,
307
+ type: ComponentType.Box,
1235
308
  layout: Layout.Column,
1236
309
  width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
1237
310
  height: { type: 'flex', value: FlexSizeSpecValue.WrapContent },
1238
311
  viewStyle: { backgroundColor: '#ffaf5c' },
1239
312
  items: [
1240
313
  {
1241
- type: ComponentType$1.Text,
314
+ type: ComponentType.Text,
1242
315
  text: 'Message',
1243
316
  align: { horizontal: AlignValue.Center, vertical: AlignValue.Center },
1244
317
  width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
1245
318
  height: { type: 'fixed', value: 50 },
1246
319
  },
1247
320
  {
1248
- type: ComponentType$1.Image,
321
+ type: ComponentType.Image,
1249
322
  action: { type: ActionType.Web, data: 'https://docs.sendbird.com' },
1250
323
  width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
1251
324
  height: { type: 'fixed', value: 50 },
@@ -1255,13 +328,13 @@ const alignInFlex = (align) => {
1255
328
  ],
1256
329
  },
1257
330
  {
1258
- type: ComponentType$1.Box,
331
+ type: ComponentType.Box,
1259
332
  width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
1260
333
  height: { type: 'fixed', value: 20 },
1261
334
  viewStyle: { backgroundColor: '#ffe450' },
1262
335
  },
1263
336
  {
1264
- type: ComponentType$1.Box,
337
+ type: ComponentType.Box,
1265
338
  width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
1266
339
  height: { type: 'flex', value: FlexSizeSpecValue.FillParent },
1267
340
  viewStyle: { backgroundColor: '#329a1b' },
@@ -1269,12 +342,12 @@ const alignInFlex = (align) => {
1269
342
  ],
1270
343
  },
1271
344
  {
1272
- type: ComponentType$1.Box,
345
+ type: ComponentType.Box,
1273
346
  viewStyle: { padding: { top: 12, bottom: 12, left: 12, right: 12 } },
1274
347
  layout: Layout.Column,
1275
348
  items: [
1276
349
  {
1277
- type: ComponentType$1.Box,
350
+ type: ComponentType.Box,
1278
351
  align: { horizontal: AlignValue.Left, vertical: AlignValue.Center },
1279
352
  layout: Layout.Row,
1280
353
  viewStyle: {
@@ -1285,7 +358,7 @@ const alignInFlex = (align) => {
1285
358
  height: { type: 'fixed', value: 150 },
1286
359
  items: [
1287
360
  {
1288
- type: ComponentType$1.Text,
361
+ type: ComponentType.Text,
1289
362
  width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
1290
363
  height: { type: 'fixed', value: 50 },
1291
364
  text: 'Sample1 text',
@@ -1301,7 +374,7 @@ const alignInFlex = (align) => {
1301
374
  },
1302
375
  },
1303
376
  {
1304
- type: ComponentType$1.ImageButton,
377
+ type: ComponentType.ImageButton,
1305
378
  action: { type: ActionType.UIKit, data: 'uikit://delete' },
1306
379
  width: { type: 'fixed', value: 20 },
1307
380
  height: { type: 'fixed', value: 20 },
@@ -1311,7 +384,7 @@ const alignInFlex = (align) => {
1311
384
  ],
1312
385
  },
1313
386
  {
1314
- type: ComponentType$1.Text,
387
+ type: ComponentType.Text,
1315
388
  viewStyle: { padding: { top: 6, bottom: 12, left: 0, right: 0 } },
1316
389
  text: 'Esse eu esse duis ipsum et dolor eu ut sit amet consectetur cillum velit officia. Ex adipisicing elit quis ea sit. Occaecat in eu aliqua nulla magna id ut excepteur minim.',
1317
390
  maxTextLines: 2,
@@ -1320,7 +393,7 @@ const alignInFlex = (align) => {
1320
393
  height: { type: 'fixed', value: 50 },
1321
394
  },
1322
395
  {
1323
- type: ComponentType$1.TextButton,
396
+ type: ComponentType.TextButton,
1324
397
  action: { type: ActionType.Web, data: 'https://www.daum.net' },
1325
398
  text: 'Button 3',
1326
399
  textStyle: { size: 14, color: '#742ddd', weight: FontWeight.Bold },
@@ -1335,25 +408,25 @@ const alignInFlex = (align) => {
1335
408
  'body': {
1336
409
  'items': [
1337
410
  {
1338
- 'type': ComponentType$1.Image,
411
+ 'type': ComponentType.Image,
1339
412
  'action': { 'type': ActionType.Web, 'data': 'https://www.naver.com/' },
1340
413
  'height': { 'type': 'fixed', 'value': 136 },
1341
414
  'imageUrl': 'https://cdn.pixabay.com/photo/2022/10/12/10/45/bird-7516219_1280.jpg',
1342
415
  'imageStyle': { 'contentMode': MediaContentMode.AspectFill },
1343
416
  },
1344
417
  {
1345
- 'type': ComponentType$1.Box,
418
+ 'type': ComponentType.Box,
1346
419
  'viewStyle': { 'padding': { 'top': 12, 'bottom': 12, 'left': 12, 'right': 12 }, backgroundColor: '#cccccc' },
1347
420
  'layout': Layout.Column,
1348
421
  width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
1349
422
  'items': [
1350
423
  {
1351
- 'type': ComponentType$1.Box,
424
+ 'type': ComponentType.Box,
1352
425
  width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
1353
426
  'layout': Layout.Row,
1354
427
  'items': [
1355
428
  {
1356
- 'type': ComponentType$1.TextButton,
429
+ 'type': ComponentType.TextButton,
1357
430
  'action': { 'type': ActionType.Web, 'data': 'https://www.daum.net' },
1358
431
  width: { type: 'fixed', value: 150 },
1359
432
  'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 0, 'right': 4 } },
@@ -1361,7 +434,7 @@ const alignInFlex = (align) => {
1361
434
  'textStyle': { 'size': 14, 'weight': FontWeight.Bold },
1362
435
  },
1363
436
  {
1364
- 'type': ComponentType$1.TextButton,
437
+ 'type': ComponentType.TextButton,
1365
438
  'action': { 'type': ActionType.Web, 'data': 'https://www.daum.net' },
1366
439
  width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
1367
440
  'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 4, 'right': 0 } },
@@ -1371,19 +444,19 @@ const alignInFlex = (align) => {
1371
444
  ],
1372
445
  },
1373
446
  {
1374
- 'type': ComponentType$1.Box,
447
+ 'type': ComponentType.Box,
1375
448
  width: { type: 'flex', value: FlexSizeSpecValue.FillParent },
1376
449
  'layout': Layout.Row,
1377
450
  'items': [
1378
451
  {
1379
- 'type': ComponentType$1.Text,
452
+ 'type': ComponentType.Text,
1380
453
  'text': 'Sample2 text',
1381
454
  'width': { 'type': 'flex', 'value': FlexSizeSpecValue.FillParent },
1382
455
  'maxTextLines': 1,
1383
456
  'textStyle': { 'size': 16, 'weight': FontWeight.Bold },
1384
457
  },
1385
458
  {
1386
- 'type': ComponentType$1.ImageButton,
459
+ 'type': ComponentType.ImageButton,
1387
460
  'action': { 'type': ActionType.UIKit, 'data': 'uikit://delete' },
1388
461
  'width': { 'type': 'fixed', 'value': 20 },
1389
462
  'height': { 'type': 'fixed', 'value': 20 },
@@ -1393,7 +466,7 @@ const alignInFlex = (align) => {
1393
466
  ],
1394
467
  },
1395
468
  {
1396
- 'type': ComponentType$1.Text,
469
+ 'type': ComponentType.Text,
1397
470
  'viewStyle': { 'padding': { 'top': 6, 'bottom': 12, 'left': 0, 'right': 0 } },
1398
471
  'text': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aui',
1399
472
  'textStyle': { 'size': 14 },
@@ -1408,42 +481,42 @@ const alignInFlex = (align) => {
1408
481
  'body': {
1409
482
  'items': [
1410
483
  {
1411
- 'type': ComponentType$1.Box,
484
+ 'type': ComponentType.Box,
1412
485
  'viewStyle': { 'backgroundColor': '#ffffff', 'borderWidth': 1, 'borderColor': '#eeeeee', 'radius': 16 },
1413
486
  'layout': Layout.Column,
1414
487
  'items': [
1415
488
  {
1416
- 'type': ComponentType$1.Image,
489
+ 'type': ComponentType.Image,
1417
490
  'height': { 'type': 'fixed', 'value': 200 },
1418
491
  'imageUrl': 'https://img.freepik.com/free-vector/cartoon-happy-hours-background_52683-81243.jpg?w=2000&t=st=1666689198~exp=1666689798~hmac=23109d44ba03deee7aee069cbeebfcb48fa27f85e53c1cafc5d5d7345f1a2041',
1419
492
  'imageStyle': { 'contentMode': MediaContentMode.AspectFill },
1420
493
  },
1421
494
  {
1422
- 'type': ComponentType$1.Box,
495
+ 'type': ComponentType.Box,
1423
496
  'viewStyle': { 'padding': { 'top': 15, 'bottom': 15, 'left': 15, 'right': 15 } },
1424
497
  'layout': Layout.Column,
1425
498
  'items': [
1426
499
  {
1427
- 'type': ComponentType$1.Text,
500
+ 'type': ComponentType.Text,
1428
501
  'text': "Don't miss these deals today",
1429
502
  'maxTextLines': 1,
1430
503
  'textStyle': { 'size': 20, 'color': '#e10000', 'weight': FontWeight.Bold },
1431
504
  },
1432
505
  {
1433
- 'type': ComponentType$1.Text,
506
+ 'type': ComponentType.Text,
1434
507
  'viewStyle': { 'margin': { 'top': 5, 'bottom': 0, 'left': 0, 'right': 0 } },
1435
508
  'text': 'Pay with Maya and get cashback!',
1436
509
  'maxTextLines': 1,
1437
510
  'textStyle': { 'size': 14, 'color': '#e10000' },
1438
511
  },
1439
512
  {
1440
- 'type': ComponentType$1.Box,
513
+ 'type': ComponentType.Box,
1441
514
  'align': { 'horizontal': AlignValue.Left, 'vertical': AlignValue.Center },
1442
515
  'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
1443
516
  'layout': Layout.Row,
1444
517
  'items': [
1445
518
  {
1446
- 'type': ComponentType$1.Image,
519
+ 'type': ComponentType.Image,
1447
520
  'width': { 'type': 'fixed', 'value': 50 },
1448
521
  'height': { 'type': 'fixed', 'value': 50 },
1449
522
  'viewStyle': {
@@ -1456,19 +529,19 @@ const alignInFlex = (align) => {
1456
529
  'imageStyle': { 'contentMode': MediaContentMode.AspectFill },
1457
530
  },
1458
531
  {
1459
- 'type': ComponentType$1.Box,
532
+ 'type': ComponentType.Box,
1460
533
  'align': { 'horizontal': AlignValue.Left, 'vertical': AlignValue.Center },
1461
534
  'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 15, 'right': 0 } },
1462
535
  'layout': Layout.Column,
1463
536
  'items': [
1464
537
  {
1465
- 'type': ComponentType$1.Text,
538
+ 'type': ComponentType.Text,
1466
539
  'text': 'Meralco',
1467
540
  'maxTextLines': 1,
1468
541
  'textStyle': { 'size': 16, 'color': '#e10000', 'weight': FontWeight.Bold },
1469
542
  },
1470
543
  {
1471
- 'type': ComponentType$1.Text,
544
+ 'type': ComponentType.Text,
1472
545
  'viewStyle': { 'margin': { 'top': 3, 'bottom': 0, 'left': 0, 'right': 0 } },
1473
546
  'text': '30% cashback, P300 min spend',
1474
547
  'maxTextLines': 1,
@@ -1479,13 +552,13 @@ const alignInFlex = (align) => {
1479
552
  ],
1480
553
  },
1481
554
  {
1482
- 'type': ComponentType$1.Box,
555
+ 'type': ComponentType.Box,
1483
556
  'align': { 'horizontal': AlignValue.Left, 'vertical': AlignValue.Center },
1484
557
  'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
1485
558
  'layout': Layout.Row,
1486
559
  'items': [
1487
560
  {
1488
- 'type': ComponentType$1.Image,
561
+ 'type': ComponentType.Image,
1489
562
  'width': { 'type': 'fixed', 'value': 50 },
1490
563
  'height': { 'type': 'fixed', 'value': 50 },
1491
564
  'viewStyle': {
@@ -1498,19 +571,19 @@ const alignInFlex = (align) => {
1498
571
  'imageStyle': { 'contentMode': MediaContentMode.AspectFill, tintColor: '#a49a9a' },
1499
572
  },
1500
573
  {
1501
- 'type': ComponentType$1.Box,
574
+ 'type': ComponentType.Box,
1502
575
  'align': { 'horizontal': AlignValue.Left, 'vertical': AlignValue.Center },
1503
576
  'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 15, 'right': 0 } },
1504
577
  'layout': Layout.Column,
1505
578
  'items': [
1506
579
  {
1507
- 'type': ComponentType$1.Text,
580
+ 'type': ComponentType.Text,
1508
581
  'text': 'Globe',
1509
582
  'maxTextLines': 1,
1510
583
  'textStyle': { 'size': 16, 'color': '#e10000', 'weight': FontWeight.Bold },
1511
584
  },
1512
585
  {
1513
- 'type': ComponentType$1.Text,
586
+ 'type': ComponentType.Text,
1514
587
  'viewStyle': { 'margin': { 'top': 3, 'bottom': 0, 'left': 0, 'right': 0 } },
1515
588
  'text': '30% cashback, P300 min spend',
1516
589
  'maxTextLines': 1,
@@ -1521,13 +594,13 @@ const alignInFlex = (align) => {
1521
594
  ],
1522
595
  },
1523
596
  {
1524
- 'type': ComponentType$1.Box,
597
+ 'type': ComponentType.Box,
1525
598
  'align': { 'horizontal': AlignValue.Left, 'vertical': AlignValue.Center },
1526
599
  'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
1527
600
  'layout': Layout.Row,
1528
601
  'items': [
1529
602
  {
1530
- 'type': ComponentType$1.Image,
603
+ 'type': ComponentType.Image,
1531
604
  'width': { 'type': 'fixed', 'value': 50 },
1532
605
  'height': { 'type': 'fixed', 'value': 50 },
1533
606
  'viewStyle': {
@@ -1540,19 +613,19 @@ const alignInFlex = (align) => {
1540
613
  'imageStyle': { 'contentMode': MediaContentMode.AspectFill },
1541
614
  },
1542
615
  {
1543
- 'type': ComponentType$1.Box,
616
+ 'type': ComponentType.Box,
1544
617
  'align': { 'horizontal': AlignValue.Left, 'vertical': AlignValue.Center },
1545
618
  'viewStyle': { 'margin': { 'top': 0, 'bottom': 0, 'left': 15, 'right': 0 } },
1546
619
  'layout': Layout.Column,
1547
620
  'items': [
1548
621
  {
1549
- 'type': ComponentType$1.Text,
622
+ 'type': ComponentType.Text,
1550
623
  'text': 'Cignal',
1551
624
  'maxTextLines': 1,
1552
625
  'textStyle': { 'size': 16, 'color': '#e10000', 'weight': FontWeight.Bold },
1553
626
  },
1554
627
  {
1555
- 'type': ComponentType$1.Text,
628
+ 'type': ComponentType.Text,
1556
629
  'viewStyle': { 'margin': { 'top': 3, 'bottom': 0, 'left': 0, 'right': 0 } },
1557
630
  'text': '30% cashback, P300 min spend',
1558
631
  'maxTextLines': 1,
@@ -1563,13 +636,13 @@ const alignInFlex = (align) => {
1563
636
  ],
1564
637
  },
1565
638
  {
1566
- 'type': ComponentType$1.Box,
639
+ 'type': ComponentType.Box,
1567
640
  'align': { 'horizontal': AlignValue.Left, 'vertical': AlignValue.Center },
1568
641
  'viewStyle': { 'margin': { 'top': 10, 'bottom': 0, 'left': 0, 'right': 0 } },
1569
642
  'layout': Layout.Row,
1570
643
  'items': [
1571
644
  {
1572
- 'type': ComponentType$1.TextButton,
645
+ 'type': ComponentType.TextButton,
1573
646
  'action': { 'type': ActionType.Web, 'data': 'https://www.daum.net' },
1574
647
  'viewStyle': {
1575
648
  'backgroundColor': '#e0e0e0',
@@ -1581,7 +654,7 @@ const alignInFlex = (align) => {
1581
654
  'textStyle': { 'size': 15, 'color': '#e10000', 'weight': FontWeight.Bold },
1582
655
  },
1583
656
  {
1584
- 'type': ComponentType$1.TextButton,
657
+ 'type': ComponentType.TextButton,
1585
658
  'action': { 'type': ActionType.Web, 'data': 'https://www.daum.net' },
1586
659
  'viewStyle': {
1587
660
  'backgroundColor': '#e10000',
@@ -1606,11 +679,11 @@ const alignInFlex = (align) => {
1606
679
  'body': {
1607
680
  'items': [
1608
681
  {
1609
- 'type': ComponentType$1.Box,
682
+ 'type': ComponentType.Box,
1610
683
  'layout': Layout.Column,
1611
684
  'items': [
1612
685
  {
1613
- 'type': ComponentType$1.Image,
686
+ 'type': ComponentType.Image,
1614
687
  'imageUrl': 'https://static.sendbird.com/sample/profiles/profile_40_512px.png',
1615
688
  'metaData': {
1616
689
  'pixelWidth': 512,
@@ -1629,7 +702,7 @@ const alignInFlex = (align) => {
1629
702
  },
1630
703
  },
1631
704
  {
1632
- 'type': ComponentType$1.Box,
705
+ 'type': ComponentType.Box,
1633
706
  'viewStyle': {
1634
707
  'padding': {
1635
708
  'top': 12,
@@ -1641,15 +714,15 @@ const alignInFlex = (align) => {
1641
714
  'layout': Layout.Column,
1642
715
  'items': [
1643
716
  {
1644
- 'type': ComponentType$1.Box,
717
+ 'type': ComponentType.Box,
1645
718
  'layout': Layout.Row,
1646
719
  'items': [
1647
720
  {
1648
- 'type': ComponentType$1.Box,
721
+ 'type': ComponentType.Box,
1649
722
  'layout': Layout.Column,
1650
723
  'items': [
1651
724
  {
1652
- 'type': ComponentType$1.Text,
725
+ 'type': ComponentType.Text,
1653
726
  'text': 'hi',
1654
727
  'maxTextLines': 3,
1655
728
  'viewStyle': {
@@ -1666,7 +739,7 @@ const alignInFlex = (align) => {
1666
739
  },
1667
740
  },
1668
741
  {
1669
- 'type': ComponentType$1.Text,
742
+ 'type': ComponentType.Text,
1670
743
  'text': 'bye',
1671
744
  'maxTextLines': 10,
1672
745
  'textStyle': {
@@ -1676,7 +749,7 @@ const alignInFlex = (align) => {
1676
749
  ],
1677
750
  },
1678
751
  {
1679
- 'type': ComponentType$1.ImageButton,
752
+ 'type': ComponentType.ImageButton,
1680
753
  'action': {
1681
754
  'type': ActionType.UIKit,
1682
755
  'data': 'sendbirduikit://delete',
@@ -1701,11 +774,11 @@ const alignInFlex = (align) => {
1701
774
  ],
1702
775
  },
1703
776
  {
1704
- 'type': ComponentType$1.Box,
777
+ 'type': ComponentType.Box,
1705
778
  'layout': Layout.Column,
1706
779
  'items': [
1707
780
  {
1708
- 'type': ComponentType$1.Box,
781
+ 'type': ComponentType.Box,
1709
782
  'viewStyle': {
1710
783
  'margin': {
1711
784
  'top': 16,
@@ -1721,7 +794,7 @@ const alignInFlex = (align) => {
1721
794
  'layout': Layout.Row,
1722
795
  'items': [
1723
796
  {
1724
- 'type': ComponentType$1.Image,
797
+ 'type': ComponentType.Image,
1725
798
  'imageUrl': 'https://ca.slack-edge.com/T0ADCTNEL-ULE240VNV-83fd5776e78e-512',
1726
799
  'width': {
1727
800
  'type': 'fixed',
@@ -1744,7 +817,7 @@ const alignInFlex = (align) => {
1744
817
  },
1745
818
  },
1746
819
  {
1747
- 'type': ComponentType$1.Box,
820
+ 'type': ComponentType.Box,
1748
821
  'viewStyle': {
1749
822
  'margin': {
1750
823
  'top': 0,
@@ -1756,7 +829,7 @@ const alignInFlex = (align) => {
1756
829
  'layout': Layout.Column,
1757
830
  'items': [
1758
831
  {
1759
- 'type': ComponentType$1.Text,
832
+ 'type': ComponentType.Text,
1760
833
  'text': 'Chongbu',
1761
834
  'maxTextLines': 1,
1762
835
  'textStyle': {
@@ -1765,7 +838,7 @@ const alignInFlex = (align) => {
1765
838
  },
1766
839
  },
1767
840
  {
1768
- 'type': ComponentType$1.Text,
841
+ 'type': ComponentType.Text,
1769
842
  'viewStyle': {
1770
843
  'margin': {
1771
844
  'top': 4,
@@ -1785,7 +858,7 @@ const alignInFlex = (align) => {
1785
858
  ],
1786
859
  },
1787
860
  {
1788
- 'type': ComponentType$1.Box,
861
+ 'type': ComponentType.Box,
1789
862
  'viewStyle': {
1790
863
  'margin': {
1791
864
  'top': 16,
@@ -1801,7 +874,7 @@ const alignInFlex = (align) => {
1801
874
  'layout': Layout.Row,
1802
875
  'items': [
1803
876
  {
1804
- 'type': ComponentType$1.Image,
877
+ 'type': ComponentType.Image,
1805
878
  'imageUrl': 'https://ca.slack-edge.com/T0ADCTNEL-U02LA25KY8J-d41a3e8c7554-512',
1806
879
  'width': {
1807
880
  'type': 'fixed',
@@ -1824,7 +897,7 @@ const alignInFlex = (align) => {
1824
897
  },
1825
898
  },
1826
899
  {
1827
- 'type': ComponentType$1.Box,
900
+ 'type': ComponentType.Box,
1828
901
  'viewStyle': {
1829
902
  'margin': {
1830
903
  'top': 0,
@@ -1836,7 +909,7 @@ const alignInFlex = (align) => {
1836
909
  'layout': Layout.Column,
1837
910
  'items': [
1838
911
  {
1839
- 'type': ComponentType$1.Text,
912
+ 'type': ComponentType.Text,
1840
913
  'text': 'Amanda',
1841
914
  'maxTextLines': 1,
1842
915
  'textStyle': {
@@ -1845,7 +918,7 @@ const alignInFlex = (align) => {
1845
918
  },
1846
919
  },
1847
920
  {
1848
- 'type': ComponentType$1.Text,
921
+ 'type': ComponentType.Text,
1849
922
  'viewStyle': {
1850
923
  'margin': {
1851
924
  'top': 4,
@@ -2234,7 +1307,7 @@ const Carousel = React__default.memo(({ children, gap = GAP_DEFAULT }) => {
2234
1307
 
2235
1308
  function isWrappedText(view) {
2236
1309
  var _a;
2237
- return view.type === ComponentType$1.Text && ((_a = view.width) === null || _a === void 0 ? void 0 : _a.value) == FlexSizeSpecValue.WrapContent;
1310
+ return view.type === ComponentType.Text && ((_a = view.width) === null || _a === void 0 ? void 0 : _a.value) == FlexSizeSpecValue.WrapContent;
2238
1311
  }
2239
1312
  // Compares the size spec to the option and returns whether they are equal or not.
2240
1313
  const isSizeCompatibleWithOption = ({ size, option, }) => {
@@ -2719,7 +1792,7 @@ function setTextStyle(styles, props, options) {
2719
1792
  if ((width === null || width === void 0 ? void 0 : width.value) == FlexSizeSpecValue.WrapContent) {
2720
1793
  styles['maxWidth'] = '100%';
2721
1794
  }
2722
- if (props.type === ComponentType$1.Text) {
1795
+ if (props.type === ComponentType.Text) {
2723
1796
  const { siblings, elemIdx } = options;
2724
1797
  // To push out any subsequent components from the container,
2725
1798
  // if a prior one is long enough to occupy an entire line
@@ -2916,21 +1989,21 @@ createMessageTemplate({
2916
1989
  },
2917
1990
  });
2918
1991
 
2919
- var CustomTemplate = createMessageTemplate({
2920
- parser: parser,
2921
- renderer: renderer,
2922
- Container: function (_a) {
2923
- var children = _a.children, className = _a.className;
2924
- return (React__default.createElement("div", { className: [
2925
- "sb-message-template__parent ".concat(className),
2926
- 'sendbird-message-template__root',
2927
- ].join(' ') }, children));
2928
- },
2929
- }).MessageTemplate;
2930
- function MessageTemplate(_a) {
2931
- var templateItems = _a.templateItems, templateVersion = _a.templateVersion;
2932
- return React__default.createElement(CustomTemplate, { templateItems: templateItems, templateVersion: templateVersion });
1992
+ var CustomTemplate = createMessageTemplate({
1993
+ parser: parser,
1994
+ renderer: renderer,
1995
+ Container: function (_a) {
1996
+ var children = _a.children, className = _a.className;
1997
+ return (React__default.createElement("div", { className: [
1998
+ "sb-message-template__parent ".concat(className),
1999
+ 'sendbird-message-template__root',
2000
+ ].join(' ') }, children));
2001
+ },
2002
+ }).MessageTemplate;
2003
+ function MessageTemplate(_a) {
2004
+ var templateItems = _a.templateItems, templateVersion = _a.templateVersion;
2005
+ return React__default.createElement(CustomTemplate, { templateItems: templateItems, templateVersion: templateVersion });
2933
2006
  }
2934
2007
 
2935
- export { CompositeComponentType$1 as C, MessageProvider as M, MessageTemplate as a };
2936
- //# sourceMappingURL=bundle-CllFAkeZ.js.map
2008
+ export { CompositeComponentType as C, MessageProvider as M, MessageTemplate as a };
2009
+ //# sourceMappingURL=bundle-IGQYX_K1.js.map