@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
@@ -1,82 +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, EventEmitter, NgZone, OnDestroy, Renderer2, ViewContainerRef, AfterViewInit, TemplateRef } from '@angular/core';
6
- import { SVGIcon } from '@progress/kendo-svg-icons';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import { SpeechToTextButtonSettings } from '@progress/kendo-angular-buttons';
9
- import { TextAreaComponent } from '@progress/kendo-angular-inputs';
10
- import { InlineAIPromptRequestEvent, InlineAIPromptOutputAction, InlineAIPromptOutputActionClickEvent, InlineAIPromptOutput, InlineAIPromptCommand, InlineAIPromptMessages } from './models';
11
- import { ContextMenuComponent, MenuItem } from '@progress/kendo-angular-menu';
12
- import * as i0 from "@angular/core";
13
- /**
14
- * @hidden
15
- */
16
- export declare class InlineAIPromptContentComponent implements OnDestroy, AfterViewInit {
17
- private ngZone;
18
- private renderer;
19
- private element;
20
- localization: LocalizationService;
21
- className: boolean;
22
- get dirAttr(): string;
23
- get maxHeightStyle(): string;
24
- get widthStyle(): string;
25
- popupElement: ElementRef;
26
- promptValue: string;
27
- placeholder: string;
28
- promptOutput: InlineAIPromptOutput;
29
- enableSpeechToText: boolean | SpeechToTextButtonSettings;
30
- streaming: boolean;
31
- width: number | string;
32
- maxHeight: number | string;
33
- appendTo: ViewContainerRef;
34
- defaultOutputActions: InlineAIPromptOutputAction[];
35
- set outputActions(actions: InlineAIPromptOutputAction[]);
36
- get outputActions(): InlineAIPromptOutputAction[];
37
- set promptCommands(commands: InlineAIPromptCommand[]);
38
- get promptCommands(): InlineAIPromptCommand[];
39
- outputTemplate: TemplateRef<any>;
40
- promptRequest: EventEmitter<InlineAIPromptRequestEvent>;
41
- commandExecute: EventEmitter<InlineAIPromptCommand>;
42
- outputActionClick: EventEmitter<InlineAIPromptOutputActionClickEvent>;
43
- promptRequestCancel: EventEmitter<void>;
44
- close: EventEmitter<void>;
45
- promptValueChange: EventEmitter<string>;
46
- onEscapeKey(event: KeyboardEvent): void;
47
- textArea: TextAreaComponent;
48
- contextMenu: ContextMenuComponent;
49
- calculateMeasurement: (value: string | number) => string;
50
- commandMenuIcon: SVGIcon;
51
- sendIcon: SVGIcon;
52
- stopGenerationIcon: SVGIcon;
53
- isListening: boolean;
54
- commandMenuItems: MenuItem[];
55
- messages: InlineAIPromptMessages;
56
- maxRows: number;
57
- initialRows: number;
58
- private _outputActions;
59
- private _promptCommands;
60
- private direction;
61
- private localizationSubs;
62
- private subs;
63
- constructor(ngZone: NgZone, renderer: Renderer2, element: ElementRef, localization: LocalizationService);
64
- ngAfterViewInit(): void;
65
- ngOnDestroy(): void;
66
- focus(): void;
67
- onActionClick(event: any): void;
68
- handleDefaultActions(event: InlineAIPromptOutputAction): void;
69
- handleSpeechResult(event: any): void;
70
- onClick(action: any): void;
71
- handlePromptValueChange(value: string): void;
72
- handleTextAreaKeydown(event: any): void;
73
- onCommandButtonClick(event: any): void;
74
- onCommandClick(event: any): void;
75
- messageFor(text: string): string;
76
- handlePromptRequest(): void;
77
- private mergeWithDefaultActions;
78
- private transformCommands;
79
- private outsideClickClose;
80
- static ɵfac: i0.ɵɵFactoryDeclaration<InlineAIPromptContentComponent, [null, null, null, { optional: true; skipSelf: true; }]>;
81
- static ɵcmp: i0.ɵɵComponentDeclaration<InlineAIPromptContentComponent, "kendo-inlineaiprompt-content", ["kendoInlineAIPromptContent"], { "popupElement": { "alias": "popupElement"; "required": false; }; "promptValue": { "alias": "promptValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "promptOutput": { "alias": "promptOutput"; "required": false; }; "enableSpeechToText": { "alias": "enableSpeechToText"; "required": false; }; "streaming": { "alias": "streaming"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "outputActions": { "alias": "outputActions"; "required": false; }; "promptCommands": { "alias": "promptCommands"; "required": false; }; "outputTemplate": { "alias": "outputTemplate"; "required": false; }; }, { "promptRequest": "promptRequest"; "commandExecute": "commandExecute"; "outputActionClick": "outputActionClick"; "promptRequestCancel": "promptRequestCancel"; "close": "close"; "promptValueChange": "promptValueChange"; }, never, never, true, never>;
82
- }
@@ -1,159 +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 { AfterViewInit, ElementRef, EventEmitter, NgZone, OnDestroy, ViewContainerRef } from '@angular/core';
6
- import { InlineAIPromptRequestEvent, InlineAIPromptOutputAction, InlineAIPromptOutputActionClickEvent, InlineAIPromptOutput, InlineAIPromptCommand } from './models';
7
- import { InlineAIPromptContentComponent } from './inlineaiprompt-content.component';
8
- import { SpeechToTextButtonSettings } from '@progress/kendo-angular-buttons';
9
- import { InlineAIPromptPopupSettings } from './models/inlineaiprompt-popupsettings';
10
- import { InlineAIPromptOutputTemplateDirective } from './output-template.directive';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * Represents the Kendo UI InlineAIPrompt component for Angular.
14
- *
15
- * @remarks
16
- * Supported children components are: {@link InlineAIPromptCustomMessagesComponent}
17
- *
18
- * @example
19
- * ```html
20
- * <kendo-inlineaiprompt
21
- * placeholder="Enter your prompt..."
22
- * [promptOutput]="promptOutput"
23
- * (promptRequest)="onPromptRequest($event)">
24
- * </kendo-inlineaiprompt>
25
- * ```
26
- */
27
- export declare class InlineAIPromptComponent implements AfterViewInit, OnDestroy {
28
- private ngZone;
29
- element: ElementRef;
30
- /**
31
- * Sets the TextArea value.
32
- *
33
- * @default ""
34
- */
35
- promptValue: string;
36
- /**
37
- * Sets the placeholder text that appears in the text area when it is empty.
38
- */
39
- placeholder: string;
40
- /**
41
- * Sets the output data for the prompt.
42
- * The output displays as a card above the text area.
43
- */
44
- promptOutput: InlineAIPromptOutput;
45
- /**
46
- * Controls the visibility and settings of the Speech to Text button.
47
- *
48
- * @default true
49
- */
50
- enableSpeechToText: boolean | SpeechToTextButtonSettings;
51
- /**
52
- * When set to `true`, the **Send** button displays a generating state and the component emits a `promptRequestCancel` event when you click it.
53
- *
54
- * @default false
55
- */
56
- streaming: boolean;
57
- /**
58
- * Sets the width of the component.
59
- * Accepts a number for pixels or a string for other units.
60
- *
61
- * @default 550
62
- */
63
- width: number | string;
64
- /**
65
- * Sets the maximum height of the component.
66
- * Accepts a number for pixels or a string for other units.
67
- */
68
- maxHeight: number | string;
69
- /**
70
- * Represents the configuration of the default output actions.
71
- * The default actions are `copy`, `retry`, and `discard`.
72
- */
73
- defaultOutputActions: InlineAIPromptOutputAction[];
74
- /**
75
- * Sets the output actions that display in the output card.
76
- * The default actions are `copy`, `retry`, and `discard`.
77
- * To customize the appearance and order of the default actions, define them with the same `name`.
78
- *
79
- * @default [{ name: 'copy', type: 'button', icon: 'copy', svgIcon: copyIcon, text: 'Copy', fillMode: 'flat', themeColor: 'primary', rounded: 'medium'}, { name: 'retry', type: 'button', icon: 'arrow-rotate-cw', svgIcon: arrowRotateCwIcon, text: 'Retry', fillMode: 'flat', themeColor: 'primary', rounded: 'medium'}, { name: 'discard', type: 'button', icon: 'cancel', svgIcon: cancelIcon, text: 'Discard', fillMode: 'flat', themeColor: 'base', rounded: 'medium'}]
80
- */
81
- outputActions: InlineAIPromptOutputAction[];
82
- /**
83
- * Sets the available prompt commands.
84
- */
85
- promptCommands: InlineAIPromptCommand[];
86
- /**
87
- * Sets the Popup settings.
88
- *
89
- */
90
- set popupSettings(settings: InlineAIPromptPopupSettings);
91
- get popupSettings(): InlineAIPromptPopupSettings;
92
- /**
93
- * Fires when the send button is clicked.
94
- */
95
- promptRequest: EventEmitter<InlineAIPromptRequestEvent>;
96
- /**
97
- * Fires when a command is executed.
98
- */
99
- commandExecute: EventEmitter<InlineAIPromptCommand>;
100
- /**
101
- * Fires when an output action button is clicked.
102
- */
103
- outputActionClick: EventEmitter<InlineAIPromptOutputActionClickEvent>;
104
- /**
105
- * Fires when the stop button is clicked during streaming.
106
- */
107
- promptRequestCancel: EventEmitter<void>;
108
- /**
109
- * Fires when the component closes (Escape key, Discard action or outside click).
110
- */
111
- close: EventEmitter<void>;
112
- /**
113
- * Fires when the TextArea value changes.
114
- */
115
- promptValueChange: EventEmitter<string>;
116
- popupElement: ElementRef;
117
- popupViewContainer: ViewContainerRef;
118
- contentComponent: InlineAIPromptContentComponent;
119
- outputTemplate: InlineAIPromptOutputTemplateDirective;
120
- /**
121
- * @hidden
122
- */
123
- calculateMeasurement: (value: string | number) => string;
124
- private _popupSettings;
125
- private subs;
126
- constructor(ngZone: NgZone, element: ElementRef);
127
- ngAfterViewInit(): void;
128
- ngOnDestroy(): void;
129
- /**
130
- * Focus the TextArea.
131
- */
132
- focus(): void;
133
- /**
134
- * @hidden
135
- */
136
- onPromptRequest(event: InlineAIPromptRequestEvent): void;
137
- /**
138
- * @hidden
139
- */
140
- onCommandExecute(event: InlineAIPromptCommand): void;
141
- /**
142
- * @hidden
143
- */
144
- onOutputActionClick(event: InlineAIPromptOutputActionClickEvent): void;
145
- /**
146
- * @hidden
147
- */
148
- onPromptRequestCancel(): void;
149
- /**
150
- * @hidden
151
- */
152
- onClose(): void;
153
- /**
154
- * @hidden
155
- */
156
- onPromptValueChange(value: string): void;
157
- static ɵfac: i0.ɵɵFactoryDeclaration<InlineAIPromptComponent, never>;
158
- static ɵcmp: i0.ɵɵComponentDeclaration<InlineAIPromptComponent, "kendo-inlineaiprompt", ["kendoInlineAIPrompt"], { "promptValue": { "alias": "promptValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "promptOutput": { "alias": "promptOutput"; "required": false; }; "enableSpeechToText": { "alias": "enableSpeechToText"; "required": false; }; "streaming": { "alias": "streaming"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "outputActions": { "alias": "outputActions"; "required": false; }; "promptCommands": { "alias": "promptCommands"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; }, { "promptRequest": "promptRequest"; "commandExecute": "commandExecute"; "outputActionClick": "outputActionClick"; "promptRequestCancel": "promptRequestCancel"; "close": "close"; "promptValueChange": "promptValueChange"; }, ["outputTemplate"], never, true, never>;
159
- }
@@ -1,31 +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 "./inlineaiprompt.component";
7
- import * as i2 from "./output-template.directive";
8
- import * as i3 from "./localization/custom-messages.component";
9
- /**
10
- * Represents the [`NgModule`](link:site.data.urls.angular['ngmodules']) for the InlineAIPrompt component.
11
- *
12
- * @example
13
- * ```ts
14
- * import { NgModule } from '@angular/core';
15
- * import { BrowserModule } from '@angular/platform-browser';
16
- * import { InlineAIPromptModule } from '@progress/kendo-angular-conversational-ui';
17
- * import { AppComponent } from './app.component';
18
- *
19
- * @NgModule({
20
- * imports: [BrowserModule, InlineAIPromptModule],
21
- * declarations: [AppComponent],
22
- * bootstrap: [AppComponent]
23
- * })
24
- * export class AppModule {}
25
- * ```
26
- */
27
- export declare class InlineAIPromptModule {
28
- static ɵfac: i0.ɵɵFactoryDeclaration<InlineAIPromptModule, never>;
29
- static ɵmod: i0.ɵɵNgModuleDeclaration<InlineAIPromptModule, never, [typeof i1.InlineAIPromptComponent, typeof i2.InlineAIPromptOutputTemplateDirective, typeof i3.InlineAIPromptCustomMessagesComponent], [typeof i1.InlineAIPromptComponent, typeof i2.InlineAIPromptOutputTemplateDirective, typeof i3.InlineAIPromptCustomMessagesComponent]>;
30
- static ɵinj: i0.ɵɵInjectorDeclaration<InlineAIPromptModule>;
31
- }
@@ -1,48 +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 { PopupService, PopupRef } from '@progress/kendo-angular-popup';
6
- import { InlineAIPromptSettings } from './models';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * Provides a service for opening and configuring the Inline AI Prompt component dynamically.
10
- *
11
- * @example
12
- * ```ts
13
- * export class DemoComponent {
14
- * @ViewChild('anchor', { read: ElementRef }) anchor: ElementRef;
15
- * constructor(private promptService: InlineAIPromptService) {}
16
- *
17
- * open(): void {
18
- * this.promptService.open({
19
- * popupSettings: { anchor: this.anchor },
20
- * placeholder: 'Enter your prompt...'
21
- * });
22
- * }
23
- * }
24
- * ```
25
- * ```html
26
- * <button #anchor (click)="open()">Ask AI</button>
27
- * ```
28
- */
29
- export declare class InlineAIPromptService {
30
- private popupService;
31
- /**
32
- * @hidden
33
- */
34
- constructor(popupService: PopupService);
35
- /**
36
- * Opens an Inline AI Prompt component in a popup. The popup appears near the specified anchor element or at the provided offset coordinates.
37
- *
38
- * @param {InlineAIPromptSettings} options The options for the InlineAIPromptComponent.
39
- * @returns {PopupRef} A reference to the popup.
40
- */
41
- open(options: InlineAIPromptSettings): PopupRef;
42
- /**
43
- * Projects the input options onto the component instance.
44
- */
45
- private projectComponentInputs;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<InlineAIPromptService, never>;
47
- static ɵprov: i0.ɵɵInjectableDeclaration<InlineAIPromptService>;
48
- }
@@ -1,25 +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
- * Provides a component for customizing messages in the Inline AI Prompt. [See example](https://www.telerik.com/kendo-angular-ui/components/conversational-ui/globalization#custom-messages).
10
- *
11
- * @example
12
- * ```html
13
- * <kendo-inlineaiprompt-messages
14
- * commandsButtonTitle="Commands Menu"
15
- * generateButtonTitle="Generate">
16
- * </kendo-inlineaiprompt-messages>
17
- * ```
18
- */
19
- export declare class InlineAIPromptCustomMessagesComponent extends Messages {
20
- protected service: LocalizationService;
21
- constructor(service: LocalizationService);
22
- protected get override(): boolean;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<InlineAIPromptCustomMessagesComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<InlineAIPromptCustomMessagesComponent, "kendo-inlineaiprompt-messages", never, {}, {}, never, never, true, never>;
25
- }
@@ -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, "[kendoInlineAIPromptLocalizedMessages]", never, {}, {}, never, never, true, never>;
16
- }
@@ -1,25 +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
- * The title for the Commands button.
13
- */
14
- commandsButtonTitle: string;
15
- /**
16
- * The title for the Generate button.
17
- */
18
- generateButtonTitle: string;
19
- /**
20
- * The title for the Speech to Text button.
21
- */
22
- speechToTextButtonTitle: string;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, never, never, { "commandsButtonTitle": { "alias": "commandsButtonTitle"; "required": false; }; "generateButtonTitle": { "alias": "generateButtonTitle"; "required": false; }; "speechToTextButtonTitle": { "alias": "speechToTextButtonTitle"; "required": false; }; }, {}, never, never, true, never>;
25
- }
@@ -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 { SVGIcon } from "@progress/kendo-svg-icons";
6
- /**
7
- * Describes a command shown in the Inline AI Prompt input.
8
- */
9
- export interface InlineAIPromptCommand {
10
- /**
11
- * The unique identifier for the command.
12
- */
13
- id: string | number;
14
- /**
15
- * The text for the command.
16
- */
17
- text?: string;
18
- /**
19
- * The prompt used when the command runs.
20
- */
21
- prompt?: string;
22
- /**
23
- * The font icon name. See [icons list](https://www.telerik.com/kendo-angular-ui/components/styling/icons#icons-list).
24
- */
25
- icon?: string;
26
- /**
27
- * The SVG icon. See [SVG icons list](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list).
28
- */
29
- svgIcon?: SVGIcon;
30
- /**
31
- * The disabled state of the command.
32
- */
33
- disabled?: boolean;
34
- /**
35
- * The nested child commands.
36
- */
37
- children?: InlineAIPromptCommand[];
38
- }
@@ -1,12 +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
- export { InlineAIPromptCommand } from './command.interface';
6
- export { InlineAIPromptOutput } from './prompt-output.interface';
7
- export { InlineAIPromptRequestEvent } from './prompt-request-event';
8
- export { InlineAIPromptOutputAction } from './output-action.interface';
9
- export { InlineAIPromptSettings } from './inlineaiprompt-settings';
10
- export { InlineAIPromptOutputActionClickEvent } from './output-action-click-event';
11
- export { InlineAIPromptMessages } from './messages';
12
- export { InlineAIPromptPopupSettings } from './inlineaiprompt-popupsettings';
@@ -1,10 +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 { PopupSettings } from "@progress/kendo-angular-popup";
6
- /**
7
- * Lists all configuration options for the Popup that displays the Inline AI Prompt.
8
- */
9
- export interface InlineAIPromptPopupSettings extends Omit<PopupSettings, 'content'> {
10
- }
@@ -1,66 +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 { InlineAIPromptOutputAction } from "./output-action.interface";
7
- import { InlineAIPromptCommand } from "./command.interface";
8
- import { InlineAIPromptOutput } from "./prompt-output.interface";
9
- import { InlineAIPromptMessages } from "./messages";
10
- import { TemplateRef } from "@angular/core";
11
- import { InlineAIPromptPopupSettings } from "./inlineaiprompt-popupsettings";
12
- /**
13
- * Defines the settings for opening an Inline AI Prompt through the `InlineAIPromptService`.
14
- */
15
- export declare class InlineAIPromptSettings {
16
- /**
17
- * The settings for the Inline AI Prompt Popup.
18
- */
19
- popupSettings?: InlineAIPromptPopupSettings;
20
- /**
21
- * Sets the width of the component.
22
- * Accepts a number for pixels or a string for other units, for example, `50%`.
23
- */
24
- width?: number | string;
25
- /**
26
- * Sets the maximum height of the component.
27
- * Accepts a number for pixels or a string for other units, for example, `50%`.
28
- */
29
- maxHeight?: number | string;
30
- /**
31
- * Sets the value of the Inline AI Prompt TextArea.
32
- */
33
- promptValue?: string;
34
- /**
35
- * Sets the placeholder text for the Inline AI Prompt TextArea.
36
- */
37
- placeholder?: string;
38
- /**
39
- * Sets the action buttons for the output card.
40
- */
41
- outputActions?: InlineAIPromptOutputAction[];
42
- /**
43
- * Sets the commands for the Inline AI Prompt TextArea prefix.
44
- */
45
- promptCommands?: InlineAIPromptCommand[];
46
- /**
47
- * Sets the prompt output to display.
48
- */
49
- promptOutput?: InlineAIPromptOutput;
50
- /**
51
- * Controls the visibility and configuration of the Speech to Text button.
52
- */
53
- enableSpeechToTextButton?: boolean | SpeechToTextButtonSettings;
54
- /**
55
- * Sets the template for the output content. If not provided, uses the default output template.
56
- */
57
- outputTemplate?: TemplateRef<any>;
58
- /**
59
- * If `true`, the send button turns into a stop button.
60
- */
61
- streaming?: boolean;
62
- /**
63
- * Sets the titles of the buttons shown in the Inline AI Prompt. Use for localization.
64
- */
65
- messages?: InlineAIPromptMessages;
66
- }
@@ -1,21 +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
- /**
6
- * Defines the titles that appear in the Inline AI Prompt. Use for localization.
7
- */
8
- export interface InlineAIPromptMessages {
9
- /**
10
- * The title for the Commands button.
11
- */
12
- commandsButtonTitle?: string;
13
- /**
14
- * The title for the Generate button.
15
- */
16
- generateButtonTitle?: string;
17
- /**
18
- * The title for the Speech to Text button.
19
- */
20
- speechToTextButtonTitle?: string;
21
- }
@@ -1,19 +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 { InlineAIPromptOutputAction } from "./output-action.interface";
6
- import { InlineAIPromptOutput } from "./prompt-output.interface";
7
- /**
8
- * Represents the arguments for the `outputActionClick` event of the Inline AI Prompt.
9
- */
10
- export interface InlineAIPromptOutputActionClickEvent {
11
- /**
12
- * The clicked action.
13
- */
14
- action: InlineAIPromptOutputAction;
15
- /**
16
- * The output associated with the action click event.
17
- */
18
- output: InlineAIPromptOutput;
19
- }
@@ -1,54 +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 { ButtonFillMode, ButtonRounded, ButtonThemeColor } from "@progress/kendo-angular-buttons";
6
- import { SVGIcon } from "@progress/kendo-svg-icons";
7
- /**
8
- * Defines the interface for the Inline AI Prompt output actions.
9
- */
10
- export interface InlineAIPromptOutputAction {
11
- /**
12
- * The name of the action. Predefined names are `copy`, `retry`, and `discard`.
13
- */
14
- name?: string;
15
- /**
16
- * The type of the action.
17
- */
18
- type?: "button" | "spacer";
19
- /**
20
- * The font icon for the action.
21
- */
22
- icon?: string;
23
- /**
24
- * The SVG icon for the action.
25
- */
26
- svgIcon?: SVGIcon;
27
- /**
28
- * The text for the action.
29
- */
30
- text?: string;
31
- /**
32
- * The title attribute for the action.
33
- *
34
- * @remarks
35
- * This option is related to accessibility.
36
- */
37
- title?: string;
38
- /**
39
- * The fill mode for the button.
40
- */
41
- fillMode?: ButtonFillMode;
42
- /**
43
- * The theme color for the button.
44
- */
45
- themeColor?: ButtonThemeColor;
46
- /**
47
- * The rounded styling for the button.
48
- */
49
- rounded?: ButtonRounded;
50
- /**
51
- * The disabled state of the button.
52
- */
53
- disabled?: boolean;
54
- }
@@ -1,25 +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
- /**
6
- * Describes the output returned for a prompt.
7
- */
8
- export interface InlineAIPromptOutput {
9
- /**
10
- * The unique identifier for the output.
11
- */
12
- id: number | string;
13
- /**
14
- * The generated text content.
15
- */
16
- output: string;
17
- /**
18
- * The prompt that starts the output generation.
19
- */
20
- prompt: string;
21
- /**
22
- * The command ID if the prompt generation is triggered by a command.
23
- */
24
- commandId?: string | number;
25
- }