stream-chat-angular 6.0.0-beta.5 → 6.0.0-rc.2

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 (202) hide show
  1. package/README.md +2 -2
  2. package/assets/i18n/en.d.ts +0 -1
  3. package/assets/version.d.ts +1 -1
  4. package/{esm2022 → esm2020}/assets/i18n/en.mjs +1 -2
  5. package/{esm2022 → esm2020}/assets/version.mjs +2 -2
  6. package/esm2020/lib/attachment-configuration.service.mjs +182 -0
  7. package/esm2020/lib/attachment-list/attachment-list.component.mjs +232 -0
  8. package/esm2020/lib/attachment-preview-list/attachment-preview-list.component.mjs +55 -0
  9. package/esm2020/lib/attachment.service.mjs +481 -0
  10. package/esm2020/lib/avatar/avatar.component.mjs +160 -0
  11. package/esm2020/lib/avatar-placeholder/avatar-placeholder.component.mjs +66 -0
  12. package/esm2020/lib/channel/channel.component.mjs +45 -0
  13. package/esm2020/lib/channel-header/channel-header.component.mjs +72 -0
  14. package/esm2020/lib/channel-list/channel-list.component.mjs +47 -0
  15. package/esm2020/lib/channel-preview/channel-preview.component.mjs +155 -0
  16. package/esm2020/lib/channel-query.mjs +77 -0
  17. package/esm2020/lib/channel.service.mjs +1561 -0
  18. package/esm2020/lib/chat-client.service.mjs +233 -0
  19. package/esm2020/lib/custom-templates.service.mjs +244 -0
  20. package/{esm2022 → esm2020}/lib/date-parser.service.mjs +5 -5
  21. package/esm2020/lib/file-utils.mjs +35 -0
  22. package/{esm2022 → esm2020}/lib/get-channel-display-text.mjs +1 -1
  23. package/esm2020/lib/get-message-translation.mjs +12 -0
  24. package/esm2020/lib/icon/icon-placeholder/icon-placeholder.component.mjs +28 -0
  25. package/{esm2022 → esm2020}/lib/icon/icon.component.mjs +5 -5
  26. package/{esm2022 → esm2020}/lib/icon/icon.module.mjs +11 -11
  27. package/{esm2022 → esm2020}/lib/icon/loading-indicator/loading-indicator.component.mjs +5 -5
  28. package/esm2020/lib/icon/loading-indicator-placeholder/loading-indicator-placeholder.component.mjs +20 -0
  29. package/{esm2022 → esm2020}/lib/list-users.mjs +1 -1
  30. package/esm2020/lib/message/message.component.mjs +486 -0
  31. package/esm2020/lib/message-actions-box/message-actions-box.component.mjs +123 -0
  32. package/esm2020/lib/message-actions.service.mjs +187 -0
  33. package/esm2020/lib/message-bounce-prompt/message-bounce-prompt.component.mjs +71 -0
  34. package/esm2020/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.mjs +333 -0
  35. package/{esm2022 → esm2020}/lib/message-input/emoji-input.service.mjs +7 -7
  36. package/esm2020/lib/message-input/message-input-config.service.mjs +50 -0
  37. package/esm2020/lib/message-input/message-input.component.mjs +507 -0
  38. package/{esm2022 → esm2020}/lib/message-input/textarea/textarea.component.mjs +6 -6
  39. package/{esm2022 → esm2020}/lib/message-input/textarea.directive.mjs +5 -5
  40. package/{esm2022 → esm2020}/lib/message-input/voice-recorder.service.mjs +5 -5
  41. package/{esm2022 → esm2020}/lib/message-list/group-styles.mjs +1 -1
  42. package/esm2020/lib/message-list/message-list.component.mjs +717 -0
  43. package/esm2020/lib/message-preview.mjs +21 -0
  44. package/esm2020/lib/message-reactions/message-reactions.component.mjs +168 -0
  45. package/esm2020/lib/message-reactions-selector/message-reactions-selector.component.mjs +61 -0
  46. package/{esm2022 → esm2020}/lib/message-reactions.service.mjs +6 -6
  47. package/esm2020/lib/message-text/message-text.component.mjs +143 -0
  48. package/esm2020/lib/message.service.mjs +43 -0
  49. package/{esm2022 → esm2020}/lib/modal/modal.component.mjs +6 -6
  50. package/esm2020/lib/notification/notification.component.mjs +20 -0
  51. package/esm2020/lib/notification-list/notification-list.component.mjs +36 -0
  52. package/{esm2022 → esm2020}/lib/notification.service.mjs +6 -6
  53. package/esm2020/lib/paginated-list/paginated-list.component.mjs +94 -0
  54. package/{esm2022 → esm2020}/lib/parse-date.mjs +1 -1
  55. package/esm2020/lib/read-by.mjs +12 -0
  56. package/esm2020/lib/stream-autocomplete-textarea.module.mjs +33 -0
  57. package/{esm2022 → esm2020}/lib/stream-avatar.module.mjs +5 -5
  58. package/{esm2022 → esm2020}/lib/stream-chat.module.mjs +59 -59
  59. package/{esm2022 → esm2020}/lib/stream-i18n.service.mjs +6 -6
  60. package/esm2020/lib/stream-textarea.module.mjs +31 -0
  61. package/{esm2022 → esm2020}/lib/theme.service.mjs +6 -6
  62. package/esm2020/lib/thread/thread.component.mjs +51 -0
  63. package/{esm2022 → esm2020}/lib/transliteration.service.mjs +5 -5
  64. package/esm2020/lib/types-custom.mjs +2 -0
  65. package/esm2020/lib/types.mjs +2 -0
  66. package/esm2020/lib/user-list/user-list.component.mjs +47 -0
  67. package/esm2020/lib/virtualized-list.service.mjs +271 -0
  68. package/{esm2022 → esm2020}/lib/virtualized-message-list.service.mjs +1 -1
  69. package/{esm2022 → esm2020}/lib/voice-recorder/amplitude-recorder.service.mjs +5 -5
  70. package/{esm2022 → esm2020}/lib/voice-recorder/audio-recorder.service.mjs +5 -5
  71. package/{esm2022 → esm2020}/lib/voice-recorder/media-recorder.mjs +1 -1
  72. package/esm2020/lib/voice-recorder/mp3-transcoder.mjs +61 -0
  73. package/esm2020/lib/voice-recorder/transcoder.service.mjs +121 -0
  74. package/esm2020/lib/voice-recorder/voice-recorder-wavebar/voice-recorder-wavebar.component.mjs +35 -0
  75. package/esm2020/lib/voice-recorder/voice-recorder.component.mjs +80 -0
  76. package/{esm2022 → esm2020}/lib/voice-recorder/voice-recorder.module.mjs +9 -9
  77. package/esm2020/lib/voice-recording/voice-recording-wavebar/voice-recording-wavebar.component.mjs +112 -0
  78. package/esm2020/lib/voice-recording/voice-recording.component.mjs +91 -0
  79. package/{esm2022 → esm2020}/lib/voice-recording/voice-recording.module.mjs +5 -5
  80. package/{esm2022 → esm2020}/lib/wave-form-sampler.mjs +1 -1
  81. package/esm2020/public-api.mjs +86 -0
  82. package/esm2020/stream-chat.mjs +2 -0
  83. package/fesm2015/stream-chat-angular.mjs +9171 -0
  84. package/fesm2015/stream-chat-angular.mjs.map +1 -0
  85. package/{fesm2022 → fesm2020}/stream-chat-angular.mjs +1251 -961
  86. package/fesm2020/stream-chat-angular.mjs.map +1 -0
  87. package/lib/attachment-configuration.service.d.ts +12 -12
  88. package/lib/attachment-list/attachment-list.component.d.ts +15 -10
  89. package/lib/attachment-preview-list/attachment-preview-list.component.d.ts +1 -1
  90. package/lib/attachment.service.d.ts +12 -10
  91. package/lib/avatar/avatar.component.d.ts +7 -7
  92. package/lib/avatar-placeholder/avatar-placeholder.component.d.ts +5 -5
  93. package/lib/channel/channel.component.d.ts +1 -1
  94. package/lib/channel-header/channel-header.component.d.ts +2 -2
  95. package/lib/channel-list/channel-list.component.d.ts +3 -4
  96. package/lib/channel-preview/channel-preview.component.d.ts +6 -6
  97. package/lib/channel-query.d.ts +26 -0
  98. package/lib/channel.service.d.ts +146 -154
  99. package/lib/chat-client.service.d.ts +17 -15
  100. package/lib/custom-templates.service.d.ts +50 -50
  101. package/lib/get-channel-display-text.d.ts +1 -2
  102. package/lib/get-message-translation.d.ts +3 -3
  103. package/lib/icon/icon-placeholder/icon-placeholder.component.d.ts +2 -2
  104. package/lib/icon/icon.component.d.ts +2 -2
  105. package/lib/icon/loading-indicator-placeholder/loading-indicator-placeholder.component.d.ts +1 -1
  106. package/lib/message/message.component.d.ts +6 -6
  107. package/lib/message-actions-box/message-actions-box.component.d.ts +5 -4
  108. package/lib/message-actions.service.d.ts +10 -10
  109. package/lib/message-bounce-prompt/message-bounce-prompt.component.d.ts +1 -1
  110. package/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.d.ts +5 -5
  111. package/lib/message-input/emoji-input.service.d.ts +2 -2
  112. package/lib/message-input/message-input-config.service.d.ts +3 -3
  113. package/lib/message-input/message-input.component.d.ts +10 -33
  114. package/lib/message-input/textarea/textarea.component.d.ts +3 -3
  115. package/lib/message-input/textarea.directive.d.ts +1 -1
  116. package/lib/message-list/group-styles.d.ts +1 -1
  117. package/lib/message-list/message-list.component.d.ts +3 -2
  118. package/lib/message-preview.d.ts +2 -3
  119. package/lib/message-reactions/message-reactions.component.d.ts +9 -8
  120. package/lib/message-reactions-selector/message-reactions-selector.component.d.ts +6 -5
  121. package/lib/message-reactions.service.d.ts +4 -4
  122. package/lib/message-text/message-text.component.d.ts +5 -5
  123. package/lib/message.service.d.ts +6 -7
  124. package/lib/modal/modal.component.d.ts +1 -1
  125. package/lib/notification/notification.component.d.ts +2 -2
  126. package/lib/notification-list/notification-list.component.d.ts +1 -0
  127. package/lib/notification.service.d.ts +1 -1
  128. package/lib/paginated-list/paginated-list.component.d.ts +2 -5
  129. package/lib/read-by.d.ts +1 -2
  130. package/lib/stream-i18n.service.d.ts +1 -1
  131. package/lib/theme.service.d.ts +1 -1
  132. package/lib/thread/thread.component.d.ts +3 -3
  133. package/lib/types-custom.d.ts +15 -0
  134. package/lib/types.d.ts +116 -155
  135. package/lib/user-list/user-list.component.d.ts +2 -3
  136. package/lib/virtualized-message-list.service.d.ts +1 -1
  137. package/lib/voice-recorder/amplitude-recorder.service.d.ts +2 -2
  138. package/lib/voice-recorder/media-recorder.d.ts +2 -2
  139. package/lib/voice-recorder/transcoder.service.d.ts +4 -4
  140. package/lib/voice-recorder/voice-recorder-wavebar/voice-recorder-wavebar.component.d.ts +1 -0
  141. package/lib/voice-recorder/voice-recorder.component.d.ts +2 -2
  142. package/lib/voice-recording/voice-recording-wavebar/voice-recording-wavebar.component.d.ts +3 -3
  143. package/lib/voice-recording/voice-recording.component.d.ts +2 -3
  144. package/package.json +21 -15
  145. package/public-api.d.ts +3 -0
  146. package/src/assets/i18n/en.ts +0 -1
  147. package/src/assets/version.ts +1 -1
  148. package/esm2022/lib/attachment-configuration.service.mjs +0 -185
  149. package/esm2022/lib/attachment-list/attachment-list.component.mjs +0 -212
  150. package/esm2022/lib/attachment-preview-list/attachment-preview-list.component.mjs +0 -55
  151. package/esm2022/lib/attachment.service.mjs +0 -479
  152. package/esm2022/lib/avatar/avatar.component.mjs +0 -157
  153. package/esm2022/lib/avatar-placeholder/avatar-placeholder.component.mjs +0 -66
  154. package/esm2022/lib/channel/channel.component.mjs +0 -45
  155. package/esm2022/lib/channel-header/channel-header.component.mjs +0 -72
  156. package/esm2022/lib/channel-list/channel-list.component.mjs +0 -50
  157. package/esm2022/lib/channel-preview/channel-preview.component.mjs +0 -150
  158. package/esm2022/lib/channel.service.mjs +0 -1393
  159. package/esm2022/lib/chat-client.service.mjs +0 -227
  160. package/esm2022/lib/custom-templates.service.mjs +0 -244
  161. package/esm2022/lib/file-utils.mjs +0 -35
  162. package/esm2022/lib/get-message-translation.mjs +0 -12
  163. package/esm2022/lib/icon/icon-placeholder/icon-placeholder.component.mjs +0 -28
  164. package/esm2022/lib/icon/loading-indicator-placeholder/loading-indicator-placeholder.component.mjs +0 -20
  165. package/esm2022/lib/message/message.component.mjs +0 -486
  166. package/esm2022/lib/message-actions-box/message-actions-box.component.mjs +0 -120
  167. package/esm2022/lib/message-actions.service.mjs +0 -187
  168. package/esm2022/lib/message-bounce-prompt/message-bounce-prompt.component.mjs +0 -71
  169. package/esm2022/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.mjs +0 -333
  170. package/esm2022/lib/message-input/message-input-config.service.mjs +0 -50
  171. package/esm2022/lib/message-input/message-input.component.mjs +0 -507
  172. package/esm2022/lib/message-list/message-list.component.mjs +0 -715
  173. package/esm2022/lib/message-preview.mjs +0 -21
  174. package/esm2022/lib/message-reactions/message-reactions.component.mjs +0 -165
  175. package/esm2022/lib/message-reactions-selector/message-reactions-selector.component.mjs +0 -57
  176. package/esm2022/lib/message-text/message-text.component.mjs +0 -143
  177. package/esm2022/lib/message.service.mjs +0 -43
  178. package/esm2022/lib/notification/notification.component.mjs +0 -20
  179. package/esm2022/lib/notification-list/notification-list.component.mjs +0 -33
  180. package/esm2022/lib/paginated-list/paginated-list.component.mjs +0 -94
  181. package/esm2022/lib/read-by.mjs +0 -12
  182. package/esm2022/lib/stream-autocomplete-textarea.module.mjs +0 -33
  183. package/esm2022/lib/stream-textarea.module.mjs +0 -31
  184. package/esm2022/lib/thread/thread.component.mjs +0 -51
  185. package/esm2022/lib/types.mjs +0 -2
  186. package/esm2022/lib/user-list/user-list.component.mjs +0 -47
  187. package/esm2022/lib/virtualized-list.service.mjs +0 -273
  188. package/esm2022/lib/voice-recorder/mp3-transcoder.mjs +0 -61
  189. package/esm2022/lib/voice-recorder/transcoder.service.mjs +0 -121
  190. package/esm2022/lib/voice-recorder/voice-recorder-wavebar/voice-recorder-wavebar.component.mjs +0 -32
  191. package/esm2022/lib/voice-recorder/voice-recorder.component.mjs +0 -80
  192. package/esm2022/lib/voice-recording/voice-recording-wavebar/voice-recording-wavebar.component.mjs +0 -112
  193. package/esm2022/lib/voice-recording/voice-recording.component.mjs +0 -91
  194. package/esm2022/public-api.mjs +0 -82
  195. package/fesm2022/stream-chat-angular.mjs.map +0 -1
  196. /package/{esm2022 → esm2020}/lib/format-duration.mjs +0 -0
  197. /package/{esm2022 → esm2020}/lib/injection-tokens.mjs +0 -0
  198. /package/{esm2022 → esm2020}/lib/is-image-attachment.mjs +0 -0
  199. /package/{esm2022 → esm2020}/lib/is-on-separate-date.mjs +0 -0
  200. /package/{esm2022 → esm2020}/lib/is-safari.mjs +0 -0
  201. /package/{esm2022 → esm2020}/lib/message-input/textarea.interface.mjs +0 -0
  202. /package/{esm2022 → esm2020}/stream-chat-angular.mjs +0 -0
