stream-chat-angular 2.14.0 → 2.15.0

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 (56) hide show
  1. package/assets/version.d.ts +1 -1
  2. package/bundles/stream-chat-angular.umd.js +159 -9
  3. package/bundles/stream-chat-angular.umd.js.map +1 -1
  4. package/esm2015/assets/version.js +2 -2
  5. package/esm2015/lib/attachment-list/attachment-list.component.js +7 -1
  6. package/esm2015/lib/attachment-preview-list/attachment-preview-list.component.js +4 -1
  7. package/esm2015/lib/attachment.service.js +1 -1
  8. package/esm2015/lib/avatar/avatar.component.js +7 -1
  9. package/esm2015/lib/channel/channel.component.js +4 -1
  10. package/esm2015/lib/channel-header/channel-header.component.js +4 -1
  11. package/esm2015/lib/channel-list/channel-list.component.js +4 -1
  12. package/esm2015/lib/channel-preview/channel-preview.component.js +4 -1
  13. package/esm2015/lib/channel.service.js +2 -2
  14. package/esm2015/lib/icon/icon.component.js +4 -1
  15. package/esm2015/lib/loading-indicator/loading-indicator.component.js +10 -1
  16. package/esm2015/lib/message/message.component.js +10 -1
  17. package/esm2015/lib/message-actions-box/message-actions-box.component.js +19 -1
  18. package/esm2015/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.js +22 -1
  19. package/esm2015/lib/message-input/message-input-config.service.js +2 -2
  20. package/esm2015/lib/message-input/message-input.component.js +10 -1
  21. package/esm2015/lib/message-input/textarea/textarea.component.js +13 -1
  22. package/esm2015/lib/message-list/message-list.component.js +9 -3
  23. package/esm2015/lib/message-reactions/message-reactions.component.js +22 -4
  24. package/esm2015/lib/modal/modal.component.js +10 -1
  25. package/esm2015/lib/notification/notification.component.js +4 -1
  26. package/esm2015/lib/notification-list/notification-list.component.js +4 -1
  27. package/esm2015/lib/notification.service.js +2 -2
  28. package/esm2015/lib/thread/thread.component.js +4 -1
  29. package/fesm2015/stream-chat-angular.js +159 -9
  30. package/fesm2015/stream-chat-angular.js.map +1 -1
  31. package/lib/attachment-list/attachment-list.component.d.ts +9 -0
  32. package/lib/attachment-preview-list/attachment-preview-list.component.d.ts +3 -0
  33. package/lib/attachment.service.d.ts +1 -1
  34. package/lib/avatar/avatar.component.d.ts +12 -0
  35. package/lib/channel/channel.component.d.ts +3 -0
  36. package/lib/channel-header/channel-header.component.d.ts +3 -0
  37. package/lib/channel-list/channel-list.component.d.ts +6 -0
  38. package/lib/channel-preview/channel-preview.component.d.ts +6 -0
  39. package/lib/channel.service.d.ts +1 -1
  40. package/lib/icon/icon.component.d.ts +9 -0
  41. package/lib/loading-indicator/loading-indicator.component.d.ts +9 -0
  42. package/lib/message/message.component.d.ts +27 -3
  43. package/lib/message-actions-box/message-actions-box.component.d.ts +24 -0
  44. package/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.d.ts +27 -0
  45. package/lib/message-input/message-input-config.service.d.ts +1 -1
  46. package/lib/message-input/message-input.component.d.ts +36 -1
  47. package/lib/message-input/textarea/textarea.component.d.ts +12 -0
  48. package/lib/message-list/message-list.component.d.ts +20 -2
  49. package/lib/message-reactions/message-reactions.component.d.ts +22 -1
  50. package/lib/modal/modal.component.d.ts +9 -0
  51. package/lib/notification/notification.component.d.ts +6 -0
  52. package/lib/notification-list/notification-list.component.d.ts +3 -0
  53. package/lib/notification.service.d.ts +1 -1
  54. package/lib/thread/thread.component.d.ts +3 -0
  55. package/package.json +1 -1
  56. package/src/assets/version.ts +1 -1
@@ -1 +1 @@
1
- export declare const version = "2.14.0";
1
+ export declare const version = "2.15.0";
@@ -354,10 +354,10 @@
354
354
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
355
355
  }
356
356
 
357
- var version = '2.14.0';
357
+ var version = '2.15.0';
358
358
 
