@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,385 +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, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, Renderer2 } from '@angular/core';
6
- import { ControlValueAccessor } from '@angular/forms';
7
- import { SpeechToTextButtonSettings, SpeechToTextErrorEvent, SpeechToTextResultEvent } from '@progress/kendo-angular-buttons';
8
- import { LocalizationService } from '@progress/kendo-angular-l10n';
9
- import { FileInfo, SelectEvent } from '@progress/kendo-angular-upload';
10
- import { PromptBoxEndAffixComponent } from './affixes/promptbox-end-affix.component';
11
- import { PromptBoxStartAffixComponent } from './affixes/promptbox-start-affix.component';
12
- import { PromptBoxTopAffixComponent } from './affixes/promptbox-top-affix.component';
13
- import { PromptBoxHeaderTemplateDirective } from './common/header-template.directive';
14
- import { ActionButtonEvent, ActionButtonSettings, FileSelectButtonSettings } from './common/models';
15
- import { PromptBoxMode } from './common/models/promptbox-mode';
16
- import * as i0 from "@angular/core";
17
- /**
18
- * Represents the Kendo UI PromptBox component for Angular.
19
- *
20
- * @example
21
- * ```html
22
- * <kendo-promptbox placeholder="Ask a question..."></kendo-promptbox>
23
- * ```
24
- *
25
- * @remarks
26
- * Supported children components are: {@link PromptBoxCustomMessagesComponent}, {@link PromptBoxStartAffixComponent}, {@link PromptBoxEndAffixComponent}, {@link PromptBoxTopAffixComponent}, {@link PromptBoxSpeechToTextButtonComponent}, {@link PromptBoxActionButtonComponent}, {@link PromptBoxFileSelectButtonComponent}.
27
- *
28
- */
29
- export declare class PromptBoxComponent implements ControlValueAccessor, AfterViewInit {
30
- private changeDetector;
31
- private renderer;
32
- private ngZone;
33
- private localization;
34
- hostElement: ElementRef;
35
- get hostSinglelineClass(): boolean;
36
- get hostMultilineClass(): boolean;
37
- get hostDisabledClass(): boolean;
38
- /**
39
- * Enables or disables the PromptBox.
40
- *
41
- * @default false
42
- */
43
- disabled: boolean;
44
- /**
45
- * @hidden
46
- */
47
- focusableId: string;
48
- /**
49
- * Sets the loading state of the **Action** button.
50
- *
51
- * @default false
52
- */
53
- loading: boolean;
54
- /**
55
- * Sets the placeholder text displayed in the PromptBox when it is empty.
56
- *
57
- * @default ''
58
- */
59
- placeholder: string;
60
- /**
61
- * Sets the read-only state of the PromptBox. When set to `true`, the PromptBox content cannot be modified but remains accessible.
62
- *
63
- * @default false
64
- */
65
- readonly: boolean;
66
- /**
67
- * Sets the title attribute of the input or textarea element.
68
- *
69
- * @default ''
70
- *
71
- * @remarks
72
- * This property is related to accessibility.
73
- */
74
- title: string;
75
- /**
76
- * Sets the mode of the PromptBox. [See example](slug:modes_promptbox).
77
- * @default 'auto'
78
- */
79
- set mode(promptBoxMode: PromptBoxMode);
80
- get mode(): PromptBoxMode;
81
- /**
82
- * Sets the number of visible text lines in the textarea. Applies only when the `mode` is set to `multi`.
83
- */
84
- set rows(value: number);
85
- get rows(): number;
86
- /**
87
- * Sets the maximum height of the textarea in pixels.
88
- * The textarea resizes automatically until it reaches this height. When the content exceeds this height, a scrollbar appears.
89
- */
90
- set maxTextAreaHeight(value: number);
91
- get maxTextAreaHeight(): number;
92
- /**
93
- * Sets the value of the PromptBox.
94
- */
95
- set value(value: string);
96
- get value(): string;
97
- /**
98
- * Controls the visibility and configuration of the **Action** button in the end affix.
99
- *
100
- * @default true
101
- */
102
- set actionButton(settings: boolean | ActionButtonSettings);
103
- get actionButton(): boolean | ActionButtonSettings;
104
- /**
105
- * Controls the visibility and configuration of the **File Select** button in the end affix.
106
- *
107
- * @default false
108
- */
109
- set fileSelectButton(settings: boolean | FileSelectButtonSettings);
110
- get fileSelectButton(): boolean | FileSelectButtonSettings;
111
- /**
112
- * Controls the visibility and configuration of the **Speech to Text** button in the end affix.
113
- *
114
- * @default true
115
- */
116
- set speechToTextButton(settings: boolean | SpeechToTextButtonSettings);
117
- get speechToTextButton(): boolean | SpeechToTextButtonSettings;
118
- /**
119
- * Fires each time the value of the PromptBox changes.
120
- */
121
- valueChange: EventEmitter<string>;
122
- /**
123
- * Fires each time the PromptBox is focused.
124
- */
125
- onFocus: EventEmitter<void>;
126
- /**
127
- * Fires each time the PromptBox gets blurred.
128
- */
129
- onBlur: EventEmitter<void>;
130
- /**
131
- * Fires each time the internal input element is focused.
132
- */
133
- inputFocus: EventEmitter<void>;
134
- /**
135
- * Fires each time the internal input element is blurred.
136
- */
137
- inputBlur: EventEmitter<void>;
138
- /**
139
- * Fires each time you click the **Action** button.
140
- */
141
- promptAction: EventEmitter<ActionButtonEvent>;
142
- /**
143
- * Fires each time you select files using the **File Select** button.
144
- */
145
- selectAttachments: EventEmitter<SelectEvent>;
146
- /**
147
- * Fires each time you remove a file from the PromptBox.
148
- */
149
- fileRemove: EventEmitter<FileInfo>;
150
- /**
151
- * Fires each time you click the **Speech to Text** button.
152
- */
153
- speechToTextClick: EventEmitter<any>;
154
- /**
155
- * Fires each time the speech recognition service begins listening to incoming audio.
156
- */
157
- speechToTextStart: EventEmitter<any>;
158
- /**
159
- * Fires each time the speech recognition service disconnects.
160
- */
161
- speechToTextEnd: EventEmitter<any>;
162
- /**
163
- * Fires when a speech recognition error occurs.
164
- */
165
- speechToTextError: EventEmitter<SpeechToTextErrorEvent>;
166
- /**
167
- * Fires when the speech recognition service returns a result.
168
- */
169
- speechToTextResult: EventEmitter<SpeechToTextResultEvent>;
170
- /**
171
- * @hidden
172
- */
173
- inputElement: ElementRef<HTMLInputElement>;
174
- /**
175
- * @hidden
176
- */
177
- textareaElement: ElementRef<HTMLTextAreaElement>;
178
- /**
179
- * @hidden
180
- */
181
- filesList: ElementRef<HTMLUListElement>;
182
- /**
183
- * @hidden
184
- */
185
- headerTemplate: PromptBoxHeaderTemplateDirective;
186
- /**
187
- * @hidden
188
- */
189
- startAffix: PromptBoxStartAffixComponent;
190
- /**
191
- * @hidden
192
- */
193
- endAffix: PromptBoxEndAffixComponent;
194
- /**
195
- * @hidden
196
- */
197
- topAffix: PromptBoxTopAffixComponent;
198
- /**
199
- * @hidden
200
- */
201
- private speechToTextButtonComponent;
202
- /**
203
- * @hidden
204
- */
205
- private actionButtonComponent;
206
- /**
207
- * @hidden
208
- */
209
- private fileSelectButtonComponent;
210
- /**
211
- * @hidden
212
- */
213
- get hasEndAffixContent(): boolean;
214
- /**
215
- * @hidden
216
- */
217
- get isActionButtonDisabled(): boolean;
218
- /**
219
- * @hidden
220
- */
221
- get actionButtonSettings(): ActionButtonSettings;
222
- /**
223
- * @hidden
224
- */
225
- get fileSelectButtonSettings(): FileSelectButtonSettings;
226
- /**
227
- * @hidden
228
- */
229
- get speechToTextButtonSettings(): SpeechToTextButtonSettings;
230
- /**
231
- * @hidden
232
- */
233
- get effectiveRows(): number;
234
- /**
235
- * @hidden
236
- */
237
- hasExpanded: boolean;
238
- /**
239
- * @hidden
240
- */
241
- isListening: boolean;
242
- /**
243
- * Provides the currently attached files in the PromptBox component.
244
- */
245
- attachments: FileInfo[];
246
- /**
247
- * @hidden
248
- */
249
- filesListScrollAtStart: boolean;
250
- /**
251
- * @hidden
252
- */
253
- filesListScrollAtEnd: boolean;
254
- /**
255
- * @hidden
256
- */
257
- hasFilesOverflow: boolean;
258
- private _value;
259
- private _mode;
260
- private _rows;
261
- private initialHeight;
262
- private singleRowHeight;
263
- private singleLineWidth;
264
- private _maxTextAreaHeight;
265
- private _actionButtonSettings;
266
- private _fileSelectButtonSettings;
267
- private _speechToTextButtonSettings;
268
- private hostWidthAtCapture;
269
- private minMultiRowHeight;
270
- private resizeSubscription;
271
- private speechToTextSubscription;
272
- private actionButtonSubscription;
273
- private fileSelectSubscription;
274
- private focusChangedProgrammatically;
275
- private ngTouched;
276
- private ngChange;
277
- constructor(changeDetector: ChangeDetectorRef, renderer: Renderer2, ngZone: NgZone, localization: LocalizationService, hostElement: ElementRef);
278
- ngAfterViewInit(): void;
279
- ngOnDestroy(): void;
280
- /**
281
- * Focuses the PromptBox.
282
- */
283
- focus(): void;
284
- /**
285
- * Blurs the PromptBox.
286
- */
287
- blur(): void;
288
- /**
289
- * Clears all attached files from the PromptBox.
290
- */
291
- clearAttachments(): void;
292
- /**
293
- * @hidden
294
- */
295
- writeValue(value: string): void;
296
- /**
297
- * @hidden
298
- */
299
- registerOnChange(fn: (value: string) => void): void;
300
- /**
301
- * @hidden
302
- */
303
- registerOnTouched(fn: () => void): void;
304
- /**
305
- * @hidden
306
- */
307
- handleInput: (event: Event) => void;
308
- /**
309
- * @hidden
310
- */
311
- handleInputFocus: () => void;
312
- /**
313
- * @hidden
314
- */
315
- handleInputBlur: () => void;
316
- /**
317
- * @hidden
318
- */
319
- handleKeydown: (event: KeyboardEvent) => void;
320
- /**
321
- * @hidden
322
- */
323
- handlePromptAction(event: ActionButtonEvent): void;
324
- /**
325
- * @hidden
326
- */
327
- handleFileSelectAttachments(event: SelectEvent): void;
328
- /**
329
- * @hidden
330
- */
331
- removeFile(index: number): void;
332
- /**
333
- * @hidden
334
- */
335
- onFilesListScroll(filesList: HTMLDivElement): void;
336
- /**
337
- * @hidden
338
- */
339
- handleSpeechToTextClick(event: any): void;
340
- /**
341
- * @hidden
342
- */
343
- handleSpeechToTextStart(event: any): void;
344
- /**
345
- * @hidden
346
- */
347
- handleSpeechToTextEnd(event: any): void;
348
- /**
349
- * @hidden
350
- */
351
- handleSpeechToTextError(event: SpeechToTextErrorEvent): void;
352
- /**
353
- * @hidden
354
- */
355
- handleSpeechToTextResult(event: SpeechToTextResultEvent): void;
356
- /**
357
- * @hidden
358
- */
359
- textFor(key: string): string;
360
- /**
361
- * @hidden
362
- */
363
- private handleFocus;
364
- /**
365
- * @hidden
366
- */
367
- private handleBlur;
368
- private attachResizeHandler;
369
- private captureInitialDimensions;
370
- private resize;
371
- private resizeMultiMode;
372
- private resizeAutoMode;
373
- private updateHeight;
374
- private shouldCollapse;
375
- private calculateHeight;
376
- private resetTextArea;
377
- private checkFilesListScroll;
378
- private update;
379
- private updateComponentSettings;
380
- private subscribeToSpeechToTextButton;
381
- private subscribeToActionButton;
382
- private subscribeToFileSelectButton;
383
- static ɵfac: i0.ɵɵFactoryDeclaration<PromptBoxComponent, never>;
384
- static ɵcmp: i0.ɵɵComponentDeclaration<PromptBoxComponent, "kendo-promptbox", ["kendoPromptBox"], { "disabled": { "alias": "disabled"; "required": false; }; "focusableId": { "alias": "focusableId"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "title": { "alias": "title"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "maxTextAreaHeight": { "alias": "maxTextAreaHeight"; "required": false; }; "value": { "alias": "value"; "required": false; }; "actionButton": { "alias": "actionButton"; "required": false; }; "fileSelectButton": { "alias": "fileSelectButton"; "required": false; }; "speechToTextButton": { "alias": "speechToTextButton"; "required": false; }; }, { "valueChange": "valueChange"; "onFocus": "focus"; "onBlur": "blur"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; "promptAction": "promptAction"; "selectAttachments": "selectAttachments"; "fileRemove": "fileRemove"; "speechToTextClick": "speechToTextClick"; "speechToTextStart": "speechToTextStart"; "speechToTextEnd": "speechToTextEnd"; "speechToTextError": "speechToTextError"; "speechToTextResult": "speechToTextResult"; }, ["headerTemplate", "startAffix", "endAffix", "topAffix", "speechToTextButtonComponent", "actionButtonComponent", "fileSelectButtonComponent"], never, true, never>;
385
- }
@@ -1,63 +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 { EventEmitter } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { SVGIcon } from '@progress/kendo-svg-icons';
8
- import { PromptBoxBaseTool } from './base-tool';
9
- import { ActionButtonEvent } from '../common/models';
10
- import * as i0 from "@angular/core";
11
- /**
12
- * Defines the **Action** button component for the PromptBox. Used to send messages or stop ongoing operations.
13
- *
14
- * @example
15
- * ```html
16
- * <kendo-promptbox>
17
- * <kendo-promptbox-end-affix>
18
- * <kendo-promptbox-action-button></kendo-promptbox-action-button>
19
- * </kendo-promptbox-end-affix>
20
- * </kendo-promptbox>
21
- * ```
22
- */
23
- export declare class PromptBoxActionButtonComponent extends PromptBoxBaseTool {
24
- private localization;
25
- /**
26
- * @hidden
27
- */
28
- buttonClass: string;
29
- /**
30
- * Sets the loading state of the **Action** button.
31
- *
32
- * @default false
33
- */
34
- loading: boolean;
35
- /**
36
- * Sets the icon to be displayed when the **Action** button is in loading state.
37
- *
38
- * @default 'stop'
39
- */
40
- loadingIcon: string;
41
- /**
42
- * Sets the SVG icon to be displayed when the **Action** button is in loading state.
43
- *
44
- * @default stopIcon
45
- */
46
- loadingSVGIcon: SVGIcon;
47
- /**
48
- * Fires when the user clicks the Action button.
49
- * @hidden
50
- */
51
- promptAction: EventEmitter<ActionButtonEvent>;
52
- constructor(localization: LocalizationService);
53
- /**
54
- * @hidden
55
- */
56
- handleClick(): void;
57
- /**
58
- * @hidden
59
- */
60
- textFor(key: string): string;
61
- static ɵfac: i0.ɵɵFactoryDeclaration<PromptBoxActionButtonComponent, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<PromptBoxActionButtonComponent, "kendo-promptbox-action-button", ["kendoPromptBoxActionButton"], { "buttonClass": { "alias": "buttonClass"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingIcon": { "alias": "loadingIcon"; "required": false; }; "loadingSVGIcon": { "alias": "loadingSVGIcon"; "required": false; }; }, { "promptAction": "promptAction"; }, never, never, true, never>;
63
- }
@@ -1,65 +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 { EventEmitter } from '@angular/core';
6
- import { ButtonFillMode, ButtonRounded, ButtonSize, ButtonThemeColor } from '@progress/kendo-angular-buttons';
7
- import { SVGIcon } from '@progress/kendo-svg-icons';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * @hidden
11
- * Base class for PromptBox tools.
12
- */
13
- export declare abstract class PromptBoxBaseTool {
14
- /**
15
- * Sets the disabled state of the button.
16
- */
17
- disabled: boolean;
18
- /**
19
- * Sets the background and border styles of the button.
20
- */
21
- fillMode: ButtonFillMode;
22
- /**
23
- * Sets the name of an existing font icon in the Kendo UI theme for the button.
24
- */
25
- icon: string;
26
- /**
27
- * Defines a CSS class, or multiple classes separated by spaces, applied to a span element inside the button.
28
- */
29
- iconClass: string;
30
- /**
31
- * Specifies a URL for an img element inside the button.
32
- */
33
- imageUrl: string;
34
- /**
35
- * Sets the SVG icon for the tool button.
36
- */
37
- svgIcon: SVGIcon;
38
- /**
39
- * Sets the border radius of the button.
40
- */
41
- rounded: ButtonRounded;
42
- /**
43
- * Sets the padding of the button.
44
- */
45
- set size(value: ButtonSize);
46
- get size(): ButtonSize;
47
- /**
48
- * Sets a predefined theme color for the button.
49
- */
50
- themeColor: ButtonThemeColor;
51
- /**
52
- * Sets the title attribute of the button.
53
- *
54
- * @remarks
55
- * This property is related to accessibility.
56
- */
57
- title: string;
58
- /**
59
- * @hidden
60
- */
61
- sizeChange: EventEmitter<ButtonSize>;
62
- private _size;
63
- static ɵfac: i0.ɵɵFactoryDeclaration<PromptBoxBaseTool, never>;
64
- static ɵdir: i0.ɵɵDirectiveDeclaration<PromptBoxBaseTool, never, never, { "disabled": { "alias": "disabled"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "size": { "alias": "size"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "sizeChange": "sizeChange"; }, never, never, true, never>;
65
- }
@@ -1,63 +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 { EventEmitter } from '@angular/core';
6
- import { PromptBoxBaseTool } from './base-tool';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import { FileRestrictions, FileSelectComponent, SelectEvent } from '@progress/kendo-angular-upload';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * Defines the **File Select** button component for the PromptBox. Allows users to attach files to their messages.
12
- *
13
- * @example
14
- * ```html
15
- * <kendo-promptbox>
16
- * <kendo-promptbox-end-affix>
17
- * <kendo-promptbox-fileselect-button></kendo-promptbox-fileselect-button>
18
- * </kendo-promptbox-end-affix>
19
- * </kendo-promptbox>
20
- * ```
21
- */
22
- export declare class PromptBoxFileSelectButtonComponent extends PromptBoxBaseTool {
23
- private localization;
24
- /**
25
- * @hidden
26
- */
27
- fileSelectComponent: FileSelectComponent;
28
- /**
29
- * Sets the restrictions for selected files.
30
- */
31
- restrictions: FileRestrictions;
32
- /**
33
- * Allows you to select multiple files.
34
- *
35
- * @default true
36
- */
37
- multiple: boolean;
38
- /**
39
- * Sets the `accept` attribute of the internal FileSelect component.
40
- * Specifies the file types that the user can select.
41
- */
42
- accept: string;
43
- /**
44
- * Fires when the user selects files.
45
- * @hidden
46
- */
47
- selectAttachments: EventEmitter<SelectEvent>;
48
- constructor(localization: LocalizationService);
49
- /**
50
- * @hidden
51
- */
52
- textFor(key: string): string;
53
- /**
54
- * @hidden
55
- */
56
- selectFiles(): void;
57
- /**
58
- * @hidden
59
- */
60
- handleSelect(event: SelectEvent): void;
61
- static ɵfac: i0.ɵɵFactoryDeclaration<PromptBoxFileSelectButtonComponent, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<PromptBoxFileSelectButtonComponent, "kendo-promptbox-fileselect-button", ["kendoPromptBoxFileSelectButton"], { "restrictions": { "alias": "restrictions"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; }, { "selectAttachments": "selectAttachments"; }, never, never, true, never>;
63
- }
@@ -1,30 +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 { EventEmitter } from '@angular/core';
6
- import { FileInfo } from '@progress/kendo-angular-upload';
7
- import { SVGIcon } from '@progress/kendo-angular-icons';
8
- import { LocalizationService } from '@progress/kendo-angular-l10n';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * @hidden
12
- */
13
- export declare class PromptBoxFileComponent {
14
- private localization;
15
- promptBoxFile: FileInfo;
16
- removable: boolean;
17
- fileActions: any;
18
- disabled: boolean;
19
- remove: EventEmitter<FileInfo>;
20
- deleteIcon: SVGIcon;
21
- moreIcon: SVGIcon;
22
- constructor(localization: LocalizationService);
23
- fileThumbnail(extension: string): SVGIcon;
24
- fileGroupClass(extension: string): string;
25
- getTotalFilesSizeMessage(file: FileInfo): string;
26
- textFor(key: string): string;
27
- focus(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<PromptBoxFileComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<PromptBoxFileComponent, "li[promptBoxFile]", never, { "promptBoxFile": { "alias": "promptBoxFile"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "fileActions": { "alias": "fileActions"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "remove": "remove"; }, never, never, true, never>;
30
- }