@@ -1,6 +1,6 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import { BehaviorSubject } from 'rxjs';
3
- import { AttachmentContext, AttachmentListContext, AttachmentPreviewListContext, AvatarContext, ChannelActionsContext, ChannelHeaderInfoContext, ChannelPreviewContext, ChannelPreviewInfoContext, CommandAutocompleteListItemContext, CustomAttachmentListContext, CustomAttachmentPreviewListContext, CustomAttachmentUploadContext, CustomMetadataContext, DateSeparatorContext, DefaultStreamChatGenerics, DeliveredStatusContext, EmojiPickerContext, IconContext, MentionAutcompleteListItemContext, MentionTemplateContext, MessageActionBoxItemContext, MessageActionsBoxContext, MessageContext, MessageReactionsContext, MessageReactionsSelectorContext, MessageTextContext, ModalContext, NotificationContext, ReadStatusContext, SendingStatusContext, SystemMessageContext, ThreadHeaderContext, ThreadReplyButtonContext, TypingIndicatorContext, UnreadMessagesIndicatorContext, UnreadMessagesNotificationContext } from './types';
3
+ import { AttachmentContext, AttachmentListContext, AttachmentPreviewListContext, AvatarContext, ChannelActionsContext, ChannelHeaderInfoContext, ChannelPreviewContext, ChannelPreviewInfoContext, CommandAutocompleteListItemContext, CustomAttachmentListContext, CustomAttachmentPreviewListContext, CustomAttachmentUploadContext, CustomMetadataContext, DateSeparatorContext, DeliveredStatusContext, EmojiPickerContext, GalleryAttachmentContext, IconContext, MentionAutcompleteListItemContext, MentionTemplateContext, MessageActionBoxItemContext, MessageActionsBoxContext, MessageContext, MessageReactionsContext, MessageReactionsSelectorContext, MessageTextContext, ModalContext, NotificationContext, ReadStatusContext, SendingStatusContext, SystemMessageContext, ThreadHeaderContext, ThreadReplyButtonContext, TypingIndicatorContext, UnreadMessagesIndicatorContext, UnreadMessagesNotificationContext } from './types';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
6
  * A central location for registering your custom templates to override parts of the chat application.