359
359
  /**
360
- * The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/notifications.mdx) component displays the currently active notifications.
360
+ * The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/NotificationListComponent.mdx) component displays the currently active notifications.
361
361
  */
362
362
  var NotificationService = /** @class */ (function () {
363
363
  function NotificationService() {
@@ -828,7 +828,7 @@
828
828
  });
829
829
  };
830
830
  /**
831
- * Resets the `activeChannel$`, `channels$` and `activeChannelMessages$` Observables. Useful when disconnecting a chat user, use in combination with [`disconnectUser`](./chat-client.mdx/#disconnectuser).
831
+ * Resets the `activeChannel$`, `channels$` and `activeChannelMessages$` Observables. Useful when disconnecting a chat user, use in combination with [`disconnectUser`](./ChatClientService.mdx/#disconnectuser).
832
832
  */
833
833
  ChannelService.prototype.reset = function () {
834
834
  this.activeChannelMessagesSubject.next([]);
@@ -2146,8 +2146,14 @@
2146
2146
  }]
2147
2147
  }], ctorParameters: function () { return [{ type: i2__namespace.TranslateService }]; } });
2148
2148
 
2149
+ /**
2150
+ * The `Avatar` component displays the provided image, with fallback to the first letter of the optional name input.
2151
+ */
2149
2152
  var AvatarComponent = /** @class */ (function () {
2150
2153
  function AvatarComponent() {
2154
+ /**
2155
+ * The size in pixels of the avatar image.
2156
+ */
2151
2157
  this.size = 32;
2152
2158
  this.isLoaded = false;
2153
2159
  this.isError = false;
@@ -2179,6 +2185,9 @@
2179
2185
  type: i0.Input
2180
2186
  }] } });
2181
2187
 
2188
+ /**
2189
+ * The `Icon` component can be used to display different icons (i. e. message delivered icon).
2190
+ */
2182
2191
  var IconComponent = /** @class */ (function () {
2183
2192
  function IconComponent() {
2184
2193
  }
@@ -2199,9 +2208,18 @@
2199
2208
  type: i0.Input
2200
2209
  }] } });
2201
2210
 
2211
+ /**
2212
+ * The `LoadingIndicator` component displays a spinner to indicate that an action is in progress.
2213
+ */
2202
2214
  var LoadingIndicatorComponent = /** @class */ (function () {
2203
2215
  function LoadingIndicatorComponent() {
2216
+ /**
2217
+ * The size of the indicator (in pixels)
2218
+ */
2204
2219
  this.size = 15;
2220
+ /**
2221
+ * The color of the indicator
2222
+ */
2205
2223
  this.color = '#006CFF';
2206
2224
  }
2207
2225
  return LoadingIndicatorComponent;
@@ -2331,7 +2349,7 @@
2331
2349
  }], ctorParameters: function () { return []; } });
2332
2350
 
2333
2351
  /**
2334
- * The `MessageInputConfigService` is used to keep a consistent configuration among the different [`MessageInput`](../components/message-input.mdx) components if your UI has more than one input component.
2352
+ * The `MessageInputConfigService` is used to keep a consistent configuration among the different [`MessageInput`](../components/MessageInputComponent.mdx) components if your UI has more than one input component.
2335
2353
  */
2336
2354
  var MessageInputConfigService = /** @class */ (function () {
2337
2355
  function MessageInputConfigService() {
@@ -2384,10 +2402,16 @@
2384
2402
  }]
2385
2403
  }], ctorParameters: function () { return []; } });
2386
2404
 
2405
+ /**
2406
+ * The `AttachmentList` compontent displays the attachments of a message
2407
+ */
2387
2408
  var AttachmentListComponent = /** @class */ (function () {
2388
2409
  function AttachmentListComponent(imageLoadService, channelService) {
2389
2410
  this.imageLoadService = imageLoadService;
2390
2411
  this.channelService = channelService;
2412
+ /**
2413
+ * The attachments to display
2414
+ */
2391
2415
  this.attachments = [];
2392
2416
  this.orderedAttachments = [];
2393
2417
  }
@@ -2453,6 +2477,9 @@
2453
2477
  type: i0.Input
2454
2478
  }] } });
2455
2479
 
