@progress/kendo-angular-conversational-ui 24.2.2 → 25.0.0-develop.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.
Files changed (139) hide show
  1. package/fesm2022/progress-kendo-angular-conversational-ui.mjs +228 -228
  2. package/index.d.ts +4350 -51
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +18 -18
  5. package/ai-prompt/aiprompt.component.d.ts +0 -203
  6. package/ai-prompt/aiprompt.module.d.ts +0 -38
  7. package/ai-prompt/common/aiprompt.service.d.ts +0 -36
  8. package/ai-prompt/common/output-card.component.d.ts +0 -42
  9. package/ai-prompt/common/toolbar-focusable.directive.d.ts +0 -24
  10. package/ai-prompt/common/toolbar-navigation.service.d.ts +0 -24
  11. package/ai-prompt/localization/custom-messages.component.d.ts +0 -28
  12. package/ai-prompt/localization/localized-messages.directive.d.ts +0 -16
  13. package/ai-prompt/localization/messages.d.ts +0 -53
  14. package/ai-prompt/models/ai-prompt-settings.d.ts +0 -60
  15. package/ai-prompt/models/command-execute-event.d.ts +0 -24
  16. package/ai-prompt/models/command.interface.d.ts +0 -30
  17. package/ai-prompt/models/index.d.ts +0 -11
  18. package/ai-prompt/models/output-rating-change-event.d.ts +0 -19
  19. package/ai-prompt/models/prompt-output.interface.d.ts +0 -41
  20. package/ai-prompt/models/prompt-request-event.d.ts +0 -23
  21. package/ai-prompt/models/view-type.d.ts +0 -8
  22. package/ai-prompt/templates/aiprompt-output-body-template.directive.d.ts +0 -24
  23. package/ai-prompt/templates/aiprompt-output-template.directive.d.ts +0 -24
  24. package/ai-prompt/templates/toolbar-actions.template.d.ts +0 -28
  25. package/ai-prompt/utils.d.ts +0 -19
  26. package/ai-prompt/views/base-view.d.ts +0 -46
  27. package/ai-prompt/views/command-view.component.d.ts +0 -36
  28. package/ai-prompt/views/custom-view.component.d.ts +0 -30
  29. package/ai-prompt/views/index.d.ts +0 -8
  30. package/ai-prompt/views/output-view.component.d.ts +0 -33
  31. package/ai-prompt/views/prompt-view.component.d.ts +0 -76
  32. package/chat/api/action.interface.d.ts +0 -30
  33. package/chat/api/attachment.interface.d.ts +0 -33
  34. package/chat/api/chat-file-interface.d.ts +0 -41
  35. package/chat/api/chat-load-more-event.d.ts +0 -18
  36. package/chat/api/chat-referenced-message-click-event.d.ts +0 -18
  37. package/chat/api/chat-suggestion.interface.d.ts +0 -25
  38. package/chat/api/execute-action-event.d.ts +0 -27
  39. package/chat/api/file-action.d.ts +0 -45
  40. package/chat/api/file-download-event.interface.d.ts +0 -21
  41. package/chat/api/files-layout.d.ts +0 -12
  42. package/chat/api/index.d.ts +0 -25
  43. package/chat/api/message-action.d.ts +0 -45
  44. package/chat/api/message-box.d.ts +0 -28
  45. package/chat/api/message-settings.interface.d.ts +0 -41
  46. package/chat/api/message-status.interface.d.ts +0 -22
  47. package/chat/api/message-width-mode.d.ts +0 -10
  48. package/chat/api/message.interface.d.ts +0 -77
  49. package/chat/api/post-message-event.d.ts +0 -29
  50. package/chat/api/preventable-event.d.ts +0 -24
  51. package/chat/api/scroll-mode.d.ts +0 -12
  52. package/chat/api/send-button-settings.d.ts +0 -24
  53. package/chat/api/suggestions-layout.d.ts +0 -20
  54. package/chat/api/timestamp-visibility.d.ts +0 -10
  55. package/chat/api/user.interface.d.ts +0 -30
  56. package/chat/attachment.component.d.ts +0 -22
  57. package/chat/builtin-actions.d.ts +0 -14
  58. package/chat/cards/hero-card.component.d.ts +0 -49
  59. package/chat/chat-file.component.d.ts +0 -34
  60. package/chat/chat-item.d.ts +0 -11
  61. package/chat/chat-view.d.ts +0 -54
  62. package/chat/chat.component.d.ts +0 -561
  63. package/chat/chat.directives.d.ts +0 -18
  64. package/chat/chat.module.d.ts +0 -51
  65. package/chat/common/chat.service.d.ts +0 -99
  66. package/chat/common/endless-scroll-state.d.ts +0 -36
  67. package/chat/common/models/default-model-fields.d.ts +0 -9
  68. package/chat/common/models/formatted-text-parts.d.ts +0 -12
  69. package/chat/common/models/model-fields.d.ts +0 -111
  70. package/chat/common/models/pending-scroll-action.d.ts +0 -11
  71. package/chat/common/scroll-anchor.directive.d.ts +0 -72
  72. package/chat/common/scroll-button.component.d.ts +0 -32
  73. package/chat/common/scroll.service.d.ts +0 -39
  74. package/chat/common/utils.d.ts +0 -87
  75. package/chat/l10n/custom-messages.component.d.ts +0 -28
  76. package/chat/l10n/localized-messages.directive.d.ts +0 -16
  77. package/chat/l10n/messages.d.ts +0 -98
  78. package/chat/message-attachments.component.d.ts +0 -56
  79. package/chat/message-box.component.d.ts +0 -82
  80. package/chat/message-list.component.d.ts +0 -85
  81. package/chat/message-reference-content.component.d.ts +0 -24
  82. package/chat/message.component.d.ts +0 -106
  83. package/chat/suggested-actions.component.d.ts +0 -72
  84. package/chat/templates/attachment-template.directive.d.ts +0 -32
  85. package/chat/templates/author-message-content-template.directive.d.ts +0 -28
  86. package/chat/templates/author-message-template.directive.d.ts +0 -28
  87. package/chat/templates/header-template.directive.d.ts +0 -24
  88. package/chat/templates/message-box-end-affix-template.directive.d.ts +0 -26
  89. package/chat/templates/message-box-start-affix-template.directive.d.ts +0 -26
  90. package/chat/templates/message-box-top-affix-template.directive.d.ts +0 -26
  91. package/chat/templates/message-box.directive.d.ts +0 -27
  92. package/chat/templates/message-content-template.directive.d.ts +0 -28
  93. package/chat/templates/message-template.directive.d.ts +0 -28
  94. package/chat/templates/no-data-template.directive.d.ts +0 -27
  95. package/chat/templates/receiver-message-content-template.directive.d.ts +0 -28
  96. package/chat/templates/receiver-message-template.directive.d.ts +0 -28
  97. package/chat/templates/status-template.directive.d.ts +0 -24
  98. package/chat/templates/suggestion-template.directive.d.ts +0 -27
  99. package/chat/templates/timestamp-template.directive.d.ts +0 -31
  100. package/chat/templates/user-status-template.directive.d.ts +0 -27
  101. package/conversational-ui.module.d.ts +0 -70
  102. package/directives.d.ts +0 -138
  103. package/inline-ai-prompt/inlineaiprompt-content.component.d.ts +0 -82
  104. package/inline-ai-prompt/inlineaiprompt.component.d.ts +0 -159
  105. package/inline-ai-prompt/inlineaiprompt.module.d.ts +0 -31
  106. package/inline-ai-prompt/inlineaiprompt.service.d.ts +0 -48
  107. package/inline-ai-prompt/localization/custom-messages.component.d.ts +0 -25
  108. package/inline-ai-prompt/localization/localized-messages.directive.d.ts +0 -16
  109. package/inline-ai-prompt/localization/messages.d.ts +0 -25
  110. package/inline-ai-prompt/models/command.interface.d.ts +0 -38
  111. package/inline-ai-prompt/models/index.d.ts +0 -12
  112. package/inline-ai-prompt/models/inlineaiprompt-popupsettings.d.ts +0 -10
  113. package/inline-ai-prompt/models/inlineaiprompt-settings.d.ts +0 -66
  114. package/inline-ai-prompt/models/messages.d.ts +0 -21
  115. package/inline-ai-prompt/models/output-action-click-event.d.ts +0 -19
  116. package/inline-ai-prompt/models/output-action.interface.d.ts +0 -54
  117. package/inline-ai-prompt/models/prompt-output.interface.d.ts +0 -25
  118. package/inline-ai-prompt/models/prompt-request-event.d.ts +0 -17
  119. package/inline-ai-prompt/output-template.directive.d.ts +0 -27
  120. package/inline-ai-prompt/utils.d.ts +0 -17
  121. package/package-metadata.d.ts +0 -9
  122. package/promptbox/affixes/promptbox-end-affix.component.d.ts +0 -26
  123. package/promptbox/affixes/promptbox-start-affix.component.d.ts +0 -26
  124. package/promptbox/affixes/promptbox-top-affix.component.d.ts +0 -26
  125. package/promptbox/common/header-template.directive.d.ts +0 -17
  126. package/promptbox/common/models/action-button.d.ts +0 -66
  127. package/promptbox/common/models/fileselect-button.d.ts +0 -62
  128. package/promptbox/common/models/index.d.ts +0 -7
  129. package/promptbox/common/models/promptbox-mode.d.ts +0 -12
  130. package/promptbox/common/utils.d.ts +0 -18
  131. package/promptbox/localization/custom-messages.component.d.ts +0 -26
  132. package/promptbox/localization/localized-messages.directive.d.ts +0 -16
  133. package/promptbox/localization/messages.d.ts +0 -37
  134. package/promptbox/promptbox.component.d.ts +0 -385
  135. package/promptbox/tools/action-button.component.d.ts +0 -63
  136. package/promptbox/tools/base-tool.d.ts +0 -65
  137. package/promptbox/tools/fileselect-button.component.d.ts +0 -63
  138. package/promptbox/tools/promptbox-file.component.d.ts +0 -30
  139. package/promptbox/tools/speech-to-text-button.component.d.ts +0 -87
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1783511538,
11
- "version": "24.2.2",
10
+ "publishDate": 1783688621,
11
+ "version": "25.0.0-develop.2",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-conversational-ui",
3
- "version": "24.2.2",
3
+ "version": "25.0.0-develop.2",
4
4
  "description": "Kendo UI for Angular Conversational UI components",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -97,32 +97,32 @@
