@progress/kendo-angular-conversational-ui 16.0.0-develop.2 → 16.0.0-develop.4

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 (66) hide show
  1. package/ai-prompt/aiprompt.component.d.ts +1 -1
  2. package/ai-prompt/common/output-card.component.d.ts +1 -1
  3. package/ai-prompt/common/toolbar-focusable.directive.d.ts +1 -1
  4. package/ai-prompt/localization/custom-messages.component.d.ts +1 -1
  5. package/ai-prompt/localization/localized-messages.directive.d.ts +1 -1
  6. package/ai-prompt/localization/messages.d.ts +1 -1
  7. package/ai-prompt/templates/toolbar-actions.template.d.ts +1 -1
  8. package/ai-prompt/views/base-view.d.ts +1 -1
  9. package/ai-prompt/views/command-view.component.d.ts +1 -1
  10. package/ai-prompt/views/custom-view.component.d.ts +1 -1
  11. package/ai-prompt/views/output-view.component.d.ts +1 -1
  12. package/ai-prompt/views/prompt-view.component.d.ts +1 -1
  13. package/chat/attachment-template.directive.d.ts +1 -1
  14. package/chat/attachment.component.d.ts +1 -1
  15. package/chat/cards/hero-card.component.d.ts +1 -1
  16. package/chat/chat.component.d.ts +1 -1
  17. package/chat/common/focused-state.directive.d.ts +1 -1
  18. package/chat/common/scroll-anchor.directive.d.ts +1 -1
  19. package/chat/l10n/custom-messages.component.d.ts +1 -1
  20. package/chat/l10n/localized-messages.directive.d.ts +1 -1
  21. package/chat/l10n/messages.d.ts +1 -1
  22. package/chat/message-attachments.component.d.ts +1 -1
  23. package/chat/message-box.component.d.ts +1 -1
  24. package/chat/message-box.directive.d.ts +1 -1
  25. package/chat/message-list.component.d.ts +1 -1
  26. package/chat/message-template.directive.d.ts +1 -1
  27. package/chat/message.component.d.ts +1 -1
  28. package/chat/suggested-actions.component.d.ts +1 -1
  29. package/esm2020/ai-prompt/aiprompt.component.mjs +8 -8
  30. package/esm2020/ai-prompt/aiprompt.module.mjs +8 -10
  31. package/esm2020/ai-prompt/common/aiprompt.service.mjs +3 -3
  32. package/esm2020/ai-prompt/common/output-card.component.mjs +6 -6
  33. package/esm2020/ai-prompt/common/toolbar-focusable.directive.mjs +3 -3
  34. package/esm2020/ai-prompt/common/toolbar-navigation.service.mjs +3 -3
  35. package/esm2020/ai-prompt/localization/custom-messages.component.mjs +3 -3
  36. package/esm2020/ai-prompt/localization/localized-messages.directive.mjs +3 -3
  37. package/esm2020/ai-prompt/localization/messages.mjs +3 -3
  38. package/esm2020/ai-prompt/templates/toolbar-actions.template.mjs +3 -3
  39. package/esm2020/ai-prompt/views/base-view.mjs +3 -3
  40. package/esm2020/ai-prompt/views/command-view.component.mjs +4 -4
  41. package/esm2020/ai-prompt/views/custom-view.component.mjs +3 -3
  42. package/esm2020/ai-prompt/views/output-view.component.mjs +6 -6
  43. package/esm2020/ai-prompt/views/prompt-view.component.mjs +6 -7
  44. package/esm2020/chat/attachment-template.directive.mjs +3 -3
  45. package/esm2020/chat/attachment.component.mjs +4 -4
  46. package/esm2020/chat/cards/hero-card.component.mjs +4 -4
  47. package/esm2020/chat/chat.component.mjs +8 -8
  48. package/esm2020/chat/chat.module.mjs +6 -8
  49. package/esm2020/chat/common/focused-state.directive.mjs +3 -3
  50. package/esm2020/chat/common/scroll-anchor.directive.mjs +3 -3
  51. package/esm2020/chat/l10n/custom-messages.component.mjs +3 -3
  52. package/esm2020/chat/l10n/localized-messages.directive.mjs +3 -3
  53. package/esm2020/chat/l10n/messages.mjs +3 -3
  54. package/esm2020/chat/message-attachments.component.mjs +6 -6
  55. package/esm2020/chat/message-box.component.mjs +4 -4
  56. package/esm2020/chat/message-box.directive.mjs +3 -3
  57. package/esm2020/chat/message-list.component.mjs +10 -10
  58. package/esm2020/chat/message-template.directive.mjs +3 -3
  59. package/esm2020/chat/message.component.mjs +4 -4
  60. package/esm2020/chat/suggested-actions.component.mjs +4 -4
  61. package/esm2020/conversational-ui.module.mjs +4 -4
  62. package/esm2020/package-metadata.mjs +2 -2
  63. package/fesm2015/progress-kendo-angular-conversational-ui.mjs +316 -319
  64. package/fesm2020/progress-kendo-angular-conversational-ui.mjs +249 -252
  65. package/package.json +16 -16
  66. package/progress-kendo-angular-conversational-ui.d.ts +0 -9
@@ -3,22 +3,22 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
- import { Directive, Optional, isDevMode, EventEmitter, forwardRef, Component, Input, Output, HostBinding, ViewChildren, ElementRef, ViewChild, HostListener, ContentChild, InjectionToken, Inject, Injectable, ContentChildren, NgModule } from '@angular/core';
7
- import * as i1$1 from '@progress/kendo-angular-l10n';
6
+ import { Directive, Optional, Input, forwardRef, isDevMode, EventEmitter, Component, Output, HostBinding, ViewChildren, ElementRef, ViewChild, HostListener, ContentChild, InjectionToken, Inject, Injectable, ContentChildren, NgModule } from '@angular/core';
7
+ import * as i1 from '@progress/kendo-angular-l10n';
8
8
  import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
9
9
  import { validatePackage } from '@progress/kendo-licensing';
10
- import * as i6 from '@progress/kendo-angular-common';
10
+ import * as i3 from '@progress/kendo-angular-common';
11
11
  import { Keys, isPresent, guid, focusableSelector, ResizeSensorModule } from '@progress/kendo-angular-common';
12
12
  import { fromEvent, Subscription, Subject } from 'rxjs';
13
13
  import * as i2 from '@angular/common';
14
14
  import { CommonModule } from '@angular/common';
15
- import * as i1 from '@progress/kendo-angular-intl';
15
+ import * as i1$1 from '@progress/kendo-angular-intl';
16
16
  import { debounceTime } from 'rxjs/operators';
17
17
  import { chevronLeftIcon, chevronRightIcon, paperPlaneIcon, sparklesIcon, commentIcon, moreHorizontalIcon, chevronUpIcon, chevronDownIcon, copyIcon, arrowRotateCwIcon, thumbUpOutlineIcon, thumbDownOutlineIcon, thumbUpIcon, thumbDownIcon } from '@progress/kendo-svg-icons';
18
18
  import * as i4 from '@progress/kendo-angular-buttons';
19
19
  import { ButtonsModule, ButtonModule } from '@progress/kendo-angular-buttons';
20
20
  import { IconsModule } from '@progress/kendo-angular-icons';
21
- import * as i3 from '@progress/kendo-angular-inputs';
21
+ import * as i5 from '@progress/kendo-angular-inputs';
22
22
  import { InputsModule } from '@progress/kendo-angular-inputs';
23
23
  import * as i3$1 from '@progress/kendo-angular-layout';
24
24
  import { LayoutModule } from '@progress/kendo-angular-layout';
@@ -40,9 +40,9 @@ class AttachmentTemplateDirective {
40
40
  this.templateRef = templateRef;
41
41
  }
42
42
  }