2480
+ /**
2481
+ * The `AttachmentPreviewList` compontent displays a preview of the attachments uploaded to a message. Users can delete attachments using the preview component, or retry upload if it failed previously.
2482
+ */
2456
2483
  var AttachmentPreviewListComponent = /** @class */ (function () {
2457
2484
  function AttachmentPreviewListComponent(attachmentService) {
2458
2485
  this.attachmentService = attachmentService;
@@ -2498,6 +2525,9 @@
2498
2525
  }]
2499
2526
  }], ctorParameters: function () { return [{ type: AttachmentService }]; } });
2500
2527
 
2528
+ /**
2529
+ * 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).
2530
+ */
2501
2531
  var MessageInputComponent = /** @class */ (function () {
2502
2532
  function MessageInputComponent(channelService, notificationService, attachmentService, configService, textareaType, componentFactoryResolver, cdRef, chatClient, emojiInputService) {
2503
2533
  var _this = this;
@@ -2510,7 +2540,13 @@
2510
2540
  this.cdRef = cdRef;
2511
2541
  this.chatClient = chatClient;
2512
2542
  this.emojiInputService = emojiInputService;
2543
+ /**
2544
+ * Determines if the message is being dispalyed in a channel or in a [thread](https://getstream.io/chat/docs/javascript/threads/?language=javascript).
2545
+ */
2513
2546
  this.mode = 'main';
2547
+ /**
2548
+ * Emits when a message was successfuly sent or updated
2549
+ */
2514
2550
  this.messageUpdate = new i0.EventEmitter();
2515
2551
  this.textareaValue = '';
2516
2552
  this.mentionedUsers = [];
@@ -2864,10 +2900,19 @@
2864
2900
  args: [TextareaDirective, { static: false }]
2865
2901
  }] } });
2866
2902
 
2903
+ /**
2904
+ * The `Modal` component displays its content in an overlay. The modal can be closed with a close button, if the user clicks outside of the modal content, or if the escape button is pressed. The modal can also be closed from outside.
2905
+ */
2867
2906
  var ModalComponent = /** @class */ (function () {
2868
2907
  function ModalComponent() {
2869
2908
  var _this = this;
2909
+ /**
2910
+ * If `true` the modal will be displayed, if `false` the modal will be hidden
2911
+ */
2870
2912
  this.isOpen = false;
2913
+ /**
2914
+ * Emits `true` if the modal becomes visible, and `false` if the modal is closed.
2915
+ */
2871
2916
  this.isOpenChange = new i0.EventEmitter();
2872
2917
  this.watchForEscPress = function (event) {
2873
2918
  if (event.key === 'Escape') {
@@ -2926,6 +2971,9 @@
2926
2971
  args: ['content']
2927
2972
  }] } });
2928
2973
 
2974
+ /**
2975
+ * The `Notification` component displays a notification within the [`NotificationList`](./NotificationListComponent.mdx)
2976
+ */
2929
2977
  var NotificationComponent = /** @class */ (function () {
2930
2978
  function NotificationComponent() {
2931
2979
  }
@@ -2944,6 +2992,9 @@
2944
2992
  type: i0.Input
2945
2993
  }] } });
2946
2994
 
2995
+ /**
2996
+ * The `NotificationList` component displays the list of active notifications.
2997
+ */
2947
2998
  var NotificationListComponent = /** @class */ (function () {
2948
2999
  function NotificationListComponent(notificationService) {
2949
3000
  this.notificationService = notificationService;
@@ -2965,16 +3016,34 @@
2965
3016
  }]
2966
3017
  }], ctorParameters: function () { return [{ type: NotificationService }]; } });
2967
3018
 
3019
+ /**
3020
+ * 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](../concepts/message-interactions.mdx) in the message interaction guide.
3021
+ */
2968
3022
  var MessageActionsBoxComponent = /** @class */ (function () {
2969
3023
  function MessageActionsBoxComponent(chatClientService, notificationService, channelService) {
2970
3024
  var _this = this;
2971
3025
  this.chatClientService = chatClientService;
2972
3026
  this.notificationService = notificationService;
2973
3027
  this.channelService = channelService;
3028
+ /**
3029
+ * 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.
3030
+ */
2974
3031
  this.isOpen = false;
3032
+ /**
3033
+ * Indicates if the message actions are belonging to a message that was sent by the current user or not.
3034
+ */
2975
3035
  this.isMine = false;
3036
+ /**
3037
+ * 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.
3038
+ */
2976
3039
  this.enabledActions = [];
3040
+ /**
3041
+ * The number of authorized actions (it can be less or equal than the number of enabled actions)
3042
+ */
2977
3043
  this.displayedActionsCount = new i0.EventEmitter();
3044
+ /**
3045
+ * An event which emits `true` if the edit message modal is open, and `false` when it is closed.
3046
+ */
2978
3047
  this.isEditing = new i0.EventEmitter();
2979
3048
  this.isEditModalOpen = false;
2980
3049
  this.modalClosed = function () {
@@ -3149,6 +3218,9 @@
3149
3218
  args: [MessageInputComponent]
3150
3219
  }] } });
