stream-chat-angular 2.3.0 → 2.3.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.
- package/assets/version.d.ts +1 -1
- package/bundles/stream-chat-angular.umd.js +28 -17
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/message-input/message-input.component.js +16 -14
- package/esm2015/lib/message-input/textarea.directive.js +12 -2
- package/fesm2015/stream-chat-angular.js +27 -15
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/lib/message-input/message-input.component.d.ts +2 -3
- package/lib/message-input/textarea.directive.d.ts +1 -0
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, ComponentRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges, TemplateRef, Type } from '@angular/core';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
3
|
import { UserResponse } from 'stream-chat';
|
|
@@ -9,7 +8,7 @@ import { AttachmentUpload, MentionAutcompleteListItemContext, StreamMessage } fr
|
|
|
9
8
|
import { MessageInputConfigService } from './message-input-config.service';
|
|
10
9
|
import { TextareaInterface } from './textarea.interface';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class MessageInputComponent implements
|
|
11
|
+
export declare class MessageInputComponent implements OnChanges, OnDestroy, AfterViewInit {
|
|
13
12
|
private channelService;
|
|
14
13
|
private notificationService;
|
|
15
14
|
private attachmentService;
|
|
@@ -36,8 +35,8 @@ export declare class MessageInputComponent implements OnInit, OnChanges, OnDestr
|
|
|
36
35
|
private textareaAnchor;
|
|
37
36
|
private subscriptions;
|
|
38
37
|
private hideNotification;
|
|
38
|
+
private isViewInited;
|
|
39
39
|
constructor(channelService: ChannelService, notificationService: NotificationService, attachmentService: AttachmentService, configService: MessageInputConfigService, textareaType: Type<TextareaInterface>, componentFactoryResolver: ComponentFactoryResolver, cdRef: ChangeDetectorRef);
|
|
40
|
-
ngOnInit(): void;
|
|
41
40
|
ngAfterViewInit(): void;
|
|
42
41
|
ngOnChanges(changes: SimpleChanges): void;
|
|
43
42
|
ngOnDestroy(): void;
|
|
@@ -14,6 +14,7 @@ export declare class TextareaDirective implements OnChanges {
|
|
|
14
14
|
readonly send: EventEmitter<void>;
|
|
15
15
|
readonly userMentions: EventEmitter<UserResponse<import("stream-chat").UnknownType>[]>;
|
|
16
16
|
private subscriptions;
|
|
17
|
+
private unpropagatedChanges;
|
|
17
18
|
constructor(viewContainerRef: ViewContainerRef);
|
|
18
19
|
ngOnChanges(changes: SimpleChanges): void;
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaDirective, never>;
|
package/package.json
CHANGED
package/src/assets/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '2.3.
|
|
1
|
+
export const version = '2.3.1';
|