stream-chat-angular 4.66.2 → 5.0.0-v5.10

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 (315) hide show
  1. package/assets/version.d.ts +1 -1
  2. package/{esm2015/assets/version.js → esm2020/assets/version.mjs} +2 -2
  3. package/esm2020/lib/attachment-configuration.service.mjs +185 -0
  4. package/esm2020/lib/attachment-list/attachment-list.component.mjs +203 -0
  5. package/esm2020/lib/attachment-preview-list/attachment-preview-list.component.mjs +42 -0
  6. package/esm2020/lib/attachment.service.mjs +262 -0
  7. package/esm2020/lib/avatar/avatar.component.mjs +163 -0
  8. package/esm2020/lib/avatar-placeholder/avatar-placeholder.component.mjs +74 -0
  9. package/esm2020/lib/channel/channel.component.mjs +46 -0
  10. package/esm2020/lib/channel-header/channel-header.component.mjs +72 -0
  11. package/esm2020/lib/channel-list/channel-list.component.mjs +51 -0
  12. package/esm2020/lib/channel-preview/channel-preview.component.mjs +155 -0
  13. package/esm2020/lib/channel.service.mjs +1454 -0
  14. package/esm2020/lib/chat-client.service.mjs +206 -0
  15. package/{esm2015/lib/custom-templates.service.js → esm2020/lib/custom-templates.service.mjs} +3 -3
  16. package/{esm2015/lib/date-parser.service.js → esm2020/lib/date-parser.service.mjs} +3 -3
  17. package/esm2020/lib/edit-message-form/edit-message-form.component.mjs +83 -0
  18. package/esm2020/lib/get-channel-display-text.mjs +14 -0
  19. package/esm2020/lib/get-message-translation.mjs +12 -0
  20. package/esm2020/lib/icon/icon.component.mjs +21 -0
  21. package/esm2020/lib/icon-placeholder/icon-placeholder.component.mjs +31 -0
  22. package/esm2020/lib/loading-indicator/loading-indicator.component.mjs +31 -0
  23. package/esm2020/lib/loading-indicator-placeholder/loading-indicator-placeholder.component.mjs +38 -0
  24. package/esm2020/lib/message/message.component.mjs +402 -0
  25. package/esm2020/lib/message-actions-box/message-actions-box.component.mjs +98 -0
  26. package/esm2020/lib/message-actions.service.mjs +119 -0
  27. package/esm2020/lib/message-bounce-prompt/message-bounce-prompt.component.mjs +71 -0
  28. package/esm2020/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.mjs +259 -0
  29. package/{esm2015/lib/message-input/emoji-input.service.js → esm2020/lib/message-input/emoji-input.service.mjs} +3 -3
  30. package/{esm2015/lib/message-input/message-input-config.service.js → esm2020/lib/message-input/message-input-config.service.mjs} +3 -3
  31. package/esm2020/lib/message-input/message-input.component.mjs +441 -0
  32. package/{esm2015/lib/message-input/textarea/textarea.component.js → esm2020/lib/message-input/textarea/textarea.component.mjs} +7 -13
  33. package/esm2020/lib/message-input/textarea.directive.mjs +89 -0
  34. package/esm2020/lib/message-list/group-styles.mjs +52 -0
  35. package/esm2020/lib/message-list/message-list.component.mjs +679 -0
  36. package/esm2020/lib/message-preview.mjs +21 -0
  37. package/esm2020/lib/message-reactions/message-reactions.component.mjs +247 -0
  38. package/esm2020/lib/message-reactions.service.mjs +44 -0
  39. package/{esm2015/lib/message.service.js → esm2020/lib/message.service.mjs} +4 -4
  40. package/esm2020/lib/modal/modal.component.mjs +69 -0
  41. package/esm2020/lib/notification/notification.component.mjs +20 -0
  42. package/esm2020/lib/notification-list/notification-list.component.mjs +36 -0
  43. package/esm2020/lib/notification.service.mjs +79 -0
  44. package/esm2020/lib/read-by.mjs +12 -0
  45. package/{esm2015/lib/stream-autocomplete-textarea.module.js → esm2020/lib/stream-autocomplete-textarea.module.mjs} +6 -6
  46. package/{esm2015/lib/stream-avatar.module.js → esm2020/lib/stream-avatar.module.mjs} +5 -5
  47. package/{esm2015/lib/stream-chat.module.js → esm2020/lib/stream-chat.module.mjs} +14 -16
  48. package/{esm2015/lib/stream-i18n.service.js → esm2020/lib/stream-i18n.service.mjs} +5 -5
  49. package/{esm2015/lib/stream-textarea.module.js → esm2020/lib/stream-textarea.module.mjs} +6 -6
  50. package/esm2020/lib/theme.service.mjs +23 -0
  51. package/esm2020/lib/thread/thread.component.mjs +51 -0
  52. package/{esm2015/lib/transliteration.service.js → esm2020/lib/transliteration.service.mjs} +3 -3
  53. package/esm2020/lib/types.mjs +2 -0
  54. package/esm2020/lib/voice-recording/voice-recording-wavebar/voice-recording-wavebar.component.mjs +183 -0
  55. package/esm2020/lib/voice-recording/voice-recording.component.mjs +102 -0
  56. package/esm2020/public-api.mjs +64 -0
  57. package/fesm2015/{stream-chat-angular.js → stream-chat-angular.mjs} +354 -754
  58. package/fesm2015/stream-chat-angular.mjs.map +1 -0
  59. package/fesm2020/stream-chat-angular.mjs +6835 -0
  60. package/fesm2020/stream-chat-angular.mjs.map +1 -0
  61. package/lib/attachment-list/attachment-list.component.d.ts +4 -6
  62. package/lib/attachment-preview-list/attachment-preview-list.component.d.ts +2 -4
  63. package/lib/attachment.service.d.ts +0 -1
  64. package/lib/avatar/avatar.component.d.ts +1 -1
  65. package/lib/avatar-placeholder/avatar-placeholder.component.d.ts +1 -1
  66. package/lib/channel/channel.component.d.ts +1 -1
  67. package/lib/channel-header/channel-header.component.d.ts +2 -5
  68. package/lib/channel-list/channel-list.component.d.ts +4 -9
  69. package/lib/channel-preview/channel-preview.component.d.ts +1 -1
  70. package/lib/channel.service.d.ts +7 -14
  71. package/lib/chat-client.service.d.ts +1 -1
  72. package/lib/edit-message-form/edit-message-form.component.d.ts +1 -1
  73. package/lib/get-message-translation.d.ts +1 -1
  74. package/lib/icon/icon.component.d.ts +1 -1
  75. package/lib/icon-placeholder/icon-placeholder.component.d.ts +1 -1
  76. package/lib/loading-indicator/loading-indicator.component.d.ts +1 -1
  77. package/lib/loading-indicator-placeholder/loading-indicator-placeholder.component.d.ts +1 -1
  78. package/lib/message/message.component.d.ts +6 -19
  79. package/lib/message-actions-box/message-actions-box.component.d.ts +4 -32
  80. package/lib/message-actions.service.d.ts +0 -1
  81. package/lib/message-bounce-prompt/message-bounce-prompt.component.d.ts +1 -1
  82. package/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.d.ts +1 -2
  83. package/lib/message-input/message-input.component.d.ts +3 -5
  84. package/lib/message-input/textarea/textarea.component.d.ts +1 -1
  85. package/lib/message-input/textarea.directive.d.ts +1 -1
  86. package/lib/message-list/group-styles.d.ts +1 -1
  87. package/lib/message-list/message-list.component.d.ts +4 -12
  88. package/lib/message-reactions/message-reactions.component.d.ts +2 -7
  89. package/lib/message.service.d.ts +0 -1
  90. package/lib/modal/modal.component.d.ts +1 -1
  91. package/lib/notification/notification.component.d.ts +1 -1
  92. package/lib/notification-list/notification-list.component.d.ts +2 -3
  93. package/lib/notification.service.d.ts +2 -5
  94. package/lib/stream-chat.module.d.ts +3 -3
  95. package/lib/theme.service.d.ts +1 -44
  96. package/lib/thread/thread.component.d.ts +1 -1
  97. package/lib/types.d.ts +16 -33
  98. package/lib/voice-recording/voice-recording-wavebar/voice-recording-wavebar.component.d.ts +2 -2
  99. package/lib/voice-recording/voice-recording.component.d.ts +1 -1
  100. package/package.json +31 -17
  101. package/public-api.d.ts +0 -2
  102. package/src/assets/styles/css/index.css +3 -1
  103. package/src/assets/styles/css/index.layout.css +3 -0
  104. package/src/assets/styles/{v2/scss → scss}/AttachmentList/AttachmentList-layout.scss +1 -1
  105. package/src/assets/styles/{v2/scss → scss}/Message/Message-layout.scss +2 -2
  106. package/src/assets/styles/scss/_base.scss +7 -198
  107. package/src/assets/styles/scss/index.scss +35 -48
  108. package/src/assets/version.ts +1 -1
  109. package/bundles/stream-chat-angular.umd.js +0 -8445
  110. package/bundles/stream-chat-angular.umd.js.map +0 -1
  111. package/esm2015/lib/attachment-configuration.service.js +0 -186
  112. package/esm2015/lib/attachment-list/attachment-list.component.js +0 -209
  113. package/esm2015/lib/attachment-preview-list/attachment-preview-list.component.js +0 -49
  114. package/esm2015/lib/attachment.service.js +0 -276
  115. package/esm2015/lib/avatar/avatar.component.js +0 -172
  116. package/esm2015/lib/avatar-placeholder/avatar-placeholder.component.js +0 -78
  117. package/esm2015/lib/channel/channel.component.js +0 -50
  118. package/esm2015/lib/channel-header/channel-header.component.js +0 -86
  119. package/esm2015/lib/channel-list/channel-list-toggle.service.js +0 -73
  120. package/esm2015/lib/channel-list/channel-list.component.js +0 -67
  121. package/esm2015/lib/channel-preview/channel-preview.component.js +0 -167
  122. package/esm2015/lib/channel.service.js +0 -1487
  123. package/esm2015/lib/chat-client.service.js +0 -211
  124. package/esm2015/lib/edit-message-form/edit-message-form.component.js +0 -87
  125. package/esm2015/lib/get-channel-display-text.js +0 -15
  126. package/esm2015/lib/get-message-translation.js +0 -13
  127. package/esm2015/lib/icon/icon.component.js +0 -25
  128. package/esm2015/lib/icon-placeholder/icon-placeholder.component.js +0 -35
  129. package/esm2015/lib/loading-indicator/loading-indicator.component.js +0 -35
  130. package/esm2015/lib/loading-indicator-placeholder/loading-indicator-placeholder.component.js +0 -42
  131. package/esm2015/lib/message/message.component.js +0 -436
  132. package/esm2015/lib/message-actions-box/message-actions-box.component.js +0 -137
  133. package/esm2015/lib/message-actions.service.js +0 -114
  134. package/esm2015/lib/message-bounce-prompt/message-bounce-prompt.component.js +0 -80
  135. package/esm2015/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.js +0 -262
  136. package/esm2015/lib/message-input/message-input.component.js +0 -455
  137. package/esm2015/lib/message-input/textarea.directive.js +0 -90
  138. package/esm2015/lib/message-list/group-styles.js +0 -53
  139. package/esm2015/lib/message-list/image-load.service.js +0 -24
  140. package/esm2015/lib/message-list/message-list.component.js +0 -726
  141. package/esm2015/lib/message-preview.js +0 -7
  142. package/esm2015/lib/message-reactions/message-reactions.component.js +0 -266
  143. package/esm2015/lib/message-reactions.service.js +0 -45
  144. package/esm2015/lib/modal/modal.component.js +0 -74
  145. package/esm2015/lib/notification/notification.component.js +0 -24
  146. package/esm2015/lib/notification-list/notification-list.component.js +0 -38
  147. package/esm2015/lib/notification.service.js +0 -79
  148. package/esm2015/lib/read-by.js +0 -13
  149. package/esm2015/lib/theme.service.js +0 -122
  150. package/esm2015/lib/thread/thread.component.js +0 -55
  151. package/esm2015/lib/types.js +0 -2
  152. package/esm2015/lib/voice-recording/voice-recording-wavebar/voice-recording-wavebar.component.js +0 -192
  153. package/esm2015/lib/voice-recording/voice-recording.component.js +0 -115
  154. package/esm2015/public-api.js +0 -66
  155. package/fesm2015/stream-chat-angular.js.map +0 -1
  156. package/lib/channel-list/channel-list-toggle.service.d.ts +0 -40
  157. package/lib/message-list/image-load.service.d.ts +0 -15
  158. package/src/assets/EmojiOneColor.woff2 +0 -0
  159. package/src/assets/NotoColorEmoji-flags.woff2 +0 -0
  160. package/src/assets/Poweredby_100px-White_VertText.png +0 -0
  161. package/src/assets/str-chat__alert.svg +0 -1
  162. package/src/assets/str-chat__file-file.svg +0 -20
  163. package/src/assets/str-chat__icon-chevron-down.svg +0 -1
  164. package/src/assets/str-chat__icon-search.svg +0 -1
  165. package/src/assets/str-chat__icon-send.svg +0 -1
  166. package/src/assets/str-chat__icon-sprite.png +0 -0
  167. package/src/assets/str-chat__icon-sprite@1x.png +0 -0
  168. package/src/assets/str-chat__icon-sprite@2x.png +0 -0
  169. package/src/assets/str-chat__icon-sprite@3x.png +0 -0
  170. package/src/assets/str-chat__loading-indicator.svg +0 -23
  171. package/src/assets/str-chat__reaction-list-sprite@1x.png +0 -0
  172. package/src/assets/str-chat__reaction-list-sprite@2x.png +0 -0
  173. package/src/assets/str-chat__reaction-list-sprite@3x.png +0 -0
  174. package/src/assets/str-chat__reactions-sprite@1x.png +0 -0
  175. package/src/assets/str-chat__reactions-sprite@2x.png +0 -0
  176. package/src/assets/str-chat__reactions-sprite@3x.png +0 -0
  177. package/src/assets/styles/assets/EmojiOneColor.woff2 +0 -0
  178. package/src/assets/styles/assets/NotoColorEmoji-flags.woff2 +0 -0
  179. package/src/assets/styles/assets/Poweredby_100px-White_VertText.png +0 -0
  180. package/src/assets/styles/assets/str-chat__reaction-list-sprite@1x.png +0 -0
  181. package/src/assets/styles/assets/str-chat__reaction-list-sprite@2x.png +0 -0
  182. package/src/assets/styles/assets/str-chat__reaction-list-sprite@3x.png +0 -0
  183. package/src/assets/styles/scss/ActionsBox.scss +0 -56
  184. package/src/assets/styles/scss/Attachment.scss +0 -329
  185. package/src/assets/styles/scss/AttachmentActions.scss +0 -44
  186. package/src/assets/styles/scss/Audio.scss +0 -113
  187. package/src/assets/styles/scss/Avatar.scss +0 -79
  188. package/src/assets/styles/scss/Card.scss +0 -125
  189. package/src/assets/styles/scss/ChannelHeader.scss +0 -284
  190. package/src/assets/styles/scss/ChannelList.scss +0 -141
  191. package/src/assets/styles/scss/ChannelListMessenger.scss +0 -9
  192. package/src/assets/styles/scss/ChannelPreview.scss +0 -133
  193. package/src/assets/styles/scss/ChannelSearch.scss +0 -124
  194. package/src/assets/styles/scss/ChatDown.scss +0 -15
  195. package/src/assets/styles/scss/DateSeparator.scss +0 -51
  196. package/src/assets/styles/scss/EditMessageForm.scss +0 -112
  197. package/src/assets/styles/scss/EventComponent.scss +0 -48
  198. package/src/assets/styles/scss/Gallery.scss +0 -121
  199. package/src/assets/styles/scss/ImageCarousel.scss +0 -45
  200. package/src/assets/styles/scss/InfiniteScrollPaginator.scss +0 -6
  201. package/src/assets/styles/scss/LoadMoreButton.scss +0 -44
  202. package/src/assets/styles/scss/LoadingChannels.scss +0 -70
  203. package/src/assets/styles/scss/LoadingIndicator.scss +0 -38
  204. package/src/assets/styles/scss/Message.scss +0 -1283
  205. package/src/assets/styles/scss/MessageActions.scss +0 -137
  206. package/src/assets/styles/scss/MessageCommerce.scss +0 -608
  207. package/src/assets/styles/scss/MessageInput.scss +0 -398
  208. package/src/assets/styles/scss/MessageInputFlat.scss +0 -323
  209. package/src/assets/styles/scss/MessageList.scss +0 -244
  210. package/src/assets/styles/scss/MessageLivestream.scss +0 -338
  211. package/src/assets/styles/scss/MessageNotification.scss +0 -43
  212. package/src/assets/styles/scss/MessageRepliesCountButton.scss +0 -33
  213. package/src/assets/styles/scss/MessageTeam.scss +0 -644
  214. package/src/assets/styles/scss/Modal.scss +0 -78
  215. package/src/assets/styles/scss/ReactionList.scss +0 -197
  216. package/src/assets/styles/scss/ReactionSelector.scss +0 -218
  217. package/src/assets/styles/scss/SendButton.scss +0 -20
  218. package/src/assets/styles/scss/SimpleReactionsList.scss +0 -76
  219. package/src/assets/styles/scss/SmallMessageInput.scss +0 -171
  220. package/src/assets/styles/scss/Thread.scss +0 -381
  221. package/src/assets/styles/scss/Tooltip.scss +0 -41
  222. package/src/assets/styles/scss/TypingIndicator.scss +0 -80
  223. package/src/assets/styles/scss/VirtualMessage.scss +0 -288
  224. package/src/assets/styles/scss/_variables.scss +0 -161
  225. package/src/assets/styles/v2/css/index.css +0 -3
  226. package/src/assets/styles/v2/css/index.layout.css +0 -3
  227. package/src/assets/styles/v2/scss/_base.scss +0 -28
  228. package/src/assets/styles/v2/scss/index.scss +0 -37
  229. package/src/assets/styles/vendor/emoji-mart.scss +0 -514
  230. package/src/assets/styles/vendor/mml-react.scss +0 -2246
  231. package/src/assets/styles/vendor/react-file-utils.scss +0 -441
  232. package/src/assets/styles/vendor/react-image-gallery.scss +0 -237
  233. /package/{esm2015/assets/i18n/en.js → esm2020/assets/i18n/en.mjs} +0 -0
  234. /package/{esm2015/lib/injection-tokens.js → esm2020/lib/injection-tokens.mjs} +0 -0
  235. /package/{esm2015/lib/is-image-attachment.js → esm2020/lib/is-image-attachment.mjs} +0 -0
  236. /package/{esm2015/lib/is-image-file.js → esm2020/lib/is-image-file.mjs} +0 -0
  237. /package/{esm2015/lib/is-on-separate-date.js → esm2020/lib/is-on-separate-date.mjs} +0 -0
  238. /package/{esm2015/lib/list-users.js → esm2020/lib/list-users.mjs} +0 -0
  239. /package/{esm2015/lib/message-input/textarea.interface.js → esm2020/lib/message-input/textarea.interface.mjs} +0 -0
  240. /package/{esm2015/lib/parse-date.js → esm2020/lib/parse-date.mjs} +0 -0
  241. /package/{esm2015/stream-chat-angular.js → esm2020/stream-chat-angular.mjs} +0 -0
  242. /package/{stream-chat-angular.d.ts → index.d.ts} +0 -0
  243. /package/src/assets/styles/{v2/css → css}/emoji-mart.css +0 -0
  244. /package/src/assets/styles/{v2/css → css}/emoji-replacement.css +0 -0
  245. /package/src/assets/styles/{v2/scss → scss}/AttachmentList/AttachmentList-theme.scss +0 -0
  246. /package/src/assets/styles/{v2/scss → scss}/AttachmentPreviewList/AttachmentPreviewList-layout.scss +0 -0
  247. /package/src/assets/styles/{v2/scss → scss}/AttachmentPreviewList/AttachmentPreviewList-theme.scss +0 -0
  248. /package/src/assets/styles/{v2/scss → scss}/Autocomplete/Autocomplete-layout.scss +0 -0
  249. /package/src/assets/styles/{v2/scss → scss}/Autocomplete/Autocomplete-theme.scss +0 -0
  250. /package/src/assets/styles/{v2/scss → scss}/Avatar/Avatar-layout.scss +0 -0
  251. /package/src/assets/styles/{v2/scss → scss}/Avatar/Avatar-theme.scss +0 -0
  252. /package/src/assets/styles/{v2/scss → scss}/BaseImage/BaseImage-layout.scss +0 -0
  253. /package/src/assets/styles/{v2/scss → scss}/BaseImage/BaseImage-theme.scss +0 -0
  254. /package/src/assets/styles/{v2/scss → scss}/BaseImage/index.scss +0 -0
  255. /package/src/assets/styles/{v2/scss → scss}/Channel/Channel-layout.scss +0 -0
  256. /package/src/assets/styles/{v2/scss → scss}/Channel/Channel-theme.scss +0 -0
  257. /package/src/assets/styles/{v2/scss → scss}/ChannelHeader/ChannelHeader-layout.scss +0 -0
  258. /package/src/assets/styles/{v2/scss → scss}/ChannelHeader/ChannelHeader-theme.scss +0 -0
  259. /package/src/assets/styles/{v2/scss → scss}/ChannelList/ChannelList-layout.scss +0 -0
  260. /package/src/assets/styles/{v2/scss → scss}/ChannelList/ChannelList-theme.scss +0 -0
  261. /package/src/assets/styles/{v2/scss → scss}/ChannelPreview/ChannelPreview-layout.scss +0 -0
  262. /package/src/assets/styles/{v2/scss → scss}/ChannelPreview/ChannelPreview-theme.scss +0 -0
  263. /package/src/assets/styles/{v2/scss → scss}/ChannelSearch/ChannelSearch-layout.scss +0 -0
  264. /package/src/assets/styles/{v2/scss → scss}/ChannelSearch/ChannelSearch-theme.scss +0 -0
  265. /package/src/assets/styles/{v2/scss → scss}/EditMessageForm/EditMessageForm-layout.scss +0 -0
  266. /package/src/assets/styles/{v2/scss → scss}/EditMessageForm/EditMessageForm-theme.scss +0 -0
  267. /package/src/assets/styles/{v2/scss → scss}/ImageCarousel/ImageCarousel-layout.scss +0 -0
  268. /package/src/assets/styles/{v2/scss → scss}/ImageCarousel/ImageCarousel-theme.scss +0 -0
  269. /package/src/assets/styles/{v2/scss → scss}/LinkPreview/LinkPreview-layout.scss +0 -0
  270. /package/src/assets/styles/{v2/scss → scss}/LinkPreview/LinkPreview-theme.scss +0 -0
  271. /package/src/assets/styles/{v2/scss → scss}/LinkPreview/index.scss +0 -0
  272. /package/src/assets/styles/{v2/scss → scss}/LoadingIndicator/LoadingIndicator-layout.scss +0 -0
  273. /package/src/assets/styles/{v2/scss → scss}/LoadingIndicator/LoadingIndicator-theme.scss +0 -0
  274. /package/src/assets/styles/{v2/scss → scss}/Message/Message-theme.scss +0 -0
  275. /package/src/assets/styles/{v2/scss → scss}/MessageActionsBox/MessageActionsBox-layout.scss +0 -0
  276. /package/src/assets/styles/{v2/scss → scss}/MessageActionsBox/MessageActionsBox-theme.scss +0 -0
  277. /package/src/assets/styles/{v2/scss → scss}/MessageBouncePrompt/MessageBouncePrompt-layout.scss +0 -0
  278. /package/src/assets/styles/{v2/scss → scss}/MessageBouncePrompt/MessageBouncePrompt-theme.scss +0 -0
  279. /package/src/assets/styles/{v2/scss → scss}/MessageInput/MessageInput-layout.scss +0 -0
  280. /package/src/assets/styles/{v2/scss → scss}/MessageInput/MessageInput-theme.scss +0 -0
  281. /package/src/assets/styles/{v2/scss → scss}/MessageList/MessageList-layout.scss +0 -0
  282. /package/src/assets/styles/{v2/scss → scss}/MessageList/MessageList-theme.scss +0 -0
  283. /package/src/assets/styles/{v2/scss → scss}/MessageList/VirtualizedMessageList-layout.scss +0 -0
  284. /package/src/assets/styles/{v2/scss → scss}/MessageList/VirtualizedMessageList-theme.scss +0 -0
  285. /package/src/assets/styles/{v2/scss → scss}/MessageReactions/MessageReactions-layout.scss +0 -0
  286. /package/src/assets/styles/{v2/scss → scss}/MessageReactions/MessageReactions-theme.scss +0 -0
  287. /package/src/assets/styles/{v2/scss → scss}/MessageReactions/MessageReactionsSelector-layout.scss +0 -0
  288. /package/src/assets/styles/{v2/scss → scss}/MessageReactions/MessageReactionsSelector-theme.scss +0 -0
  289. /package/src/assets/styles/{v2/scss → scss}/Modal/Modal-layout.scss +0 -0
  290. /package/src/assets/styles/{v2/scss → scss}/Modal/Modal-theme.scss +0 -0
  291. /package/src/assets/styles/{v2/scss → scss}/Notification/MessageNotification-layout.scss +0 -0
  292. /package/src/assets/styles/{v2/scss → scss}/Notification/MessageNotification-theme.scss +0 -0
  293. /package/src/assets/styles/{v2/scss → scss}/Notification/Notification-layout.scss +0 -0
  294. /package/src/assets/styles/{v2/scss → scss}/Notification/Notification-theme.scss +0 -0
  295. /package/src/assets/styles/{v2/scss → scss}/Notification/NotificationList-layout.scss +0 -0
  296. /package/src/assets/styles/{v2/scss → scss}/Notification/NotificationList-theme.scss +0 -0
  297. /package/src/assets/styles/{v2/scss → scss}/Thread/Thread-layout.scss +0 -0
  298. /package/src/assets/styles/{v2/scss → scss}/Thread/Thread-theme.scss +0 -0
  299. /package/src/assets/styles/{v2/scss → scss}/Tooltip/Tooltip-layout.scss +0 -0
  300. /package/src/assets/styles/{v2/scss → scss}/Tooltip/Tooltip-theme.scss +0 -0
  301. /package/src/assets/styles/{v2/scss → scss}/TypingIndicator/TypingIndicator-layout.scss +0 -0
  302. /package/src/assets/styles/{v2/scss → scss}/TypingIndicator/TypingIndicator-theme.scss +0 -0
  303. /package/src/assets/styles/{v2/scss → scss}/_emoji-replacement.scss +0 -0
  304. /package/src/assets/styles/{v2/scss → scss}/_global-layout-variables.scss +0 -0
  305. /package/src/assets/styles/{v2/scss → scss}/_global-theme-variables.scss +0 -0
  306. /package/src/assets/styles/{v2/scss → scss}/_icons.scss +0 -0
  307. /package/src/assets/styles/{v2/scss → scss}/_palette-variables.scss +0 -0
  308. /package/src/assets/styles/{v2/scss → scss}/_utils.scss +0 -0
  309. /package/src/assets/styles/{v2/scss → scss}/common/CTAButton/CTAButton-layout.scss +0 -0
  310. /package/src/assets/styles/{v2/scss → scss}/common/CTAButton/CTAButton-theme.scss +0 -0
  311. /package/src/assets/styles/{v2/scss → scss}/common/CircleFAButton/CircleFAButton-layout.scss +0 -0
  312. /package/src/assets/styles/{v2/scss → scss}/common/CircleFAButton/CircleFAButton-theme.scss +0 -0
  313. /package/src/assets/styles/{v2/scss → scss}/index.layout.scss +0 -0
  314. /package/src/assets/styles/{v2/scss → scss}/vendor/emoji-mart.scss +0 -0
  315. /package/src/assets/styles/{v2/scss → scss}/vendor/react-image-gallery.scss +0 -0