97
97
  "package": {
98
98
  "productName": "Kendo UI for Angular",
99
99
  "productCode": "KENDOUIANGULAR",
100
- "publishDate": 1783511538,
100
+ "publishDate": 1783688621,
101
101
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
102
102
  }
103
103
  },
104
104
  "peerDependencies": {
105
- "@angular/animations": "19 - 22",
106
- "@angular/common": "19 - 22",
107
- "@angular/core": "19 - 22",
108
- "@angular/platform-browser": "19 - 22",
105
+ "@angular/animations": "20 - 22",
106
+ "@angular/common": "20 - 22",
107
+ "@angular/core": "20 - 22",
108
+ "@angular/platform-browser": "20 - 22",
109
109
  "@progress/kendo-licensing": "^1.11.0",
110
- "@progress/kendo-angular-buttons": "24.2.2",
111
- "@progress/kendo-angular-inputs": "24.2.2",
112
- "@progress/kendo-angular-layout": "24.2.2",
113
- "@progress/kendo-angular-icons": "24.2.2",
114
- "@progress/kendo-angular-common": "24.2.2",
115
- "@progress/kendo-angular-intl": "24.2.2",
116
- "@progress/kendo-angular-l10n": "24.2.2",
117
- "@progress/kendo-angular-menu": "24.2.2",
118
- "@progress/kendo-angular-popup": "24.2.2",
119
- "@progress/kendo-angular-toolbar": "24.2.2",
120
- "@progress/kendo-angular-upload": "24.2.2",
110
+ "@progress/kendo-angular-buttons": "25.0.0-develop.2",
111
+ "@progress/kendo-angular-inputs": "25.0.0-develop.2",
112
+ "@progress/kendo-angular-layout": "25.0.0-develop.2",
113
+ "@progress/kendo-angular-icons": "25.0.0-develop.2",
114
+ "@progress/kendo-angular-common": "25.0.0-develop.2",
115
+ "@progress/kendo-angular-intl": "25.0.0-develop.2",
116
+ "@progress/kendo-angular-l10n": "25.0.0-develop.2",
117
+ "@progress/kendo-angular-menu": "25.0.0-develop.2",
118
+ "@progress/kendo-angular-popup": "25.0.0-develop.2",
119
+ "@progress/kendo-angular-toolbar": "25.0.0-develop.2",
120
+ "@progress/kendo-angular-upload": "25.0.0-develop.2",
121
121
  "rxjs": "^6.5.3 || ^7.0.0"
122
122
  },