43
- AttachmentTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AttachmentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
44
- AttachmentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: AttachmentTemplateDirective, selector: "[kendoChatAttachmentTemplate]", ngImport: i0 });
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AttachmentTemplateDirective, decorators: [{
43
+ AttachmentTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AttachmentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
44
+ AttachmentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: AttachmentTemplateDirective, selector: "[kendoChatAttachmentTemplate]", ngImport: i0 });
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AttachmentTemplateDirective, decorators: [{
46
46
  type: Directive,
47
47
  args: [{
48
48
  selector: '[kendoChatAttachmentTemplate]'
@@ -104,9 +104,9 @@ class MessageTemplateDirective {
104
104
  this.templateRef = templateRef;
105
105
  }
106
106
  }
107
- MessageTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessageTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
108
- MessageTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: MessageTemplateDirective, selector: "[kendoChatMessageTemplate]", ngImport: i0 });
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessageTemplateDirective, decorators: [{
107
+ MessageTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessageTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
108
+ MessageTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: MessageTemplateDirective, selector: "[kendoChatMessageTemplate]", ngImport: i0 });
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessageTemplateDirective, decorators: [{
110
110
  type: Directive,
111
111
  args: [{
112
112
  selector: '[kendoChatMessageTemplate]'
@@ -124,8 +124,8 @@ const packageMetadata = {
124
124
  name: '@progress/kendo-angular-conversational-ui',
125
125
  productName: 'Kendo UI for Angular',
126
126
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
127
- publishDate: 1714067468,
128
- version: '16.0.0-develop.2',
127
+ publishDate: 1714109754,
128
+ version: '16.0.0-develop.4',
129
129
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
130
130
  };
131
131
 
@@ -139,15 +139,74 @@ class ChatMessageBoxTemplateDirective {
139
139
  this.templateRef = templateRef;
140
140
  }
141
141
  }
142
- ChatMessageBoxTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ChatMessageBoxTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
143
- ChatMessageBoxTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: ChatMessageBoxTemplateDirective, selector: "[kendoChatMessageBoxTemplate]", ngImport: i0 });
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ChatMessageBoxTemplateDirective, decorators: [{
142
+ ChatMessageBoxTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ChatMessageBoxTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
143
+ ChatMessageBoxTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: ChatMessageBoxTemplateDirective, selector: "[kendoChatMessageBoxTemplate]", ngImport: i0 });
144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ChatMessageBoxTemplateDirective, decorators: [{
145
145
  type: Directive,
146
146
  args: [{
147
147
  selector: '[kendoChatMessageBoxTemplate]'
148
148
  }]
149
149
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
150
150
 
151
+ /**
152
+ * @hidden
153
+ */
154
+ let Messages$1 = class Messages extends ComponentMessages {
155
+ };
156
+ Messages$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: Messages$1, deps: null, target: i0.ɵɵFactoryTarget.Directive });
157
+ Messages$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: Messages$1, selector: "kendoConversationalUIMessages", inputs: { messagePlaceholder: "messagePlaceholder", send: "send", messageListLabel: "messageListLabel", messageBoxInputLabel: "messageBoxInputLabel", messageAttachmentLeftArrow: "messageAttachmentLeftArrow", messageAttachmentRightArrow: "messageAttachmentRightArrow", messageAvatarAlt: "messageAvatarAlt" }, usesInheritance: true, ngImport: i0 });
158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: Messages$1, decorators: [{
159
+ type: Directive,
160
+ args: [{
161
+ // eslint-disable-next-line @angular-eslint/directive-selector
162
+ selector: 'kendoConversationalUIMessages'
163
+ }]
164
+ }], propDecorators: { messagePlaceholder: [{
165
+ type: Input
166
+ }], send: [{
167
+ type: Input
168
+ }], messageListLabel: [{
169
+ type: Input
170
+ }], messageBoxInputLabel: [{
171
+ type: Input
172
+ }], messageAttachmentLeftArrow: [{
173
+ type: Input
174
+ }], messageAttachmentRightArrow: [{
175
+ type: Input
176
+ }], messageAvatarAlt: [{
177
+ type: Input
178
+ }] } });
179
+
180
+ // eslint-disable no-forward-ref
181
+ /**
182
+ * @hidden
183
+ */
184
+ let LocalizedMessagesDirective$1 = class LocalizedMessagesDirective extends Messages$1 {
185
+ constructor(service) {
186
+ super();
187
+ this.service = service;
188
+ }
189
+ };
190
+ LocalizedMessagesDirective$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedMessagesDirective$1, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
191
+ LocalizedMessagesDirective$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: LocalizedMessagesDirective$1, selector: "[kendoChatLocalizedMessages]", providers: [
192
+ {
193
+ provide: Messages$1,
194
+ useExisting: forwardRef(() => LocalizedMessagesDirective$1)
195
+ }
196
+ ], usesInheritance: true, ngImport: i0 });
197
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedMessagesDirective$1, decorators: [{
198
+ type: Directive,
199
+ args: [{
200
+ providers: [
201
+ {
202
+ provide: Messages$1,
203
+ useExisting: forwardRef(() => LocalizedMessagesDirective$1)
204
+ }
205
+ ],
206
+ selector: '[kendoChatLocalizedMessages]'
207
+ }]
208
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
209
+
151
210
  /**
152
211
  * @hidden
153
212
  */
@@ -283,6 +342,7 @@ const groupItems = (total) => (acc, msg, index) => {
283
342
  const chatView = (messages) => messages.reduce(groupItems(messages.length), []);
284
343
 
285
344
  /* eslint-disable @typescript-eslint/no-explicit-any */
345
+ /* eslint-disable @typescript-eslint/no-empty-function */
286
346
  /**
287
347
  * @hidden
288
348
  */
@@ -317,8 +377,8 @@ class SuggestedActionsComponent extends ChatItem {
317
377
  this.selectedIndex = Math.max(0, Math.min(prevIndex + offset, this.items.length - 1));
318
378
  }
319
379
  }
320
- SuggestedActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SuggestedActionsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
321
- SuggestedActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: SuggestedActionsComponent, selector: "kendo-chat-suggested-actions", inputs: { actions: "actions", tabbable: "tabbable" }, outputs: { dispatch: "dispatch" }, host: { properties: { "class.k-quick-replies": "this.defaultClass" } }, providers: [{
380
+ SuggestedActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SuggestedActionsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
381
+ SuggestedActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: SuggestedActionsComponent, selector: "kendo-chat-suggested-actions", inputs: { actions: "actions", tabbable: "tabbable" }, outputs: { dispatch: "dispatch" }, host: { properties: { "class.k-quick-replies": "this.defaultClass" } }, providers: [{
322
382
  provide: ChatItem,
323
383
  useExisting: forwardRef(() => SuggestedActionsComponent)
324
384
  }], viewQueries: [{ propertyName: "items", predicate: ["item"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
@@ -337,8 +397,8 @@ SuggestedActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
337
397
  >
338
398
  {{ action.title || action.value }}
339
399
  </span>
340
- `, isInline: true, directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
341
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SuggestedActionsComponent, decorators: [{
400
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
401
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SuggestedActionsComponent, decorators: [{
342
402
  type: Component,
343
403
  args: [{
344
404
  selector: 'kendo-chat-suggested-actions',
@@ -399,8 +459,8 @@ class MessageComponent extends ChatItem {
399
459
  this.element.nativeElement.focus();
400
460
  }
401
461
  }
402
- MessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessageComponent, deps: [{ token: i0.ElementRef }, { token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Component });
403
- MessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MessageComponent, selector: "kendo-chat-message", inputs: { message: "message", tabbable: "tabbable", template: "template" }, host: { properties: { "class.k-message": "this.cssClass", "class.k-selected": "this.selected", "class.k-focus": "this.selected", "attr.tabIndex": "this.tabIndex" } }, providers: [{
462
+ MessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessageComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.IntlService }], target: i0.ɵɵFactoryTarget.Component });
463
+ MessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: MessageComponent, selector: "kendo-chat-message", inputs: { message: "message", tabbable: "tabbable", template: "template" }, host: { properties: { "class.k-message": "this.cssClass", "class.k-selected": "this.selected", "class.k-focus": "this.selected", "attr.tabIndex": "this.tabIndex" } }, providers: [{
404
464
  provide: ChatItem,
405
465
  useExisting: forwardRef(() => MessageComponent)
406
466
  }], usesInheritance: true, ngImport: i0, template: `
@@ -441,8 +501,8 @@ MessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
441
501
  </div>
442
502
  </div>
443
503
  </ng-template>
444
- `, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
445
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessageComponent, decorators: [{
504
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
505
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessageComponent, decorators: [{
446
506
  type: Component,
447
507
  args: [{
448
508
  selector: 'kendo-chat-message',
@@ -490,7 +550,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
490
550
  </ng-template>
491
551
  `
492
552
  }]
493
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.IntlService }]; }, propDecorators: { message: [{
553
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.IntlService }]; }, propDecorators: { message: [{
494
554
  type: Input
495
555
  }], tabbable: [{
496
556
  type: Input
@@ -533,8 +593,8 @@ class AttachmentComponent {
533
593
  return this.attachment.contentType || '';
534
594
  }
535
595
  }
536
- AttachmentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AttachmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
537
- AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: { attachment: "attachment", template: "template" }, ngImport: i0, template: `
596
+ AttachmentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AttachmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
597
+ AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: { attachment: "attachment", template: "template" }, ngImport: i0, template: `
538
598
  <ng-container *ngIf="template">
539
599
  <ng-container *ngTemplateOutlet="template.templateRef; context: context;">
540
600
  </ng-container>
@@ -554,8 +614,8 @@ AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
554
614
  </ng-container>
555
615
  </div>
556
616
  </div>
557
- `, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
558
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AttachmentComponent, decorators: [{
617
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
618
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AttachmentComponent, decorators: [{
559
619
  type: Component,
560
620
  args: [{
561
621
  selector: 'kendo-chat-attachment',
@@ -695,8 +755,8 @@ class MessageAttachmentsComponent extends ChatItem {
695
755
  return this.localization.get(key);
696
756
  }
697
757
  }
698
- MessageAttachmentsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessageAttachmentsComponent, deps: [{ token: i0.NgZone }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
699
- MessageAttachmentsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MessageAttachmentsComponent, selector: "kendo-chat-message-attachments", inputs: { attachments: "attachments", layout: "layout", tabbable: "tabbable", template: "template", localization: "localization" }, host: { properties: { "class.k-card-deck-scrollwrap": "this.carousel" } }, providers: [{
758
+ MessageAttachmentsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessageAttachmentsComponent, deps: [{ token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
759
+ MessageAttachmentsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: MessageAttachmentsComponent, selector: "kendo-chat-message-attachments", inputs: { attachments: "attachments", layout: "layout", tabbable: "tabbable", template: "template", localization: "localization" }, host: { properties: { "class.k-card-deck-scrollwrap": "this.carousel" } }, providers: [{
700
760
  provide: ChatItem,
701
761
  useExisting: forwardRef(() => MessageAttachmentsComponent)
702
762
  }], viewQueries: [{ propertyName: "deck", first: true, predicate: ["deck"], descendants: true, read: ElementRef, static: true }, { propertyName: "items", predicate: ["item"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
@@ -740,8 +800,8 @@ MessageAttachmentsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
740
800
  icon="chevron-right"
741
801
  >
742
802
  </button>
743
- `, isInline: true, components: [{ type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: ["attachment", "template"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
744
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessageAttachmentsComponent, decorators: [{
803
+ `, isInline: true, dependencies: [{ kind: "component", type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: ["attachment", "template"] }] });
804
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessageAttachmentsComponent, decorators: [{
745
805
  type: Component,
746
806
  args: [{
747
807
  providers: [{
@@ -792,7 +852,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
792
852
  </button>
793
853
  `
794
854
  }]
795
- }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1$1.LocalizationService }]; }, propDecorators: { attachments: [{
855
+ }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.LocalizationService }]; }, propDecorators: { attachments: [{
796
856
  type: Input
797
857
  }], layout: [{
798
858
  type: Input
@@ -814,6 +874,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
814
874
  }] } });
