@progress/kendo-angular-conversational-ui 20.0.3-develop.1 → 20.0.3-develop.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/chat/api/post-message-event.d.ts +1 -2
- package/chat/cards/hero-card.component.d.ts +1 -1
- package/chat/chat.component.d.ts +15 -17
- package/chat/common/models/message-box-options.d.ts +1 -0
- package/chat/l10n/messages.d.ts +9 -9
- package/chat/templates/attachment-template.directive.d.ts +5 -1
- package/chat/templates/suggestion-template.directive.d.ts +5 -2
- package/chat/templates/timestamp-template.directive.d.ts +4 -1
- package/esm2022/chat/api/post-message-event.mjs +1 -2
- package/esm2022/chat/cards/hero-card.component.mjs +1 -1
- package/esm2022/chat/chat.component.mjs +15 -17
- package/esm2022/chat/l10n/messages.mjs +9 -9
- package/esm2022/chat/templates/attachment-template.directive.mjs +5 -1
- package/esm2022/chat/templates/suggestion-template.directive.mjs +5 -2
- package/esm2022/chat/templates/timestamp-template.directive.mjs +4 -1
- package/esm2022/inline-ai-prompt/inlineaiprompt.component.mjs +18 -16
- package/esm2022/inline-ai-prompt/inlineaiprompt.service.mjs +17 -10
- package/esm2022/inline-ai-prompt/localization/custom-messages.component.mjs +1 -3
- package/esm2022/inline-ai-prompt/localization/messages.mjs +3 -3
- package/esm2022/inline-ai-prompt/models/inlineaiprompt-settings.mjs +5 -5
- package/esm2022/package-metadata.mjs +2 -2
- package/fesm2022/progress-kendo-angular-conversational-ui.mjs +86 -72
- package/inline-ai-prompt/inlineaiprompt.component.d.ts +18 -16
- package/inline-ai-prompt/inlineaiprompt.service.d.ts +17 -10
- package/inline-ai-prompt/localization/custom-messages.component.d.ts +1 -3
- package/inline-ai-prompt/localization/messages.d.ts +3 -3
- package/inline-ai-prompt/models/command.interface.d.ts +8 -8
- package/inline-ai-prompt/models/inlineaiprompt-popupsettings.d.ts +1 -1
- package/inline-ai-prompt/models/inlineaiprompt-settings.d.ts +5 -5
- package/inline-ai-prompt/models/messages.d.ts +3 -3
- package/inline-ai-prompt/models/output-action-click-event.d.ts +2 -2
- package/inline-ai-prompt/models/output-action.interface.d.ts +10 -11
- package/inline-ai-prompt/models/prompt-output.interface.d.ts +5 -5
- package/inline-ai-prompt/models/prompt-request-event.d.ts +3 -3
- package/package.json +14 -14
|
@@ -9,15 +9,15 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class Messages extends ComponentMessages {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* The title for the Commands button.
|
|
13
13
|
*/
|
|
14
14
|
commandsButtonTitle: string;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* The title for the Generate button.
|
|
17
17
|
*/
|
|
18
18
|
generateButtonTitle: string;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The title for the Speech to Text button.
|
|
21
21
|
*/
|
|
22
22
|
speechToTextButtonTitle: string;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
@@ -4,35 +4,35 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { SVGIcon } from "@progress/kendo-svg-icons";
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Describes a command shown in the Inline AI Prompt input.
|
|
8
8
|
*/
|
|
9
9
|
export interface InlineAIPromptCommand {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* The unique identifier for the command.
|
|
12
12
|
*/
|
|
13
13
|
id: string | number;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The text for the command.
|
|
16
16
|
*/
|
|
17
17
|
text?: string;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The prompt used when the command runs.
|
|
20
20
|
*/
|
|
21
21
|
prompt?: string;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* The font icon name. See [icons list](slug:icons#icons-list).
|
|
24
24
|
*/
|
|
25
25
|
icon?: string;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* The SVG icon. See [SVG icons list](slug:svgicon_list).
|
|
28
28
|
*/
|
|
29
29
|
svgIcon?: SVGIcon;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* The disabled state of the command.
|
|
32
32
|
*/
|
|
33
33
|
disabled?: boolean;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* The nested child commands.
|
|
36
36
|
*/
|
|
37
37
|
children?: InlineAIPromptCommand[];
|
|
38
38
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PopupSettings } from "@progress/kendo-angular-popup";
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Lists all configuration options for the Popup that displays the Inline AI Prompt.
|
|
8
8
|
*/
|
|
9
9
|
export interface InlineAIPromptPopupSettings extends Omit<PopupSettings, 'content'> {
|
|
10
10
|
}
|
|
@@ -14,7 +14,7 @@ import { InlineAIPromptPopupSettings } from "./inlineaiprompt-popupsettings";
|
|
|
14
14
|
*/
|
|
15
15
|
export declare class InlineAIPromptSettings {
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* The settings for the Inline AI Prompt Popup.
|
|
18
18
|
*/
|
|
19
19
|
popupSettings?: InlineAIPromptPopupSettings;
|
|
20
20
|
/**
|
|
@@ -32,7 +32,7 @@ export declare class InlineAIPromptSettings {
|
|
|
32
32
|
*/
|
|
33
33
|
promptValue?: string;
|
|
34
34
|
/**
|
|
35
|
-
* Sets the placeholder
|
|
35
|
+
* Sets the placeholder text for the Inline AI Prompt TextArea.
|
|
36
36
|
*/
|
|
37
37
|
placeholder?: string;
|
|
38
38
|
/**
|
|
@@ -48,15 +48,15 @@ export declare class InlineAIPromptSettings {
|
|
|
48
48
|
*/
|
|
49
49
|
promptOutput?: InlineAIPromptOutput;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* Controls the visibility and configuration of the Speech to Text button.
|
|
52
52
|
*/
|
|
53
53
|
enableSpeechToTextButton?: boolean | SpeechToTextButtonSettings;
|
|
54
54
|
/**
|
|
55
|
-
* Sets the template for the output content. If not provided, the default output template
|
|
55
|
+
* Sets the template for the output content. If not provided, uses the default output template.
|
|
56
56
|
*/
|
|
57
57
|
outputTemplate?: TemplateRef<any>;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* If `true`, the send button turns into a stop button.
|
|
60
60
|
*/
|
|
61
61
|
streaming?: boolean;
|
|
62
62
|
/**
|
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export interface InlineAIPromptMessages {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* The title for the Commands button.
|
|
11
11
|
*/
|
|
12
12
|
commandsButtonTitle?: string;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* The title for the Generate button.
|
|
15
15
|
*/
|
|
16
16
|
generateButtonTitle?: string;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* The title for the Speech to Text button.
|
|
19
19
|
*/
|
|
20
20
|
speechToTextButtonTitle?: string;
|
|
21
21
|
}
|
|
@@ -9,11 +9,11 @@ import { InlineAIPromptOutput } from "./prompt-output.interface";
|
|
|
9
9
|
*/
|
|
10
10
|
export interface InlineAIPromptOutputActionClickEvent {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* The clicked action.
|
|
13
13
|
*/
|
|
14
14
|
action: InlineAIPromptOutputAction;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* The output associated with the action click event.
|
|
17
17
|
*/
|
|
18
18
|
output: InlineAIPromptOutput;
|
|
19
19
|
}
|
|
@@ -9,44 +9,43 @@ import { SVGIcon } from "@progress/kendo-svg-icons";
|
|
|
9
9
|
*/
|
|
10
10
|
export interface InlineAIPromptOutputAction {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
* Predefined action names are `copy`, `retry`, and `discard`.
|
|
12
|
+
* The name of the action. Predefined names are `copy`, `retry`, and `discard`.
|
|
14
13
|
*/
|
|
15
14
|
name?: string;
|
|
16
15
|
/**
|
|
17
|
-
*
|
|
16
|
+
* The type of the action.
|
|
18
17
|
*/
|
|
19
18
|
type?: "button" | "spacer";
|
|
20
19
|
/**
|
|
21
|
-
*
|
|
20
|
+
* The font icon for the action.
|
|
22
21
|
*/
|
|
23
22
|
icon?: string;
|
|
24
23
|
/**
|
|
25
|
-
*
|
|
24
|
+
* The SVG icon for the action.
|
|
26
25
|
*/
|
|
27
26
|
svgIcon?: SVGIcon;
|
|
28
27
|
/**
|
|
29
|
-
*
|
|
28
|
+
* The text for the action.
|
|
30
29
|
*/
|
|
31
30
|
text?: string;
|
|
32
31
|
/**
|
|
33
|
-
*
|
|
32
|
+
* The title attribute for the action.
|
|
34
33
|
*/
|
|
35
34
|
title?: string;
|
|
36
35
|
/**
|
|
37
|
-
*
|
|
36
|
+
* The fill mode for the button.
|
|
38
37
|
*/
|
|
39
38
|
fillMode?: ButtonFillMode;
|
|
40
39
|
/**
|
|
41
|
-
*
|
|
40
|
+
* The theme color for the button.
|
|
42
41
|
*/
|
|
43
42
|
themeColor?: ButtonThemeColor;
|
|
44
43
|
/**
|
|
45
|
-
*
|
|
44
|
+
* The rounded styling for the button.
|
|
46
45
|
*/
|
|
47
46
|
rounded?: ButtonRounded;
|
|
48
47
|
/**
|
|
49
|
-
*
|
|
48
|
+
* The disabled state of the button.
|
|
50
49
|
*/
|
|
51
50
|
disabled?: boolean;
|
|
52
51
|
}
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Describes the output returned for a prompt.
|
|
7
7
|
*/
|
|
8
8
|
export interface InlineAIPromptOutput {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* The unique identifier for the output.
|
|
11
11
|
*/
|
|
12
12
|
id: number | string;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* The generated text content.
|
|
15
15
|
*/
|
|
16
16
|
output: string;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* The prompt that starts the output generation.
|
|
19
19
|
*/
|
|
20
20
|
prompt: string;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* The command ID if the prompt generation is triggered by a command.
|
|
23
23
|
*/
|
|
24
24
|
commandId?: string | number;
|
|
25
25
|
}
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Arguments for the `promptRequest` event.
|
|
7
7
|
*/
|
|
8
8
|
export interface InlineAIPromptRequestEvent {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* The user prompt input.
|
|
11
11
|
*/
|
|
12
12
|
prompt: string;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* If `true`, the event is triggered by the built-in **Retry** action button.
|
|
15
15
|
*/
|
|
16
16
|
isRetry?: boolean;
|
|
17
17
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-conversational-ui",
|
|
3
|
-
"version": "20.0.3-develop.
|
|
3
|
+
"version": "20.0.3-develop.3",
|
|
4
4
|
"description": "Kendo UI for Angular Conversational UI components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"package": {
|
|
36
36
|
"productName": "Kendo UI for Angular",
|
|
37
37
|
"productCode": "KENDOUIANGULAR",
|
|
38
|
-
"publishDate":
|
|
38
|
+
"publishDate": 1756916404,
|
|
39
39
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
40
40
|
}
|
|
41
41
|
},
|
|
@@ -45,22 +45,22 @@
|
|
|
45
45
|
"@angular/core": "16 - 20",
|
|
46
46
|
"@angular/platform-browser": "16 - 20",
|
|
47
47
|
"@progress/kendo-licensing": "^1.7.0",
|
|
48
|
-
"@progress/kendo-angular-buttons": "20.0.3-develop.
|
|
49
|
-
"@progress/kendo-angular-inputs": "20.0.3-develop.
|
|
50
|
-
"@progress/kendo-angular-layout": "20.0.3-develop.
|
|
51
|
-
"@progress/kendo-angular-icons": "20.0.3-develop.
|
|
52
|
-
"@progress/kendo-angular-common": "20.0.3-develop.
|
|
53
|
-
"@progress/kendo-angular-intl": "20.0.3-develop.
|
|
54
|
-
"@progress/kendo-angular-l10n": "20.0.3-develop.
|
|
55
|
-
"@progress/kendo-angular-menu": "20.0.3-develop.
|
|
56
|
-
"@progress/kendo-angular-popup": "20.0.3-develop.
|
|
57
|
-
"@progress/kendo-angular-toolbar": "20.0.3-develop.
|
|
58
|
-
"@progress/kendo-angular-upload": "20.0.3-develop.
|
|
48
|
+
"@progress/kendo-angular-buttons": "20.0.3-develop.3",
|
|
49
|
+
"@progress/kendo-angular-inputs": "20.0.3-develop.3",
|
|
50
|
+
"@progress/kendo-angular-layout": "20.0.3-develop.3",
|
|
51
|
+
"@progress/kendo-angular-icons": "20.0.3-develop.3",
|
|
52
|
+
"@progress/kendo-angular-common": "20.0.3-develop.3",
|
|
53
|
+
"@progress/kendo-angular-intl": "20.0.3-develop.3",
|
|
54
|
+
"@progress/kendo-angular-l10n": "20.0.3-develop.3",
|
|
55
|
+
"@progress/kendo-angular-menu": "20.0.3-develop.3",
|
|
56
|
+
"@progress/kendo-angular-popup": "20.0.3-develop.3",
|
|
57
|
+
"@progress/kendo-angular-toolbar": "20.0.3-develop.3",
|
|
58
|
+
"@progress/kendo-angular-upload": "20.0.3-develop.3",
|
|
59
59
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"tslib": "^2.3.1",
|
|
63
|
-
"@progress/kendo-angular-schematics": "20.0.3-develop.
|
|
63
|
+
"@progress/kendo-angular-schematics": "20.0.3-develop.3"
|
|
64
64
|
},
|
|
65
65
|
"schematics": "./schematics/collection.json",
|
|
66
66
|
"module": "fesm2022/progress-kendo-angular-conversational-ui.mjs",
|