@@ -4,7 +4,6 @@ import { ModalContext, DefaultStreamChatGenerics, AttachmentConfigration, VideoA
4
4
  import { ChannelService } from '../channel.service';
5
5
  import { CustomTemplatesService } from '../custom-templates.service';
6
6
  import { AttachmentConfigurationService } from '../attachment-configuration.service';
7
- import { ThemeService } from '../theme.service';
8
7
  import * as i0 from "@angular/core";
9
8
  /**
10
9
  * The `AttachmentList` component displays the attachments of a message
@@ -33,12 +32,11 @@ export declare class AttachmentListComponent implements OnChanges {
33
32
  orderedAttachments: Attachment<DefaultStreamChatGenerics>[];
34
33
  imagesToView: Attachment<DefaultStreamChatGenerics>[];
35
34
  imagesToViewCurrentIndex: number;
36
- themeVersion: '1' | '2';
37
35
  private modalContent;
38
36
  private attachmentConfigurations;
39
- constructor(customTemplatesService: CustomTemplatesService, channelService: ChannelService, attachmentConfigurationService: AttachmentConfigurationService, themeService: ThemeService);
37
+ constructor(customTemplatesService: CustomTemplatesService, channelService: ChannelService, attachmentConfigurationService: AttachmentConfigurationService);
40
38
  ngOnChanges(changes: SimpleChanges): void;
41
- trackByUrl(_: number, attachment: Attachment): unknown;
39
+ trackByUrl(_: number, attachment: Attachment): {} | undefined;
42
40
  isImage(attachment: Attachment): boolean;
43
41
  isSvg(attachment: Attachment): boolean;
44
42
  isFile(attachment: Attachment): boolean;
@@ -54,7 +52,7 @@ export declare class AttachmentListComponent implements OnChanges {
54
52
  trackByActionValue(_: number, item: Action): string | undefined;
55
53
  openImageModal(attachments: Attachment[], selectedIndex?: number): void;
56
54
  stepImages(dir: -1 | 1): void;
57
- trackByImageUrl(_: number, item: Attachment): unknown;
55
+ trackByImageUrl(_: number, item: Attachment): {} | undefined;
58
56
  getAttachmentContext(attachment: Attachment<DefaultStreamChatGenerics>): AttachmentContext;
59
57
  getImageAttachmentConfiguration(attachment: Attachment, type: 'gallery' | 'single', element: HTMLElement): ImageAttachmentConfiguration;
60
58
  getCarouselImageAttachmentConfiguration(attachment: Attachment, element: HTMLElement): ImageAttachmentConfiguration;
@@ -65,5 +63,5 @@ export declare class AttachmentListComponent implements OnChanges {
65
63
  private createGallery;
66
64
  private closeImageModal;
67
65
  static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentListComponent, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentListComponent, "stream-attachment-list", never, { "messageId": "messageId"; "parentMessageId": "parentMessageId"; "attachments": "attachments"; }, { "imageModalStateChange": "imageModalStateChange"; }, never, never>;
66
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentListComponent, "stream-attachment-list", never, { "messageId": "messageId"; "parentMessageId": "parentMessageId"; "attachments": "attachments"; }, { "imageModalStateChange": "imageModalStateChange"; }, never, never, false, never>;
69
67
  }
@@ -1,6 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
- import { ThemeService } from '../theme.service';
4
3
  import { AttachmentUpload } from '../types';
5
4
  import * as i0 from "@angular/core";
6
5
  /**
@@ -19,11 +18,10 @@ export declare class AttachmentPreviewListComponent {
19
18
  * An output to notify the parent component if the user wants to delete a file
20
19
  */
21
20
  readonly deleteAttachment: EventEmitter<AttachmentUpload<import("../types").DefaultStreamChatGenerics>>;
22
- themeVersion: '1' | '2';
23
- constructor(themeService: ThemeService);
21
+ constructor();
24
22
  attachmentUploadRetried(file: File): void;
25
23
  attachmentDeleted(upload: AttachmentUpload): void;
26
24
  trackByFile(_: number, item: AttachmentUpload): File;
27
25
  static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentPreviewListComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentPreviewListComponent, "stream-attachment-preview-list", never, { "attachmentUploads$": "attachmentUploads$"; }, { "retryAttachmentUpload": "retryAttachmentUpload"; "deleteAttachment": "deleteAttachment"; }, never, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentPreviewListComponent, "stream-attachment-preview-list", never, { "attachmentUploads$": "attachmentUploads$"; }, { "retryAttachmentUpload": "retryAttachmentUpload"; "deleteAttachment": "deleteAttachment"; }, never, never, false, never>;
29
27
  }