815
875
 
816
876
  /* eslint-disable @typescript-eslint/no-unused-vars */
877
+ /* eslint-disable @typescript-eslint/no-explicit-any */
817
878
  /**
818
879
  * @hidden
819
880
  */
@@ -945,8 +1006,8 @@ class MessageListComponent {
945
1006
  return this.localization.get(key);
946
1007
  }
947
1008
  }
948
- MessageListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessageListComponent, deps: [{ token: i0.ElementRef }, { token: i1.IntlService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
949
- MessageListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MessageListComponent, selector: "kendo-chat-message-list", inputs: { messages: "messages", attachmentTemplate: "attachmentTemplate", messageTemplate: "messageTemplate", localization: "localization", user: "user" }, outputs: { executeAction: "executeAction", navigate: "navigate", resize: "resize" }, host: { properties: { "class.k-message-list-content": "this.cssClass" } }, viewQueries: [{ propertyName: "items", predicate: ChatItem, descendants: true }], ngImport: i0, template: `
1009
+ MessageListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessageListComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.IntlService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1010
+ MessageListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: MessageListComponent, selector: "kendo-chat-message-list", inputs: { messages: "messages", attachmentTemplate: "attachmentTemplate", messageTemplate: "messageTemplate", localization: "localization", user: "user" }, outputs: { executeAction: "executeAction", navigate: "navigate", resize: "resize" }, host: { properties: { "class.k-message-list-content": "this.cssClass" } }, viewQueries: [{ propertyName: "items", predicate: ChatItem, descendants: true }], ngImport: i0, template: `
950
1011
  <ng-container *ngFor="let group of view; last as lastGroup; trackBy: trackGroup">
951
1012
  <ng-container [ngSwitch]="group.type">
952
1013
  <div
@@ -1029,8 +1090,8 @@ MessageListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
1029
1090
  </ng-container>
1030
1091
  <kendo-resize-sensor (resize)="onResize()">
1031
1092
  </kendo-resize-sensor>
1032
- `, isInline: true, components: [{ type: MessageComponent, selector: "kendo-chat-message", inputs: ["message", "tabbable", "template"] }, { type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: ["attachment", "template"] }, { type: MessageAttachmentsComponent, selector: "kendo-chat-message-attachments", inputs: ["attachments", "layout", "tabbable", "template", "localization"] }, { type: SuggestedActionsComponent, selector: "kendo-chat-suggested-actions", inputs: ["actions", "tabbable"], outputs: ["dispatch"] }, { type: i6.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1033
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessageListComponent, decorators: [{
1093
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i3.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: ["attachment", "template"] }, { kind: "component", type: MessageAttachmentsComponent, selector: "kendo-chat-message-attachments", inputs: ["attachments", "layout", "tabbable", "template", "localization"] }, { kind: "component", type: MessageComponent, selector: "kendo-chat-message", inputs: ["message", "tabbable", "template"] }, { kind: "component", type: SuggestedActionsComponent, selector: "kendo-chat-suggested-actions", inputs: ["actions", "tabbable"], outputs: ["dispatch"] }] });
1094
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessageListComponent, decorators: [{
1034
1095
  type: Component,
1035
1096
  args: [{
1036
1097
  selector: 'kendo-chat-message-list',
@@ -1119,7 +1180,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1119
1180
  </kendo-resize-sensor>
1120
1181
  `
1121
1182
  }]
1122
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.IntlService }, { type: i0.Renderer2 }]; }, propDecorators: { messages: [{
1183
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.IntlService }, { type: i0.Renderer2 }]; }, propDecorators: { messages: [{
1123
1184
  type: Input
1124
1185
  }], attachmentTemplate: [{
1125
1186
  type: Input
@@ -1143,6 +1204,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1143
1204
  args: ['class.k-message-list-content']
1144
1205
  }] } });
1145
1206
 
