stream-chat-angular 4.55.2-perf-message-list.1 → 4.56.0-perf-message-list.1

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,4 +1,4 @@
1
- import { AfterViewInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { Action, Attachment } from 'stream-chat';
3
3
  import { ModalContext, DefaultStreamChatGenerics, AttachmentConfigration, VideoAttachmentConfiguration, ImageAttachmentConfiguration, AttachmentContext } from '../types';
4
4
  import { ChannelService } from '../channel.service';
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
9
9
  /**
10
10
  * The `AttachmentList` component displays the attachments of a message
11
11
  */
12
- export declare class AttachmentListComponent implements OnChanges, AfterViewInit {
12
+ export declare class AttachmentListComponent implements OnChanges {
13
13
  readonly customTemplatesService: CustomTemplatesService;
14
14
  private channelService;
15
15
  private attachmentConfigurationService;
@@ -33,13 +33,11 @@ export declare class AttachmentListComponent implements OnChanges, AfterViewInit
33
33
  orderedAttachments: Attachment<DefaultStreamChatGenerics>[];
34
34
  imagesToView: Attachment<DefaultStreamChatGenerics>[];
35
35
  imagesToViewCurrentIndex: number;
36
- isInited: boolean;
37
36
  themeVersion: '1' | '2';
38
37
  private modalContent;
39
38
  private attachmentConfigurations;
40
39
  constructor(customTemplatesService: CustomTemplatesService, channelService: ChannelService, attachmentConfigurationService: AttachmentConfigurationService, themeService: ThemeService);
41
40
  ngOnChanges(changes: SimpleChanges): void;
42
- ngAfterViewInit(): void;
43
41
  trackByUrl(_: number, attachment: Attachment): unknown;
44
42
  isImage(attachment: Attachment): boolean;
45
43
  isSvg(attachment: Attachment): boolean;
@@ -45,7 +45,6 @@ export declare class AvatarComponent implements OnChanges {
45
45
  * If channel/user image isn't provided the initials of the name of the channel/user is shown instead, you can choose how the initals should be computed
46
46
  */
47
47
  initialsType: 'first-letter-of-first-word' | 'first-letter-of-each-word';
48
- isLoaded: boolean;
49
48
  isError: boolean;
50
49
  isOnline: boolean;
51
50
  private isOnlineSubscription?;
@@ -85,10 +85,9 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
85
85
  };
86
86
  canDisplayReadStatus: boolean;
87
87
  private quotedMessageAttachments;
88
- user: UserResponse<DefaultStreamChatGenerics> | undefined;
89
- optionsRenderTimeoutEnded: boolean;
90
88
  private subscriptions;
91
89
  private isViewInited;
90
+ private userId?;
92
91
  private container;
93
92
  private readonly urlRegexp;
94
93
  private emojiRegexp;
@@ -97,6 +97,7 @@ export declare class MessageListComponent implements AfterViewChecked, OnChanges
97
97
  private isLatestMessageInList;
98
98
  private channelId?;
99
99
  private parsedDates;
100
+ private isViewInited;
100
101
  private get class();
101
102
  constructor(channelService: ChannelService, chatClientService: ChatClientService, customTemplatesService: CustomTemplatesService, dateParser: DateParserService, ngZone: NgZone, cdRef: ChangeDetectorRef, messageActionsService: MessageActionsService);
102
103
  ngOnInit(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-angular",
3
- "version": "4.55.2-perf-message-list.1",
3
+ "version": "4.56.0-perf-message-list.1",
4
4
  "description": "Angular components to create chat conversations or livestream style chat",
5
5
  "author": "GetStream",
6
6
  "homepage": "https://getstream.io/chat/",
@@ -1 +1 @@
1
- export const version = '4.55.2-perf-message-list.1';
1
+ export const version = '4.56.0-perf-message-list.1';