stream-chat-angular 5.8.4 → 5.8.5

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.
@@ -1,2 +1,2 @@
1
1
  import { UserResponse } from 'stream-chat';
2
- export declare const listUsers: (users: UserResponse[]) => string;
2
+ export declare const listUsers: (users: UserResponse[], displayRestCount?: boolean, othersText?: string) => string;
@@ -9,6 +9,7 @@ import { DateParserService } from '../date-parser.service';
9
9
  import { MessageService } from '../message.service';
10
10
  import { MessageActionsService } from '../message-actions.service';
11
11
  import { NgxFloatUiContentComponent, NgxFloatUiLooseDirective } from 'ngx-float-ui';
12
+ import { TranslateService } from '@ngx-translate/core';
12
13
  import * as i0 from "@angular/core";
13
14
  declare type MessagePart = {
14
15
  content: string;
@@ -27,6 +28,7 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
27
28
  private messageService;
28
29
  messageActionsService: MessageActionsService;
29
30
  private ngZone;
31
+ private translateService;
30
32
  /**
31
33
  * The message to be displayed
32
34
  */
@@ -91,7 +93,8 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
91
93
  private showMessageMenuTimeout?;
92
94
  private shouldPreventMessageMenuClose;
93
95
  private _visibleMessageActionsCount;
94
- constructor(chatClientService: ChatClientService, channelService: ChannelService, customTemplatesService: CustomTemplatesService, cdRef: ChangeDetectorRef, dateParser: DateParserService, messageService: MessageService, messageActionsService: MessageActionsService, ngZone: NgZone);
96
+ private channelMemberCount?;
97
+ constructor(chatClientService: ChatClientService, channelService: ChannelService, customTemplatesService: CustomTemplatesService, cdRef: ChangeDetectorRef, dateParser: DateParserService, messageService: MessageService, messageActionsService: MessageActionsService, ngZone: NgZone, translateService: TranslateService);
95
98
  get visibleMessageActionsCount(): number;
96
99
  set visibleMessageActionsCount(count: number);
97
100
  ngOnInit(): void;
@@ -126,6 +129,7 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
126
129
  private getMessageContent;
127
130
  private fixEmojiDisplay;
128
131
  private wrapLinksWithAnchorTag;
132
+ private updateReadByText;
129
133
  private setIsSentByCurrentUser;
130
134
  private setLastReadUser;
131
135
  private startMessageMenuShowTimer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-angular",
3
- "version": "5.8.4",
3
+ "version": "5.8.5",
4
4
  "description": "Angular components to create chat conversations or livestream style chat",
5
5
  "author": "GetStream",
6
6
  "homepage": "https://getstream.io/chat/",
@@ -130,5 +130,6 @@ export const en = {
130
130
  "You can't uplod more than {{max}} attachments",
131
131
  'You currently have {{count}} attachments, the maximum is {{max}}':
132
132
  'You currently have {{count}} attachments, the maximum is {{max}}',
133
+ 'and others': 'and others',
133
134
  },
134
135
  };
@@ -1 +1 @@
1
- export const version = '5.8.4';
1
+ export const version = '5.8.5';