1207
+ // Consider scroll to be at the bottom when within this number of pixels from the container height.
1208
+ const maxDelta = 2;
1209
+ /**
1210
+ * @hidden
1211
+ */
1212
+ class ScrollAnchorDirective {
1213
+ constructor(element, zone, renderer) {
1214
+ this.element = element;
1215
+ this.zone = zone;
1216
+ this.renderer = renderer;
1217
+ this.autoScroll = true;
1218
+ this.autoScrollChange = new EventEmitter();
1219
+ this.overflowAnchor = 'none';
1220
+ this.scrolling = false;
1221
+ }
1222
+ ngOnInit() {
1223
+ this.zone.runOutsideAngular(() => {
1224
+ this.unsubscribe = this.renderer.listen(this.element.nativeElement, 'scroll', () => this.onScroll());
1225
+ });
1226
+ }
1227
+ ngAfterViewInit() {
1228
+ this.scrollToBottom();
1229
+ }
1230
+ ngOnDestroy() {
1231
+ if (this.unsubscribe) {
1232
+ this.unsubscribe();
1233
+ }
1234
+ }
1235
+ onScroll() {
1236
+ if (this.scrolling) {
1237
+ return;
1238
+ }
1239
+ const el = this.element.nativeElement;
1240
+ const bottom = el.scrollTop + el.offsetHeight;
1241
+ const height = el.scrollHeight;
1242
+ const atBottom = height - bottom < maxDelta;
1243
+ if (this.autoScroll !== atBottom) {
1244
+ this.zone.run(() => {
1245
+ this.autoScroll = atBottom;
1246
+ this.autoScrollChange.emit(this.autoScroll);
1247
+ });
1248
+ }
1249
+ }
1250
+ scrollToBottom() {
1251
+ if (!this.autoScroll) {
1252
+ return;
1253
+ }
1254
+ const el = this.element.nativeElement;
1255
+ el.scrollTop = el.scrollHeight - el.clientHeight;
1256
+ this.scrolling = true;
1257
+ this.zone.runOutsideAngular(() => setTimeout(() => this.scrolling = false, 1000));
1258
+ }
1259
+ }
1260
+ ScrollAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ScrollAnchorDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
1261
+ ScrollAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: ScrollAnchorDirective, selector: "[kendoChatScrollAnchor]", inputs: { autoScroll: "autoScroll" }, outputs: { autoScrollChange: "autoScrollChange" }, host: { properties: { "style.overflow-anchor": "this.overflowAnchor" } }, exportAs: ["scrollAnchor"], ngImport: i0 });
1262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ScrollAnchorDirective, decorators: [{
1263
+ type: Directive,
1264
+ args: [{
1265
+ selector: '[kendoChatScrollAnchor]',
1266
+ exportAs: 'scrollAnchor'
1267
+ }]
1268
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { autoScroll: [{
1269
+ type: Input
1270
+ }], autoScrollChange: [{
1271
+ type: Output
1272
+ }], overflowAnchor: [{
1273
+ type: HostBinding,
1274
+ args: ['style.overflow-anchor']
1275
+ }] } });
1276
+
1146
1277
  /**
1147
1278
  * @hidden
1148
1279
  */
@@ -1157,9 +1288,9 @@ class FocusedStateDirective {
1157
1288
  this.focused = false;
1158
1289
  }
1159
1290
  }
1160
- FocusedStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FocusedStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1161
- FocusedStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: FocusedStateDirective, selector: "[kendoChatFocusedState]", host: { listeners: { "focusin": "onFocus()", "focusout": "onBlur()" }, properties: { "class.k-focus": "this.focused" } }, ngImport: i0 });
1162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FocusedStateDirective, decorators: [{
1291
+ FocusedStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FocusedStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1292
+ FocusedStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: FocusedStateDirective, selector: "[kendoChatFocusedState]", host: { listeners: { "focusin": "onFocus()", "focusout": "onBlur()" }, properties: { "class.k-focus": "this.focused" } }, ngImport: i0 });
1293
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FocusedStateDirective, decorators: [{
1163
1294
  type: Directive,
1164
1295
  args: [{
1165
1296
  selector: '[kendoChatFocusedState]'
@@ -1242,8 +1373,8 @@ class MessageBoxComponent {
1242
1373
  return this.localization.get(key);
1243
1374
  }
1244
1375
  }
1245
- MessageBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessageBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1246
- MessageBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MessageBoxComponent, selector: "kendo-message-box", inputs: { user: "user", autoScroll: "autoScroll", type: "type", localization: "localization", messageBoxTemplate: "messageBoxTemplate" }, outputs: { sendMessage: "sendMessage" }, host: { properties: { "class": "this.hostClasses", "class.!k-align-items-end": "this.messageBoxValue" } }, viewQueries: [{ propertyName: "messageBoxInput", first: true, predicate: ["messageBoxInput"], descendants: true }], ngImport: i0, template: `
1376
+ MessageBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessageBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1377
+ MessageBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: MessageBoxComponent, selector: "kendo-message-box", inputs: { user: "user", autoScroll: "autoScroll", type: "type", localization: "localization", messageBoxTemplate: "messageBoxTemplate" }, outputs: { sendMessage: "sendMessage" }, host: { properties: { "class": "this.hostClasses", "class.!k-align-items-end": "this.messageBoxValue" } }, viewQueries: [{ propertyName: "messageBoxInput", first: true, predicate: ["messageBoxInput"], descendants: true }], ngImport: i0, template: `
1247
1378
  <ng-container *ngIf="!messageBoxTemplate">
1248
1379
  <input
1249
1380
  *ngIf="type === 'textbox'"
@@ -1283,8 +1414,8 @@ MessageBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
1283
1414
  </ng-container>
1284
1415
 
1285
1416
  <ng-template *ngIf="messageBoxTemplate" [ngTemplateOutlet]="messageBoxTemplate?.templateRef"></ng-template>
1286
- `, isInline: true, components: [{ type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: FocusedStateDirective, selector: "[kendoChatFocusedState]" }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
1287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MessageBoxComponent, decorators: [{
1417
+ `, isInline: true, dependencies: [{ kind: "component", type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: FocusedStateDirective, selector: "[kendoChatFocusedState]" }] });
1418
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessageBoxComponent, decorators: [{
1288
1419
  type: Component,
1289
1420
  args: [{
1290
1421
  selector: 'kendo-message-box',
@@ -1353,135 +1484,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1353
1484
  type: Output
1354
1485
  }] } });
1355
1486
 