@@ -35,7 +35,6 @@ export declare class AttachmentService<T extends DefaultStreamChatGenerics = Def
35
35
  * You can add custom `image`, `video` and `file` attachments using this method.
36
36
  *
37
37
  * Note: If you just want to use your own CDN for file uploads, you don't necessary need this method, you can just specify you own upload function in the [`ChannelService`](./ChannelService.mdx)
38
- *
39
38
  * @param attachment
40
39
  */
41
40
  addAttachment(attachment: Attachment<T>): void;
@@ -63,5 +63,5 @@ export declare class AvatarComponent implements OnChanges, OnInit, OnChanges, Af
63
63
  ngAfterViewInit(): void;
64
64
  private getOtherMemberIfOneToOneChannel;
65
65
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "stream-avatar", never, { "name": "name"; "imageUrl": "imageUrl"; "size": "size"; "location": "location"; "channel": "channel"; "user": "user"; "type": "type"; "showOnlineIndicator": "showOnlineIndicator"; "initialsType": "initialsType"; }, {}, never, never>;
66
+ static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "stream-avatar", never, { "name": "name"; "imageUrl": "imageUrl"; "size": "size"; "location": "location"; "channel": "channel"; "user": "user"; "type": "type"; "showOnlineIndicator": "showOnlineIndicator"; "initialsType": "initialsType"; }, {}, never, never, false, never>;
67
67
  }
