stream-chat-angular 3.7.0 → 3.7.3
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 +31 -21
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/attachment-list/attachment-list.component.js +5 -3
- package/esm2015/lib/attachment.service.js +3 -3
- package/esm2015/lib/channel.service.js +11 -11
- package/esm2015/lib/message/message.component.js +13 -4
- package/esm2015/lib/message-actions-box/message-actions-box.component.js +2 -3
- package/esm2015/lib/message-input/message-input.component.js +1 -1
- package/esm2015/lib/types.js +1 -1
- package/fesm2015/stream-chat-angular.js +31 -21
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/lib/attachment-list/attachment-list.component.d.ts +5 -1
- package/lib/channel.service.d.ts +2 -1
- package/lib/message/message.component.d.ts +1 -0
- package/lib/types.d.ts +1 -0
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
|
@@ -16,6 +16,10 @@ export declare class AttachmentListComponent implements OnChanges {
|
|
|
16
16
|
* The id of the message the attachments belong to
|
|
17
17
|
*/
|
|
18
18
|
messageId: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* The parent id of the message the attachments belong to
|
|
21
|
+
*/
|
|
22
|
+
parentMessageId: string | undefined;
|
|
19
23
|
/**
|
|
20
24
|
* The attachments to display
|
|
21
25
|
*/
|
|
@@ -47,5 +51,5 @@ export declare class AttachmentListComponent implements OnChanges {
|
|
|
47
51
|
private createGallery;
|
|
48
52
|
private closeImageModal;
|
|
49
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentListComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentListComponent, "stream-attachment-list", never, { "messageId": "messageId"; "attachments": "attachments"; }, {}, never, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentListComponent, "stream-attachment-list", never, { "messageId": "messageId"; "parentMessageId": "parentMessageId"; "attachments": "attachments"; }, {}, never, never>;
|
|
51
55
|
}
|
package/lib/channel.service.d.ts
CHANGED
|
@@ -270,8 +270,9 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
|
|
|
270
270
|
* [Runs a message action](https://getstream.io/chat/docs/rest/#messages-runmessageaction) in the current channel. Updates the message list based on the action result (if no message is returned, the message will be removed from the message list).
|
|
271
271
|
* @param messageId
|
|
272
272
|
* @param formData
|
|
273
|
+
* @param parentMessageId
|
|
273
274
|
*/
|
|
274
|
-
sendAction(messageId: string, formData: Record<string, string
|
|
275
|
+
sendAction(messageId: string, formData: Record<string, string>, parentMessageId?: string): Promise<void>;
|
|
275
276
|
/**
|
|
276
277
|
* Selects or deselects the current message to quote reply to
|
|
277
278
|
* @param message The message to select, if called with `undefined`, it deselects the message
|
|
@@ -88,6 +88,7 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
88
88
|
};
|
|
89
89
|
}>[];
|
|
90
90
|
getAttachmentListContext(): AttachmentListContext;
|
|
91
|
+
getQuotedMessageAttachmentListContext(): AttachmentListContext;
|
|
91
92
|
getMessageReactionsContext(): MessageReactionsContext;
|
|
92
93
|
resendMessage(): void;
|
|
93
94
|
textClicked(): void;
|
package/lib/types.d.ts
CHANGED
|
@@ -110,6 +110,7 @@ export declare type ChannelActionsContext<T extends DefaultStreamChatGenerics =
|
|
|
110
110
|
export declare type AttachmentListContext = {
|
|
111
111
|
messageId: string;
|
|
112
112
|
attachments: Attachment<DefaultStreamChatGenerics>[];
|
|
113
|
+
parentMessageId?: string;
|
|
113
114
|
};
|
|
114
115
|
export declare type AvatarType = 'channel' | 'user';
|
|
115
116
|
export declare type AvatarLocation = 'channel-preview' | 'channel-header' | 'message-sender' | 'message-reader' | 'quoted-message-sender' | 'autocomplete-item' | 'typing-indicator' | 'reaction';
|
package/package.json
CHANGED
package/src/assets/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '3.7.
|
|
1
|
+
export const version = '3.7.3';
|