1356
- /**
1357
- * @hidden
1358
- */
1359
- class Messages$1 extends ComponentMessages {
1360
- }
1361
- Messages$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages$1, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1362
- Messages$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: Messages$1, selector: "kendoConversationalUIMessages", inputs: { messagePlaceholder: "messagePlaceholder", send: "send", messageListLabel: "messageListLabel", messageBoxInputLabel: "messageBoxInputLabel", messageAttachmentLeftArrow: "messageAttachmentLeftArrow", messageAttachmentRightArrow: "messageAttachmentRightArrow", messageAvatarAlt: "messageAvatarAlt" }, usesInheritance: true, ngImport: i0 });
1363
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages$1, decorators: [{
1364
- type: Directive,
1365
- args: [{
1366
- // eslint-disable-next-line @angular-eslint/directive-selector
1367
- selector: 'kendoConversationalUIMessages'
1368
- }]
1369
- }], propDecorators: { messagePlaceholder: [{
1370
- type: Input
1371
- }], send: [{
1372
- type: Input
1373
- }], messageListLabel: [{
1374
- type: Input
1375
- }], messageBoxInputLabel: [{
1376
- type: Input
1377
- }], messageAttachmentLeftArrow: [{
1378
- type: Input
1379
- }], messageAttachmentRightArrow: [{
1380
- type: Input
1381
- }], messageAvatarAlt: [{
1382
- type: Input
1383
- }] } });
1384
-
1385
- // eslint-disable no-forward-ref
1386
- /**
1387
- * @hidden
1388
- */
1389
- class LocalizedMessagesDirective$1 extends Messages$1 {
1390
- constructor(service) {
1391
- super();
1392
- this.service = service;
1393
- }
1394
- }
1395
- LocalizedMessagesDirective$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedMessagesDirective$1, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
1396
- LocalizedMessagesDirective$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LocalizedMessagesDirective$1, selector: "[kendoChatLocalizedMessages]", providers: [
1397
- {
1398
- provide: Messages$1,
1399
- useExisting: forwardRef(() => LocalizedMessagesDirective$1)
1400
- }
1401
- ], usesInheritance: true, ngImport: i0 });
1402
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedMessagesDirective$1, decorators: [{
1403
- type: Directive,
1404
- args: [{
1405
- providers: [
1406
- {
1407
- provide: Messages$1,
1408
- useExisting: forwardRef(() => LocalizedMessagesDirective$1)
1409
- }
1410
- ],
1411
- selector: '[kendoChatLocalizedMessages]'
1412
- }]
1413
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
1414
-
1415
- // Consider scroll to be at the bottom when within this number of pixels from the container height.
1416
- const maxDelta = 2;
1417
- /**
1418
- * @hidden
1419
- */
1420
- class ScrollAnchorDirective {
1421
- constructor(element, zone, renderer) {
1422
- this.element = element;
1423
- this.zone = zone;
1424
- this.renderer = renderer;
1425
- this.autoScroll = true;
1426
- this.autoScrollChange = new EventEmitter();
1427
- this.overflowAnchor = 'none';
1428
- this.scrolling = false;
1429
- }
1430
- ngOnInit() {
1431
- this.zone.runOutsideAngular(() => {
1432
- this.unsubscribe = this.renderer.listen(this.element.nativeElement, 'scroll', () => this.onScroll());
1433
- });
1434
- }
1435
- ngAfterViewInit() {
1436
- this.scrollToBottom();
1437
- }
1438
- ngOnDestroy() {
1439
- if (this.unsubscribe) {
1440
- this.unsubscribe();
1441
- }
1442
- }
1443
- onScroll() {
1444
- if (this.scrolling) {
1445
- return;
1446
- }
1447
- const el = this.element.nativeElement;
1448
- const bottom = el.scrollTop + el.offsetHeight;
1449
- const height = el.scrollHeight;
1450
- const atBottom = height - bottom < maxDelta;
1451
- if (this.autoScroll !== atBottom) {
1452
- this.zone.run(() => {
1453
- this.autoScroll = atBottom;
1454
- this.autoScrollChange.emit(this.autoScroll);
1455
- });
1456
- }
1457
- }
1458
- scrollToBottom() {
1459
- if (!this.autoScroll) {
1460
- return;
1461
- }
1462
- const el = this.element.nativeElement;
1463
- el.scrollTop = el.scrollHeight - el.clientHeight;
1464
- this.scrolling = true;
1465
- this.zone.runOutsideAngular(() => setTimeout(() => this.scrolling = false, 1000));
1466
- }
1467
- }
1468
- ScrollAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ScrollAnchorDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
1469
- ScrollAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: ScrollAnchorDirective, selector: "[kendoChatScrollAnchor]", inputs: { autoScroll: "autoScroll" }, outputs: { autoScrollChange: "autoScrollChange" }, host: { properties: { "style.overflow-anchor": "this.overflowAnchor" } }, exportAs: ["scrollAnchor"], ngImport: i0 });
1470
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ScrollAnchorDirective, decorators: [{
1471
- type: Directive,
1472
- args: [{
1473
- selector: '[kendoChatScrollAnchor]',
1474
- exportAs: 'scrollAnchor'
1475
- }]
1476
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { autoScroll: [{
1477
- type: Input
1478
- }], autoScrollChange: [{
1479
- type: Output
1480
- }], overflowAnchor: [{
1481
- type: HostBinding,
1482
- args: ['style.overflow-anchor']
1483
- }] } });
1484
-
1485
1487
  /**
1486
1488
  * Represents the Kendo UI Chat component for Angular.
1487
1489
  *
@@ -1577,8 +1579,8 @@ class ChatComponent {
1577
1579
  return this.localization.get(key);
1578
1580
  }
1579
1581
  }
1580
- ChatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ChatComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1581
- ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ChatComponent, selector: "kendo-chat", inputs: { messages: "messages", user: "user", messageBoxType: "messageBoxType" }, outputs: { sendMessage: "sendMessage", executeAction: "executeAction" }, host: { properties: { "class": "this.className", "attr.dir": "this.dirAttr" } }, providers: [
1582
+ ChatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ChatComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1583
+ ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: ChatComponent, selector: "kendo-chat", inputs: { messages: "messages", user: "user", messageBoxType: "messageBoxType" }, outputs: { sendMessage: "sendMessage", executeAction: "executeAction" }, host: { properties: { "class": "this.className", "attr.dir": "this.dirAttr" } }, providers: [
1582
1584
  LocalizationService,
1583
1585
  {
1584
1586
  provide: L10N_PREFIX,
@@ -1641,8 +1643,8 @@ ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
1641
1643
  (sendMessage)="sendMessage.emit($event)"
1642
1644
  >
1643
1645
  </kendo-message-box>
1644
- `, isInline: true, components: [{ type: MessageListComponent, selector: "kendo-chat-message-list", inputs: ["messages", "attachmentTemplate", "messageTemplate", "localization", "user"], outputs: ["executeAction", "navigate", "resize"] }, { type: MessageBoxComponent, selector: "kendo-message-box", inputs: ["user", "autoScroll", "type", "localization", "messageBoxTemplate"], outputs: ["sendMessage"] }], directives: [{ type: LocalizedMessagesDirective$1, selector: "[kendoChatLocalizedMessages]" }, { type: ScrollAnchorDirective, selector: "[kendoChatScrollAnchor]", inputs: ["autoScroll"], outputs: ["autoScrollChange"], exportAs: ["scrollAnchor"] }] });
1645
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ChatComponent, decorators: [{
1646
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective$1, selector: "[kendoChatLocalizedMessages]" }, { kind: "component", type: MessageListComponent, selector: "kendo-chat-message-list", inputs: ["messages", "attachmentTemplate", "messageTemplate", "localization", "user"], outputs: ["executeAction", "navigate", "resize"] }, { kind: "directive", type: ScrollAnchorDirective, selector: "[kendoChatScrollAnchor]", inputs: ["autoScroll"], outputs: ["autoScrollChange"], exportAs: ["scrollAnchor"] }, { kind: "component", type: MessageBoxComponent, selector: "kendo-message-box", inputs: ["user", "autoScroll", "type", "localization", "messageBoxTemplate"], outputs: ["sendMessage"] }] });
1647
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ChatComponent, decorators: [{
1646
1648
  type: Component,
1647
1649
  args: [{
1648
1650
  providers: [
@@ -1712,7 +1714,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1712
1714
  </kendo-message-box>
1713
1715
  `
1714
1716
  }]
1715
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { messages: [{
1717
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { messages: [{
1716
1718
  type: Input
1717
1719
  }], user: [{
1718
1720
  type: Input
@@ -1825,15 +1827,15 @@ class BaseView {
1825
1827
  return this.localization.get(text);
1826
1828
  }
1827
1829
  }
1828
- BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BaseView, deps: [{ token: MY_TOKEN }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
1829
- BaseView.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: BaseView, inputs: { buttonText: "buttonText", icon: "icon", svgIcon: "svgIcon" }, host: { properties: { "class.k-prompt-view": "this.hostClasses" } }, viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true, static: true }], ngImport: i0 });
1830
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: BaseView, decorators: [{
1830
+ BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BaseView, deps: [{ token: MY_TOKEN }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
1831
+ BaseView.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: BaseView, inputs: { buttonText: "buttonText", icon: "icon", svgIcon: "svgIcon" }, host: { properties: { "class.k-prompt-view": "this.hostClasses" } }, viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true, static: true }], ngImport: i0 });
1832
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BaseView, decorators: [{
1831
1833
  type: Directive
1832
1834
  }], ctorParameters: function () {
1833
1835
  return [{ type: undefined, decorators: [{
1834
1836
  type: Inject,
1835
1837
  args: [MY_TOKEN]
1836
- }] }, { type: i1$1.LocalizationService }];
1838
+ }] }, { type: i1.LocalizationService }];
1837
1839
  }, propDecorators: { hostClasses: [{
1838
1840
  type: HostBinding,
1839
1841
  args: ['class.k-prompt-view']
@@ -1874,9 +1876,9 @@ class AIPromptService {
1874
1876
  return newArr.concat(this.promptCommands);
1875
1877
  }
1876
1878
  }
1877
- AIPromptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1878
- AIPromptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptService });
1879
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptService, decorators: [{
1879
+ AIPromptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1880
+ AIPromptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptService });
1881
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptService, decorators: [{
1880
1882
  type: Injectable
1881
1883
  }] });
1882
1884
 
@@ -1917,7 +1919,6 @@ class PromptViewComponent extends BaseView {
1917
1919
  set textAreaValue(value) {
1918
1920
  this.service.promptValue = value;
1919
1921
  }
1920
- ;
1921
1922
  get textAreaValue() {
1922
1923
  return this.service.promptValue;
1923
1924
  }
@@ -1928,8 +1929,8 @@ class PromptViewComponent extends BaseView {
1928
1929
  this.textAreaValue = this.service.promptValue = suggestion;
1929
1930
  }
1930
1931
  }
1931
- PromptViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PromptViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
1932
- PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: PromptViewComponent, selector: "kendo-aiprompt-prompt-view", providers: [
1932
+ PromptViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PromptViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
1933
+ PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: PromptViewComponent, selector: "kendo-aiprompt-prompt-view", providers: [
1933
1934
  {
1934
1935
  provide: BaseView,
1935
1936
  useExisting: forwardRef(() => PromptViewComponent)
@@ -1966,8 +1967,8 @@ PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
1966
1967
  </div>
1967
1968
  </div>
1968
1969
  </ng-template>
1969
- `, isInline: true, components: [{ type: i3.TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }, { type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
1970
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PromptViewComponent, decorators: [{
1970
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i5.TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }] });
1971
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PromptViewComponent, decorators: [{
1971
1972
  type: Component,
1972
1973
  args: [{
1973
1974
  selector: 'kendo-aiprompt-prompt-view',
@@ -2011,7 +2012,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2011
2012
  </ng-template>
2012
2013
  `
2013
2014
  }]
2014
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: AIPromptService }]; } });
2015
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; } });
2015
2016
 
2016
2017
  /**
2017
2018
  * @hidden
@@ -2097,8 +2098,8 @@ class AIPromptOutputCardComponent {
2097
2098
  }
2098
2099
  }
2099
2100
  }
2100
- AIPromptOutputCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptOutputCardComponent, deps: [{ token: i1$1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
2101
- AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: { promptOutput: "promptOutput" }, host: { properties: { "class.k-card": "this.hostClass", "attr.role": "this.listItemRole", "attr.tabindex": "this.tabIndex", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-keyshortcuts": "this.ariaKeyShortcuts" } }, ngImport: i0, template: `
2101
+ AIPromptOutputCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptOutputCardComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
2102
+ AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: { promptOutput: "promptOutput" }, host: { properties: { "class.k-card": "this.hostClass", "attr.role": "this.listItemRole", "attr.tabindex": "this.tabIndex", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-keyshortcuts": "this.ariaKeyShortcuts" } }, ngImport: i0, template: `
2102
2103
  <div class="k-card-header">
2103
2104
  <div
2104
2105
  class="k-card-title"
@@ -2141,8 +2142,8 @@ AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
2141
2142
  </button>
2142
2143
  </ng-container>
2143
2144
  </div>
2144
- `, isInline: true, components: [{ type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
2145
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptOutputCardComponent, decorators: [{
2145
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
2146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptOutputCardComponent, decorators: [{
2146
2147
  type: Component,
2147
2148
  args: [{
2148
2149
  selector: '[kendoAIPromptOutputCard]',
@@ -2191,7 +2192,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2191
2192
  </div>
2192
2193
  `
2193
2194
  }]
2194
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: AIPromptService }]; }, propDecorators: { hostClass: [{
2195
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; }, propDecorators: { hostClass: [{
2195
2196
  type: HostBinding,
2196
2197
  args: ['class.k-card']
2197
2198
  }], listItemRole: [{
@@ -2225,8 +2226,8 @@ class OutputViewComponent extends BaseView {
2225
2226
  return this.service.promptOutputs;
2226
2227
  }
2227
2228
  }
2228
- OutputViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: OutputViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
2229
- OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: OutputViewComponent, selector: "kendo-aiprompt-output-view", providers: [{
2229
+ OutputViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: OutputViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
2230
+ OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: OutputViewComponent, selector: "kendo-aiprompt-output-view", providers: [{
2230
2231
  provide: BaseView,
2231
2232
  useExisting: forwardRef(() => OutputViewComponent)
2232
2233
  }], usesInheritance: true, ngImport: i0, template: `
@@ -2240,8 +2241,8 @@ OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
2240
2241
  </div>
2241
2242
  </div>
2242
2243
  </ng-template>
2243
- `, isInline: true, components: [{ type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: ["promptOutput"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
2244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: OutputViewComponent, decorators: [{
2244
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: ["promptOutput"] }] });
2245
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: OutputViewComponent, decorators: [{
2245
2246
  type: Component,
2246
2247
  args: [{
2247
2248
  selector: 'kendo-aiprompt-output-view',
@@ -2262,7 +2263,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2262
2263
  </ng-template>
2263
2264
  `
2264
2265
  }]
2265
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: AIPromptService }]; } });
2266
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; } });
2266
2267
 
2267
2268
  /**
2268
2269
  * Represents a template that allows you to define additional ToolBar actions.
@@ -2275,9 +2276,9 @@ class AIPromptToolbarActionsDirective {
2275
2276
  this.templateRef = templateRef;
2276
2277
  }
2277
2278
  }
2278
- AIPromptToolbarActionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptToolbarActionsDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2279
- AIPromptToolbarActionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: AIPromptToolbarActionsDirective, selector: "[kendoAIPromptToolbarActionsTemplate]", ngImport: i0 });
2280
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptToolbarActionsDirective, decorators: [{
2279
+ AIPromptToolbarActionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptToolbarActionsDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2280
+ AIPromptToolbarActionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: AIPromptToolbarActionsDirective, selector: "[kendoAIPromptToolbarActionsTemplate]", ngImport: i0 });
2281
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptToolbarActionsDirective, decorators: [{
2281
2282
  type: Directive,
2282
2283
  args: [{
2283
2284
  selector: '[kendoAIPromptToolbarActionsTemplate]'
@@ -2330,69 +2331,11 @@ class ToolbarNavigationService {
2330
2331
  this.focusableElements[this.currentFocusedIndex].activate();
2331
2332
  }
2332
2333
  }
2333
- ToolbarNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ToolbarNavigationService, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
2334
- ToolbarNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ToolbarNavigationService });
2335
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ToolbarNavigationService, decorators: [{
2334
+ ToolbarNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ToolbarNavigationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
2335
+ ToolbarNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ToolbarNavigationService });
2336
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ToolbarNavigationService, decorators: [{
2336
2337
  type: Injectable
2337
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
2338
-
2339
- /**
2340
- * @hidden
2341
- */
2342
- class Messages extends ComponentMessages {
2343
- }
2344
- Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
2345
- Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: Messages, inputs: { promptView: "promptView", outputView: "outputView", generateOutput: "generateOutput", promptPlaceholder: "promptPlaceholder", copyOutput: "copyOutput", retryGeneration: "retryGeneration", outputTitle: "outputTitle", outputRetryTitle: "outputRetryTitle", promptSuggestions: "promptSuggestions" }, usesInheritance: true, ngImport: i0 });
2346
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages, decorators: [{
2347
- type: Directive
2348
- }], propDecorators: { promptView: [{
2349
- type: Input
2350
- }], outputView: [{
2351
- type: Input
2352
- }], generateOutput: [{
2353
- type: Input
2354
- }], promptPlaceholder: [{
2355
- type: Input
2356
- }], copyOutput: [{
2357
- type: Input
2358
- }], retryGeneration: [{
2359
- type: Input
2360
- }], outputTitle: [{
2361
- type: Input
2362
- }], outputRetryTitle: [{
2363
- type: Input
2364
- }], promptSuggestions: [{
2365
- type: Input
2366
- }] } });
2367
-
2368
- /**
2369
- * @hidden
2370
- */
2371
- class LocalizedMessagesDirective extends Messages {
2372
- constructor(service) {
2373
- super();
2374
- this.service = service;
2375
- }
2376
- }
2377
- LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
2378
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LocalizedMessagesDirective, selector: "[kendoAIPromptLocalizedMessages]", providers: [
2379
- {
2380
- provide: Messages,
2381
- useExisting: forwardRef(() => LocalizedMessagesDirective)
2382
- }
2383
- ], usesInheritance: true, ngImport: i0 });
2384
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
2385
- type: Directive,
2386
- args: [{
2387
- providers: [
2388
- {
2389
- provide: Messages,
2390
- useExisting: forwardRef(() => LocalizedMessagesDirective)
2391
- }
2392
- ],
2393
- selector: '[kendoAIPromptLocalizedMessages]'
2394
- }]
2395
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
2338
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
2396
2339
 
