@progress/kendo-angular-conversational-ui 19.3.0-develop.15 → 19.3.0-develop.17
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/ai-prompt/aiprompt.component.d.ts +70 -12
- package/ai-prompt/aiprompt.module.d.ts +3 -1
- package/ai-prompt/common/aiprompt.service.d.ts +10 -0
- package/ai-prompt/common/output-card.component.d.ts +4 -0
- package/ai-prompt/templates/aiprompt-output-body-template.directive.d.ts +24 -0
- package/ai-prompt/templates/aiprompt-output-template.directive.d.ts +24 -0
- package/ai-prompt/views/output-view.component.d.ts +4 -0
- package/ai-prompt/views/prompt-view.component.d.ts +19 -1
- package/conversational-ui.module.d.ts +9 -7
- package/directives.d.ts +4 -2
- package/esm2022/ai-prompt/aiprompt.component.mjs +135 -19
- package/esm2022/ai-prompt/aiprompt.module.mjs +3 -1
- package/esm2022/ai-prompt/common/aiprompt.service.mjs +35 -0
- package/esm2022/ai-prompt/common/output-card.component.mjs +23 -5
- package/esm2022/ai-prompt/templates/aiprompt-output-body-template.directive.mjs +33 -0
- package/esm2022/ai-prompt/templates/aiprompt-output-template.directive.mjs +33 -0
- package/esm2022/ai-prompt/views/output-view.component.mjs +27 -11
- package/esm2022/ai-prompt/views/prompt-view.component.mjs +115 -21
- package/esm2022/conversational-ui.module.mjs +10 -8
- package/esm2022/directives.mjs +5 -1
- package/esm2022/index.mjs +2 -0
- package/esm2022/package-metadata.mjs +2 -2
- package/fesm2022/progress-kendo-angular-conversational-ui.mjs +392 -57
- package/index.d.ts +2 -0
- package/package.json +11 -11
@@ -2,14 +2,18 @@
|
|
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
|
-
import { AfterViewInit, EventEmitter, NgZone, OnDestroy, QueryList, TemplateRef } from "@angular/core";
|
5
|
+
import { AfterContentChecked, AfterViewInit, EventEmitter, NgZone, OnDestroy, QueryList, TemplateRef } from "@angular/core";
|
6
6
|
import { SVGIcon } from "@progress/kendo-svg-icons";
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
8
|
+
import { FabAlign, FabPositionMode, SpeechToTextButtonSettings } from "@progress/kendo-angular-buttons";
|
8
9
|
import { BaseView } from "./views/base-view";
|
9
10
|
import { AIPromptService } from "./common/aiprompt.service";
|
10
11
|
import { PromptCommand, PromptOutput, CommandExecuteEvent, PromptRequestEvent, OutputRatingChangeEvent } from "./models";
|
11
12
|
import { AIPromptToolbarActionsDirective } from "./templates/toolbar-actions.template";
|
12
13
|
import { ToolbarNavigationService } from "./common/toolbar-navigation.service";
|
14
|
+
import { AIPromptOutputTemplateDirective } from "./templates/aiprompt-output-template.directive";
|
15
|
+
import { AIPromptOutputBodyTemplateDirective } from "./templates/aiprompt-output-body-template.directive";
|
16
|
+
import { TextAreaSettings } from "@progress/kendo-angular-inputs";
|
13
17
|
import * as i0 from "@angular/core";
|
14
18
|
/**
|
15
19
|
* Represents the [Kendo UI AIPrompt component for Angular](slug:overview_aiprompt).
|
@@ -28,7 +32,7 @@ import * as i0 from "@angular/core";
|
|
28
32
|
* @remarks
|
29
33
|
* Supported children components are: {@link AIPromptCustomMessagesComponent}, {@link CustomViewComponent}, {@link CommandViewComponent}, {@link PromptViewComponent}, {@link OutputViewComponent}.
|
30
34
|
*/
|
31
|
-
export declare class AIPromptComponent implements AfterViewInit, OnDestroy {
|
35
|
+
export declare class AIPromptComponent implements AfterContentChecked, AfterViewInit, OnDestroy {
|
32
36
|
private localization;
|
33
37
|
private service;
|
34
38
|
private navigationService;
|
@@ -44,52 +48,94 @@ export declare class AIPromptComponent implements AfterViewInit, OnDestroy {
|
|
44
48
|
* @hidden
|
45
49
|
*/
|
46
50
|
toolbarActionsTemplate: AIPromptToolbarActionsDirective;
|
51
|
+
/**
|
52
|
+
* @hidden
|
53
|
+
*/
|
54
|
+
outputTemplate: AIPromptOutputTemplateDirective;
|
55
|
+
/**
|
56
|
+
* @hidden
|
57
|
+
*/
|
58
|
+
outputBodyTemplate: AIPromptOutputBodyTemplateDirective;
|
47
59
|
/**
|
48
60
|
* The active view index of the AIPrompt component.
|
49
61
|
*/
|
50
62
|
set activeView(idx: number);
|
51
63
|
get activeView(): number;
|
52
64
|
/**
|
53
|
-
* Sets the collection of commands to render in the
|
65
|
+
* Sets the collection of commands to render in the Command view.
|
54
66
|
*/
|
55
67
|
set promptCommands(value: Array<PromptCommand>);
|
56
68
|
/**
|
57
|
-
* Sets the collection of suggestions to render in the
|
69
|
+
* Sets the collection of suggestions to render in the Prompt view.
|
58
70
|
*/
|
59
71
|
set promptSuggestions(value: Array<string>);
|
60
72
|
/**
|
61
|
-
* Sets the collection of generated prompt outputs to render in the
|
73
|
+
* Sets the collection of generated prompt outputs to render in the Output view.
|
62
74
|
*/
|
63
75
|
set promptOutputs(value: Array<PromptOutput>);
|
64
76
|
/**
|
65
|
-
* Specifies
|
66
|
-
*
|
77
|
+
* Specifies whether the rating buttons appear in each Output view card.
|
78
|
+
* The rating buttons do not appear by default.
|
67
79
|
* @default false
|
68
80
|
*/
|
69
81
|
set showOutputRating(value: boolean);
|
82
|
+
/**
|
83
|
+
* Specifies whether the Stop generation button appears in the Output view.
|
84
|
+
* The Stop generation button does not appear by default.
|
85
|
+
* @default false
|
86
|
+
*/
|
87
|
+
streaming: boolean;
|
88
|
+
/**
|
89
|
+
* Sets the settings for the Speech to Text button in the Prompt view.
|
90
|
+
*/
|
91
|
+
set speechToTextButton(settings: boolean | SpeechToTextButtonSettings);
|
92
|
+
/**
|
93
|
+
* Sets the settings for the TextArea in the Prompt view.
|
94
|
+
* Use this property to customize the TextArea appearance.
|
95
|
+
*/
|
96
|
+
set textAreaSettings(settings: TextAreaSettings);
|
97
|
+
/**
|
98
|
+
* Sets the SVG icon for the Generate button in the Prompt view.
|
99
|
+
*/
|
100
|
+
generateButtonSVGIcon: SVGIcon;
|
101
|
+
/**
|
102
|
+
* Sets the icon for the Generate button in the Prompt view.
|
103
|
+
* @default 'sparkles'
|
104
|
+
*/
|
105
|
+
generateButtonIcon: string;
|
106
|
+
/**
|
107
|
+
* Sets the disabled state for the Generate button in the Prompt view.
|
108
|
+
* @default false
|
109
|
+
*/
|
110
|
+
disabledGenerateButton: boolean;
|
70
111
|
/**
|
71
112
|
* Fires when the `activeView` property is updated.
|
72
113
|
* Use this event for two-way binding of the `activeView` property.
|
73
114
|
*/
|
74
115
|
activeViewChange: EventEmitter<number>;
|
75
116
|
/**
|
76
|
-
* Fires when
|
117
|
+
* Fires when you click the Generate button in the Prompt view or the Retry button in the Output view.
|
77
118
|
* Use the event's `isRetry` field to determine the source element.
|
78
119
|
*/
|
79
120
|
promptRequest: EventEmitter<PromptRequestEvent>;
|
80
121
|
/**
|
81
|
-
* Fires when
|
122
|
+
* Fires when you click a Command view command.
|
82
123
|
* The event data contains the selected command.
|
83
124
|
*/
|
84
125
|
commandExecute: EventEmitter<CommandExecuteEvent>;
|
85
126
|
/**
|
86
|
-
* Fires when
|
127
|
+
* Fires when you click a Copy button in any Output view card.
|
87
128
|
*/
|
88
129
|
outputCopy: EventEmitter<PromptOutput>;
|
89
130
|
/**
|
90
|
-
* Fires when
|
131
|
+
* Fires when you click a rating button in any Output view card.
|
91
132
|
*/
|
92
133
|
outputRatingChange: EventEmitter<OutputRatingChangeEvent>;
|
134
|
+
/**
|
135
|
+
* Fires when you click the Stop Generation button in the Output view.
|
136
|
+
*/
|
137
|
+
promptRequestCancel: EventEmitter<void>;
|
138
|
+
ngAfterContentChecked(): void;
|
93
139
|
ngAfterViewInit(): void;
|
94
140
|
ngOnDestroy(): void;
|
95
141
|
/**
|
@@ -109,10 +155,22 @@ export declare class AIPromptComponent implements AfterViewInit, OnDestroy {
|
|
109
155
|
* @hidden
|
110
156
|
*/
|
111
157
|
outputIcon: SVGIcon;
|
158
|
+
/**
|
159
|
+
* @hidden
|
160
|
+
*/
|
161
|
+
fabStopGenerationSVGIcon: SVGIcon;
|
112
162
|
/**
|
113
163
|
* @hidden
|
114
164
|
*/
|
115
165
|
get viewsArray(): Array<BaseView>;
|
166
|
+
/**
|
167
|
+
* @hidden
|
168
|
+
*/
|
169
|
+
fabPositionMode: FabPositionMode;
|
170
|
+
/**
|
171
|
+
* @hidden
|
172
|
+
*/
|
173
|
+
fabAlignment: FabAlign;
|
116
174
|
private direction;
|
117
175
|
private _activeView;
|
118
176
|
/**
|
@@ -132,5 +190,5 @@ export declare class AIPromptComponent implements AfterViewInit, OnDestroy {
|
|
132
190
|
*/
|
133
191
|
handleGenerateOutput(): void;
|
134
192
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptComponent, never>;
|
135
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptComponent, "kendo-aiprompt", ["kendoAIPrompt"], { "activeView": { "alias": "activeView"; "required": false; }; "promptCommands": { "alias": "promptCommands"; "required": false; }; "promptSuggestions": { "alias": "promptSuggestions"; "required": false; }; "promptOutputs": { "alias": "promptOutputs"; "required": false; }; "showOutputRating": { "alias": "showOutputRating"; "required": false; }; }, { "activeViewChange": "activeViewChange"; "promptRequest": "promptRequest"; "commandExecute": "commandExecute"; "outputCopy": "outputCopy"; "outputRatingChange": "outputRatingChange"; }, ["toolbarActionsTemplate", "views"], never, true, never>;
|
193
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptComponent, "kendo-aiprompt", ["kendoAIPrompt"], { "activeView": { "alias": "activeView"; "required": false; }; "promptCommands": { "alias": "promptCommands"; "required": false; }; "promptSuggestions": { "alias": "promptSuggestions"; "required": false; }; "promptOutputs": { "alias": "promptOutputs"; "required": false; }; "showOutputRating": { "alias": "showOutputRating"; "required": false; }; "streaming": { "alias": "streaming"; "required": false; }; "speechToTextButton": { "alias": "speechToTextButton"; "required": false; }; "textAreaSettings": { "alias": "textAreaSettings"; "required": false; }; "generateButtonSVGIcon": { "alias": "generateButtonSVGIcon"; "required": false; }; "generateButtonIcon": { "alias": "generateButtonIcon"; "required": false; }; "disabledGenerateButton": { "alias": "disabledGenerateButton"; "required": false; }; }, { "activeViewChange": "activeViewChange"; "promptRequest": "promptRequest"; "commandExecute": "commandExecute"; "outputCopy": "outputCopy"; "outputRatingChange": "outputRatingChange"; "promptRequestCancel": "promptRequestCancel"; }, ["toolbarActionsTemplate", "outputTemplate", "outputBodyTemplate", "views"], never, true, never>;
|
136
194
|
}
|
@@ -11,6 +11,8 @@ import * as i5 from "./views/custom-view.component";
|
|
11
11
|
import * as i6 from "./localization/custom-messages.component";
|
12
12
|
import * as i7 from "./templates/toolbar-actions.template";
|
13
13
|
import * as i8 from "./common/toolbar-focusable.directive";
|
14
|
+
import * as i9 from "./templates/aiprompt-output-template.directive";
|
15
|
+
import * as i10 from "./templates/aiprompt-output-body-template.directive";
|
14
16
|
/**
|
15
17
|
* Represents the [`NgModule`](link:site.data.urls.angular['ngmodules']) for the AIPrompt component.
|
16
18
|
*
|
@@ -31,6 +33,6 @@ import * as i8 from "./common/toolbar-focusable.directive";
|
|
31
33
|
*/
|
32
34
|
export declare class AIPromptModule {
|
33
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptModule, never>;
|
34
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AIPromptModule, never, [typeof i1.AIPromptComponent, typeof i2.PromptViewComponent, typeof i3.OutputViewComponent, typeof i4.CommandViewComponent, typeof i5.CustomViewComponent, typeof i6.AIPromptCustomMessagesComponent, typeof i7.AIPromptToolbarActionsDirective, typeof i8.AIPromptToolbarFocusableDirective], [typeof i1.AIPromptComponent, typeof i2.PromptViewComponent, typeof i3.OutputViewComponent, typeof i4.CommandViewComponent, typeof i5.CustomViewComponent, typeof i6.AIPromptCustomMessagesComponent, typeof i7.AIPromptToolbarActionsDirective, typeof i8.AIPromptToolbarFocusableDirective]>;
|
36
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AIPromptModule, never, [typeof i1.AIPromptComponent, typeof i2.PromptViewComponent, typeof i3.OutputViewComponent, typeof i4.CommandViewComponent, typeof i5.CustomViewComponent, typeof i6.AIPromptCustomMessagesComponent, typeof i7.AIPromptToolbarActionsDirective, typeof i8.AIPromptToolbarFocusableDirective, typeof i9.AIPromptOutputTemplateDirective, typeof i10.AIPromptOutputBodyTemplateDirective], [typeof i1.AIPromptComponent, typeof i2.PromptViewComponent, typeof i3.OutputViewComponent, typeof i4.CommandViewComponent, typeof i5.CustomViewComponent, typeof i6.AIPromptCustomMessagesComponent, typeof i7.AIPromptToolbarActionsDirective, typeof i8.AIPromptToolbarFocusableDirective, typeof i9.AIPromptOutputTemplateDirective, typeof i10.AIPromptOutputBodyTemplateDirective]>;
|
35
37
|
static ɵinj: i0.ɵɵInjectorDeclaration<AIPromptModule>;
|
36
38
|
}
|
@@ -5,6 +5,10 @@
|
|
5
5
|
import { Subject } from 'rxjs';
|
6
6
|
import { AIPromptComponent } from '../aiprompt.component';
|
7
7
|
import { PromptCommand, PromptOutput, CommandExecuteEvent, PromptRequestEvent, OutputRatingChangeEvent } from '../models';
|
8
|
+
import { AIPromptOutputTemplateDirective } from '../templates/aiprompt-output-template.directive';
|
9
|
+
import { AIPromptOutputBodyTemplateDirective } from '../templates/aiprompt-output-body-template.directive';
|
10
|
+
import { TextAreaSettings } from '@progress/kendo-angular-inputs';
|
11
|
+
import { SpeechToTextButtonSettings } from '@progress/kendo-angular-buttons';
|
8
12
|
import * as i0 from "@angular/core";
|
9
13
|
/**
|
10
14
|
* @hidden
|
@@ -20,6 +24,12 @@ export declare class AIPromptService {
|
|
20
24
|
promptCommands: Array<PromptCommand>;
|
21
25
|
promptOutputs: Array<PromptOutput>;
|
22
26
|
promptSuggestions: Array<string>;
|
27
|
+
textAreaSettings: TextAreaSettings;
|
28
|
+
outputTemplate: AIPromptOutputTemplateDirective;
|
29
|
+
outputBodyTemplate: AIPromptOutputBodyTemplateDirective;
|
30
|
+
private _speechToTextButton;
|
31
|
+
get speechToTextButton(): SpeechToTextButtonSettings;
|
32
|
+
set speechToTextButton(settings: boolean | SpeechToTextButtonSettings);
|
23
33
|
getFlattenPromptCommands(commands?: Array<PromptCommand>): Array<PromptCommand>;
|
24
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptService, never>;
|
25
35
|
static ɵprov: i0.ɵɵInjectableDeclaration<AIPromptService>;
|
@@ -33,6 +33,10 @@ export declare class AIPromptOutputCardComponent implements OnInit {
|
|
33
33
|
handleRetry(): void;
|
34
34
|
handleCopy(): void;
|
35
35
|
handleRating(ratingType: PromptOutputRating): void;
|
36
|
+
/**
|
37
|
+
* @hidden
|
38
|
+
*/
|
39
|
+
get customBodyTemplate(): import("@angular/core").TemplateRef<any>;
|
36
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptOutputCardComponent, never>;
|
37
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptOutputCardComponent, "[kendoAIPromptOutputCard]", never, { "promptOutput": { "alias": "promptOutput"; "required": false; }; }, {}, never, never, true, never>;
|
38
42
|
}
|
@@ -0,0 +1,24 @@
|
|
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 { TemplateRef } from '@angular/core';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
/**
|
8
|
+
* Represents the template for the body of the response in the AIPrompt component. The template context is set to the current output object.
|
9
|
+
*
|
10
|
+
* @example
|
11
|
+
* ```html
|
12
|
+
* <kendo-aiprompt>
|
13
|
+
* <ng-template kendoAIPromptOutputBodyTemplate let-output>
|
14
|
+
* <div>{{output.prompt}}</div>
|
15
|
+
* </ng-template>
|
16
|
+
* </kendo-aiprompt>
|
17
|
+
* ```
|
18
|
+
*/
|
19
|
+
export declare class AIPromptOutputBodyTemplateDirective {
|
20
|
+
templateRef: TemplateRef<any>;
|
21
|
+
constructor(templateRef: TemplateRef<any>);
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptOutputBodyTemplateDirective, never>;
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AIPromptOutputBodyTemplateDirective, "[kendoAIPromptOutputBodyTemplate]", never, {}, {}, never, never, true, never>;
|
24
|
+
}
|
@@ -0,0 +1,24 @@
|
|
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 { TemplateRef } from '@angular/core';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
/**
|
8
|
+
* Represents the template for the response in the AIPrompt component. The template context is set to the current output object.
|
9
|
+
*
|
10
|
+
* @example
|
11
|
+
* ```html
|
12
|
+
* <kendo-aiprompt>
|
13
|
+
* <ng-template kendoAIPromptOutputTemplate let-output>
|
14
|
+
* <div>{{output.prompt}}</div>
|
15
|
+
* </ng-template>
|
16
|
+
* </kendo-aiprompt>
|
17
|
+
* ```
|
18
|
+
*/
|
19
|
+
export declare class AIPromptOutputTemplateDirective {
|
20
|
+
templateRef: TemplateRef<any>;
|
21
|
+
constructor(templateRef: TemplateRef<any>);
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptOutputTemplateDirective, never>;
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AIPromptOutputTemplateDirective, "[kendoAIPromptOutputTemplate]", never, {}, {}, never, never, true, never>;
|
24
|
+
}
|
@@ -24,6 +24,10 @@ export declare class OutputViewComponent extends BaseView {
|
|
24
24
|
* @hidden
|
25
25
|
*/
|
26
26
|
get promptOutputs(): Array<PromptOutput>;
|
27
|
+
/**
|
28
|
+
* @hidden
|
29
|
+
*/
|
30
|
+
get customTemplate(): import("@angular/core").TemplateRef<any>;
|
27
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<OutputViewComponent, never>;
|
28
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<OutputViewComponent, "kendo-aiprompt-output-view", never, {}, {}, never, never, true, never>;
|
29
33
|
}
|
@@ -4,6 +4,8 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
6
6
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
7
|
+
import { SpeechToTextButtonSettings } from '@progress/kendo-angular-buttons';
|
8
|
+
import { TextAreaSettings } from '@progress/kendo-angular-inputs';
|
7
9
|
import { BaseView } from './base-view';
|
8
10
|
import { AIPromptService } from '../common/aiprompt.service';
|
9
11
|
import * as i0 from "@angular/core";
|
@@ -18,7 +20,7 @@ import * as i0 from "@angular/core";
|
|
18
20
|
* ```
|
19
21
|
*/
|
20
22
|
export declare class PromptViewComponent extends BaseView {
|
21
|
-
|
23
|
+
service: AIPromptService;
|
22
24
|
constructor(localization: LocalizationService, service: AIPromptService);
|
23
25
|
/**
|
24
26
|
* @hidden
|
@@ -49,6 +51,22 @@ export declare class PromptViewComponent extends BaseView {
|
|
49
51
|
* @hidden
|
50
52
|
*/
|
51
53
|
suggestionClick(suggestion: string): void;
|
54
|
+
/**
|
55
|
+
* @hidden
|
56
|
+
*/
|
57
|
+
get speechToTextButtonSettings(): SpeechToTextButtonSettings;
|
58
|
+
/**
|
59
|
+
* @hidden
|
60
|
+
*/
|
61
|
+
get textareaSettings(): TextAreaSettings;
|
62
|
+
/**
|
63
|
+
* @hidden
|
64
|
+
*/
|
65
|
+
onSpeechToTextResult(event: any): void;
|
66
|
+
/**
|
67
|
+
* @hidden
|
68
|
+
*/
|
69
|
+
onSpeechToTextError(event: any): void;
|
52
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<PromptViewComponent, never>;
|
53
71
|
static ɵcmp: i0.ɵɵComponentDeclaration<PromptViewComponent, "kendo-aiprompt-prompt-view", never, {}, {}, never, never, true, never>;
|
54
72
|
}
|
@@ -11,12 +11,14 @@ import * as i5 from "./ai-prompt/views/custom-view.component";
|
|
11
11
|
import * as i6 from "./ai-prompt/localization/custom-messages.component";
|
12
12
|
import * as i7 from "./ai-prompt/templates/toolbar-actions.template";
|
13
13
|
import * as i8 from "./ai-prompt/common/toolbar-focusable.directive";
|
14
|
-
import * as i9 from "./
|
15
|
-
import * as i10 from "./
|
16
|
-
import * as i11 from "./chat/
|
17
|
-
import * as i12 from "./chat/
|
18
|
-
import * as i13 from "./chat/
|
19
|
-
import * as i14 from "./chat/message-
|
14
|
+
import * as i9 from "./ai-prompt/templates/aiprompt-output-template.directive";
|
15
|
+
import * as i10 from "./ai-prompt/templates/aiprompt-output-body-template.directive";
|
16
|
+
import * as i11 from "./chat/chat.component";
|
17
|
+
import * as i12 from "./chat/l10n/custom-messages.component";
|
18
|
+
import * as i13 from "./chat/attachment-template.directive";
|
19
|
+
import * as i14 from "./chat/message-template.directive";
|
20
|
+
import * as i15 from "./chat/cards/hero-card.component";
|
21
|
+
import * as i16 from "./chat/message-box.directive";
|
20
22
|
/**
|
21
23
|
* Represents the [`NgModule`](link:site.data.urls.angular['ngmodules']) for the Conversational UI components.
|
22
24
|
*
|
@@ -37,6 +39,6 @@ import * as i14 from "./chat/message-box.directive";
|
|
37
39
|
*/
|
38
40
|
export declare class ConversationalUIModule {
|
39
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConversationalUIModule, never>;
|
40
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConversationalUIModule, never, [typeof i1.AIPromptComponent, typeof i2.PromptViewComponent, typeof i3.OutputViewComponent, typeof i4.CommandViewComponent, typeof i5.CustomViewComponent, typeof i6.AIPromptCustomMessagesComponent, typeof i7.AIPromptToolbarActionsDirective, typeof i8.AIPromptToolbarFocusableDirective, typeof i9.
|
42
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConversationalUIModule, never, [typeof i1.AIPromptComponent, typeof i2.PromptViewComponent, typeof i3.OutputViewComponent, typeof i4.CommandViewComponent, typeof i5.CustomViewComponent, typeof i6.AIPromptCustomMessagesComponent, typeof i7.AIPromptToolbarActionsDirective, typeof i8.AIPromptToolbarFocusableDirective, typeof i9.AIPromptOutputTemplateDirective, typeof i10.AIPromptOutputBodyTemplateDirective, typeof i11.ChatComponent, typeof i12.CustomMessagesComponent, typeof i13.AttachmentTemplateDirective, typeof i14.MessageTemplateDirective, typeof i15.HeroCardComponent, typeof i16.ChatMessageBoxTemplateDirective], [typeof i1.AIPromptComponent, typeof i2.PromptViewComponent, typeof i3.OutputViewComponent, typeof i4.CommandViewComponent, typeof i5.CustomViewComponent, typeof i6.AIPromptCustomMessagesComponent, typeof i7.AIPromptToolbarActionsDirective, typeof i8.AIPromptToolbarFocusableDirective, typeof i9.AIPromptOutputTemplateDirective, typeof i10.AIPromptOutputBodyTemplateDirective, typeof i11.ChatComponent, typeof i12.CustomMessagesComponent, typeof i13.AttachmentTemplateDirective, typeof i14.MessageTemplateDirective, typeof i15.HeroCardComponent, typeof i16.ChatMessageBoxTemplateDirective]>;
|
41
43
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConversationalUIModule>;
|
42
44
|
}
|
package/directives.d.ts
CHANGED
@@ -15,6 +15,8 @@ import { AttachmentTemplateDirective } from "./chat/attachment-template.directiv
|
|
15
15
|
import { MessageTemplateDirective } from "./chat/message-template.directive";
|
16
16
|
import { HeroCardComponent } from "./chat/cards/hero-card.component";
|
17
17
|
import { ChatMessageBoxTemplateDirective } from "./chat/message-box.directive";
|
18
|
+
import { AIPromptOutputBodyTemplateDirective } from "./ai-prompt/templates/aiprompt-output-body-template.directive";
|
19
|
+
import { AIPromptOutputTemplateDirective } from "./ai-prompt/templates/aiprompt-output-template.directive";
|
18
20
|
/**
|
19
21
|
* Utility array that contains all AIPrompt related components and directives.
|
20
22
|
*
|
@@ -32,7 +34,7 @@ import { ChatMessageBoxTemplateDirective } from "./chat/message-box.directive";
|
|
32
34
|
* export class AppComponent {}
|
33
35
|
* ```
|
34
36
|
*/
|
35
|
-
export declare const KENDO_AIPROMPT: readonly [typeof AIPromptComponent, typeof PromptViewComponent, typeof OutputViewComponent, typeof CommandViewComponent, typeof CustomViewComponent, typeof AIPromptCustomMessagesComponent, typeof AIPromptToolbarActionsDirective, typeof AIPromptToolbarFocusableDirective];
|
37
|
+
export declare const KENDO_AIPROMPT: readonly [typeof AIPromptComponent, typeof PromptViewComponent, typeof OutputViewComponent, typeof CommandViewComponent, typeof CustomViewComponent, typeof AIPromptCustomMessagesComponent, typeof AIPromptToolbarActionsDirective, typeof AIPromptToolbarFocusableDirective, typeof AIPromptOutputTemplateDirective, typeof AIPromptOutputBodyTemplateDirective];
|
36
38
|
/**
|
37
39
|
* Utility array that contains all Chat related components and directives.
|
38
40
|
*
|
@@ -71,4 +73,4 @@ export declare const KENDO_CHAT: readonly [typeof ChatComponent, typeof CustomMe
|
|
71
73
|
* export class AppComponent {}
|
72
74
|
* ```
|
73
75
|
*/
|
74
|
-
export declare const KENDO_CONVERSATIONALUI: readonly [typeof AIPromptComponent, typeof PromptViewComponent, typeof OutputViewComponent, typeof CommandViewComponent, typeof CustomViewComponent, typeof AIPromptCustomMessagesComponent, typeof AIPromptToolbarActionsDirective, typeof AIPromptToolbarFocusableDirective, typeof ChatComponent, typeof CustomMessagesComponent, typeof AttachmentTemplateDirective, typeof MessageTemplateDirective, typeof HeroCardComponent, typeof ChatMessageBoxTemplateDirective];
|
76
|
+
export declare const KENDO_CONVERSATIONALUI: readonly [typeof AIPromptComponent, typeof PromptViewComponent, typeof OutputViewComponent, typeof CommandViewComponent, typeof CustomViewComponent, typeof AIPromptCustomMessagesComponent, typeof AIPromptToolbarActionsDirective, typeof AIPromptToolbarFocusableDirective, typeof AIPromptOutputTemplateDirective, typeof AIPromptOutputBodyTemplateDirective, typeof ChatComponent, typeof CustomMessagesComponent, typeof AttachmentTemplateDirective, typeof MessageTemplateDirective, typeof HeroCardComponent, typeof ChatMessageBoxTemplateDirective];
|