@@ -48,5 +48,5 @@ export declare class AvatarPlaceholderComponent implements OnChanges {
48
48
  constructor(customTemplatesService: CustomTemplatesService);
49
49
  ngOnChanges(): void;
50
50
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarPlaceholderComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<AvatarPlaceholderComponent, "stream-avatar-placeholder", never, { "name": "name"; "imageUrl": "imageUrl"; "size": "size"; "location": "location"; "channel": "channel"; "user": "user"; "type": "type"; "initialsType": "initialsType"; "showOnlineIndicator": "showOnlineIndicator"; }, {}, never, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<AvatarPlaceholderComponent, "stream-avatar-placeholder", never, { "name": "name"; "imageUrl": "imageUrl"; "size": "size"; "location": "location"; "channel": "channel"; "user": "user"; "type": "type"; "initialsType": "initialsType"; "showOnlineIndicator": "showOnlineIndicator"; }, {}, never, never, false, never>;
52
52
  }
@@ -18,5 +18,5 @@ export declare class ChannelComponent {
18
18
  theme$: Observable<string>;
19
19
  constructor(channelService: ChannelService, themeService: ThemeService, customTemplatesService: CustomTemplatesService);
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ChannelComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<ChannelComponent, "stream-channel", never, {}, {}, never, ["*", "[name=\"thread\"]"]>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChannelComponent, "stream-channel", never, {}, {}, never, ["*", "[name=\"thread\"]"], false, never>;
22
22
  }
