@progress/kendo-angular-conversational-ui 20.0.0-develop.3 → 20.0.0-develop.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/chat/api/action.interface.d.ts +1 -1
- package/chat/api/attachment.interface.d.ts +1 -1
- package/chat/api/chat-file-interface.d.ts +41 -0
- package/chat/api/chat-suggestion.interface.d.ts +25 -0
- package/chat/api/file-action.d.ts +42 -0
- package/chat/api/file-download-event.interface.d.ts +21 -0
- package/chat/api/index.d.ts +8 -0
- package/chat/api/message-action.d.ts +42 -0
- package/{esm2022/chat/chat.directives.mjs → chat/api/message-toolbar-visibility.d.ts} +4 -4
- package/chat/api/message-width-mode.d.ts +10 -0
- package/chat/api/message.interface.d.ts +30 -12
- package/chat/api/send-button-settings.d.ts +15 -0
- package/chat/api/user.interface.d.ts +4 -0
- package/chat/attachment.component.d.ts +1 -1
- package/chat/cards/hero-card.component.d.ts +1 -1
- package/chat/chat-file.component.d.ts +34 -0
- package/chat/chat-item.d.ts +1 -0
- package/chat/chat-view.d.ts +1 -1
- package/chat/chat.component.d.ts +218 -19
- package/chat/chat.module.d.ts +8 -4
- package/chat/common/chat.service.d.ts +51 -0
- package/chat/{chat.directives.d.ts → common/models/default-model-fields.d.ts} +5 -4
- package/chat/common/models/message-box-options.d.ts +1 -1
- package/chat/common/models/model-fields.d.ts +111 -0
- package/chat/common/utils.d.ts +50 -0
- package/chat/l10n/messages.d.ts +40 -3
- package/chat/message-attachments.component.d.ts +1 -4
- package/chat/message-box.component.d.ts +54 -25
- package/chat/message-list.component.d.ts +18 -11
- package/chat/message-reference-content.component.d.ts +24 -0
- package/chat/message.component.d.ts +54 -6
- package/chat/suggested-actions.component.d.ts +17 -4
- package/chat/templates/header-template.directive.d.ts +24 -0
- package/chat/{message-box.directive.d.ts → templates/message-box.directive.d.ts} +1 -1
- package/chat/templates/status-template.directive.d.ts +24 -0
- package/chat/templates/suggestion-template.directive.d.ts +24 -0
- package/chat/templates/timestamp-template.directive.d.ts +28 -0
- package/codemods/template-transformer/index.js +94 -0
- package/codemods/utils.js +609 -0
- package/codemods/v20/chat-user.js +50 -0
- package/conversational-ui.module.d.ts +11 -7
- package/directives.d.ts +9 -5
- package/esm2022/chat/api/chat-file-interface.mjs +5 -0
- package/esm2022/chat/api/chat-suggestion.interface.mjs +5 -0
- package/esm2022/chat/api/file-action.mjs +5 -0
- package/esm2022/chat/api/file-download-event.interface.mjs +5 -0
- package/esm2022/chat/api/index.mjs +8 -0
- package/esm2022/chat/api/message-action.mjs +5 -0
- package/esm2022/chat/api/message-toolbar-visibility.mjs +5 -0
- package/esm2022/chat/api/message-width-mode.mjs +5 -0
- package/esm2022/chat/api/send-button-settings.mjs +5 -0
- package/esm2022/chat/attachment.component.mjs +1 -1
- package/esm2022/chat/builtin-actions.mjs +1 -1
- package/esm2022/chat/cards/hero-card.component.mjs +1 -1
- package/esm2022/chat/chat-file.component.mjs +141 -0
- package/esm2022/chat/chat-item.mjs +1 -0
- package/esm2022/chat/chat-view.mjs +2 -2
- package/esm2022/chat/chat.component.mjs +518 -57
- package/esm2022/chat/chat.module.mjs +8 -4
- package/esm2022/chat/common/chat.service.mjs +97 -0
- package/esm2022/chat/common/models/default-model-fields.mjs +26 -0
- package/esm2022/chat/common/models/model-fields.mjs +5 -0
- package/esm2022/chat/common/utils.mjs +127 -0
- package/esm2022/chat/l10n/messages.mjs +60 -5
- package/esm2022/chat/message-attachments.component.mjs +1 -4
- package/esm2022/chat/message-box.component.mjs +360 -111
- package/esm2022/chat/message-list.component.mjs +166 -96
- package/esm2022/chat/message-reference-content.component.mjs +75 -0
- package/esm2022/chat/message.component.mjs +448 -35
- package/esm2022/chat/suggested-actions.component.mjs +151 -41
- package/esm2022/chat/templates/header-template.directive.mjs +33 -0
- package/esm2022/chat/{message-box.directive.mjs → templates/message-box.directive.mjs} +1 -1
- package/esm2022/chat/templates/status-template.directive.mjs +33 -0
- package/esm2022/chat/templates/suggestion-template.directive.mjs +33 -0
- package/esm2022/chat/templates/timestamp-template.directive.mjs +39 -0
- package/esm2022/conversational-ui.module.mjs +12 -8
- package/esm2022/directives.mjs +12 -4
- package/esm2022/index.mjs +9 -3
- package/esm2022/package-metadata.mjs +2 -2
- package/fesm2022/progress-kendo-angular-conversational-ui.mjs +4986 -3125
- package/index.d.ts +10 -3
- package/package.json +29 -12
- /package/chat/{attachment-template.directive.d.ts → templates/attachment-template.directive.d.ts} +0 -0
- /package/chat/{message-template.directive.d.ts → templates/message-template.directive.d.ts} +0 -0
- /package/esm2022/chat/{attachment-template.directive.mjs → templates/attachment-template.directive.mjs} +0 -0
- /package/esm2022/chat/{message-template.directive.mjs → templates/message-template.directive.mjs} +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
/**
|
6
|
-
* Specifies the button type of a quick action ([see example](slug:
|
6
|
+
* Specifies the button type of a quick action ([see example](slug:message_chat)).
|
7
7
|
* * `openUrl`—Opens a new browser window with the specified URL.
|
8
8
|
* * `reply`—Sends the action value as a reply in the Chat.
|
9
9
|
* * `call`—Treats the value as a phone number. Similar to clicking a [telephone link](https://css-tricks.com/the-current-state-of-telephone-links/).
|
@@ -24,7 +24,7 @@ export interface Attachment {
|
|
24
24
|
subtitle?: string;
|
25
25
|
}
|
26
26
|
/**
|
27
|
-
* Specifies the layout for the message attachments
|
27
|
+
* Specifies the layout for the message attachments.
|
28
28
|
*
|
29
29
|
* The supported values are:
|
30
30
|
* * `list`—A vertical list.
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
5
|
+
/**
|
6
|
+
* Represents the files that are part of the Message.
|
7
|
+
*/
|
8
|
+
export interface ChatFile {
|
9
|
+
/**
|
10
|
+
* Unique identifier for the file.
|
11
|
+
*/
|
12
|
+
id: string | number;
|
13
|
+
/**
|
14
|
+
* File name.
|
15
|
+
*/
|
16
|
+
name: string;
|
17
|
+
/**
|
18
|
+
* File size in bytes.
|
19
|
+
*/
|
20
|
+
size: number;
|
21
|
+
/**
|
22
|
+
* MIME type, e.g., 'application/pdf'
|
23
|
+
*/
|
24
|
+
type: string;
|
25
|
+
/**
|
26
|
+
* File extension, e.g., '.pdf', '.jpg'.
|
27
|
+
*/
|
28
|
+
extension: string;
|
29
|
+
/**
|
30
|
+
* An in-memory representation of the file.
|
31
|
+
*/
|
32
|
+
rawFile?: File;
|
33
|
+
/**
|
34
|
+
* Optional URL to download/view the file.
|
35
|
+
*/
|
36
|
+
url?: string;
|
37
|
+
/**
|
38
|
+
* Optional preview image URL.
|
39
|
+
*/
|
40
|
+
thumbnailUrl?: string;
|
41
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
5
|
+
/**
|
6
|
+
* Represents the Chat Suggestions that can be displayed above the MessageBox.
|
7
|
+
*/
|
8
|
+
export interface ChatSuggestion {
|
9
|
+
/**
|
10
|
+
* Unique identifier for the suggestion.
|
11
|
+
*/
|
12
|
+
id: string | number;
|
13
|
+
/**
|
14
|
+
* Display text for the suggestion.
|
15
|
+
*/
|
16
|
+
text: string;
|
17
|
+
/**
|
18
|
+
* Optional description for the suggestion.
|
19
|
+
*/
|
20
|
+
description?: string;
|
21
|
+
/**
|
22
|
+
* Whether the suggestion is disabled.
|
23
|
+
*/
|
24
|
+
disabled?: boolean;
|
25
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
5
|
+
import { SVGIcon } from "@progress/kendo-svg-icons";
|
6
|
+
import { ChatFile } from "./chat-file-interface";
|
7
|
+
/**
|
8
|
+
* Defines the structure of a file action in the Chat message.
|
9
|
+
* These actions can be used to perform specific operations on files.
|
10
|
+
*/
|
11
|
+
export interface FileAction {
|
12
|
+
/**
|
13
|
+
* Unique identifier for the action.
|
14
|
+
*/
|
15
|
+
id: string | number;
|
16
|
+
/**
|
17
|
+
* Display text for the action.
|
18
|
+
*/
|
19
|
+
label: string;
|
20
|
+
/**
|
21
|
+
* Icon name for the action.
|
22
|
+
*/
|
23
|
+
icon?: string;
|
24
|
+
/**
|
25
|
+
* SVG icon object for the action.
|
26
|
+
*/
|
27
|
+
svgIcon?: SVGIcon;
|
28
|
+
/**
|
29
|
+
* Whether the action is disabled.
|
30
|
+
*/
|
31
|
+
disabled?: boolean;
|
32
|
+
}
|
33
|
+
export interface FileActionEvent {
|
34
|
+
/**
|
35
|
+
* The file action that was triggered.
|
36
|
+
*/
|
37
|
+
action: FileAction;
|
38
|
+
/**
|
39
|
+
* The file associated with the action.
|
40
|
+
*/
|
41
|
+
file: ChatFile;
|
42
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
5
|
+
import { ChatFile } from "./chat-file-interface";
|
6
|
+
import { Message } from "./message.interface";
|
7
|
+
/**
|
8
|
+
* Represents the arguments for the `download` event.
|
9
|
+
*/
|
10
|
+
export interface FileDownloadEvent {
|
11
|
+
/**
|
12
|
+
* The file associated with the action.
|
13
|
+
* One file for download from the context menu.
|
14
|
+
* Multiple when the event is triggered by a click on the 'Download all' button.
|
15
|
+
*/
|
16
|
+
files: ChatFile[];
|
17
|
+
/**
|
18
|
+
* The message associated with the download action.
|
19
|
+
*/
|
20
|
+
message: Message;
|
21
|
+
}
|
package/chat/api/index.d.ts
CHANGED
@@ -4,7 +4,15 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
export * from './action.interface';
|
6
6
|
export * from './attachment.interface';
|
7
|
+
export * from './chat-file-interface';
|
8
|
+
export * from './chat-suggestion.interface';
|
7
9
|
export * from './execute-action-event';
|
10
|
+
export * from './message-action';
|
11
|
+
export * from './message-toolbar-visibility';
|
12
|
+
export * from './message-width-mode';
|
8
13
|
export * from './message.interface';
|
9
14
|
export * from './post-message-event';
|
10
15
|
export * from './user.interface';
|
16
|
+
export * from './file-action';
|
17
|
+
export * from './file-download-event.interface';
|
18
|
+
export * from './send-button-settings';
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
5
|
+
import { SVGIcon } from "@progress/kendo-svg-icons";
|
6
|
+
import { Message } from "./message.interface";
|
7
|
+
/**
|
8
|
+
* Defines the structure of a message action in the Chat interface.
|
9
|
+
* These actions can be used to perform specific operations on messages.
|
10
|
+
*/
|
11
|
+
export interface MessageAction {
|
12
|
+
/**
|
13
|
+
* Unique identifier for the action.
|
14
|
+
*/
|
15
|
+
id: string | number;
|
16
|
+
/**
|
17
|
+
* Display text for the action.
|
18
|
+
*/
|
19
|
+
label: string;
|
20
|
+
/**
|
21
|
+
* Icon name for the action.
|
22
|
+
*/
|
23
|
+
icon?: string;
|
24
|
+
/**
|
25
|
+
* SVG icon object for the action.
|
26
|
+
*/
|
27
|
+
svgIcon?: SVGIcon;
|
28
|
+
/**
|
29
|
+
* Whether the action is disabled.
|
30
|
+
*/
|
31
|
+
disabled?: boolean;
|
32
|
+
}
|
33
|
+
export interface MessageActionEvent {
|
34
|
+
/**
|
35
|
+
* The action that was triggered.
|
36
|
+
*/
|
37
|
+
action: MessageAction;
|
38
|
+
/**
|
39
|
+
* The message associated with the action.
|
40
|
+
*/
|
41
|
+
message: Message;
|
42
|
+
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
export
|
5
|
+
/**
|
6
|
+
* Represents the visibility options for the message toolbar.
|
7
|
+
*/
|
8
|
+
export type MessageToolbarVisibility = 'always' | 'hover' | 'hidden';
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
5
|
+
/**
|
6
|
+
* Defines the possible modes for message width in the chat component.
|
7
|
+
* - `full`: The message takes the full width of the chat container.
|
8
|
+
* - `standard`: (Default) The message width is standard, allowing for a more compact layout.
|
9
|
+
*/
|
10
|
+
export type MessageWidthMode = 'full' | 'standard';
|
@@ -4,27 +4,45 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { Action } from './action.interface';
|
6
6
|
import { Attachment, AttachmentLayout } from './attachment.interface';
|
7
|
+
import { ChatFile } from './chat-file-interface';
|
7
8
|
import { User } from './user.interface';
|
8
9
|
/**
|
9
|
-
* Represents a Chat message ([see example](slug:
|
10
|
+
* Represents a Chat message ([see example](slug:databinding_chat)).
|
10
11
|
*
|
11
|
-
* > * You must provide the `author` field.
|
12
|
-
* > * [Local users](slug:api_conversational-ui_chatcomponent#user) appear on the right in left-to-right languages and on the left in right-to-left languages.
|
13
|
-
* > * If `typing` is `true`, the Chat shows a typing indicator instead of text.
|
14
12
|
*/
|
15
13
|
export interface Message {
|
14
|
+
/**
|
15
|
+
* Sets a unique ID for the message.
|
16
|
+
*/
|
17
|
+
id?: string | number;
|
18
|
+
/**
|
19
|
+
* Sets the text content for the message. Some messages may contain only attachments or quick actions.
|
20
|
+
*/
|
21
|
+
text?: string;
|
16
22
|
/**
|
17
23
|
* Sets the author of the message.
|
18
24
|
*/
|
19
25
|
author: User;
|
20
26
|
/**
|
21
|
-
* Sets the
|
27
|
+
* Sets the time when the message was composed.
|
22
28
|
*/
|
23
|
-
|
29
|
+
timestamp?: Date;
|
30
|
+
/**
|
31
|
+
* Sets the current status of the message. The status appears when the message is selected by clicking or through keyboard navigation.
|
32
|
+
*/
|
33
|
+
status?: string;
|
34
|
+
/**
|
35
|
+
* Sets the array of files attached to the message.
|
36
|
+
*/
|
37
|
+
files?: ChatFile[];
|
24
38
|
/**
|
25
39
|
* Sets the message attachments.
|
26
40
|
*/
|
27
41
|
attachments?: Attachment[];
|
42
|
+
/**
|
43
|
+
* Sets the layout for displaying message attachments.
|
44
|
+
*/
|
45
|
+
attachmentLayout?: AttachmentLayout;
|
28
46
|
/**
|
29
47
|
* Sets the suggested quick actions to display below this message.
|
30
48
|
*
|
@@ -32,17 +50,17 @@ export interface Message {
|
|
32
50
|
*/
|
33
51
|
suggestedActions?: Action[];
|
34
52
|
/**
|
35
|
-
*
|
53
|
+
* Indicates if the message is pinned. Pinned messages are displayed at the top of the conversation.
|
36
54
|
*/
|
37
|
-
|
55
|
+
isPinned?: boolean;
|
38
56
|
/**
|
39
|
-
* Sets the
|
57
|
+
* Sets the ID of the message to which this message is a reply.
|
40
58
|
*/
|
41
|
-
|
59
|
+
replyToId?: string | number;
|
42
60
|
/**
|
43
|
-
*
|
61
|
+
* Indicates if the message has been deleted.
|
44
62
|
*/
|
45
|
-
|
63
|
+
isDeleted?: boolean;
|
46
64
|
/**
|
47
65
|
* Indicates if the message is still being typed by the user. If `true`, the Chat shows a typing indicator.
|
48
66
|
*/
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
5
|
+
import { ButtonSettings } from '@progress/kendo-angular-buttons';
|
6
|
+
/**
|
7
|
+
* Defines the settings for the Send button in the Chat component.
|
8
|
+
* These settings can be customized to change the appearance and behavior of the button.
|
9
|
+
*/
|
10
|
+
export interface SendButtonSettings extends ButtonSettings {
|
11
|
+
/**
|
12
|
+
* Specifies the class applied to the Button.
|
13
|
+
*/
|
14
|
+
buttonClass?: string;
|
15
|
+
}
|
@@ -20,4 +20,8 @@ export interface User {
|
|
20
20
|
* To allow unsafe values, such as a blob URI, [mark the value as a `SafeUrl`](https://angular.io/guide/security#bypass-security-apis).
|
21
21
|
*/
|
22
22
|
avatarUrl?: string | SafeUrl;
|
23
|
+
/**
|
24
|
+
* An avatar image alt text for the user.
|
25
|
+
*/
|
26
|
+
avatarAltText?: string;
|
23
27
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { Attachment } from './api/attachment.interface';
|
6
|
-
import { AttachmentTemplateDirective } from './attachment-template.directive';
|
6
|
+
import { AttachmentTemplateDirective } from './templates/attachment-template.directive';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
/**
|
9
9
|
* @hidden
|
@@ -6,7 +6,7 @@ import { EventEmitter } from '@angular/core';
|
|
6
6
|
import { Action } from '../api/action.interface';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
/**
|
9
|
-
* Represents a Hero Card component ([see example](slug:
|
9
|
+
* Represents a Hero Card component ([see example](slug:integrations_chat#travel-agent-chat-bot)).
|
10
10
|
* Hero cards host a single large image and action buttons with text content.
|
11
11
|
*
|
12
12
|
* @example
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
5
|
+
import { EventEmitter } from '@angular/core';
|
6
|
+
import { ChatItem } from './chat-item';
|
7
|
+
import { ChatFile } from './api/chat-file-interface';
|
8
|
+
import { FileInfo } from '@progress/kendo-angular-upload';
|
9
|
+
import { SVGIcon } from '@progress/kendo-angular-icons';
|
10
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
11
|
+
import * as i0 from "@angular/core";
|
12
|
+
/**
|
13
|
+
* @hidden
|
14
|
+
*/
|
15
|
+
export declare class ChatFileComponent extends ChatItem {
|
16
|
+
private localization;
|
17
|
+
chatFile: ChatFile;
|
18
|
+
removable: boolean;
|
19
|
+
fileActions: any;
|
20
|
+
remove: EventEmitter<ChatFile>;
|
21
|
+
actionClick: EventEmitter<any>;
|
22
|
+
actionsToggle: EventEmitter<boolean>;
|
23
|
+
actionButtonClick: EventEmitter<MouseEvent>;
|
24
|
+
deleteIcon: SVGIcon;
|
25
|
+
moreIcon: SVGIcon;
|
26
|
+
constructor(localization: LocalizationService);
|
27
|
+
fileThumbnail(extension: string): SVGIcon;
|
28
|
+
fileGroupClass(extension: string): string;
|
29
|
+
getTotalFilesSizeMessage(file: FileInfo): string;
|
30
|
+
textFor(key: string): string;
|
31
|
+
focus(): void;
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChatFileComponent, never>;
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChatFileComponent, "li[chatFile]", never, { "chatFile": { "alias": "chatFile"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "fileActions": { "alias": "fileActions"; "required": false; }; }, { "remove": "remove"; "actionClick": "actionClick"; "actionsToggle": "actionsToggle"; "actionButtonClick": "actionButtonClick"; }, never, never, true, never>;
|
34
|
+
}
|
package/chat/chat-item.d.ts
CHANGED
package/chat/chat-view.d.ts
CHANGED
@@ -47,7 +47,7 @@ export type ViewItem = MessageGroup | AttachmentGroup | ActionGroup | DateMarker
|
|
47
47
|
/**
|
48
48
|
* @hidden
|
49
49
|
*/
|
50
|
-
export declare const isAuthor: (
|
50
|
+
export declare const isAuthor: (authorId: string | number, msg: Message) => boolean;
|
51
51
|
/**
|
52
52
|
* @hidden
|
53
53
|
*/
|