123
123
  "dependencies": {
124
124
  "tslib": "^2.3.1",
125
- "@progress/kendo-angular-schematics": "24.2.2"
125
+ "@progress/kendo-angular-schematics": "25.0.0-develop.2"
126
126
  },
127
127
  "schematics": "./schematics/collection.json",
128
128
  "module": "fesm2022/progress-kendo-angular-conversational-ui.mjs",
@@ -1,203 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { AfterContentChecked, AfterViewInit, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges, TemplateRef } from "@angular/core";
6
- import { SVGIcon } from "@progress/kendo-svg-icons";
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import { FabAlign, FabPositionMode, FloatingActionButtonComponent, SpeechToTextButtonSettings } from "@progress/kendo-angular-buttons";
9
- import { BaseView } from "./views/base-view";
10
- import { AIPromptService } from "./common/aiprompt.service";
11
- import { PromptCommand, PromptOutput, CommandExecuteEvent, PromptRequestEvent, OutputRatingChangeEvent } from "./models";
12
- import { AIPromptToolbarActionsDirective } from "./templates/toolbar-actions.template";
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";
17
- import * as i0 from "@angular/core";
18
- /**
19
- * Represents the [Kendo UI AIPrompt component for Angular](https://www.telerik.com/kendo-angular-ui/components/conversational-ui/aiprompt).
20
- *
21
- * @example
22
- * ```html
23
- * <kendo-aiprompt
24
- * [promptCommands]="commands"
25
- * [promptSuggestions]="suggestions"
26
- * [promptOutputs]="outputs"
27
- * [showOutputRating]="true"
28
- * (promptRequest)="onPromptRequest($event)">
29
- * </kendo-aiprompt>
30
- * ```
31
- *
32
- * @remarks
33
- * Supported children components are: {@link AIPromptCustomMessagesComponent}, {@link CustomViewComponent}, {@link CommandViewComponent}, {@link PromptViewComponent}, {@link OutputViewComponent}.
34
- */
35
- export declare class AIPromptComponent implements OnInit, OnChanges, AfterContentChecked, AfterViewInit, OnDestroy {
36
- private localization;
37
- private service;
38
- private navigationService;
39
- private ngZone;
40
- private element;
41
- private renderer;
42
- hostClasses: boolean;
43
- get dirAttr(): string;
44
- constructor(localization: LocalizationService, service: AIPromptService, navigationService: ToolbarNavigationService, ngZone: NgZone, element: ElementRef, renderer: Renderer2);
45
- /**
46
- * @hidden
47
- */
48
- fabButton: FloatingActionButtonComponent;
49
- /**
50
- * @hidden
51
- */
52
- views: QueryList<BaseView>;
53
- /**
54
- * @hidden
55
- */
56
- toolbarActionsTemplate: AIPromptToolbarActionsDirective;
57
- /**
58
- * @hidden
59
- */
60
- outputTemplate: AIPromptOutputTemplateDirective;
61
- /**
62
- * @hidden
63
- */
64
- outputBodyTemplate: AIPromptOutputBodyTemplateDirective;
65
- /**
66
- * The active view index of the AIPrompt component.
67
- */
68
- set activeView(idx: number);
69
- get activeView(): number;
70
- /**
71
- * Sets the collection of commands to render in the Command view.
72
- */
73
- set promptCommands(value: Array<PromptCommand>);
74
- /**
75
- * Sets the collection of suggestions to render in the Prompt view.
76
- */
77
- set promptSuggestions(value: Array<string>);
78
- /**
79
- * Sets the collection of generated prompt outputs to render in the Output view.
80
- */
81
- set promptOutputs(value: Array<PromptOutput>);
82
- /**
83
- * Specifies whether the rating buttons appear in each Output view card.
84
- * The rating buttons do not appear by default.
85
- * @default false
86
- */
87
- set showOutputRating(value: boolean);
88
- /**
89
- * Specifies whether the Stop generation button appears in the Output view.
90
- * The Stop generation button does not appear by default.
91
- * @default false
92
- */
93
- streaming: boolean;
94
- /**
95
- * Sets the settings for the Speech to Text button in the Prompt view
96
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/conversational-ui/aiprompt/configuration#enabling-speech-to-text)).
97
- */
98
- set speechToTextButton(settings: boolean | SpeechToTextButtonSettings);
99
- /**
100
- * Sets the settings for the TextArea in the Prompt view
101
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/conversational-ui/aiprompt/configuration#configuring-the-prompt-text-area)).
102
- */
103
- set textAreaSettings(settings: TextAreaSettings);
104
- /**
105
- * Sets the SVG icon for the Generate button in the Prompt view.
106
- */
107
- generateButtonSVGIcon: SVGIcon;
108
- /**
109
- * Sets the icon for the Generate button in the Prompt view.
110
- * @default 'sparkles'
111
- */
112
- generateButtonIcon: string;
113
- /**
114
- * Sets the disabled state for the Generate button in the Prompt view.
115
- * @default false
116
- */
117
- disabledGenerateButton: boolean;
118
- /**
119
- * Fires when the `activeView` property is updated.
120
- * Use this event for two-way binding of the `activeView` property.
121
- */
122
- activeViewChange: EventEmitter<number>;
123
- /**
124
- * Fires when you click the Generate button in the Prompt view or the Retry button in the Output view.
125
- * Use the event's `isRetry` field to determine the source element.
126
- */
127
- promptRequest: EventEmitter<PromptRequestEvent>;
128
- /**
129
- * Fires when you click a Command view command.
130
- * The event data contains the selected command.
131
- */
132
- commandExecute: EventEmitter<CommandExecuteEvent>;
133
- /**
134
- * Fires when you click a Copy button in any Output view card.
135
- */
136
- outputCopy: EventEmitter<PromptOutput>;
137
- /**
138
- * Fires when you click a rating button in any Output view card.
139
- */
140
- outputRatingChange: EventEmitter<OutputRatingChangeEvent>;
141
- /**
142
- * Fires when you click the Stop Generation button in the Output view.
143
- */
144
- promptRequestCancel: EventEmitter<void>;
145
- ngOnInit(): void;
146
- ngOnChanges(changes: SimpleChanges): void;
147
- ngAfterContentChecked(): void;
148
- ngAfterViewInit(): void;
149
- ngOnDestroy(): void;
150
- /**
151
- * Focuses the first focusable element in the AIPrompt component.
152
- */
153
- focus(): void;
154
- private subs;
155
- /**
156
- * @hidden
157
- */
158
- get selectedView(): BaseView;
159
- /**
160
- * @hidden
161
- */
162
- sparklesIcon: SVGIcon;
163
- /**
164
- * @hidden
165
- */
166
- outputIcon: SVGIcon;
167
- /**
168
- * @hidden
169
- */
170
- fabStopGenerationSVGIcon: SVGIcon;
171
- /**
172
- * @hidden
173
- */
174
- get viewsArray(): Array<BaseView>;
175
- /**
176
- * @hidden
177
- */
178
- fabPositionMode: FabPositionMode;
179
- /**
180
- * @hidden
181
- */
182
- fabAlignment: FabAlign;
183
- private direction;
184
- private _activeView;
185
- /**
186
- * @hidden
187
- */
188
- viewChange(idx: number): void;
189
- /**
190
- * @hidden
191
- */
192
- messageFor(text: string): string;
193
- /**
194
- * @hidden
195
- */
196
- get viewTemplate(): TemplateRef<any>;
197
- /**
198
- * @hidden
199
- */
200
- handleGenerateOutput(): void;
201
- static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptComponent, never>;
202
- 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>;
203
- }
@@ -1,38 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "./aiprompt.component";
7
- import * as i2 from "./views/prompt-view.component";
8
- import * as i3 from "./views/output-view.component";
9
- import * as i4 from "./views/command-view.component";
10
- import * as i5 from "./views/custom-view.component";
11
- import * as i6 from "./localization/custom-messages.component";
12
- import * as i7 from "./templates/toolbar-actions.template";
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";
16
- /**
17
- * Represents the [`NgModule`](link:site.data.urls.angular['ngmodules']) for the AIPrompt component.
18
- *
19
- * @example
20
- * ```ts
21
- * import { NgModule } from '@angular/core';
22
- * import { BrowserModule } from '@angular/platform-browser';
23
- * import { AIPromptModule } from '@progress/kendo-angular-conversational-ui';
24
- * import { AppComponent } from './app.component';
25
- *
26
- * @NgModule({
27
- * imports: [BrowserModule, AIPromptModule],
28
- * declarations: [AppComponent],
29
- * bootstrap: [AppComponent]
30
- * })
31
- * export class AppModule {}
32
- * ```
33
- */
34
- export declare class AIPromptModule {
35
- static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptModule, never>;
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]>;
37
- static ɵinj: i0.ɵɵInjectorDeclaration<AIPromptModule>;
38
- }
@@ -1,36 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Subject } from 'rxjs';
6
- import { AIPromptComponent } from '../aiprompt.component';
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';
12
- import * as i0 from "@angular/core";
13
- /**
14
- * @hidden
15
- */
16
- export declare class AIPromptService {
17
- aiPrompt: AIPromptComponent;
18
- promptValue: string;
19
- showOutputRating: boolean;
20
- requestEvent: Subject<PromptRequestEvent>;
21
- executeEvent: Subject<CommandExecuteEvent>;
22
- outputCopyEvent: Subject<PromptOutput>;
23
- outputRatingChangeEvent: Subject<OutputRatingChangeEvent>;
24
- promptCommands: Array<PromptCommand>;
25
- promptOutputs: Array<PromptOutput>;
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);
33
- getFlattenPromptCommands(commands?: Array<PromptCommand>): Array<PromptCommand>;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptService, never>;
35
- static ɵprov: i0.ɵɵInjectableDeclaration<AIPromptService>;
36
- }
@@ -1,42 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { OnInit } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { SVGIcon } from '@progress/kendo-svg-icons';
8
- import { PromptOutput, PromptOutputRating } from '../models/prompt-output.interface';
9
- import { AIPromptService } from './aiprompt.service';
10
- import * as i0 from "@angular/core";
11
- /**
12
- * @hidden
13
- */
14
- export declare class AIPromptOutputCardComponent implements OnInit {
15
- private localization;
16
- private service;
17
- hostClass: boolean;
18
- listItemRole: string;
19
- tabIndex: number;
20
- get ariaDescribedBy(): string;
21
- ariaKeyShortcuts: string;
22
- promptOutput: PromptOutput;
23
- constructor(localization: LocalizationService, service: AIPromptService);
24
- ngOnInit(): void;
25
- copyIcon: SVGIcon;
26
- retryIcon: SVGIcon;
27
- positiveRatingIcon: SVGIcon;
28
- negativeRatingIcon: SVGIcon;
29
- titleId: string;
30
- messageFor(text: string): string;
31
- get showRating(): boolean;
32
- get outputTitle(): string;
33
- handleRetry(): void;
34
- handleCopy(): void;
35
- handleRating(ratingType: PromptOutputRating): void;
36
- /**
37
- * @hidden
38
- */
39
- get customBodyTemplate(): import("@angular/core").TemplateRef<any>;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptOutputCardComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptOutputCardComponent, "[kendoAIPromptOutputCard]", never, { "promptOutput": { "alias": "promptOutput"; "required": false; }; }, {}, never, never, true, never>;
42
- }
@@ -1,24 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ElementRef, OnDestroy, AfterViewInit, Renderer2 } from '@angular/core';
6
- import { ToolbarNavigationService } from './toolbar-navigation.service';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @hidden
10
- */
11
- export declare class AIPromptToolbarFocusableDirective implements AfterViewInit, OnDestroy {
12
- private host;
13
- private navigationService;
14
- private renderer;
15
- constructor(host: ElementRef, navigationService: ToolbarNavigationService, renderer: Renderer2);
16
- private get element();
17
- ngAfterViewInit(): void;
18
- ngOnDestroy(): void;
19
- activate(): void;
20
- private keyDownHandler;
21
- private clickHandler;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptToolbarFocusableDirective, never>;
23
- static ɵdir: i0.ɵɵDirectiveDeclaration<AIPromptToolbarFocusableDirective, "[kendoAIPromptToolbarFocusable]", never, {}, {}, never, never, true, never>;
24
- }
@@ -1,24 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { LocalizationService } from '@progress/kendo-angular-l10n';
6
- import { AIPromptToolbarFocusableDirective } from './toolbar-focusable.directive';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @hidden
10
- */
11
- export declare class ToolbarNavigationService {
12
- private localizationService;
13
- focusableElements: AIPromptToolbarFocusableDirective[];
14
- currentFocusedIndex: number;
15
- constructor(localizationService: LocalizationService);
16
- register(tool: AIPromptToolbarFocusableDirective): void;
17
- unregister(tool: AIPromptToolbarFocusableDirective): void;
18
- isActive(focusable: AIPromptToolbarFocusableDirective): boolean;
19
- setActiveIndex(tool: AIPromptToolbarFocusableDirective): void;
20
- move(direction: 'left' | 'right'): void;
21
- focusFirst(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarNavigationService, never>;
23
- static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarNavigationService>;
24
- }
@@ -1,28 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { LocalizationService } from '@progress/kendo-angular-l10n';
6
- import { Messages } from './messages';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * Represents the custom messages component of the AIPrompt.
10
- *
11
- * Use this component to override default messages for the AIPrompt
12
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/conversational-ui/globalization#custom-messages)).
13
- *
14
- * @example
15
- * ```html
16
- * <kendo-aiprompt-messages
17
- * promptView="My prompt view"
18
- * outputView="My output view">
19
- * </kendo-aiprompt-messages>
20
- * ```
21
- */
22
- export declare class AIPromptCustomMessagesComponent extends Messages {
23
- protected service: LocalizationService;
24
- constructor(service: LocalizationService);
25
- protected get override(): boolean;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptCustomMessagesComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptCustomMessagesComponent, "kendo-aiprompt-messages", never, {}, {}, never, never, true, never>;
28
- }
@@ -1,16 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { LocalizationService } from '@progress/kendo-angular-l10n';
6
- import { Messages } from './messages';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @hidden
10
- */
11
- export declare class LocalizedMessagesDirective extends Messages {
12
- protected service: LocalizationService;
13
- constructor(service: LocalizationService);
14
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoAIPromptLocalizedMessages]", never, {}, {}, never, never, true, never>;
16
- }
@@ -1,53 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ComponentMessages } from '@progress/kendo-angular-l10n';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export declare class Messages extends ComponentMessages {
11
- /**
12
- * Sets the Toolbar button text for the **Prompt** view.
13
- */
14
- promptView: string;
15
- /**
16
- * Sets the Toolbar button text for the **Output** view.
17
- */
18
- outputView: string;
19
- /**
20
- * Sets the text for the **Generate** button in the **Prompt** view.
21
- */
22
- generateOutput: string;
23
- /**
24
- * Sets the placeholder text for the **Prompt** view text area.
25
- */
26
- promptPlaceholder: string;
27
- /**
28
- * Sets the text for the **Copy** button text in each **Output** view card.
29
- */
30
- copyOutput: string;
31
- /**
32
- * Sets the **Retry** button text in each **Output** view card.
33
- */
34
- retryGeneration: string;
35
- /**
36
- * Sets the title of each card in the **Output** view.
37
- */
38
- outputTitle: string;
39
- /**
40
- * Sets the title of each retry card in the **Output** view.
41
- */
42
- outputRetryTitle: string;
43
- /**
44
- * Sets the title of the **Prompt suggestions** button.
45
- */
46
- promptSuggestions: string;
47
- /**
48
- * Sets the aria-label for the **Speech to Text** button.
49
- */
50
- speechToTextButton: string;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
52
- static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, never, never, { "promptView": { "alias": "promptView"; "required": false; }; "outputView": { "alias": "outputView"; "required": false; }; "generateOutput": { "alias": "generateOutput"; "required": false; }; "promptPlaceholder": { "alias": "promptPlaceholder"; "required": false; }; "copyOutput": { "alias": "copyOutput"; "required": false; }; "retryGeneration": { "alias": "retryGeneration"; "required": false; }; "outputTitle": { "alias": "outputTitle"; "required": false; }; "outputRetryTitle": { "alias": "outputRetryTitle"; "required": false; }; "promptSuggestions": { "alias": "promptSuggestions"; "required": false; }; "speechToTextButton": { "alias": "speechToTextButton"; "required": false; }; }, {}, never, never, true, never>;
53
- }
@@ -1,60 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { SpeechToTextButtonSettings } from "@progress/kendo-angular-buttons";
6
- import { TextAreaSettings } from "@progress/kendo-angular-inputs";
7
- import { SVGIcon } from "@progress/kendo-svg-icons";
8
- import { PromptCommand } from "./command.interface";
9
- import { PromptOutput } from "./prompt-output.interface";
10
- /**
11
- * Interface representing all configuration options of the Ai Prompt.
12
- */
13
- export interface AIPromptSettings {
14
- /**
15
- * The active view index of the AIPrompt component.
16
- */
17
- activeView?: number;
18
- /**
19
- * Sets the collection of commands to render in the Command view.
20
- */
21
- promptCommands?: Array<PromptCommand>;
22
- /**
23
- * Sets the collection of suggestions to render in the **Prompt** view.
24
- */
25
- promptSuggestions?: Array<string>;
26
- /**
27
- * Sets the collection of generated prompt outputs to render in the Output view.
28
- */
29
- promptOutputs?: Array<PromptOutput>;
30
- /**
31
- * Specifies whether the Stop generation button appears in the Output view.
32
- */
33
- streaming?: boolean;
34
- /**
35
- * Specifies if the rating buttons appear in each **Output** view card.
36
- * By default, the rating buttons do not appear.
37
- */
38
- showOutputRating?: boolean;
39
- /**
40
- * Sets the settings for the Speech to Text button in the Prompt view.
41
- */
42
- speechToTextButton?: boolean | SpeechToTextButtonSettings;
43
- /**
44
- * Sets the settings for the TextArea in the Prompt view.
45
- * Use this property to customize the TextArea appearance.
46
- */
47
- textAreaSettings?: TextAreaSettings;
48
- /**
49
- * Sets the SVG icon for the Generate button in the Prompt view.
50
- */
51
- generateButtonSVGIcon?: SVGIcon;
52
- /**
53
- * Sets the icon for the Generate button in the Prompt view.
54
- */
55
- generateButtonIcon?: string;
56
- /**
57
- * Sets the disabled state for the Generate button in the Prompt view.
58
- */
59
- disabledGenerateButton?: boolean;
60
- }
@@ -1,24 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { AIPromptComponent } from "../aiprompt.component";
6
- import { PromptCommand } from "./command.interface";
7
- /**
8
- * Represents the arguments for the `commandExecute` event of the AIPrompt
9
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/conversational-ui/aiprompt/events)).
10
- */
11
- export interface CommandExecuteEvent {
12
- /**
13
- * Contains information about the selected command.
14
- */
15
- command: PromptCommand;
16
- /**
17
- * Represents the instance of the AIPrompt component.
18
- */
19
- sender: AIPromptComponent;
20
- /**
21
- * Specifies if the event is triggered by the Retry button.
22
- */
23
- isRetry: boolean;
24
- }