2397
2340
  /**
2398
2341
  * @hidden
@@ -2444,15 +2387,73 @@ class AIPromptToolbarFocusableDirective {
2444
2387
  this.element.focus();
2445
2388
  }
2446
2389
  }
2447
- AIPromptToolbarFocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: ToolbarNavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2448
- AIPromptToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: AIPromptToolbarFocusableDirective, selector: "[kendoAIPromptToolbarFocusable]", ngImport: i0 });
2449
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptToolbarFocusableDirective, decorators: [{
2390
+ AIPromptToolbarFocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: ToolbarNavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2391
+ AIPromptToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: AIPromptToolbarFocusableDirective, selector: "[kendoAIPromptToolbarFocusable]", ngImport: i0 });
2392
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptToolbarFocusableDirective, decorators: [{
2450
2393
  type: Directive,
2451
2394
  args: [{
2452
2395
  selector: '[kendoAIPromptToolbarFocusable]'
2453
2396
  }]
2454
2397
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ToolbarNavigationService }, { type: i0.Renderer2 }]; } });
2455
2398
 
2399
+ /**
2400
+ * @hidden
2401
+ */
2402
+ class Messages extends ComponentMessages {
2403
+ }
2404
+ Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
2405
+ Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: Messages, inputs: { promptView: "promptView", outputView: "outputView", generateOutput: "generateOutput", promptPlaceholder: "promptPlaceholder", copyOutput: "copyOutput", retryGeneration: "retryGeneration", outputTitle: "outputTitle", outputRetryTitle: "outputRetryTitle", promptSuggestions: "promptSuggestions" }, usesInheritance: true, ngImport: i0 });
2406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: Messages, decorators: [{
2407
+ type: Directive
2408
+ }], propDecorators: { promptView: [{
2409
+ type: Input
2410
+ }], outputView: [{
2411
+ type: Input
2412
+ }], generateOutput: [{
2413
+ type: Input
2414
+ }], promptPlaceholder: [{
2415
+ type: Input
2416
+ }], copyOutput: [{
2417
+ type: Input
2418
+ }], retryGeneration: [{
2419
+ type: Input
2420
+ }], outputTitle: [{
2421
+ type: Input
2422
+ }], outputRetryTitle: [{
2423
+ type: Input
2424
+ }], promptSuggestions: [{
2425
+ type: Input
2426
+ }] } });
2427
+
2428
+ /**
2429
+ * @hidden
2430
+ */
2431
+ class LocalizedMessagesDirective extends Messages {
2432
+ constructor(service) {
2433
+ super();
2434
+ this.service = service;
2435
+ }
2436
+ }
2437
+ LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
2438
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: LocalizedMessagesDirective, selector: "[kendoAIPromptLocalizedMessages]", providers: [
2439
+ {
2440
+ provide: Messages,
2441
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
2442
+ }
2443
+ ], usesInheritance: true, ngImport: i0 });
2444
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
2445
+ type: Directive,
2446
+ args: [{
2447
+ providers: [
2448
+ {
2449
+ provide: Messages,
2450
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
2451
+ }
2452
+ ],
2453
+ selector: '[kendoAIPromptLocalizedMessages]'
2454
+ }]
2455
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
2456
+
2456
2457
  /**
2457
2458
  * Represents the Kendo UI AIPrompt component for Angular.
2458
2459
  */