3151
3220
 
3221
+ /**
3222
+ * The `Channel` component is a container component that displays the [`ChannelHeader`](./ChannelHeaderComponent.mdx), [`MessageList`](./MessageListComponent.mdx), [`NotificationList`](./NotificationListComponent.mdx) and [`MessageInput`](./MessageInputComponent.mdx) components. You can also provide the [`Thread`](./ThreadComponent.mdx) component to use message [threads](https://getstream.io/chat/docs/javascript/threads/?language=javascript).
3223
+ */
3152
3224
  var ChannelComponent = /** @class */ (function () {
3153
3225
  function ChannelComponent(channelService) {
3154
3226
  this.channelService = channelService;
@@ -3253,6 +3325,9 @@
3253
3325
  args: [{ providedIn: 'root' }]
3254
3326
  }], ctorParameters: function () { return []; } });
3255
3327
 
3328
+ /**
3329
+ * The `ChannelHeader` component displays the avatar and name of the currently active channel along with member and watcher information. You can read about [the difference between members and watchers](https://getstream.io/chat/docs/javascript/watch_channel/?language=javascript#watchers-vs-members) in the platform documentation. Please note that number of watchers is only displayed if the user has [`connect-events` capability](https://getstream.io/chat/docs/javascript/channel_capabilities/?language=javascript)
3330
+ */
3256
3331
  var ChannelHeaderComponent = /** @class */ (function () {
3257
3332
  function ChannelHeaderComponent(channelService, channelListToggleService) {
3258
3333
  var _this = this;
@@ -3302,6 +3377,9 @@
3302
3377
  }]
3303
3378
  }], ctorParameters: function () { return [{ type: ChannelService }, { type: ChannelListToggleService }]; } });
3304
3379
 
3380
+ /**
3381
+ * The `ChannelPreview` component displays a channel preview in the channel list, it consists of the image, name and latest message of the channel.
3382
+ */
3305
3383
  var ChannelPreviewComponent = /** @class */ (function () {
3306
3384
  function ChannelPreviewComponent(channelService, ngZone) {
3307
3385
  this.channelService = channelService;
@@ -3404,6 +3482,9 @@
3404
3482
  type: i0.Input
3405
3483
  }] } });
3406
3484
 
