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.
- package/README.md +0 -6
- package/assets/i18n/en.d.ts +1 -0
- package/assets/version.d.ts +1 -1
- package/esm2020/assets/i18n/en.mjs +2 -1
- package/esm2020/assets/version.mjs +2 -2
- package/esm2020/lib/list-users.mjs +3 -3
- package/esm2020/lib/message/message.component.mjs +33 -12
- package/fesm2015/stream-chat-angular.mjs +59 -35
- package/fesm2015/stream-chat-angular.mjs.map +1 -1
- package/fesm2020/stream-chat-angular.mjs +52 -30
- package/fesm2020/stream-chat-angular.mjs.map +1 -1
- package/lib/list-users.d.ts +1 -1
- package/lib/message/message.component.d.ts +5 -1
- package/package.json +1 -1
- package/src/assets/i18n/en.ts +1 -0
- package/src/assets/version.ts +1 -1
package/lib/list-users.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
package/src/assets/i18n/en.ts
CHANGED
|
@@ -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
|
};
|
package/src/assets/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '5.8.
|
|
1
|
+
export const version = '5.8.5';
|