@@ -2609,8 +2610,8 @@ class AIPromptComponent {
2609
2610
  this.promptRequest.emit(eventArgs);
2610
2611
  }
2611
2612
  }
2612
- AIPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptComponent, deps: [{ token: i1$1.LocalizationService }, { token: AIPromptService }, { token: ToolbarNavigationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2613
- AIPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AIPromptComponent, selector: "kendo-aiprompt", inputs: { activeView: "activeView", promptCommands: "promptCommands", promptSuggestions: "promptSuggestions", promptOutputs: "promptOutputs", showOutputRating: "showOutputRating" }, outputs: { activeViewChange: "activeViewChange", promptRequest: "promptRequest", commandExecute: "commandExecute", outputCopy: "outputCopy", outputRatingChange: "outputRatingChange" }, host: { properties: { "class.k-prompt": "this.hostClasses", "attr.dir": "this.dirAttr" } }, providers: [
2613
+ AIPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }, { token: ToolbarNavigationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2614
+ AIPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AIPromptComponent, selector: "kendo-aiprompt", inputs: { activeView: "activeView", promptCommands: "promptCommands", promptSuggestions: "promptSuggestions", promptOutputs: "promptOutputs", showOutputRating: "showOutputRating" }, outputs: { activeViewChange: "activeViewChange", promptRequest: "promptRequest", commandExecute: "commandExecute", outputCopy: "outputCopy", outputRatingChange: "outputRatingChange" }, host: { properties: { "class.k-prompt": "this.hostClasses", "attr.dir": "this.dirAttr" } }, providers: [
2614
2615
  LocalizationService,
2615
2616
  AIPromptService,
2616
2617
  ToolbarNavigationService,
@@ -2679,8 +2680,8 @@ AIPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
2679
2680
  (click)="handleGenerateOutput()">{{messageFor('generateOutput')}}</button>
2680
2681
  </div>
2681
2682
  </div>
2682
- `, isInline: true, components: [{ type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoAIPromptLocalizedMessages]" }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: AIPromptToolbarFocusableDirective, selector: "[kendoAIPromptToolbarFocusable]" }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
2683
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptComponent, decorators: [{
2683
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: AIPromptToolbarFocusableDirective, selector: "[kendoAIPromptToolbarFocusable]" }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoAIPromptLocalizedMessages]" }] });
2684
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptComponent, decorators: [{
2684
2685
  type: Component,
2685
2686
  args: [{
2686
2687
  exportAs: 'kendoAIPrompt',
@@ -2757,7 +2758,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2757
2758
  </div>
2758
2759
  `
2759
2760
  }]
2760
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: AIPromptService }, { type: ToolbarNavigationService }, { type: i0.NgZone }]; }, propDecorators: { hostClasses: [{
2761
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }, { type: ToolbarNavigationService }, { type: i0.NgZone }]; }, propDecorators: { hostClasses: [{
2761
2762
  type: HostBinding,
2762
2763
  args: ['class.k-prompt']
2763
2764
  }], dirAttr: [{
@@ -2835,8 +2836,8 @@ class CommandViewComponent extends BaseView {
2835
2836
  }));
2836
2837
  }
2837
2838
  }
2838
- CommandViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CommandViewComponent, deps: [{ token: i1$1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
2839
- CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: CommandViewComponent, selector: "kendo-aiprompt-command-view", providers: [{
2839
+ CommandViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CommandViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
2840
+ CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: CommandViewComponent, selector: "kendo-aiprompt-command-view", providers: [{
2840
2841
  provide: BaseView,
2841
2842
  useExisting: forwardRef(() => CommandViewComponent)
2842
2843
  }], usesInheritance: true, ngImport: i0, template: `
@@ -2848,8 +2849,8 @@ CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
2848
2849
  (itemClick)="itemClickHandler($event)"
2849
2850
  ></kendo-panelbar>
2850
2851
  </ng-template>
2851
- `, isInline: true, components: [{ type: i3$1.PanelBarComponent, selector: "kendo-panelbar", inputs: ["expandMode", "selectable", "animate", "height", "keepItemContent", "items"], outputs: ["stateChange", "select", "expand", "collapse", "itemClick"], exportAs: ["kendoPanelbar"] }] });
2852
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CommandViewComponent, decorators: [{
2852
+ `, isInline: true, dependencies: [{ kind: "component", type: i3$1.PanelBarComponent, selector: "kendo-panelbar", inputs: ["expandMode", "selectable", "animate", "height", "keepItemContent", "items"], outputs: ["stateChange", "select", "expand", "collapse", "itemClick"], exportAs: ["kendoPanelbar"] }] });
2853
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CommandViewComponent, decorators: [{
2853
2854
  type: Component,
2854
2855
  args: [{
2855
2856
  selector: 'kendo-aiprompt-command-view',
@@ -2868,7 +2869,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2868
2869
  </ng-template>
2869
2870
  `
2870
2871
  }]
2871
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: AIPromptService }]; } });
2872
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; } });
2872
2873
 