3485
+ /**
3486
+ * The `ChannelList` component renders the list of channels.
3487
+ */
3407
3488
  var ChannelListComponent = /** @class */ (function () {
3408
3489
  function ChannelListComponent(channelService, channelListToggleService) {
3409
3490
  this.channelService = channelService;
@@ -3500,16 +3581,34 @@
3500
3581
  wow: '😮',
3501
3582
  sad: '😞',
3502
3583
  };
3584
+ /**
3585
+ * The `MessageReactions` component displays the reactions of a message, the current user can add and remove reactions. You can read more about [message reactions](https://getstream.io/chat/docs/javascript/send_reaction/?language=javascript) in the platform documentation.
3586
+ */
3503
3587
  var MessageReactionsComponent = /** @class */ (function () {
3504
3588
  function MessageReactionsComponent(cdRef, channelService) {
3505
3589
  var _this = this;
3506
3590
  this.cdRef = cdRef;
3507
3591
  this.channelService = channelService;
3592
+ /**
3593
+ * The number of reactions grouped by [reaction types](https://github.com/GetStream/stream-chat-angular/tree/master/projects/stream-chat-angular/src/lib/message-reactions/message-reactions.component.ts)
3594
+ */
3508
3595
  this.messageReactionCounts = {};
3596
+ /**
3597
+ * Indicates if the selector should be opened or closed. Adding a UI element to open and close the selector is the parent's component responsibility.
3598
+ */
3509
3599
  this.isSelectorOpen = false;
3510
- this.isSelectorOpenChange = new i0.EventEmitter();
3600
+ /**
3601
+ * List of reactions of a [message](../types/stream-message.mdx), used to display the users of a reaction type.
3602
+ */
3511
3603
  this.latestReactions = [];
3604
+ /**
3605
+ * List of the user's own reactions of a [message](../types/stream-message.mdx), used to display the users of a reaction type.
3606
+ */
3512
3607
  this.ownReactions = [];
3608
+ /**
3609
+ * Indicates if the selector should be opened or closed. Adding a UI element to open and close the selector is the parent's component responsibility.
3610
+ */
3611
+ this.isSelectorOpenChange = new i0.EventEmitter();
3513
3612
  this.eventHandler = function (event) {
3514
3613
  var _a;
3515
3614
  if (!((_a = _this.selectorContainer) === null || _a === void 0 ? void 0 : _a.nativeElement.contains(event.target))) {
@@ -3623,12 +3722,12 @@
3623
3722
  type: i0.Input
3624
3723
  }], isSelectorOpen: [{
3625
3724
  type: i0.Input
3626
- }], isSelectorOpenChange: [{
3627
- type: i0.Output
3628
3725
  }], latestReactions: [{
3629
3726
  type: i0.Input
3630
3727
  }], ownReactions: [{
3631
3728
  type: i0.Input
3729
+ }], isSelectorOpenChange: [{
3730
+ type: i0.Output
3632
3731
  }], selectorContainer: [{
3633
3732
  type: i0.ViewChild,
3634
3733
  args: ['selectorContainer']
@@ -3637,11 +3736,20 @@
3637
3736
  args: ['selectorTooltip']
3638
3737
  }] } });
3639
3738
 
3739
+ /**
3740
+ * 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)](../concepts/message-interactions.mdx).
3741
+ */
3640
3742
  var MessageComponent = /** @class */ (function () {
3641
3743
  function MessageComponent(chatClientService, channelService) {
3642
3744
  this.chatClientService = chatClientService;
3643
3745
  this.channelService = channelService;
3746
+ /**
3747
+ * 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. The [`MessageList`](./MessageListComponent.mdx) component automatically sets this based on [channel capabilities](https://getstream.io/chat/docs/javascript/channel_capabilities/?language=javascript).
3748
+ */
3644
3749
  this.enabledMessageActions = [];
3750
+ /**
3751
+ * Determines if the message is being dispalyed in a channel or in a [thread](https://getstream.io/chat/docs/javascript/threads/?language=javascript).
3752
+ */
3645
3753
  this.mode = 'main';
3646
3754
  this.isActionBoxOpen = false;
3647
3755
  this.isReactionSelectorOpen = false;
@@ -3878,13 +3986,25 @@
3878
3986
  args: ['container']
3879
3987
  }] } });
3880
3988
 
