stream-chat-angular 7.2.0-rc.1 → 7.2.0-rc.2
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/esm2022/assets/version.mjs +2 -2
- package/esm2022/lib/message/message.component.mjs +3 -3
- package/esm2022/lib/message-input/message-input.component.mjs +5 -8
- package/esm2022/lib/polls/poll-actions/poll-actions.component.mjs +3 -3
- package/esm2022/lib/polls/poll-actions/poll-answers-list/poll-answers-list.component.mjs +3 -3
- package/esm2022/lib/polls/poll-actions/poll-results/poll-results-list/poll-results-list.component.mjs +3 -3
- package/esm2022/lib/thread/thread.component.mjs +4 -3
- package/fesm2022/stream-chat-angular.mjs +15 -18
- package/fesm2022/stream-chat-angular.mjs.map +1 -1
- package/lib/message-input/message-input.component.d.ts +3 -4
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef,
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ComponentRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef, Type } from '@angular/core';
|
|
2
2
|
import { Observable, Subject } from 'rxjs';
|
|
3
3
|
import { Attachment, DraftMessagePayload, DraftResponse, UserResponse } from 'stream-chat';
|
|
4
4
|
import { AttachmentService } from '../attachment.service';
|
|
@@ -22,7 +22,6 @@ export declare class MessageInputComponent implements OnInit, OnChanges, OnDestr
|
|
|
22
22
|
readonly attachmentService: AttachmentService;
|
|
23
23
|
private configService;
|
|
24
24
|
private textareaType;
|
|
25
|
-
private componentFactoryResolver;
|
|
26
25
|
private cdRef;
|
|
27
26
|
private emojiInputService;
|
|
28
27
|
readonly customTemplatesService: CustomTemplatesService;
|
|
@@ -142,7 +141,7 @@ export declare class MessageInputComponent implements OnInit, OnChanges, OnDestr
|
|
|
142
141
|
private isChannelChangeResetInProgress;
|
|
143
142
|
private isSendingMessage;
|
|
144
143
|
private isLoadingDraft;
|
|
145
|
-
constructor(channelService: ChannelService, notificationService: NotificationService, attachmentService: AttachmentService, configService: MessageInputConfigService, textareaType: Type<TextareaInterface>,
|
|
144
|
+
constructor(channelService: ChannelService, notificationService: NotificationService, attachmentService: AttachmentService, configService: MessageInputConfigService, textareaType: Type<TextareaInterface>, cdRef: ChangeDetectorRef, emojiInputService: EmojiInputService, customTemplatesService: CustomTemplatesService, messageActionsService: MessageActionsService, voiceRecorderService: VoiceRecorderService, audioRecorder?: AudioRecorderService | undefined);
|
|
146
145
|
ngOnInit(): void;
|
|
147
146
|
ngAfterViewInit(): void;
|
|
148
147
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -185,6 +184,6 @@ export declare class MessageInputComponent implements OnInit, OnChanges, OnDestr
|
|
|
185
184
|
private stopCooldown;
|
|
186
185
|
private checkIfInEditMode;
|
|
187
186
|
private messageToUpdateChanged;
|
|
188
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageInputComponent, [null, null, null, null, null, null, null, null, null, null,
|
|
187
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageInputComponent, [null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
189
188
|
static ɵcmp: i0.ɵɵComponentDeclaration<MessageInputComponent, "stream-message-input", never, { "isFileUploadEnabled": { "alias": "isFileUploadEnabled"; "required": false; }; "areMentionsEnabled": { "alias": "areMentionsEnabled"; "required": false; }; "mentionScope": { "alias": "mentionScope"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "isMultipleFileUploadEnabled": { "alias": "isMultipleFileUploadEnabled"; "required": false; }; "message": { "alias": "message"; "required": false; }; "sendMessage$": { "alias": "sendMessage$"; "required": false; }; "inputMode": { "alias": "inputMode"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "watchForMessageToEdit": { "alias": "watchForMessageToEdit"; "required": false; }; "displaySendButton": { "alias": "displaySendButton"; "required": false; }; "displayVoiceRecordingButton": { "alias": "displayVoiceRecordingButton"; "required": false; }; "displayPollCreateButton": { "alias": "displayPollCreateButton"; "required": false; }; }, { "messageUpdate": "messageUpdate"; "messageDraftChange": "messageDraftChange"; }, ["voiceRecorderRef"], ["[message-input-start]", "[message-input-end]"], false, never>;
|
|
190
189
|
}
|
package/package.json
CHANGED
package/src/assets/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '7.2.0-rc.
|
|
1
|
+
export const version = '7.2.0-rc.2';
|