@@ -9,185 +9,185 @@ import * as i0 from "@angular/core";
9
9
  *
10
10
  * You can find the type definitions of the context that is provided for each template [on GitHub](https://github.com/GetStream/stream-chat-angular/blob/master/projects/stream-chat-angular/src/lib/types.ts)
11
11
  */
12
- export declare class CustomTemplatesService<T extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> {
12
+ export declare class CustomTemplatesService {
13
13
  /**
14
- * The autocomplete list item template for mentioning users (used in the [`AutocompleteTextareaComponent`](/chat/docs/sdk/angular/components/AutocompleteTextareaComponent/))
14
+ * The autocomplete list item template for mentioning users (used in the [`AutocompleteTextareaComponent`](/chat/docs/sdk/angular/v6-rc/components/AutocompleteTextareaComponent/))
15
15
  */
16
16
  mentionAutocompleteItemTemplate$: BehaviorSubject<TemplateRef<MentionAutcompleteListItemContext> | undefined>;
17
17
  /**
18
- * The autocomplete list item template for commands (used in the [`AutocompleteTextareaComponent`](/chat/docs/sdk/angular/components/AutocompleteTextareaComponent/))
18
+ * The autocomplete list item template for commands (used in the [`AutocompleteTextareaComponent`](/chat/docs/sdk/angular/v6-rc/components/AutocompleteTextareaComponent/))
19
19
  */
20
20
  commandAutocompleteItemTemplate$: BehaviorSubject<TemplateRef<CommandAutocompleteListItemContext> | undefined>;
21
21
  /**
22
- * Template used to display an item in the [channel list](/chat/docs/sdk/angular/components/ChannelListComponent/) (instead of the default [channal list item](/chat/docs/sdk/angular/components/ChannelPreviewComponent/))
22
+ * Template used to display an item in the [channel list](/chat/docs/sdk/angular/v6-rc/components/ChannelListComponent/) (instead of the default [channal list item](/chat/docs/sdk/angular/v6-rc/components/ChannelPreviewComponent/))
23
23
  *
24
24
  */
25
25
  channelPreviewTemplate$: BehaviorSubject<TemplateRef<ChannelPreviewContext> | undefined>;
26
26
  /**
27
- * The template used for displaying a [mention inside a message](/chat/docs/sdk/angular/code-examples/mention-actions/)
27
+ * The template used for displaying a [mention inside a message](/chat/docs/sdk/angular/v6-rc/code-examples/mention-actions/)
28
28
  *
29
29
  */
30
30
  mentionTemplate$: BehaviorSubject<TemplateRef<MentionTemplateContext> | undefined>;
31
31
  /**
32
- * The template for [emoji picker](/chat/docs/sdk/angular/code-examples/emoji-picker)
32
+ * The template for [emoji picker](/chat/docs/sdk/angular/v6-rc/code-examples/emoji-picker)
33
33
  *
34
34
  */
35
35
  emojiPickerTemplate$: BehaviorSubject<TemplateRef<EmojiPickerContext> | undefined>;
36
36
  /**
37
- * The typing indicator template used in the [message list](/chat/docs/sdk/angular/components/MessageListComponent/)
37
+ * The typing indicator template used in the [message list](/chat/docs/sdk/angular/v6-rc/components/MessageListComponent/)
38
38
  *
39
39
  */
40
40
  typingIndicatorTemplate$: BehaviorSubject<TemplateRef<TypingIndicatorContext> | undefined>;
41
41
  /**
42
- * The template used to display a message in the [message list](/chat/docs/sdk/angular/components/MessageListComponent/) (instead of the [default message component](/chat/docs/sdk/angular/components/MessageComponent/))
42
+ * The template used to display a message in the [message list](/chat/docs/sdk/angular/v6-rc/components/MessageListComponent/) (instead of the [default message component](/chat/docs/sdk/angular/v6-rc/components/MessageComponent/))
43
43
  *
44
44
  */
45
45
  messageTemplate$: BehaviorSubject<TemplateRef<MessageContext> | undefined>;
46
46
  /**
47
- * The template for channel actions displayed in the [channel header](/chat/docs/sdk/angular/components/ChannelHeaderComponent/) (by default no channel action is displayed)
47
+ * The template for channel actions displayed in the [channel header](/chat/docs/sdk/angular/v6-rc/components/ChannelHeaderComponent/) (by default no channel action is displayed)
48
48
  *
49
49
  */
50
50
  channelActionsTemplate$: BehaviorSubject<TemplateRef<ChannelActionsContext> | undefined>;
51
51
  /**
52
- * The template used to display attachments of a [message](/chat/docs/sdk/angular/components/MessageComponent/) (instead of the [default attachment list](/chat/docs/sdk/angular/components/AttachmentListComponent/))
52
+ * The template used to display attachments of a [message](/chat/docs/sdk/angular/v6-rc/components/MessageComponent/) (instead of the [default attachment list](/chat/docs/sdk/angular/v6-rc/components/AttachmentListComponent/))
53
53
  *
54
54
  */
55
55
  attachmentListTemplate$: BehaviorSubject<TemplateRef<AttachmentListContext> | undefined>;
56
56
  /**
57
- * The template used to display attachments in the [message input](/chat/docs/sdk/angular/components/MessageInputComponent) component (instead of the [default attachment preview](/chat/docs/sdk/angular/components/AttachmentPreviewListComponent))
57
+ * The template used to display attachments in the [message input](/chat/docs/sdk/angular/v6-rc/components/MessageInputComponent) component (instead of the [default attachment preview](/chat/docs/sdk/angular/v6-rc/components/AttachmentPreviewListComponent))
58
58
  *
59
59
  */
60
60
  attachmentPreviewListTemplate$: BehaviorSubject<TemplateRef<AttachmentPreviewListContext> | undefined>;
61
61
  /**
62
- * The template used to display avatars for channels and users (instead of the [default avatar](/chat/docs/sdk/angular/components/AvatarComponent/))
62
+ * The template used to display avatars for channels and users (instead of the [default avatar](/chat/docs/sdk/angular/v6-rc/components/AvatarComponent/))
63
63
  *
64
64
  */
65
65
  avatarTemplate$: BehaviorSubject<TemplateRef<AvatarContext> | undefined>;
66
66
  /**
67
- * Template for displaying icons (instead of the [default icon component](/chat/docs/sdk/angular/components/IconComponent/))
67
+ * Template for displaying icons (instead of the [default icon component](/chat/docs/sdk/angular/v6-rc/components/IconComponent/))
68
68
  *
69
69
  */
70
70
  iconTemplate$: BehaviorSubject<TemplateRef<IconContext> | undefined>;
71
71
  /**
72
- * Template for displaying the loading indicator (instead of the [default loading indicator](/chat/docs/sdk/angular/components/LoadingIndicatorComponent/))
72
+ * Template for displaying the loading indicator (instead of the [default loading indicator](/chat/docs/sdk/angular/v6-rc/components/LoadingIndicatorComponent/))
73
73
  *
74
74
  */
75
75
  loadingIndicatorTemplate$: BehaviorSubject<TemplateRef<void> | undefined>;
76
76
  /**
77
- * Template for displaying the message actions box (instead of the [default message actions box](/chat/docs/sdk/angular/components/MessageActionsBoxComponent/))
77
+ * Template for displaying the message actions box (instead of the [default message actions box](/chat/docs/sdk/angular/v6-rc/components/MessageActionsBoxComponent/))
78
78
  *
79
79
  */
80
80
  messageActionsBoxTemplate$: BehaviorSubject<TemplateRef<MessageActionsBoxContext> | undefined>;
81
81
  /**
82
- * The template used for displaying an item in the [message actions box](/chat/docs/sdk/angular/components/MessageActionsBoxComponent/)
82
+ * The template used for displaying an item in the [message actions box](/chat/docs/sdk/angular/v6-rc/components/MessageActionsBoxComponent/)
83
83
  *
84
84
  */
85
85
  messageActionsBoxItemTemplate$: BehaviorSubject<TemplateRef<MessageActionBoxItemContext> | undefined>;
86
86
  /**
87
- * The template used to display the reactions of a [message](/chat/docs/sdk/angular/components/MessageComponent/), and the selector to add a reaction to a message (instead of the [default message reactions component](/chat/docs/sdk/angular/components/MessageReactionsComponent/))
87
+ * The template used to display the reactions of a [message](/chat/docs/sdk/angular/v6-rc/components/MessageComponent/), and the selector to add a reaction to a message (instead of the [default message reactions component](/chat/docs/sdk/angular/v6-rc/components/MessageReactionsComponent/))
88
88
  *
89
89
  */
90
90
  messageReactionsTemplate$: BehaviorSubject<TemplateRef<MessageReactionsContext> | undefined>;
91
91
  /**
92
- * The template used to display the reactions of a [message](/chat/docs/sdk/angular/components/MessageComponent/), and the selector to add a reaction to a message (instead of the [default message reactions component](/chat/docs/sdk/angular/components/MessageReactionsComponent/))
92
+ * The template used to display the reactions of a [message](/chat/docs/sdk/angular/v6-rc/components/MessageComponent/), and the selector to add a reaction to a message (instead of the [default message reactions component](/chat/docs/sdk/angular/v6-rc/components/MessageReactionsComponent/))
93
93
  *
94
94
  */
95
95
  messageReactionsSelectorTemplate$: BehaviorSubject<TemplateRef<MessageReactionsSelectorContext> | undefined>;
96
96
  /**
97
- * The template used to display a modal window (instead of the [default modal](/chat/docs/sdk/angular/components/ModalComponent/))
97
+ * The template used to display a modal window (instead of the [default modal](/chat/docs/sdk/angular/v6-rc/components/ModalComponent/))
98
98
  *
99
99
  */
100
100
  modalTemplate$: BehaviorSubject<TemplateRef<ModalContext> | undefined>;
101
101
  /**
102
- * The template used to override the [default notification component](/chat/docs/sdk/angular/components/NotificationComponent/)
102
+ * The template used to override the [default notification component](/chat/docs/sdk/angular/v6-rc/components/NotificationComponent/)
103
103
  *
104
104
  */
105
105
  notificationTemplate$: BehaviorSubject<TemplateRef<NotificationContext> | undefined>;
106
106
  /**
107
- * The template used for header of a [thread](/chat/docs/sdk/angular/components/ThreadComponent/)
107
+ * The template used for header of a [thread](/chat/docs/sdk/angular/v6-rc/components/ThreadComponent/)
108
108
  *
109
109
  */
110
110
  threadHeaderTemplate$: BehaviorSubject<TemplateRef<ThreadHeaderContext> | undefined>;
111
111
  /**
112
- * The template used for displaying the delivered state of the message inside the [message component](/chat/docs/sdk/angular/components/MessageComponent/)
112
+ * The template used for displaying the delivered state of the message inside the [message component](/chat/docs/sdk/angular/v6-rc/components/MessageComponent/)
113
113
  *
114
114
  * Displayed for the last message sent by the current user, if the message isn't yet read by anyone
115
115
  *
116
116
  */
117
117
  deliveredStatusTemplate$: BehaviorSubject<TemplateRef<DeliveredStatusContext> | undefined>;
118
118
  /**
119
- * The template used for displaying the sending state of the message inside the [message component](/chat/docs/sdk/angular/components/MessageComponent/)
119
+ * The template used for displaying the sending state of the message inside the [message component](/chat/docs/sdk/angular/v6-rc/components/MessageComponent/)
120
120
  *
121
121
  * Displayed for the last message sent by the current user, if the message is currently being sent
122
122
  *
123
123
  */
124
124
  sendingStatusTemplate$: BehaviorSubject<TemplateRef<SendingStatusContext> | undefined>;
125
125
  /**
126
- * The template used for displaying the sent state of the message inside the [message component](/chat/docs/sdk/angular/components/MessageComponent/)
126
+ * The template used for displaying the sent state of the message inside the [message component](/chat/docs/sdk/angular/v6-rc/components/MessageComponent/)
127
127
  *
128
128
  * Displayed for the last message sent by the current user, if the message is read at least by one user
129
129
  *
130
130
  */
131
131
  readStatusTemplate$: BehaviorSubject<TemplateRef<ReadStatusContext> | undefined>;
132
132
  /**
133
- * Template to display custom metadata inside [message component](/chat/docs/sdk/angular/components/MessageComponent/)
133
+ * Template to display custom metadata inside [message component](/chat/docs/sdk/angular/v6-rc/components/MessageComponent/)
134
134
  *
135
135
  */
136
- customMessageMetadataTemplate$: BehaviorSubject<TemplateRef<CustomMetadataContext<T>> | undefined>;
136
+ customMessageMetadataTemplate$: BehaviorSubject<TemplateRef<CustomMetadataContext> | undefined>;
137
137
  /**
138
- * The template used to display additional information about a channel under the channel name inside the [channel header component](/chat/docs/sdk/angular/components/ChannelHeaderComponent/)
138
+ * The template used to display additional information about a channel under the channel name inside the [channel header component](/chat/docs/sdk/angular/v6-rc/components/ChannelHeaderComponent/)
139
139
  *
140
140
  */
141
141
  channelHeaderInfoTemplate$: BehaviorSubject<TemplateRef<ChannelHeaderInfoContext> | undefined>;
142
142
  /**
143
- * The template used for displaying file upload/attachment selector inside the [message input](/chat/docs/sdk/angular/components/MessageInputComponent/)
143
+ * The template used for displaying file upload/attachment selector inside the [message input](/chat/docs/sdk/angular/v6-rc/components/MessageInputComponent/)
144
144
  *
145
145
  */
146
146
  customAttachmentUploadTemplate$: BehaviorSubject<TemplateRef<CustomAttachmentUploadContext> | undefined>;
147
147
  /**
148
- * The template that can be used to override how a single image attachment is displayed inside the [attachment list](/chat/docs/sdk/angular/components/AttachmentListComponent/)
148
+ * The template that can be used to override how a single image attachment is displayed inside the [attachment list](/chat/docs/sdk/angular/v6-rc/components/AttachmentListComponent/)
149
149
  */
150
150
  imageAttachmentTemplate$: BehaviorSubject<TemplateRef<AttachmentContext> | undefined>;
151
151
  /**
152
- * The template that can be used to override how a voice recording attachment is displayed inside the [attachment list](/chat/docs/sdk/angular/components/AttachmentListComponent/), by default the [voice recording component](/chat/docs/sdk/angular/components/VoiceRecordingComponent/) is used
152
+ * The template that can be used to override how a voice recording attachment is displayed inside the [attachment list](/chat/docs/sdk/angular/v6-rc/components/AttachmentListComponent/), by default the [voice recording component](/chat/docs/sdk/angular/v6-rc/components/VoiceRecordingComponent/) is used
153
153
  */
154
154
  voiceRecordingAttachmentTemplate$: BehaviorSubject<TemplateRef<AttachmentContext> | undefined>;
155
155
  /**
156
- * The template that can be used to override how a video attachment is displayed inside the [attachment list](/chat/docs/sdk/angular/components/AttachmentListComponent/)
156
+ * The template that can be used to override how a video attachment is displayed inside the [attachment list](/chat/docs/sdk/angular/v6-rc/components/AttachmentListComponent/)
157
157
  */
158
158
  videoAttachmentTemplate$: BehaviorSubject<TemplateRef<AttachmentContext> | undefined>;
159
159
  /**
160
- * The template that can be used to override how image gallery is displayed inside the [attachment list](/chat/docs/sdk/angular/components/AttachmentListComponent/)
160
+ * The template that can be used to override how image gallery is displayed inside the [attachment list](/chat/docs/sdk/angular/v6-rc/components/AttachmentListComponent/)
161
161
  */
162
- galleryAttachmentTemplate$: BehaviorSubject<TemplateRef<AttachmentContext> | undefined>;
162
+ galleryAttachmentTemplate$: BehaviorSubject<TemplateRef<GalleryAttachmentContext> | undefined>;
163
163
  /**
164
- * The template that can be used to override how a file attachment is displayed inside the [attachment list](/chat/docs/sdk/angular/components/AttachmentListComponent/)
164
+ * The template that can be used to override how a file attachment is displayed inside the [attachment list](/chat/docs/sdk/angular/v6-rc/components/AttachmentListComponent/)
165
165
  */
166
166
  fileAttachmentTemplate$: BehaviorSubject<TemplateRef<AttachmentContext> | undefined>;
167
167
  /**
168
- * The template that can be used to override how a card attachment is displayed inside the [attachment list](/chat/docs/sdk/angular/components/AttachmentListComponent/)
168
+ * The template that can be used to override how a card attachment is displayed inside the [attachment list](/chat/docs/sdk/angular/v6-rc/components/AttachmentListComponent/)
169
169
  */
170
170
  cardAttachmentTemplate$: BehaviorSubject<TemplateRef<AttachmentContext> | undefined>;
171
171
  /**
172
- * The template that can be used to override how attachment actions are displayed inside the [attachment list](/chat/docs/sdk/angular/components/AttachmentListComponent/)
172
+ * The template that can be used to override how attachment actions are displayed inside the [attachment list](/chat/docs/sdk/angular/v6-rc/components/AttachmentListComponent/)
173
173
  */
174
174
  attachmentActionsTemplate$: BehaviorSubject<TemplateRef<AttachmentContext> | undefined>;
175
175
  /**
176
- * The template used to display [system messages](/chat/docs/javascript/silent_messages/) indise the [message component](/chat/docs/sdk/angular/components/MessageComponent/)
176
+ * The template used to display [system messages](/chat/docs/javascript/silent_messages/) indise the [message component](/chat/docs/sdk/angular/v6-rc/components/MessageComponent/)
177
177
  */
178
178
  systemMessageTemplate$: BehaviorSubject<TemplateRef<SystemMessageContext> | undefined>;
179
179
  /**
180
- * The template used to display the date separator inside the [message list](/chat/docs/sdk/angular/components/MessageListComponent/)
180
+ * The template used to display the date separator inside the [message list](/chat/docs/sdk/angular/v6-rc/components/MessageListComponent/)
181
181
  */
182
182
  dateSeparatorTemplate$: BehaviorSubject<TemplateRef<DateSeparatorContext> | undefined>;
183
183
  /**
184
- * The template used to display unread messages indicator inside the [message list](/chat/docs/sdk/angular/components/MessageListComponent/) when the channel is opened
184
+ * The template used to display unread messages indicator inside the [message list](/chat/docs/sdk/angular/v6-rc/components/MessageListComponent/) when the channel is opened
185
185
  *
186
186
  * This UI element is used to separate unread messages from read messages
187
187
  */
188
188
  newMessagesIndicatorTemplate$: BehaviorSubject<TemplateRef<UnreadMessagesIndicatorContext> | undefined>;
189
189
  /**
190
- * The template used to display unread messages notification inside the [message list](/chat/docs/sdk/angular/components/MessageListComponent/) when the channel is opened
190
+ * The template used to display unread messages notification inside the [message list](/chat/docs/sdk/angular/v6-rc/components/MessageListComponent/) when the channel is opened
191
191
  *
192
192
  * Users can use this notification to jump to the first unread message when it's clicked
193
193
  */
@@ -201,37 +201,37 @@ export declare class CustomTemplatesService<T extends DefaultStreamChatGenerics
201
201
  */
202
202
  emptyThreadMessageListPlaceholder$: BehaviorSubject<TemplateRef<void> | undefined>;
203
203
  /**
204
- * The template used to display the [message bounce prompt](/chat/docs/sdk/angular/components/MessageBouncePromptComponent/)
204
+ * The template used to display the [message bounce prompt](/chat/docs/sdk/angular/v6-rc/components/MessageBouncePromptComponent/)
205
205
  */
206
206
  messageBouncePromptTemplate$: BehaviorSubject<TemplateRef<void> | undefined>;
207
207
  /**
208
- * Template used to display the channel information inside the [channel list item](/chat/docs/sdk/angular/components/ChannelPreviewComponent/)
208
+ * Template used to display the channel information inside the [channel list item](/chat/docs/sdk/angular/v6-rc/components/ChannelPreviewComponent/)
209
209
  *
210
210
  */
211
211
  channelPreviewInfoTemplate$: BehaviorSubject<TemplateRef<ChannelPreviewInfoContext> | undefined>;
212
212
  /**
213
- * The template used to display custom attachment previews in the [message input component](/chat/docs/sdk/angular/components/MessageInputComponent/)
213
+ * The template used to display custom attachment previews in the [message input component](/chat/docs/sdk/angular/v6-rc/components/MessageInputComponent/)
214
214
  */
215
215
  customAttachmentPreviewListTemplate$: BehaviorSubject<TemplateRef<CustomAttachmentPreviewListContext> | undefined>;
216
216
  /**
217
- * The template used to display custom attachments in the [message component](/chat/docs/sdk/angular/components/MessageComponent/)
217
+ * The template used to display custom attachments in the [message component](/chat/docs/sdk/angular/v6-rc/components/MessageComponent/)
218
218
  */
219
219
  customAttachmentListTemplate$: BehaviorSubject<TemplateRef<CustomAttachmentListContext> | undefined>;
220
220
  /**
221
- * The template used to display the number of thread replies inside the [message component](/chat/docs/sdk/angular/components/MessageComponent/)
221
+ * The template used to display the number of thread replies inside the [message component](/chat/docs/sdk/angular/v6-rc/components/MessageComponent/)
222
222
  */
223
223
  threadLinkButton$: BehaviorSubject<TemplateRef<ThreadReplyButtonContext> | undefined>;
224
224
  /**
225
- * Template to display custom metadata inside the message bubble of the [message component](/chat/docs/sdk/angular/components/MessageComponent/)
225
+ * Template to display custom metadata inside the message bubble of the [message component](/chat/docs/sdk/angular/v6-rc/components/MessageComponent/)
226
226
  *
227
227
  * To properly position your template you should override the `grid-template-areas` of the `.str-chat__message-inner` selector
228
228
  */
229
229
  customMessageMetadataInsideBubbleTemplate$: BehaviorSubject<TemplateRef<CustomMetadataContext> | undefined>;
230
230
  /**
231
- * Template to display the text content inside the [message component](/chat/docs/sdk/angular/components/MessageComponent/). The default component is [stream-message-text](/chat/docs/sdk/angular/components/MessageTextComponent/)
231
+ * Template to display the text content inside the [message component](/chat/docs/sdk/angular/v6-rc/components/MessageComponent/). The default component is [stream-message-text](/chat/docs/sdk/angular/v6-rc/components/MessageTextComponent/)
232
232
  */
233
233
  messageTextTemplate$: BehaviorSubject<TemplateRef<MessageTextContext> | undefined>;
234
234
  constructor();
235
- static ɵfac: i0.ɵɵFactoryDeclaration<CustomTemplatesService<any>, never>;
236
- static ɵprov: i0.ɵɵInjectableDeclaration<CustomTemplatesService<any>>;
235
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomTemplatesService, never>;
236
+ static ɵprov: i0.ɵɵInjectableDeclaration<CustomTemplatesService>;
237
237
  }
@@ -1,3 +1,2 @@
1
1
  import { Channel, UserResponse } from 'stream-chat';
2
- import { DefaultStreamChatGenerics } from './types';
3
- export declare const getChannelDisplayText: (channel: Channel<DefaultStreamChatGenerics>, currentUser: UserResponse<DefaultStreamChatGenerics>) => string | undefined;
2
+ export declare const getChannelDisplayText: (channel: Channel, currentUser: UserResponse) => string | undefined;
@@ -1,3 +1,3 @@
1
- import { Channel, FormatMessageResponse, MessageResponse, User } from 'stream-chat';
2
- import { DefaultStreamChatGenerics, StreamMessage } from './types';
3
- export declare const getMessageTranslation: <T extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(message?: StreamMessage | MessageResponse | FormatMessageResponse, channel?: Channel<T> | undefined, user?: User) => string | undefined;
1
+ import { Channel, FormatMessageResponse, MessageResponse, UserResponse } from 'stream-chat';
2
+ import { StreamMessage } from './types';
3
+ export declare const getMessageTranslation: (message?: StreamMessage | MessageResponse | FormatMessageResponse, channel?: Channel, user?: UserResponse) => string | undefined;
@@ -4,7 +4,7 @@ import { IconContext } from '../../types';
4
4
  import { CustomTemplatesService } from '../../custom-templates.service';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
- * The `IconPlaceholder` component displays the [default icons](/chat/docs/sdk/angular/components/IconComponent/) unless a [custom template](/chat/docs/sdk/angular/services/CustomTemplatesService/) is provided. This component is used by the SDK internally, you likely won't need to use it.
7
+ * The `IconPlaceholder` component displays the [default icons](/chat/docs/sdk/angular/v6-rc/components/IconComponent/) unless a [custom template](/chat/docs/sdk/angular/v6-rc/services/CustomTemplatesService/) is provided. This component is used by the SDK internally, you likely won't need to use it.
8
8
  */
9
9
  export declare class IconPlaceholderComponent implements OnChanges {
10
10
  customTemplatesService: CustomTemplatesService;
@@ -16,5 +16,5 @@ export declare class IconPlaceholderComponent implements OnChanges {
16
16
  constructor(customTemplatesService: CustomTemplatesService);
17
17
  ngOnChanges(): void;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<IconPlaceholderComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<IconPlaceholderComponent, "stream-icon-placeholder", never, { "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconPlaceholderComponent, "stream-icon-placeholder", never, { "icon": "icon"; }, {}, never, never, false, never>;
20
20
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- export type Icon = 'action' | 'delivered' | 'read' | 'reaction' | 'send' | 'retry' | 'close' | 'audio-file' | 'reply-in-thread' | 'arrow-left' | 'arrow-up' | 'arrow-down' | 'arrow-right' | 'chat-bubble' | 'attach' | 'unspecified-filetype' | 'download' | 'error' | 'play' | 'pause' | 'mic' | 'bin';
2
+ export declare type Icon = 'action' | 'delivered' | 'read' | 'reaction' | 'send' | 'retry' | 'close' | 'audio-file' | 'reply-in-thread' | 'arrow-left' | 'arrow-up' | 'arrow-down' | 'arrow-right' | 'chat-bubble' | 'attach' | 'unspecified-filetype' | 'download' | 'error' | 'play' | 'pause' | 'mic' | 'bin';
3
3
  /**
4
4
  * The `Icon` component can be used to display different icons (i. e. message delivered icon).
5
5
  */
@@ -10,5 +10,5 @@ export declare class IconComponent {
10
10
  icon: Icon | undefined;
11
11
  constructor();
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "stream-icon", never, { "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "stream-icon", never, { "icon": "icon"; }, {}, never, never, false, never>;
14
14
  }
@@ -1,7 +1,7 @@
1
1
  import { CustomTemplatesService } from '../../custom-templates.service';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
- * The `LoadingInficatorPlaceholder` component displays the [default loading indicator](/chat/docs/sdk/angular/components/LoadingIndicatorComponent/) unless a [custom template](/chat/docs/sdk/angular/services/CustomTemplatesService/) is provided. This component is used by the SDK internally, you likely won't need to use it.
4
+ * The `LoadingInficatorPlaceholder` component displays the [default loading indicator](/chat/docs/sdk/angular/v6-rc/components/LoadingIndicatorComponent/) unless a [custom template](/chat/docs/sdk/angular/v6-rc/services/CustomTemplatesService/) is provided. This component is used by the SDK internally, you likely won't need to use it.
5
5
  */
6
6
  export declare class LoadingIndicatorPlaceholderComponent {
7
7
  customTemplatesService: CustomTemplatesService;
@@ -2,7 +2,7 @@ import { OnChanges, SimpleChanges, OnDestroy, OnInit, ChangeDetectorRef, AfterVi
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, MessageActionsBoxContext, MessageReactionsContext, DefaultStreamChatGenerics, StreamMessage, DeliveredStatusContext, SendingStatusContext, ReadStatusContext, SystemMessageContext, CustomMetadataContext, MessageTextContext } from '../types';
5
+ import { AttachmentListContext, MessageActionsBoxContext, MessageReactionsContext, StreamMessage, DeliveredStatusContext, SendingStatusContext, ReadStatusContext, SystemMessageContext, CustomMetadataContext, MessageTextContext } from '../types';
6
6
  import { Observable } from 'rxjs';
7
7
  import { CustomTemplatesService } from '../custom-templates.service';
8
8
  import { DateParserService } from '../date-parser.service';
@@ -11,7 +11,7 @@ import { NgxFloatUiContentComponent, NgxFloatUiLooseDirective } from 'ngx-float-
11
11
  import { TranslateService } from '@ngx-translate/core';
12
12
  import * as i0 from "@angular/core";
13
13
  /**
14
- * The `Message` component displays a message with additional information such as sender and date, and enables [interaction with the message (i.e. edit or react)](/chat/docs/sdk/angular/concepts/message-interactions/).
14
+ * The `Message` component displays a message with additional information such as sender and date, and enables [interaction with the message (i.e. edit or react)](/chat/docs/sdk/angular/v6-rc/concepts/message-interactions/).
15
15
  */
16
16
  export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, AfterViewInit {
17
17
  private chatClientService;
@@ -27,7 +27,7 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
27
27
  */
28
28
  message: StreamMessage | undefined;
29
29
  /**
30
- * The list of [channel capabilities](/chat/docs/javascript/channel_capabilities/) that are enabled for the current user, the list of [supported interactions](/chat/docs/sdk/angular/concepts/message-interactions/) can be found in our message interaction guide. Unathorized actions won't be displayed on the UI. The [`MessageList`](/chat/docs/sdk/angular/components/MessageListComponent/) component automatically sets this based on [channel capabilities](/chat/docs/javascript/channel_capabilities/).
30
+ * The list of [channel capabilities](/chat/docs/javascript/channel_capabilities/) that are enabled for the current user, the list of [supported interactions](/chat/docs/sdk/angular/v6-rc/concepts/message-interactions/) can be found in our message interaction guide. Unathorized actions won't be displayed on the UI. The [`MessageList`](/chat/docs/sdk/angular/v6-rc/components/MessageListComponent/) component automatically sets this based on [channel capabilities](/chat/docs/javascript/channel_capabilities/).
31
31
  */
32
32
  enabledMessageActions: string[];
33
33
  /**
@@ -55,7 +55,7 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
55
55
  shouldDisplayThreadLink: boolean;
56
56
  isSentByCurrentUser: boolean;
57
57
  readByText: string;
58
- lastReadUser: UserResponse<DefaultStreamChatGenerics> | undefined;
58
+ lastReadUser: UserResponse | undefined;
59
59
  isOnlyReadByMe: boolean;
60
60
  isReadByMultipleUsers: boolean;
61
61
  isMessageDeliveredAndRead: boolean;
@@ -85,8 +85,8 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
85
85
  constructor(chatClientService: ChatClientService, channelService: ChannelService, customTemplatesService: CustomTemplatesService, cdRef: ChangeDetectorRef, dateParser: DateParserService, messageActionsService: MessageActionsService, ngZone: NgZone, translateService: TranslateService);
86
86
  get visibleMessageActionsCount(): number;
87
87
  set visibleMessageActionsCount(count: number);
88
- ngOnChanges(changes: SimpleChanges): void;
89
88
  ngOnInit(): void;
89
+ ngOnChanges(changes: SimpleChanges): void;
90
90
  ngAfterViewInit(): void;
91
91
  ngOnDestroy(): void;
92
92
  mousePushedDown(event: MouseEvent): void;
@@ -121,5 +121,5 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
121
121
  private registerMenuTriggerEventHandlers;
122
122
  private stopMessageMenuShowTimer;
123
123
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, never>;
124
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "stream-message", never, { "message": { "alias": "message"; "required": false; }; "enabledMessageActions": { "alias": "enabledMessageActions"; "required": false; }; "isLastSentMessage": { "alias": "isLastSentMessage"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "isHighlighted": { "alias": "isHighlighted"; "required": false; }; "scroll$": { "alias": "scroll$"; "required": false; }; }, {}, never, never, false, never>;
124
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "stream-message", never, { "message": "message"; "enabledMessageActions": "enabledMessageActions"; "isLastSentMessage": "isLastSentMessage"; "mode": "mode"; "isHighlighted": "isHighlighted"; "scroll$": "scroll$"; }, {}, never, never, false, never>;
125
125
  }
@@ -4,7 +4,7 @@ import { CustomMessageActionItem, MessageActionBoxItemContext, MessageActionItem
4
4
  import { MessageActionsService } from '../message-actions.service';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
- * The `MessageActionsBox` component displays a list of message actions (i.e edit), that can be opened or closed. You can find the [list of the supported actions](/chat/docs/sdk/angular/concepts/message-interactions/) in the message interaction guide.
7
+ * The `MessageActionsBox` component displays a list of message actions (i.e edit), that can be opened or closed. You can find the [list of the supported actions](/chat/docs/sdk/angular/v6-rc/concepts/message-interactions/) in the message interaction guide.
8
8
  */
9
9
  export declare class MessageActionsBoxComponent implements OnInit, OnChanges, OnDestroy, AfterViewInit {
10
10
  readonly customTemplatesService: CustomTemplatesService;
@@ -23,7 +23,7 @@ export declare class MessageActionsBoxComponent implements OnInit, OnChanges, On
23
23
  */
24
24
  messageTextHtmlElement: HTMLElement | undefined;
25
25
  /**
26
- * The list of [channel capabilities](/chat/docs/javascript/channel_capabilities/) that are enabled for the current user, the list of [supported interactions](/chat/docs/sdk/angular/concepts/message-interactions) can be found in our message interaction guide. Unathorized actions won't be displayed on the UI.
26
+ * The list of [channel capabilities](/chat/docs/javascript/channel_capabilities/) that are enabled for the current user, the list of [supported interactions](/chat/docs/sdk/angular/v6-rc/concepts/message-interactions) can be found in our message interaction guide. Unathorized actions won't be displayed on the UI.
27
27
  */
28
28
  enabledActions: string[];
29
29
  messageActionItemTemplate: TemplateRef<MessageActionBoxItemContext> | undefined;
@@ -34,15 +34,16 @@ export declare class MessageActionsBoxComponent implements OnInit, OnChanges, On
34
34
  private subscriptions;
35
35
  private isViewInited;
36
36
  constructor(customTemplatesService: CustomTemplatesService, messageActionsService: MessageActionsService, cdRef: ChangeDetectorRef);
37
- ngOnChanges(changes: SimpleChanges): void;
38
37
  ngOnInit(): void;
38
+ ngOnChanges(changes: SimpleChanges): void;
39
39
  ngAfterViewInit(): void;
40
40
  ngOnDestroy(): void;
41
41
  getActionLabel(actionLabelOrTranslationKey: ((message: StreamMessage) => string) | string): string;
42
42
  getReactionSelectorTemplateContext(): MessageReactionsSelectorContext;
43
43
  getMessageActionTemplateContext(item: MessageActionItem | CustomMessageActionItem | MessageReactionActionItem): MessageActionBoxItemContext;
44
+ trackByActionName(_: number, item: MessageActionItem | CustomMessageActionItem | MessageReactionActionItem): string;
44
45
  private isReactAction;
45
46
  private setVisibleActions;
46
47
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageActionsBoxComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageActionsBoxComponent, "stream-message-actions-box", never, { "isMine": { "alias": "isMine"; "required": false; }; "message": { "alias": "message"; "required": false; }; "messageTextHtmlElement": { "alias": "messageTextHtmlElement"; "required": false; }; "enabledActions": { "alias": "enabledActions"; "required": false; }; }, {}, never, never, false, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageActionsBoxComponent, "stream-message-actions-box", never, { "isMine": "isMine"; "message": "message"; "messageTextHtmlElement": "messageTextHtmlElement"; "enabledActions": "enabledActions"; }, {}, never, never, false, never>;
48
49
  }
@@ -1,32 +1,32 @@
1
1
  import { BehaviorSubject } from 'rxjs';
2
- import { CustomMessageActionItem, DefaultStreamChatGenerics, MessageActionItem, MessageActionsClickDetails, MessageReactionActionItem, StreamMessage } from './types';
2
+ import { CustomMessageActionItem, MessageActionItem, MessageActionsClickDetails, MessageReactionActionItem, StreamMessage } from './types';
3
3
  import { ChatClientService } from './chat-client.service';
4
4
  import { NotificationService } from './notification.service';
5
5
  import { ChannelService } from './channel.service';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * The message actions service provides customization options for the [message actions](/chat/docs/sdk/angular/components/MessageActionsBoxComponent)
8
+ * The message actions service provides customization options for the [message actions](/chat/docs/sdk/angular/v6-rc/components/MessageActionsBoxComponent)
9
9
  */
10
- export declare class MessageActionsService<T extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> {
10
+ export declare class MessageActionsService {
11
11
  private chatClientService;
12
12
  private notificationService;
13
13
  private channelService;
14
14
  /**
15
15
  * Default actions - these are the actions that are handled by the built-in component
16
16
  */
17
- readonly defaultActions: (MessageActionItem<T> | MessageReactionActionItem<T>)[];
17
+ readonly defaultActions: (MessageActionItem | MessageReactionActionItem)[];
18
18
  /**
19
19
  * The built-in components will handle changes to this observable.
20
20
  */
21
- messageToEdit$: BehaviorSubject<StreamMessage<T> | undefined>;
21
+ messageToEdit$: BehaviorSubject<StreamMessage | undefined>;
22
22
  /**
23
23
  * You can pass your own custom actions that will be displayed inside the built-in message actions component
24
24
  */
25
25
  customActions$: BehaviorSubject<CustomMessageActionItem[]>;
26
26
  /**
27
- * By default the [`MessageComponent`](/chat/docs/sdk/angular/components/MessageComponent/) will display the [`MessageActionsBoxComponent`](/chat/docs/sdk/angular/components/MessageActionsBoxComponent/). You can override that behavior by providing your own event handler.
27
+ * By default the [`MessageComponent`](/chat/docs/sdk/angular/v6-rc/components/MessageComponent/) will display the [`MessageActionsBoxComponent`](/chat/docs/sdk/angular/v6-rc/components/MessageActionsBoxComponent/). You can override that behavior by providing your own event handler.
28
28
  */
29
- customActionClickHandler?: (details: MessageActionsClickDetails<T>) => void;
29
+ customActionClickHandler?: (details: MessageActionsClickDetails) => void;
30
30
  /**
31
31
  * @internal
32
32
  */
@@ -39,7 +39,7 @@ export declare class MessageActionsService<T extends DefaultStreamChatGenerics =
39
39
  * @param enabledActions
40
40
  * @returns the count
41
41
  */
42
- getAuthorizedMessageActionsCount(message: StreamMessage<T>, enabledActions: string[]): number;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<MessageActionsService<any>, never>;
44
- static ɵprov: i0.ɵɵInjectableDeclaration<MessageActionsService<any>>;
42
+ getAuthorizedMessageActionsCount(message: StreamMessage, enabledActions: string[]): number;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageActionsService, never>;
44
+ static ɵprov: i0.ɵɵInjectableDeclaration<MessageActionsService>;
45
45
  }
@@ -5,7 +5,7 @@ import { MessageActionsService } from '../message-actions.service';
5
5
  import { StreamMessage } from '../types';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * The component watches for the [`channelService.bouncedMessage$` stream](/chat/docs/sdk/angular/services/ChannelService/#bouncedmessage) and opens the bounce modal if a message is emitted.
8
+ * The component watches for the [`channelService.bouncedMessage$` stream](/chat/docs/sdk/angular/v6-rc/services/ChannelService/#bouncedmessage) and opens the bounce modal if a message is emitted.
9
9
  *
10
10
  * To bounce messages, you need to set up [semantic filters for moderation](https://getstream.io/automated-moderation/docs/automod_configuration/?q=semantic%20filters).
11
11
  */
@@ -11,7 +11,7 @@ import { CustomTemplatesService } from '../../custom-templates.service';
11
11
  import { MessageInputConfigService } from '../message-input-config.service';
12
12
  import * as i0 from "@angular/core";
13
13
  /**
14
- * The `AutocompleteTextarea` component is used by the [`MessageInput`](/chat/docs/sdk/angular/components/MessageInputComponent/) component to display the input HTML element where users can type their message.
14
+ * The `AutocompleteTextarea` component is used by the [`MessageInput`](/chat/docs/sdk/angular/v6-rc/components/MessageInputComponent/) component to display the input HTML element where users can type their message.
15
15
  */
16
16
  export declare class AutocompleteTextareaComponent implements TextareaInterface, OnChanges, AfterViewInit {
17
17
  private channelService;
@@ -31,15 +31,15 @@ export declare class AutocompleteTextareaComponent implements TextareaInterface,
31
31
  */
32
32
  placeholder: string;
33
33
  /**
34
- * If true, users can mention other users in messages. You can also set this input on the [`MessageInput`](/chat/docs/sdk/angular/components/MessageInputComponent/#inputs-and-outputs/) component.
34
+ * If true, users can mention other users in messages. You can also set this input on the [`MessageInput`](/chat/docs/sdk/angular/v6-rc/components/MessageInputComponent/#inputs-and-outputs/) component.
35
35
  */
36
36
  areMentionsEnabled: boolean | undefined;
37
37
  /**
38
- * See [`MessageInputConfigService`](/chat/docs/sdk/angular/services/MessageInputConfigService) for more information
38
+ * See [`MessageInputConfigService`](/chat/docs/sdk/angular/v6-rc/services/MessageInputConfigService) for more information
39
39
  */
40
40
  inputMode: 'desktop' | 'mobile';
41
41
  /**
42
- * The scope for user mentions, either members of the current channel of members of the application. You can also set this input on the [`MessageInput`](/chat/docs/sdk/angular/components/MessageInputComponent/#inputs-and-outputs) component.
42
+ * The scope for user mentions, either members of the current channel of members of the application. You can also set this input on the [`MessageInput`](/chat/docs/sdk/angular/v6-rc/components/MessageInputComponent/#inputs-and-outputs) component.
43
43
  */
44
44
  mentionScope: 'channel' | 'application';
45
45
  /**
@@ -94,5 +94,5 @@ export declare class AutocompleteTextareaComponent implements TextareaInterface,
94
94
  private updateMentionedUsersFromText;
95
95
  private updateCustomAutocompleteOptions;
96
96
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteTextareaComponent, never>;
97
- static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteTextareaComponent, "stream-autocomplete-textarea", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "areMentionsEnabled": { "alias": "areMentionsEnabled"; "required": false; }; "inputMode": { "alias": "inputMode"; "required": false; }; "mentionScope": { "alias": "mentionScope"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; }, { "valueChange": "valueChange"; "send": "send"; "userMentions": "userMentions"; "pasteFromClipboard": "pasteFromClipboard"; }, never, never, false, never>;
97
+ 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"; "pasteFromClipboard": "pasteFromClipboard"; }, never, never, false, never>;
98
98
  }
@@ -1,11 +1,11 @@
1
1
  import { Subject } from 'rxjs';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
- * If you have an emoji picker in your application, you can propagate the selected emoji to the textarea using this service, more info can be found in [custom emoji picker guide](/chat/docs/sdk/angular/code-examples/emoji-picker/)
4
+ * If you have an emoji picker in your application, you can propagate the selected emoji to the textarea using this service, more info can be found in [custom emoji picker guide](/chat/docs/sdk/angular/v6-rc/code-examples/emoji-picker/)
5
5
  */
6
6
  export declare class EmojiInputService {
7
7
  /**
8
- * If you have an emoji picker in your application, you can propagate the selected emoji to the textarea using this Subject, more info can be found in [custom emoji picker guide](/chat/docs/sdk/angular/code-examples/emoji-picker/)
8
+ * If you have an emoji picker in your application, you can propagate the selected emoji to the textarea using this Subject, more info can be found in [custom emoji picker guide](/chat/docs/sdk/angular/v6-rc/code-examples/emoji-picker/)
9
9
  */
10
10
  emojiInput$: Subject<string>;
11
11
  constructor();
@@ -3,7 +3,7 @@ import { BehaviorSubject } from 'rxjs';
3
3
  import { CustomAutocomplete } from '../types';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
- * The `MessageInputConfigService` is used to keep a consistent configuration among the different [`MessageInput`](/chat/docs/sdk/angular/components/MessageInputComponent/) components if your UI has more than one input component.
6
+ * The `MessageInputConfigService` is used to keep a consistent configuration among the different [`MessageInput`](/chat/docs/sdk/angular/v6-rc/components/MessageInputComponent/) components if your UI has more than one input component.
7
7
  */
8
8
  export declare class MessageInputConfigService {
9
9
  /**
@@ -11,7 +11,7 @@ export declare class MessageInputConfigService {
11
11
  */
12
12
  isFileUploadEnabled: boolean | undefined;
13
13
  /**
14
- * If true, users can mention other users in messages. You also [need to use the `AutocompleteTextarea`](/chat/docs/sdk/angular/concepts/opt-in-architecture/) for this feature to work.
14
+ * If true, users can mention other users in messages. You also [need to use the `AutocompleteTextarea`](/chat/docs/sdk/angular/v6-rc/concepts/opt-in-architecture/) for this feature to work.
15
15
  */
16
16
  areMentionsEnabled: boolean | undefined;
17
17
  /**
@@ -34,7 +34,7 @@ export declare class MessageInputConfigService {
34
34
  /**
35
35
  * Override the message input's default event handler for [paste events](https://developer.mozilla.org/en-US/docs/Web/API/Element/paste_event)
36
36
  *
37
- * The event handler will receive the event object, and the [message input component](/chat/docs/sdk/angular/components/MessageInputComponent).
37
+ * The event handler will receive the event object, and the [message input component](/chat/docs/sdk/angular/v6-rc/components/MessageInputComponent).
38
38
  *
39
39
  * You can use the public API of the message input component to update the composer. Typically you want to update the message text and/or attachments, this is how you can do these:
40
40
  * - Change message text: `inputComponent.textareaValue = '<new value>'`