3989
+ /**
3990
+ * The `Textarea` component is used by the [`MessageInput`](./MessageInputComponent.mdx) component to display the input HTML element where users can type their message.
3991
+ */
3881
3992
  var TextareaComponent = /** @class */ (function () {
3882
3993
  function TextareaComponent(emojiInputService) {
3883
3994
  var _this = this;
3884
3995
  this.emojiInputService = emojiInputService;
3885
3996
  this.class = 'str-chat__textarea';
3997
+ /**
3998
+ * The value of the input HTML element.
3999
+ */
3886
4000
  this.value = '';
4001
+ /**
4002
+ * Emits the current value of the input element when a user types.
4003
+ */
3887
4004
  this.valueChange = new i0.EventEmitter();
4005
+ /**
4006
+ * Emits when a user triggers a message send event (this happens when they hit the `Enter` key).
4007
+ */
3888
4008
  this.send = new i0.EventEmitter();
3889
4009
  this.subscriptions = [];
3890
4010
  this.subscriptions.push(this.emojiInputService.emojiInput$.subscribe(function (emoji) {
@@ -3957,6 +4077,9 @@
3957
4077
  args: [{ providedIn: 'root' }]
3958
4078
  }], ctorParameters: function () { return []; } });
3959
4079
 
4080
+ /**
4081
+ * The `AutocompleteTextarea` component is used by the [`MessageInput`](./MessageInputComponent.mdx) component to display the input HTML element where users can type their message.
4082
+ */
3960
4083
  var AutocompleteTextareaComponent = /** @class */ (function () {
3961
4084
  function AutocompleteTextareaComponent(channelService, chatClientService, transliterationService, emojiInputService) {
3962
4085
  var _this = this;
@@ -3965,11 +4088,29 @@
3965
4088
  this.transliterationService = transliterationService;
3966
4089
  this.emojiInputService = emojiInputService;
3967
4090
  this.class = 'str-chat__textarea';
4091
+ /**
4092
+ * The value of the input HTML element.
4093
+ */
3968
4094
  this.value = '';
4095
+ /**
4096
+ * If true, users can mention other users in messages. You can also set this input on the [`MessageInput`](./MessageInputComponent.mdx/#inputs-and-outputs) component.
4097
+ */
3969
4098
  this.areMentionsEnabled = true;
4099
+ /**
4100
+ * 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`](./MessageInputComponent.mdx/#inputs-and-outputs) component.
4101
+ */
3970
4102
  this.mentionScope = 'channel';
4103
+ /**
4104
+ * Emits the current value of the input element when a user types.
4105
+ */
3971
4106
  this.valueChange = new i0.EventEmitter();
4107
+ /**
4108
+ * Emits when a user triggers a message send event (this happens when they hit the `Enter` key).
4109
+ */
3972
4110
  this.send = new i0.EventEmitter();
4111
+ /**
4112
+ * Emits the array of users that are mentioned in the message, it is updated when a user mentions a new user or deletes a mention.
4113
+ */
3973
4114
  this.userMentions = new i0.EventEmitter();
3974
4115
  this.autocompleteKey = 'autocompleteLabel';
3975
4116
  this.mentionTriggerChar = '@';
@@ -4209,6 +4350,9 @@
4209
4350
  date1.getDate() === date2.getDate());
4210
4351
  };
4211
4352
 
4353
+ /**
4354
+ * The `MessageList` component renders a scrollable list of messages.
4355
+ */
4212
4356
  var MessageListComponent = /** @class */ (function () {
4213
4357
  function MessageListComponent(channelService, chatClientService, imageLoadService) {
4214
4358
  var _this = this;
@@ -4216,14 +4360,17 @@
4216
4360
  this.chatClientService = chatClientService;
4217
4361
  this.imageLoadService = imageLoadService;
4218
4362
  /**
4219
- * @deprecated https://getstream.io/chat/docs/sdk/angular/components/message_list/#caution-arereactionsenabled-deprecated
4363
+ * @deprecated use [channel capabilities](https://getstream.io/chat/docs/javascript/channel_capabilities/?language=javascript) instead. If true, the message reactions are displayed. Users can also react to messages if they have the necessary [channel capability](https://getstream.io/chat/docs/javascript/channel_capabilities/?language=javascript).
4220
4364
  */
4221
4365
  this.areReactionsEnabled = undefined;
4222
4366
  /**
4223
- * @deprecated https://getstream.io/chat/docs/sdk/angular/components/message_list/#caution-enabledmessageactions-deprecated
4367
+ * @deprecated use [channel capabilities](https://getstream.io/chat/docs/javascript/channel_capabilities/?language=javascript) instead. The list of [actions that are enabled](./MessageActionsBoxComponent.mdx), please note that the user also has to have the necessary [channel capabilities](https://getstream.io/chat/docs/javascript/channel_capabilities/?language=javascript) for actions to work. Unathorized actions won't be displayed on the UI. The `MessgaeList` component makes the necessary checks before passing the actions to the `Message` component.
4224
4368
  */
4225
4369
  /* eslint-disable-next-line @angular-eslint/no-input-rename */
4226
4370
  this.enabledMessageActionsInput = undefined;
4371
+ /**
4372
+ * Determines if the message list should display channel messages or [thread messages](https://getstream.io/chat/docs/javascript/threads/?language=javascript).
4373
+ */
4227
4374
  this.mode = 'main';
4228
4375
  this.enabledMessageActions = [];
4229
4376
  this.class = 'str-chat-angular__main-panel-inner str-chat-angular__message-list-host';
@@ -4487,6 +4634,9 @@
4487
4634
  args: ['parentMessageElement']
4488
4635
  }] } });
4489
4636
 
4637
+ /**
4638
+ * The `Thread` component represents a [message thread](https://getstream.io/chat/docs/javascript/threads/?language=javascript), it is a container component that displays a thread with a header, [`MessageList`](./MessageListComponent.mdx) and [`MessageInput`](./MessageInputComponent.mdx) components.
4639
+ */
4490
4640
  var ThreadComponent = /** @class */ (function () {
4491
4641
  function ThreadComponent(channelService) {
4492
4642
  var _this = this;