@@ -1,6 +1,5 @@
1
1
  import { ChangeDetectorRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
2
  import { Channel } from 'stream-chat';
3
- import { ChannelListToggleService } from '../channel-list/channel-list-toggle.service';
4
3
  import { ChannelService } from '../channel.service';
5
4
  import { ChatClientService } from '../chat-client.service';
6
5
  import { CustomTemplatesService } from '../custom-templates.service';
@@ -11,7 +10,6 @@ import * as i0 from "@angular/core";
11
10
  */
12
11
  export declare class ChannelHeaderComponent implements OnInit, OnDestroy {
13
12
  private channelService;
14
- private channelListToggleService;
15
13
  private customTemplatesService;
16
14
  private cdRef;
17
15
  private chatClientService;
@@ -20,10 +18,9 @@ export declare class ChannelHeaderComponent implements OnInit, OnDestroy {
20
18
  activeChannel: Channel<DefaultStreamChatGenerics> | undefined;
21
19
  canReceiveConnectEvents: boolean | undefined;
22
20
  private subscriptions;
23
- constructor(channelService: ChannelService, channelListToggleService: ChannelListToggleService, customTemplatesService: CustomTemplatesService, cdRef: ChangeDetectorRef, chatClientService: ChatClientService);
21
+ constructor(channelService: ChannelService, customTemplatesService: CustomTemplatesService, cdRef: ChangeDetectorRef, chatClientService: ChatClientService);
24
22
  ngOnInit(): void;
25
23
  ngOnDestroy(): void;
26
- toggleMenu(event: Event): void;
27
24
  getChannelActionsContext(): ChannelActionsContext;
28
25
  getChannelInfoContext(): ChannelHeaderInfoContext;
29
26
  get memberCountParam(): {
@@ -35,5 +32,5 @@ export declare class ChannelHeaderComponent implements OnInit, OnDestroy {
35
32
  get displayText(): string | undefined;
36
33
  get avatarName(): string | undefined;
37
34
  static ɵfac: i0.ɵɵFactoryDeclaration<ChannelHeaderComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<ChannelHeaderComponent, "stream-channel-header", never, {}, {}, never, ["*"]>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChannelHeaderComponent, "stream-channel-header", never, {}, {}, never, ["*"], false, never>;
39
36
  }
@@ -1,36 +1,31 @@
1
- import { AfterViewInit, OnDestroy, TemplateRef } from '@angular/core';
1
+ import { OnDestroy, TemplateRef } from '@angular/core';
2
2
  import { Observable, Subscription } from 'rxjs';
3
3
  import { Channel } from 'stream-chat';
4
4
  import { ChannelService } from '../channel.service';
5
5
  import { CustomTemplatesService } from '../custom-templates.service';
6
6
  import { ThemeService } from '../theme.service';
7
7
  import { ChannelPreviewContext, DefaultStreamChatGenerics } from '../types';
8
- import { ChannelListToggleService } from './channel-list-toggle.service';
9
8
  import * as i0 from "@angular/core";
10
9
  /**
11
10
  * The `ChannelList` component renders the list of channels.
12
11
  */
13
- export declare class ChannelListComponent implements AfterViewInit, OnDestroy {
12
+ export declare class ChannelListComponent implements OnDestroy {
14
13
  private channelService;
15
- private channelListToggleService;
16
14
  private customTemplatesService;
17
15
  private themeService;
18
16
  channels$: Observable<Channel<DefaultStreamChatGenerics>[] | undefined>;
19
17
  isError$: Observable<boolean>;
20
18
  isInitializing$: Observable<boolean>;
21
19
  isLoadingMoreChannels: boolean;
22
- isOpen$: Observable<boolean>;
23
20
  hasMoreChannels$: Observable<boolean>;
24
21
  customChannelPreviewTemplate: TemplateRef<ChannelPreviewContext> | undefined;
25
22
  theme$: Observable<string>;
26
23
  subscriptions: Subscription[];
27
24
  private container;
28
- constructor(channelService: ChannelService, channelListToggleService: ChannelListToggleService, customTemplatesService: CustomTemplatesService, themeService: ThemeService);
29
- ngAfterViewInit(): void;
25
+ constructor(channelService: ChannelService, customTemplatesService: CustomTemplatesService, themeService: ThemeService);
30
26
  ngOnDestroy(): void;
31
27
  loadMoreChannels(): Promise<void>;
32
28
  trackByChannelId(index: number, item: Channel<DefaultStreamChatGenerics>): string;
33
- channelSelected(): void;
34
29
  static ɵfac: i0.ɵɵFactoryDeclaration<ChannelListComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<ChannelListComponent, "stream-channel-list", never, {}, {}, never, ["[channel-list-top]", "[channel-list-bottom]"]>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChannelListComponent, "stream-channel-list", never, {}, {}, never, ["[channel-list-top]", "[channel-list-bottom]"], false, never>;
36
31
  }
@@ -43,5 +43,5 @@ export declare class ChannelPreviewComponent implements OnInit, OnDestroy {
43
43
  private setLatestMessage;
44
44
  private updateUnreadState;
45
45
  static ɵfac: i0.ɵɵFactoryDeclaration<ChannelPreviewComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<ChannelPreviewComponent, "stream-channel-preview", never, { "channel": "channel"; }, {}, never, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChannelPreviewComponent, "stream-channel-preview", never, { "channel": "channel"; }, {}, never, never, false, never>;
47
47
  }
@@ -1,6 +1,6 @@
1
1
  import { NgZone } from '@angular/core';
2
2
  import { BehaviorSubject, Observable } from 'rxjs';
3
- import { Attachment, Channel, ChannelFilters, ChannelOptions, ChannelResponse, ChannelSort, Event, FormatMessageResponse, MessageResponse, ReactionResponse, UserResponse } from 'stream-chat';
3
+ import { Attachment, Channel, ChannelFilters, ChannelOptions, ChannelResponse, ChannelSort, Event, FormatMessageResponse, MessageResponse, QueryChannelAPIResponse, ReactionResponse, UserResponse } from 'stream-chat';
4
4
  import { ChatClientService, ClientEvent } from './chat-client.service';
5
5
  import { NotificationService } from './notification.service';
6
6
  import { AttachmentUpload, ChannelQueryState, DefaultStreamChatGenerics, MessageInput, MessageReactionType, NextPageConfiguration, StreamMessage } from './types';
@@ -41,7 +41,6 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
41
41
  *
42
42
  * Our platform documentation covers the topic of [channel events](https://getstream.io/chat/docs/javascript/event_object/?language=javascript#events) in depth.
43
43
  *
44
- * By default if an error occurs during channel load, the Observable will emit an error, which will close the stream. Users will have to reload the page to be able to reinitialize the `ChannelService`. If you don't want the streams to be closed, you can pass `options.keepAliveChannels$OnError = true` to the `init` method. In that case the `channelQueryState$` stream will emit the status of the latest channel load request.
45
44
  */
46
45
  channels$: Observable<Channel<T>[] | undefined>;
47
46
  /**
@@ -243,7 +242,6 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
243
242
  /**
244
243
  * Sets the given `channel` as active and marks it as read.
245
244
  * If the channel wasn't previously part of the channel, it will be added to the beginning of the list.
246
- *
247
245
  * @param channel
248
246
  */
249
247
  setAsActiveChannel(channel: Channel<T>): void;
@@ -261,7 +259,7 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
261
259
  * Loads the next page of messages of the active channel. The page size can be set in the [query option](https://getstream.io/chat/docs/javascript/query_channels/?language=javascript#query-options) object.
262
260
  * @param direction
263
261
  */
264
- loadMoreMessages(direction?: 'older' | 'newer'): false | Promise<import("stream-chat").QueryChannelAPIResponse<T>> | undefined;
262
+ loadMoreMessages(direction?: 'older' | 'newer'): false | Promise<QueryChannelAPIResponse<T>> | undefined;
265
263
  /**
266
264
  * Loads the next page of messages of the active thread. The page size can be set in the [query option](https://getstream.io/chat/docs/javascript/query_channels/?language=javascript#query-options) object.
267
265
  * @param direction
@@ -275,9 +273,7 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
275
273
  * @param shouldSetActiveChannel Decides if the first channel in the result should be made as an active channel, or no channel should be marked as active
276
274
  * @returns the list of channels found by the query
277
275
  */
278
- init(filters: ChannelFilters<T>, sort?: ChannelSort<T>, options?: ChannelOptions & {
279
- keepAliveChannels$OnError?: boolean;
280
- }, shouldSetActiveChannel?: boolean): Promise<Channel<T>[]>;
276
+ init(filters: ChannelFilters<T>, sort?: ChannelSort<T>, options?: ChannelOptions, shouldSetActiveChannel?: boolean): Promise<Channel<T>[]>;
281
277
  /**
282
278
  * Resets the `activeChannel$`, `channels$` and `activeChannelMessages$` Observables. Useful when disconnecting a chat user, use in combination with [`disconnectUser`](./ChatClientService.mdx/#disconnectuser).
283
279
  */
@@ -308,12 +304,12 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
308
304
  * @param quotedMessageId Id of the message to quote (if sending a quote reply)
309
305
  * @param customData
310
306
  */
311
- sendMessage(text: string, attachments?: Attachment<T>[], mentionedUsers?: UserResponse<T>[], parentId?: string | undefined, quotedMessageId?: string | undefined, customData?: undefined | Partial<T['messageType']>): Promise<NonNullable<StreamMessage<T>>>;
307
+ sendMessage(text: string, attachments?: Attachment<T>[], mentionedUsers?: UserResponse<T>[], parentId?: string | undefined, quotedMessageId?: string | undefined, customData?: undefined | Partial<T['messageType']>): Promise<StreamMessage<T>>;
312
308
  /**
313
309
  * Resends the given message to the active channel
314
310
  * @param message The message to resend
315
311
  */
316
- resendMessage(message: StreamMessage): Promise<NonNullable<StreamMessage<T>>>;
312
+ resendMessage(message: StreamMessage): Promise<StreamMessage<T>>;
317
313
  /**
318
314
  * Updates the message in the active channel
319
315
  * @param message Mesage to be updated
@@ -348,7 +344,7 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
348
344
  created_at?: string | undefined;
349
345
  deleted_at?: string | undefined;
350
346
  deleted_reply_count?: number | undefined;
351
- i18n?: (import("stream-chat").RequireAtLeastOne<Record<"_text" | "so_text" | "hr_text" | "th_text" | "tr_text" | "no_text" | "af_text" | "am_text" | "ar_text" | "az_text" | "bg_text" | "bn_text" | "bs_text" | "cs_text" | "da_text" | "de_text" | "el_text" | "en_text" | "es_text" | "es-MX_text" | "et_text" | "fa_text" | "fa-AF_text" | "fi_text" | "fr_text" | "fr-CA_text" | "ha_text" | "he_text" | "hi_text" | "hu_text" | "id_text" | "it_text" | "ja_text" | "ka_text" | "ko_text" | "lt_text" | "lv_text" | "ms_text" | "nl_text" | "pl_text" | "ps_text" | "pt_text" | "ro_text" | "ru_text" | "sk_text" | "sl_text" | "sq_text" | "sr_text" | "sv_text" | "sw_text" | "ta_text" | "tl_text" | "uk_text" | "ur_text" | "vi_text" | "zh_text" | "zh-TW_text", string>> & {
347
+ i18n?: (import("stream-chat").RequireAtLeastOne<Record<"_text" | "id_text" | "hr_text" | "th_text" | "tr_text" | "so_text" | "no_text" | "af_text" | "am_text" | "ar_text" | "az_text" | "bg_text" | "bn_text" | "bs_text" | "cs_text" | "da_text" | "de_text" | "el_text" | "en_text" | "es_text" | "es-MX_text" | "et_text" | "fa_text" | "fa-AF_text" | "fi_text" | "fr_text" | "fr-CA_text" | "ha_text" | "he_text" | "hi_text" | "hu_text" | "it_text" | "ja_text" | "ka_text" | "ko_text" | "lt_text" | "lv_text" | "ms_text" | "nl_text" | "pl_text" | "ps_text" | "pt_text" | "ro_text" | "ru_text" | "sk_text" | "sl_text" | "sq_text" | "sr_text" | "sv_text" | "sw_text" | "ta_text" | "tl_text" | "uk_text" | "ur_text" | "vi_text" | "zh_text" | "zh-TW_text", string>> & {
352
348
  language: import("stream-chat").TranslationLanguages;
353
349
  }) | undefined;
354
350
  latest_reactions?: ReactionResponse<T>[] | undefined;
@@ -376,16 +372,13 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
376
372
  attachmentType: import("stream-chat").UR;
377
373
  channelType: import("stream-chat").UR;
378
374
  commandType: import("stream-chat").LiteralStringForUnion;
379
- /**
380
- * The provided method will be called before a message is sent to Stream's API for update. You can use this hook to tranfrom or enrich the message being updated.
381
- */
382
375
  eventType: import("stream-chat").UR;
383
376
  messageType: {};
384
377
  pollOptionType: import("stream-chat").UR;
385
378
  pollType: import("stream-chat").UR;
386
379
  reactionType: import("stream-chat").UR;
387
380
  userType: import("stream-chat").UR;
388
- }>, "created_at" | "pinned_at" | "updated_at" | "status"> & import("stream-chat").UR & {
381
+ }>, "status" | "created_at" | "pinned_at" | "updated_at"> & import("stream-chat").UR & {
389
382
  created_at: Date;
390
383
  pinned_at: Date | null;
391
384
  status: string;
@@ -61,7 +61,7 @@ export declare class ChatClientService<T extends DefaultStreamChatGenerics = Def
61
61
  * </ul>
62
62
  * @param clientOptions Setting to provide to the Stream client instance
63
63
  */
64
- init(apiKey: string, userOrId: string | OwnUserResponse<T> | UserResponse<T> | undefined, userTokenOrProvider: TokenOrProvider | 'anonymous' | 'guest', clientOptions?: StreamChatOptions): ConnectAPIResponse<T>;
64
+ init(apiKey: string, userOrId: string | OwnUserResponse<T> | UserResponse<T> | undefined, userTokenOrProvider: TokenOrProvider, clientOptions?: StreamChatOptions): ConnectAPIResponse<T>;
65
65
  /**
66
66
  * Disconnects the current user, and closes the WebSocket connection. Useful when disconnecting a chat user, use in combination with [`reset`](./ChannelService.mdx/#reset).
67
67
  */
@@ -27,5 +27,5 @@ export declare class EditMessageFormComponent implements OnInit, OnDestroy {
27
27
  sendClicked(): void;
28
28
  dismissed(): void;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<EditMessageFormComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<EditMessageFormComponent, "stream-edit-message-form", never, {}, {}, never, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditMessageFormComponent, "stream-edit-message-form", never, {}, {}, never, never, false, never>;
31
31
  }
@@ -1,3 +1,3 @@
1
1
  import { Channel, FormatMessageResponse, MessageResponse, User } from 'stream-chat';
2
2
  import { DefaultStreamChatGenerics, StreamMessage } from './types';
3
- export declare const getMessageTranslation: <T extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(message?: StreamMessage<DefaultStreamChatGenerics> | MessageResponse<import("stream-chat").DefaultGenerics> | FormatMessageResponse<import("stream-chat").DefaultGenerics> | undefined, channel?: Channel<T> | undefined, user?: User<import("stream-chat").DefaultGenerics> | undefined) => string | undefined;
3
+ export declare const getMessageTranslation: <T extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(message?: StreamMessage | MessageResponse | FormatMessageResponse, channel?: Channel<T> | undefined, user?: User) => string | undefined;
@@ -14,5 +14,5 @@ export declare class IconComponent {
14
14
  size: number | undefined;
15
15
  constructor();
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "stream-icon", never, { "icon": "icon"; "size": "size"; }, {}, never, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "stream-icon", never, { "icon": "icon"; "size": "size"; }, {}, never, never, false, never>;
18
18
  }
@@ -20,5 +20,5 @@ export declare class IconPlaceholderComponent implements OnChanges {
20
20
  constructor(customTemplatesService: CustomTemplatesService);
21
21
  ngOnChanges(): void;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<IconPlaceholderComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<IconPlaceholderComponent, "stream-icon-placeholder", never, { "icon": "icon"; "size": "size"; }, {}, never, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconPlaceholderComponent, "stream-icon-placeholder", never, { "icon": "icon"; "size": "size"; }, {}, never, never, false, never>;
24
24
  }
@@ -14,5 +14,5 @@ export declare class LoadingIndicatorComponent {
14
14
  linearGradientId: string;
15
15
  constructor();
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<LoadingIndicatorComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<LoadingIndicatorComponent, "stream-loading-indicator", never, { "size": "size"; "color": "color"; }, {}, never, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoadingIndicatorComponent, "stream-loading-indicator", never, { "size": "size"; "color": "color"; }, {}, never, never, false, never>;
18
18
  }
@@ -17,5 +17,5 @@ export declare class LoadingIndicatorPlaceholderComponent {
17
17
  constructor(customTemplatesService: CustomTemplatesService);
18
18
  getLoadingIndicatorContext(): LoadingIndicatorContext;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<LoadingIndicatorPlaceholderComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<LoadingIndicatorPlaceholderComponent, "stream-loading-indicator-placeholder", never, { "size": "size"; "color": "color"; }, {}, never, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoadingIndicatorPlaceholderComponent, "stream-loading-indicator-placeholder", never, { "size": "size"; "color": "color"; }, {}, never, never, false, never>;
21
21
  }
@@ -1,14 +1,13 @@
1
- import { OnChanges, SimpleChanges, OnDestroy, OnInit, ChangeDetectorRef, NgZone, AfterViewInit } from '@angular/core';
1
+ import { OnChanges, SimpleChanges, OnDestroy, OnInit, ChangeDetectorRef, AfterViewInit } from '@angular/core';
2
2
  import { UserResponse } from 'stream-chat';
3
3
  import { ChannelService } from '../channel.service';
4
4
  import { ChatClientService } from '../chat-client.service';
5
- import { AttachmentListContext, MentionTemplateContext, MessageActionsBoxContext, MessageReactionsContext, DefaultStreamChatGenerics, StreamMessage, DeliveredStatusContext, SendingStatusContext, ReadStatusContext, CustomMessageActionItem, SystemMessageContext, CustomMetadataContext } from '../types';
5
+ import { AttachmentListContext, MentionTemplateContext, MessageActionsBoxContext, MessageReactionsContext, DefaultStreamChatGenerics, StreamMessage, DeliveredStatusContext, SendingStatusContext, ReadStatusContext, SystemMessageContext, CustomMetadataContext } from '../types';
6
6
  import { CustomTemplatesService } from '../custom-templates.service';
7
- import { ThemeService } from '../theme.service';
8
- import { NgxPopperjsTriggers, NgxPopperjsPlacements, NgxPopperjsContentComponent } from 'ngx-popperjs';
9
7
  import { DateParserService } from '../date-parser.service';
10
8
  import { MessageService } from '../message.service';
11
9
  import { MessageActionsService } from '../message-actions.service';
10
+ import { NgxFloatUiContentComponent } from 'ngx-float-ui';
12
11
  import * as i0 from "@angular/core";
13
12
  declare type MessagePart = {
14
13
  content: string;
@@ -24,7 +23,6 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
24
23
  customTemplatesService: CustomTemplatesService;
25
24
  private cdRef;
26
25
  private dateParser;
27
- private ngZone;
28
26
  private messageService;
29
27
  private messageActionsService;
30
28
  /**
@@ -47,13 +45,6 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
47
45
  * Highlighting is used to add visual emphasize to a message when jumping to the message
48
46
  */
49
47
  isHighlighted: boolean;
50
- /**
51
- * A list of custom message actions to be displayed in the action box
52
- *
53
- * @deprecated please use the [`MessageActionsService`](https://getstream.io/chat/docs/sdk/angular/services/MessageActionsService) to set this property.
54
- */
55
- customActions: CustomMessageActionItem[];
56
- readonly themeVersion: '1' | '2';
57
48
  canReceiveReadEvents: boolean | undefined;
58
49
  canReactToMessage: boolean | undefined;
59
50
  isActionBoxOpen: boolean;
@@ -62,9 +53,6 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
62
53
  visibleMessageActionsCount: number;
63
54
  messageTextParts: MessagePart[] | undefined;
64
55
  messageText?: string;
65
- popperTriggerClick: NgxPopperjsTriggers;
66
- popperTriggerHover: NgxPopperjsTriggers;
67
- popperPlacementAuto: NgxPopperjsPlacements;
68
56
  shouldDisplayTranslationNotice: boolean;
69
57
  displayedMessageTextContent: 'original' | 'translation';
70
58
  imageAttachmentModalState: 'opened' | 'closed';
@@ -89,16 +77,15 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
89
77
  private subscriptions;
90
78
  private isViewInited;
91
79
  private userId?;
92
- private container;
93
80
  private readonly urlRegexp;
94
81
  private emojiRegexp;
95
- constructor(chatClientService: ChatClientService, channelService: ChannelService, customTemplatesService: CustomTemplatesService, cdRef: ChangeDetectorRef, themeService: ThemeService, dateParser: DateParserService, ngZone: NgZone, messageService: MessageService, messageActionsService: MessageActionsService);
82
+ constructor(chatClientService: ChatClientService, channelService: ChannelService, customTemplatesService: CustomTemplatesService, cdRef: ChangeDetectorRef, dateParser: DateParserService, messageService: MessageService, messageActionsService: MessageActionsService);
96
83
  ngOnInit(): void;
97
84
  ngOnChanges(changes: SimpleChanges): void;
98
85
  ngAfterViewInit(): void;
99
86
  ngOnDestroy(): void;
100
87
  messageActionsClicked(): void;
101
- messageActionsBoxClicked(popperContent: NgxPopperjsContentComponent): void;
88
+ messageActionsBoxClicked(floatingContent: NgxFloatUiContentComponent): void;
102
89
  getAttachmentListContext(): AttachmentListContext;
103
90
  getMessageContext(): SystemMessageContext;
104
91
  getQuotedMessageAttachmentListContext(): AttachmentListContext;
@@ -123,6 +110,6 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
123
110
  private setIsSentByCurrentUser;
124
111
  private setLastReadUser;
125
112
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, never>;
126
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "stream-message", never, { "message": "message"; "enabledMessageActions": "enabledMessageActions"; "isLastSentMessage": "isLastSentMessage"; "mode": "mode"; "isHighlighted": "isHighlighted"; "customActions": "customActions"; }, {}, never, never>;
113
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "stream-message", never, { "message": "message"; "enabledMessageActions": "enabledMessageActions"; "isLastSentMessage": "isLastSentMessage"; "mode": "mode"; "isHighlighted": "isHighlighted"; }, {}, never, never, false, never>;
127
114
  }
128
115
  export {};
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
2
  import { CustomTemplatesService } from '../custom-templates.service';
3
3
  import { CustomMessageActionItem, MessageActionBoxItemContext, MessageActionItem, MessageInputContext, StreamMessage } from '../types';
4
4
  import { MessageActionsService } from '../message-actions.service';
@@ -10,11 +10,6 @@ export declare class MessageActionsBoxComponent implements OnInit, OnChanges, On
10
10
  readonly customTemplatesService: CustomTemplatesService;
11
11
  private messageActionsService;
12
12
  private cdRef;
13
- /**
14
- * Indicates if the list should be opened or closed. Adding a UI element to open and close the list is the parent's component responsibility.
15
- * @deprecated No need for this since [theme-v2](../theming/introduction.mdx)
16
- */
17
- isOpen: boolean;
18
13
  /**
19
14
  * Indicates if the message actions are belonging to a message that was sent by the current user or not.
20
15
  */
@@ -27,34 +22,11 @@ export declare class MessageActionsBoxComponent implements OnInit, OnChanges, On
27
22
  * The list of [channel capabilities](https://getstream.io/chat/docs/javascript/channel_capabilities/?language=javascript) that are enabled for the current user, the list of [supported interactions](../concepts/message-interactions.mdx) can be found in our message interaction guide. Unathorized actions won't be displayed on the UI.
28
23
  */
29
24
  enabledActions: string[];
30
- /**
31
- * A list of custom message actions to be displayed in the action box
32
- *
33
- * In the next major release this will be released with `messageReactionsService.customActions$`
34
- *
35
- * More information: https://getstream.io/chat/docs/sdk/angular/services/MessageActionsService
36
- */
37
- customActions: CustomMessageActionItem[];
38
- /**
39
- * The number of authorized actions (it can be less or equal than the number of enabled actions)
40
- *
41
- * @deprecated components should use `messageReactionsService.getAuthorizedMessageActionsCount` method
42
- *
43
- * More information: https://getstream.io/chat/docs/sdk/angular/services/MessageActionsService
44
- */
45
- readonly displayedActionsCount: EventEmitter<number>;
46
- /**
47
- * An event which emits `true` if the edit message modal is open, and `false` when it is closed.
48
- *
49
- * @deprecated components should use `messageReactionsService.messageToEdit$` Observable
50
- *
51
- * More information: https://getstream.io/chat/docs/sdk/angular/services/MessageActionsService
52
- */
53
- readonly isEditing: EventEmitter<boolean>;
54
25
  messageInputTemplate: TemplateRef<MessageInputContext> | undefined;
55
26
  messageActionItemTemplate: TemplateRef<MessageActionBoxItemContext> | undefined;
56
27
  visibleMessageActionItems: (MessageActionItem | CustomMessageActionItem)[];
57
28
  isEditModalOpen: boolean;
29
+ customActions: CustomMessageActionItem[];
58
30
  private readonly messageActionItems;
59
31
  private subscriptions;
60
32
  private isViewInited;
@@ -64,9 +36,9 @@ export declare class MessageActionsBoxComponent implements OnInit, OnChanges, On
64
36
  ngAfterViewInit(): void;
65
37
  ngOnDestroy(): void;
66
38
  getActionLabel(actionLabelOrTranslationKey: ((message: StreamMessage) => string) | string): string;
67
- getMessageActionTemplateContext(item: MessageActionItem | CustomMessageActionItem): MessageActionBoxItemContext<any>;
39
+ getMessageActionTemplateContext(item: MessageActionItem | CustomMessageActionItem): MessageActionBoxItemContext;
68
40
  trackByActionName(_: number, item: MessageActionItem | CustomMessageActionItem): string;
69
41
  private setVisibleActions;
70
42
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageActionsBoxComponent, never>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageActionsBoxComponent, "stream-message-actions-box", never, { "isOpen": "isOpen"; "isMine": "isMine"; "message": "message"; "enabledActions": "enabledActions"; "customActions": "customActions"; }, { "displayedActionsCount": "displayedActionsCount"; "isEditing": "isEditing"; }, never, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageActionsBoxComponent, "stream-message-actions-box", never, { "isMine": "isMine"; "message": "message"; "enabledActions": "enabledActions"; }, {}, never, never, false, never>;
72
44
  }
@@ -30,7 +30,6 @@ export declare class MessageActionsService<T extends DefaultStreamChatGenerics =
30
30
  constructor(chatClientService: ChatClientService, notificationService: NotificationService, channelService: ChannelService);
31
31
  /**
32
32
  * This method returns how many authorized actions are available to the given message
33
- *
34
33
  * @param message
35
34
  * @param enabledActions
36
35
  * @returns the count
@@ -24,5 +24,5 @@ export declare class MessageBouncePromptComponent implements OnDestroy {
24
24
  deleteMessage(): Promise<void>;
25
25
  editMessage(): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageBouncePromptComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageBouncePromptComponent, "stream-message-bounce-prompt", never, {}, {}, never, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageBouncePromptComponent, "stream-message-bounce-prompt", never, {}, {}, never, never, false, never>;
28
28
  }
@@ -60,7 +60,6 @@ export declare class AutocompleteTextareaComponent implements TextareaInterface,
60
60
  readonly userMentions: EventEmitter<UserResponse<import("stream-chat").DefaultGenerics>[]>;
61
61
  mentionAutocompleteItemTemplate: TemplateRef<MentionAutcompleteListItemContext> | undefined;
62
62
  commandAutocompleteItemTemplate: TemplateRef<CommandAutocompleteListItemContext> | undefined;
63
- themeVersion: '1' | '2';
64
63
  private readonly autocompleteKey;
65
64
  private readonly mentionTriggerChar;
66
65
  private readonly commandTriggerChar;
@@ -89,5 +88,5 @@ export declare class AutocompleteTextareaComponent implements TextareaInterface,
89
88
  private updateMentionOptions;
90
89
  private updateMentionedUsersFromText;
91
90
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteTextareaComponent, never>;
92
- static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteTextareaComponent, "stream-autocomplete-textarea", never, { "value": "value"; "placeholder": "placeholder"; "areMentionsEnabled": "areMentionsEnabled"; "inputMode": "inputMode"; "mentionScope": "mentionScope"; "autoFocus": "autoFocus"; }, { "valueChange": "valueChange"; "send": "send"; "userMentions": "userMentions"; }, never, never>;
91
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteTextareaComponent, "stream-autocomplete-textarea", never, { "value": "value"; "placeholder": "placeholder"; "areMentionsEnabled": "areMentionsEnabled"; "inputMode": "inputMode"; "mentionScope": "mentionScope"; "autoFocus": "autoFocus"; }, { "valueChange": "valueChange"; "send": "send"; "userMentions": "userMentions"; }, never, never, false, never>;
93
92
  }
@@ -10,7 +10,6 @@ import { MessageInputConfigService } from './message-input-config.service';
10
10
  import { TextareaInterface } from './textarea.interface';
11
11
  import { EmojiInputService } from './emoji-input.service';
12
12
  import { CustomTemplatesService } from '../custom-templates.service';
13
- import { ThemeService } from '../theme.service';
14
13
  import * as i0 from "@angular/core";
15
14
  /**
16
15
  * The `MessageInput` component displays an input where users can type their messages and upload files, and sends the message to the active channel. The component can be used to compose new messages or update existing ones. To send messages, the chat user needs to have the necessary [channel capability](https://getstream.io/chat/docs/javascript/channel_capabilities/?language=javascript).
@@ -85,7 +84,6 @@ export declare class MessageInputComponent implements OnInit, OnChanges, OnDestr
85
84
  customAttachmentUploadTemplate: TemplateRef<CustomAttachmentUploadContext> | undefined;
86
85
  attachmentPreviewListTemplate: TemplateRef<AttachmentPreviewListContext> | undefined;
87
86
  textareaPlaceholder: string;
88
- themeVersion: '1' | '2';
89
87
  fileInputId: string;
90
88
  private fileInput;
91
89
  private textareaAnchor;
@@ -97,7 +95,7 @@ export declare class MessageInputComponent implements OnInit, OnChanges, OnDestr
97
95
  private sendMessageSubcription;
98
96
  private readonly defaultTextareaPlaceholder;
99
97
  private readonly slowModeTextareaPlaceholder;
100
- constructor(channelService: ChannelService, notificationService: NotificationService, attachmentService: AttachmentService, configService: MessageInputConfigService, textareaType: Type<TextareaInterface>, componentFactoryResolver: ComponentFactoryResolver, cdRef: ChangeDetectorRef, chatClient: ChatClientService, emojiInputService: EmojiInputService, customTemplatesService: CustomTemplatesService, themeService: ThemeService);
98
+ constructor(channelService: ChannelService, notificationService: NotificationService, attachmentService: AttachmentService, configService: MessageInputConfigService, textareaType: Type<TextareaInterface>, componentFactoryResolver: ComponentFactoryResolver, cdRef: ChangeDetectorRef, chatClient: ChatClientService, emojiInputService: EmojiInputService, customTemplatesService: CustomTemplatesService);
101
99
  ngOnInit(): void;
102
100
  ngAfterViewInit(): void;
103
101
  ngOnChanges(changes: SimpleChanges): void;
@@ -117,7 +115,7 @@ export declare class MessageInputComponent implements OnInit, OnChanges, OnDestr
117
115
  member_count?: number | undefined;
118
116
  subtitle?: string | undefined;
119
117
  };
120
- commandType: string & {};
118
+ commandType: string;
121
119
  eventType: import("stream-chat").UR & import("../types").UnknownType;
122
120
  messageType: {};
123
121
  pollOptionType: import("stream-chat").UR;
@@ -144,5 +142,5 @@ export declare class MessageInputComponent implements OnInit, OnChanges, OnDestr
144
142
  private startCooldown;
145
143
  private stopCooldown;
146
144
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageInputComponent, never>;
147
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageInputComponent, "stream-message-input", never, { "isFileUploadEnabled": "isFileUploadEnabled"; "areMentionsEnabled": "areMentionsEnabled"; "mentionScope": "mentionScope"; "mode": "mode"; "isMultipleFileUploadEnabled": "isMultipleFileUploadEnabled"; "message": "message"; "sendMessage$": "sendMessage$"; "inputMode": "inputMode"; "autoFocus": "autoFocus"; }, { "messageUpdate": "messageUpdate"; }, never, never>;
145
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageInputComponent, "stream-message-input", never, { "isFileUploadEnabled": "isFileUploadEnabled"; "areMentionsEnabled": "areMentionsEnabled"; "mentionScope": "mentionScope"; "mode": "mode"; "isMultipleFileUploadEnabled": "isMultipleFileUploadEnabled"; "message": "message"; "sendMessage$": "sendMessage$"; "inputMode": "inputMode"; "autoFocus": "autoFocus"; }, { "messageUpdate": "messageUpdate"; }, never, never, false, never>;
148
146
  }
@@ -44,5 +44,5 @@ export declare class TextareaComponent implements TextareaInterface, OnChanges,
44
44
  enterHit(event: Event): void;
45
45
  private adjustTextareaHeight;
46
46
  static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "stream-textarea", never, { "value": "value"; "placeholder": "placeholder"; "inputMode": "inputMode"; "autoFocus": "autoFocus"; }, { "valueChange": "valueChange"; "send": "send"; }, never, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "stream-textarea", never, { "value": "value"; "placeholder": "placeholder"; "inputMode": "inputMode"; "autoFocus": "autoFocus"; }, { "valueChange": "valueChange"; "send": "send"; }, never, never, false, never>;
48
48
  }
@@ -19,5 +19,5 @@ export declare class TextareaDirective implements OnChanges {
19
19
  constructor(viewContainerRef: ViewContainerRef);
20
20
  ngOnChanges(changes: SimpleChanges): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<TextareaDirective, never>;
22
- static ɵdir: i0.ɵɵDirectiveDeclaration<TextareaDirective, "[streamTextarea]", never, { "componentRef": "componentRef"; "areMentionsEnabled": "areMentionsEnabled"; "mentionScope": "mentionScope"; "inputMode": "inputMode"; "value": "value"; "placeholder": "placeholder"; "autoFocus": "autoFocus"; }, { "valueChange": "valueChange"; "send": "send"; "userMentions": "userMentions"; }, never>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TextareaDirective, "[streamTextarea]", never, { "componentRef": "componentRef"; "areMentionsEnabled": "areMentionsEnabled"; "mentionScope": "mentionScope"; "inputMode": "inputMode"; "value": "value"; "placeholder": "placeholder"; "autoFocus": "autoFocus"; }, { "valueChange": "valueChange"; "send": "send"; "userMentions": "userMentions"; }, never, never, false, never>;
23
23
  }
@@ -1,3 +1,3 @@
1
1
  import { GroupStyleOptions, StreamMessage } from '../types';
2
2
  export declare type GroupStyle = '' | 'middle' | 'top' | 'bottom' | 'single';
3
- export declare const getGroupStyles: (message: StreamMessage, previousMessage?: StreamMessage<import("../types").DefaultStreamChatGenerics> | undefined, nextMessage?: StreamMessage<import("../types").DefaultStreamChatGenerics> | undefined, options?: GroupStyleOptions) => GroupStyle;
3
+ export declare const getGroupStyles: (message: StreamMessage, previousMessage?: StreamMessage, nextMessage?: StreamMessage, options?: GroupStyleOptions) => GroupStyle;