2873
2874
  /**
2874
2875
  * Custom component messages override the default component messages.
@@ -2883,14 +2884,14 @@ class AIPromptCustomMessagesComponent extends Messages {
2883
2884
  return true;
2884
2885
  }
2885
2886
  }
2886
- AIPromptCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
2887
- AIPromptCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: AIPromptCustomMessagesComponent, selector: "kendo-aiprompt-messages", providers: [
2887
+ AIPromptCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
2888
+ AIPromptCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AIPromptCustomMessagesComponent, selector: "kendo-aiprompt-messages", providers: [
2888
2889
  {
2889
2890
  provide: Messages,
2890
2891
  useExisting: forwardRef(() => AIPromptCustomMessagesComponent)
2891
2892
  }
2892
2893
  ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
2893
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptCustomMessagesComponent, decorators: [{
2894
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptCustomMessagesComponent, decorators: [{
2894
2895
  type: Component,
2895
2896
  args: [{
2896
2897
  providers: [
@@ -2902,7 +2903,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2902
2903
  selector: 'kendo-aiprompt-messages',
2903
2904
  template: ``
2904
2905
  }]
2905
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
2906
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
2906
2907
 
2907
2908
  /**
2908
2909
  * The component for rendering an AIPrompt Custom View.
@@ -2912,12 +2913,12 @@ class CustomViewComponent extends BaseView {
2912
2913
  super('custom', localization);
2913
2914
  }
2914
2915
  }
2915
- CustomViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CustomViewComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
2916
- CustomViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: CustomViewComponent, selector: "kendo-aiprompt-custom-view", inputs: { viewTemplate: "viewTemplate" }, providers: [{
2916
+ CustomViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CustomViewComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
2917
+ CustomViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: CustomViewComponent, selector: "kendo-aiprompt-custom-view", inputs: { viewTemplate: "viewTemplate" }, providers: [{
2917
2918
  provide: BaseView,
2918
2919
  useExisting: forwardRef(() => CustomViewComponent)
2919
2920
  }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
2920
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CustomViewComponent, decorators: [{
2921
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CustomViewComponent, decorators: [{
2921
2922
  type: Component,
2922
2923
  args: [{
2923
2924
  selector: 'kendo-aiprompt-custom-view',
@@ -2927,7 +2928,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2927
2928
  }],
2928
2929
  template: ``
2929
2930
  }]
2930
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; }, propDecorators: { viewTemplate: [{
2931
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { viewTemplate: [{
2931
2932
  type: Input
2932
2933
  }] } });
2933
2934
 
@@ -2968,8 +2969,8 @@ const PRIVATE_DIRECTIVES$1 = [
2968
2969
  */
2969
2970
  class AIPromptModule {
2970
2971
  }
2971
- AIPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2972
- AIPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptModule, declarations: [AIPromptComponent,
2972
+ AIPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2973
+ AIPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AIPromptModule, declarations: [AIPromptComponent,
2973
2974
  PromptViewComponent,
2974
2975
  OutputViewComponent,
2975
2976
  CommandViewComponent,
@@ -2989,14 +2990,12 @@ AIPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
2989
2990
  AIPromptCustomMessagesComponent,
2990
2991
  AIPromptToolbarActionsDirective,
2991
2992
  AIPromptToolbarFocusableDirective] });
2992
- AIPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptModule, imports: [[
2993
- CommonModule,
2994
- ButtonsModule,
2995
- IconsModule,
2996
- InputsModule,
2997
- LayoutModule
2998
- ]] });
2999
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptModule, decorators: [{
2993
+ AIPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptModule, imports: [CommonModule,
2994
+ ButtonsModule,
2995
+ IconsModule,
2996
+ InputsModule,
2997
+ LayoutModule] });
2998
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptModule, decorators: [{
3000
2999
  type: NgModule,
3001
3000
  args: [{
3002
3001
  declarations: [...PUBLIC_DIRECTIVES$1, ...PRIVATE_DIRECTIVES$1],
@@ -3025,14 +3024,14 @@ class CustomMessagesComponent extends Messages$1 {
3025
3024
  return true;
3026
3025
  }
3027
3026
  }
3028
- CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
3029
- CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: CustomMessagesComponent, selector: "kendo-chat-messages", providers: [
3027
+ CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
3028
+ CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: CustomMessagesComponent, selector: "kendo-chat-messages", providers: [
3030
3029
  {
3031
3030
  provide: Messages$1,
3032
3031
  useExisting: forwardRef(() => CustomMessagesComponent)
3033
3032
  }
3034
3033
  ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
3035
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CustomMessagesComponent, decorators: [{
3034
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CustomMessagesComponent, decorators: [{
3036
3035
  type: Component,
3037
3036
  args: [{
3038
3037
  providers: [
@@ -3044,7 +3043,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
3044
3043
  selector: 'kendo-chat-messages',
3045
3044
  template: ``
3046
3045
  }]
3047
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
3046
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
3048
3047
 
3049
3048
  /**
3050
3049
  * Represents a Hero Card component ([see example]({% slug dialogflow_chat %})).
@@ -3062,8 +3061,8 @@ class HeroCardComponent {
3062
3061
  this.executeAction.next(action);
3063
3062
  }
3064
3063
  }
3065
- HeroCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HeroCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3066
- HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: HeroCardComponent, selector: "kendo-chat-hero-card", inputs: { imageUrl: "imageUrl", title: "title", subtitle: "subtitle", actions: "actions" }, outputs: { executeAction: "executeAction" }, host: { properties: { "class.k-card": "this.cssClass" } }, ngImport: i0, template: `
3064
+ HeroCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HeroCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3065
+ HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: HeroCardComponent, selector: "kendo-chat-hero-card", inputs: { imageUrl: "imageUrl", title: "title", subtitle: "subtitle", actions: "actions" }, outputs: { executeAction: "executeAction" }, host: { properties: { "class.k-card": "this.cssClass" } }, ngImport: i0, template: `
3067
3066
  <img class="k-card-image" [src]="imageUrl" *ngIf="imageUrl" />
3068
3067
  <div class="k-card-body">
3069
3068
  <h5 class="k-card-title" *ngIf="title">
@@ -3085,8 +3084,8 @@ HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
3085
3084
  </button>
3086
3085
  </span>
3087
3086
  </div>
3088
- `, isInline: true, components: [{ type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
3089
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: HeroCardComponent, decorators: [{
3087
+ `, isInline: true, dependencies: [{ kind: "component", type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
3088
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HeroCardComponent, decorators: [{
3090
3089
  type: Component,
3091
3090
  args: [{
3092
3091
  selector: 'kendo-chat-hero-card',
@@ -3172,8 +3171,8 @@ const PRIVATE_DIRECTIVES = [
3172
3171
  */
3173
3172
  class ChatModule {
3174
3173
  }
3175
- ChatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ChatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3176
- ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ChatModule, declarations: [ChatComponent,
3174
+ ChatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ChatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3175
+ ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: ChatModule, declarations: [ChatComponent,
3177
3176
  CustomMessagesComponent,
3178
3177
  AttachmentTemplateDirective,
3179
3178
  MessageTemplateDirective,
@@ -3195,12 +3194,10 @@ ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13
3195
3194
  MessageTemplateDirective,
3196
3195
  HeroCardComponent,
3197
3196
  ChatMessageBoxTemplateDirective] });
3198
- ChatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ChatModule, imports: [[
3199
- ButtonModule,
3200
- CommonModule,
3201
- ResizeSensorModule
3202
- ]] });
3203
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ChatModule, decorators: [{
3197
+ ChatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ChatModule, imports: [ButtonModule,
3198
+ CommonModule,
3199
+ ResizeSensorModule] });
3200
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ChatModule, decorators: [{
3204
3201
  type: NgModule,
3205
3202
  args: [{
3206
3203
  declarations: [
@@ -3249,10 +3246,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
3249
3246
  */
3250
3247
  class ConversationalUIModule {
3251
3248
  }
3252
- ConversationalUIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ConversationalUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3253
- ConversationalUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ConversationalUIModule, exports: [AIPromptModule, ChatModule] });
3254
- ConversationalUIModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ConversationalUIModule, imports: [AIPromptModule, ChatModule] });
3255
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ConversationalUIModule, decorators: [{
3249
+ ConversationalUIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ConversationalUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3250
+ ConversationalUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: ConversationalUIModule, exports: [AIPromptModule, ChatModule] });
3251
+ ConversationalUIModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ConversationalUIModule, imports: [AIPromptModule, ChatModule] });
3252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ConversationalUIModule, decorators: [{
3256
3253
  type: NgModule,
3257
3254
  args: [{
3258
3255
  exports: [AIPromptModule, ChatModule]