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

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 +12 -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 +318 -319
  64. package/fesm2020/progress-kendo-angular-conversational-ui.mjs +251 -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.2.10", 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.2.10", type: AttachmentTemplateDirective, selector: "[kendoChatAttachmentTemplate]", ngImport: i0 });
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", 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.2.10", 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.2.10", type: MessageTemplateDirective, selector: "[kendoChatMessageTemplate]", ngImport: i0 });
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", 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: 1715338828,
128
+ version: '16.0.0-develop.20',
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.2.10", ngImport: i0, type: ChatMessageBoxTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
143
+ ChatMessageBoxTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ChatMessageBoxTemplateDirective, selector: "[kendoChatMessageBoxTemplate]", ngImport: i0 });
144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", 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.2.10", ngImport: i0, type: Messages$1, deps: null, target: i0.ɵɵFactoryTarget.Directive });
157
+ Messages$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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.2.10", 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.2.10", 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.2.10", 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.2.10", 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.2.10", ngImport: i0, type: SuggestedActionsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
381
+ SuggestedActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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.2.10", 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.2.10", 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.2.10", 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.2.10", 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.2.10", ngImport: i0, type: AttachmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
597
+ AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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.2.10", 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.2.10", 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.2.10", 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.2.10", 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.2.10", 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.2.10", 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
@@ -961,6 +1022,7 @@ MessageListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
961
1022
  [class.k-alt]="isOwnMessage(group.messages[0])"
962
1023
  [class.k-no-avatar]="!group.author.avatarUrl"
963
1024
  >
1025
+ <p *ngIf="group.author.name" class="k-author">{{ group.author.name }}</p>
964
1026
  <div
965
1027
  *ngIf="group.author.avatarUrl"
966
1028
  class="k-avatar k-avatar-md k-avatar-solid k-avatar-solid-primary k-rounded-full"
@@ -1029,8 +1091,8 @@ MessageListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
1029
1091
  </ng-container>
1030
1092
  <kendo-resize-sensor (resize)="onResize()">
1031
1093
  </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: [{
1094
+ `, 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"] }] });
1095
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MessageListComponent, decorators: [{
1034
1096
  type: Component,
1035
1097
  args: [{
1036
1098
  selector: 'kendo-chat-message-list',
@@ -1049,6 +1111,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1049
1111
  [class.k-alt]="isOwnMessage(group.messages[0])"
1050
1112
  [class.k-no-avatar]="!group.author.avatarUrl"
1051
1113
  >
1114
+ <p *ngIf="group.author.name" class="k-author">{{ group.author.name }}</p>
1052
1115
  <div
1053
1116
  *ngIf="group.author.avatarUrl"
1054
1117
  class="k-avatar k-avatar-md k-avatar-solid k-avatar-solid-primary k-rounded-full"
@@ -1119,7 +1182,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1119
1182
  </kendo-resize-sensor>
1120
1183
  `
1121
1184
  }]
1122
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.IntlService }, { type: i0.Renderer2 }]; }, propDecorators: { messages: [{
1185
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.IntlService }, { type: i0.Renderer2 }]; }, propDecorators: { messages: [{
1123
1186
  type: Input
1124
1187
  }], attachmentTemplate: [{
1125
1188
  type: Input
@@ -1143,6 +1206,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1143
1206
  args: ['class.k-message-list-content']
1144
1207
  }] } });
1145
1208
 
1209
+ // Consider scroll to be at the bottom when within this number of pixels from the container height.
1210
+ const maxDelta = 2;
1211
+ /**
1212
+ * @hidden
1213
+ */
1214
+ class ScrollAnchorDirective {
1215
+ constructor(element, zone, renderer) {
1216
+ this.element = element;
1217
+ this.zone = zone;
1218
+ this.renderer = renderer;
1219
+ this.autoScroll = true;
1220
+ this.autoScrollChange = new EventEmitter();
1221
+ this.overflowAnchor = 'none';
1222
+ this.scrolling = false;
1223
+ }
1224
+ ngOnInit() {
1225
+ this.zone.runOutsideAngular(() => {
1226
+ this.unsubscribe = this.renderer.listen(this.element.nativeElement, 'scroll', () => this.onScroll());
1227
+ });
1228
+ }
1229
+ ngAfterViewInit() {
1230
+ this.scrollToBottom();
1231
+ }
1232
+ ngOnDestroy() {
1233
+ if (this.unsubscribe) {
1234
+ this.unsubscribe();
1235
+ }
1236
+ }
1237
+ onScroll() {
1238
+ if (this.scrolling) {
1239
+ return;
1240
+ }
1241
+ const el = this.element.nativeElement;
1242
+ const bottom = el.scrollTop + el.offsetHeight;
1243
+ const height = el.scrollHeight;
1244
+ const atBottom = height - bottom < maxDelta;
1245
+ if (this.autoScroll !== atBottom) {
1246
+ this.zone.run(() => {
1247
+ this.autoScroll = atBottom;
1248
+ this.autoScrollChange.emit(this.autoScroll);
1249
+ });
1250
+ }
1251
+ }
1252
+ scrollToBottom() {
1253
+ if (!this.autoScroll) {
1254
+ return;
1255
+ }
1256
+ const el = this.element.nativeElement;
1257
+ el.scrollTop = el.scrollHeight - el.clientHeight;
1258
+ this.scrolling = true;
1259
+ this.zone.runOutsideAngular(() => setTimeout(() => this.scrolling = false, 1000));
1260
+ }
1261
+ }
1262
+ ScrollAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollAnchorDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
1263
+ ScrollAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ScrollAnchorDirective, selector: "[kendoChatScrollAnchor]", inputs: { autoScroll: "autoScroll" }, outputs: { autoScrollChange: "autoScrollChange" }, host: { properties: { "style.overflow-anchor": "this.overflowAnchor" } }, exportAs: ["scrollAnchor"], ngImport: i0 });
1264
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollAnchorDirective, decorators: [{
1265
+ type: Directive,
1266
+ args: [{
1267
+ selector: '[kendoChatScrollAnchor]',
1268
+ exportAs: 'scrollAnchor'
1269
+ }]
1270
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { autoScroll: [{
1271
+ type: Input
1272
+ }], autoScrollChange: [{
1273
+ type: Output
1274
+ }], overflowAnchor: [{
1275
+ type: HostBinding,
1276
+ args: ['style.overflow-anchor']
1277
+ }] } });
1278
+
1146
1279
  /**
1147
1280
  * @hidden
1148
1281
  */
@@ -1157,9 +1290,9 @@ class FocusedStateDirective {
1157
1290
  this.focused = false;
1158
1291
  }
1159
1292
  }
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: [{
1293
+ FocusedStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusedStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1294
+ FocusedStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FocusedStateDirective, selector: "[kendoChatFocusedState]", host: { listeners: { "focusin": "onFocus()", "focusout": "onBlur()" }, properties: { "class.k-focus": "this.focused" } }, ngImport: i0 });
1295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusedStateDirective, decorators: [{
1163
1296
  type: Directive,
1164
1297
  args: [{
1165
1298
  selector: '[kendoChatFocusedState]'
@@ -1242,8 +1375,8 @@ class MessageBoxComponent {
1242
1375
  return this.localization.get(key);
1243
1376
  }
1244
1377
  }
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: `
1378
+ MessageBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MessageBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1379
+ MessageBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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
1380
  <ng-container *ngIf="!messageBoxTemplate">
1248
1381
  <input
1249
1382
  *ngIf="type === 'textbox'"
@@ -1283,8 +1416,8 @@ MessageBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
1283
1416
  </ng-container>
1284
1417
 
1285
1418
  <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: [{
1419
+ `, 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]" }] });
1420
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MessageBoxComponent, decorators: [{
1288
1421
  type: Component,
1289
1422
  args: [{
1290
1423
  selector: 'kendo-message-box',
@@ -1353,135 +1486,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1353
1486
  type: Output
1354
1487
  }] } });
1355
1488
 
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
1489
  /**
1486
1490
  * Represents the Kendo UI Chat component for Angular.
1487
1491
  *
@@ -1577,8 +1581,8 @@ class ChatComponent {
1577
1581
  return this.localization.get(key);
1578
1582
  }
1579
1583
  }
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: [
1584
+ ChatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1585
+ ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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
1586
  LocalizationService,
1583
1587
  {
1584
1588
  provide: L10N_PREFIX,
@@ -1641,8 +1645,8 @@ ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
1641
1645
  (sendMessage)="sendMessage.emit($event)"
1642
1646
  >
1643
1647
  </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: [{
1648
+ `, 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"] }] });
1649
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatComponent, decorators: [{
1646
1650
  type: Component,
1647
1651
  args: [{
1648
1652
  providers: [
@@ -1712,7 +1716,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1712
1716
  </kendo-message-box>
1713
1717
  `
1714
1718
  }]
1715
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { messages: [{
1719
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { messages: [{
1716
1720
  type: Input
1717
1721
  }], user: [{
1718
1722
  type: Input
@@ -1825,15 +1829,15 @@ class BaseView {
1825
1829
  return this.localization.get(text);
1826
1830
  }
1827
1831
  }
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: [{
1832
+ BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseView, deps: [{ token: MY_TOKEN }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
1833
+ BaseView.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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 });
1834
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseView, decorators: [{
1831
1835
  type: Directive
1832
1836
  }], ctorParameters: function () {
1833
1837
  return [{ type: undefined, decorators: [{
1834
1838
  type: Inject,
1835
1839
  args: [MY_TOKEN]
1836
- }] }, { type: i1$1.LocalizationService }];
1840
+ }] }, { type: i1.LocalizationService }];
1837
1841
  }, propDecorators: { hostClasses: [{
1838
1842
  type: HostBinding,
1839
1843
  args: ['class.k-prompt-view']
@@ -1874,9 +1878,9 @@ class AIPromptService {
1874
1878
  return newArr.concat(this.promptCommands);
1875
1879
  }
1876
1880
  }
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: [{
1881
+ AIPromptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1882
+ AIPromptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptService });
1883
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptService, decorators: [{
1880
1884
  type: Injectable
1881
1885
  }] });
1882
1886
 
@@ -1917,7 +1921,6 @@ class PromptViewComponent extends BaseView {
1917
1921
  set textAreaValue(value) {
1918
1922
  this.service.promptValue = value;
1919
1923
  }
1920
- ;
1921
1924
  get textAreaValue() {
1922
1925
  return this.service.promptValue;
1923
1926
  }
@@ -1928,8 +1931,8 @@ class PromptViewComponent extends BaseView {
1928
1931
  this.textAreaValue = this.service.promptValue = suggestion;
1929
1932
  }
1930
1933
  }
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: [
1934
+ PromptViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
1935
+ PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PromptViewComponent, selector: "kendo-aiprompt-prompt-view", providers: [
1933
1936
  {
1934
1937
  provide: BaseView,
1935
1938
  useExisting: forwardRef(() => PromptViewComponent)
@@ -1966,8 +1969,8 @@ PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
1966
1969
  </div>
1967
1970
  </div>
1968
1971
  </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: [{
1972
+ `, 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"] }] });
1973
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptViewComponent, decorators: [{
1971
1974
  type: Component,
1972
1975
  args: [{
1973
1976
  selector: 'kendo-aiprompt-prompt-view',
@@ -2011,7 +2014,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2011
2014
  </ng-template>
2012
2015
  `
2013
2016
  }]
2014
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: AIPromptService }]; } });
2017
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; } });
2015
2018
 
2016
2019
  /**
2017
2020
  * @hidden
@@ -2097,8 +2100,8 @@ class AIPromptOutputCardComponent {
2097
2100
  }
2098
2101
  }
2099
2102
  }
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: `
2103
+ AIPromptOutputCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptOutputCardComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
2104
+ AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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
2105
  <div class="k-card-header">
2103
2106
  <div
2104
2107
  class="k-card-title"
@@ -2141,8 +2144,8 @@ AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
2141
2144
  </button>
2142
2145
  </ng-container>
2143
2146
  </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: [{
2147
+ `, 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"] }] });
2148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptOutputCardComponent, decorators: [{
2146
2149
  type: Component,
2147
2150
  args: [{
2148
2151
  selector: '[kendoAIPromptOutputCard]',
@@ -2191,7 +2194,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2191
2194
  </div>
2192
2195
  `
2193
2196
  }]
2194
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: AIPromptService }]; }, propDecorators: { hostClass: [{
2197
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; }, propDecorators: { hostClass: [{
2195
2198
  type: HostBinding,
2196
2199
  args: ['class.k-card']
2197
2200
  }], listItemRole: [{
@@ -2225,8 +2228,8 @@ class OutputViewComponent extends BaseView {
2225
2228
  return this.service.promptOutputs;
2226
2229
  }
2227
2230
  }
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: [{
2231
+ OutputViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OutputViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
2232
+ OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: OutputViewComponent, selector: "kendo-aiprompt-output-view", providers: [{
2230
2233
  provide: BaseView,
2231
2234
  useExisting: forwardRef(() => OutputViewComponent)
2232
2235
  }], usesInheritance: true, ngImport: i0, template: `
@@ -2240,8 +2243,8 @@ OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
2240
2243
  </div>
2241
2244
  </div>
2242
2245
  </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: [{
2246
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: ["promptOutput"] }] });
2247
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OutputViewComponent, decorators: [{
2245
2248
  type: Component,
2246
2249
  args: [{
2247
2250
  selector: 'kendo-aiprompt-output-view',
@@ -2262,7 +2265,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2262
2265
  </ng-template>
2263
2266
  `
2264
2267
  }]
2265
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: AIPromptService }]; } });
2268
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; } });
2266
2269
 
2267
2270
  /**
2268
2271
  * Represents a template that allows you to define additional ToolBar actions.
@@ -2275,9 +2278,9 @@ class AIPromptToolbarActionsDirective {
2275
2278
  this.templateRef = templateRef;
2276
2279
  }
2277
2280
  }
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: [{
2281
+ AIPromptToolbarActionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptToolbarActionsDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2282
+ AIPromptToolbarActionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptToolbarActionsDirective, selector: "[kendoAIPromptToolbarActionsTemplate]", ngImport: i0 });
2283
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptToolbarActionsDirective, decorators: [{
2281
2284
  type: Directive,
2282
2285
  args: [{
2283
2286
  selector: '[kendoAIPromptToolbarActionsTemplate]'
@@ -2330,69 +2333,11 @@ class ToolbarNavigationService {
2330
2333
  this.focusableElements[this.currentFocusedIndex].activate();
2331
2334
  }
2332
2335
  }
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: [{
2336
+ ToolbarNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarNavigationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
2337
+ ToolbarNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarNavigationService });
2338
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarNavigationService, decorators: [{
2336
2339
  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 }]; } });
2340
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
2396
2341
 
2397
2342
  /**
2398
2343
  * @hidden
@@ -2444,15 +2389,73 @@ class AIPromptToolbarFocusableDirective {
2444
2389
  this.element.focus();
2445
2390
  }
2446
2391
  }
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: [{
2392
+ AIPromptToolbarFocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: ToolbarNavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2393
+ AIPromptToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptToolbarFocusableDirective, selector: "[kendoAIPromptToolbarFocusable]", ngImport: i0 });
2394
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptToolbarFocusableDirective, decorators: [{
2450
2395
  type: Directive,
2451
2396
  args: [{
2452
2397
  selector: '[kendoAIPromptToolbarFocusable]'
2453
2398
  }]
2454
2399
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ToolbarNavigationService }, { type: i0.Renderer2 }]; } });
2455
2400
 
2401
+ /**
2402
+ * @hidden
2403
+ */
2404
+ class Messages extends ComponentMessages {
2405
+ }
2406
+ Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
2407
+ Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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 });
2408
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
2409
+ type: Directive
2410
+ }], propDecorators: { promptView: [{
2411
+ type: Input
2412
+ }], outputView: [{
2413
+ type: Input
2414
+ }], generateOutput: [{
2415
+ type: Input
2416
+ }], promptPlaceholder: [{
2417
+ type: Input
2418
+ }], copyOutput: [{
2419
+ type: Input
2420
+ }], retryGeneration: [{
2421
+ type: Input
2422
+ }], outputTitle: [{
2423
+ type: Input
2424
+ }], outputRetryTitle: [{
2425
+ type: Input
2426
+ }], promptSuggestions: [{
2427
+ type: Input
2428
+ }] } });
2429
+
2430
+ /**
2431
+ * @hidden
2432
+ */
2433
+ class LocalizedMessagesDirective extends Messages {
2434
+ constructor(service) {
2435
+ super();
2436
+ this.service = service;
2437
+ }
2438
+ }
2439
+ LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
2440
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoAIPromptLocalizedMessages]", providers: [
2441
+ {
2442
+ provide: Messages,
2443
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
2444
+ }
2445
+ ], usesInheritance: true, ngImport: i0 });
2446
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
2447
+ type: Directive,
2448
+ args: [{
2449
+ providers: [
2450
+ {
2451
+ provide: Messages,
2452
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
2453
+ }
2454
+ ],
2455
+ selector: '[kendoAIPromptLocalizedMessages]'
2456
+ }]
2457
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
2458
+
2456
2459
  /**
2457
2460
  * Represents the Kendo UI AIPrompt component for Angular.
2458
2461
  */
@@ -2609,8 +2612,8 @@ class AIPromptComponent {
2609
2612
  this.promptRequest.emit(eventArgs);
2610
2613
  }
2611
2614
  }
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: [
2615
+ AIPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }, { token: ToolbarNavigationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2616
+ AIPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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
2617
  LocalizationService,
2615
2618
  AIPromptService,
2616
2619
  ToolbarNavigationService,
@@ -2679,8 +2682,8 @@ AIPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
2679
2682
  (click)="handleGenerateOutput()">{{messageFor('generateOutput')}}</button>
2680
2683
  </div>
2681
2684
  </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: [{
2685
+ `, 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]" }] });
2686
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptComponent, decorators: [{
2684
2687
  type: Component,
2685
2688
  args: [{
2686
2689
  exportAs: 'kendoAIPrompt',
@@ -2757,7 +2760,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2757
2760
  </div>
2758
2761
  `
2759
2762
  }]
2760
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: AIPromptService }, { type: ToolbarNavigationService }, { type: i0.NgZone }]; }, propDecorators: { hostClasses: [{
2763
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }, { type: ToolbarNavigationService }, { type: i0.NgZone }]; }, propDecorators: { hostClasses: [{
2761
2764
  type: HostBinding,
2762
2765
  args: ['class.k-prompt']
2763
2766
  }], dirAttr: [{
@@ -2835,8 +2838,8 @@ class CommandViewComponent extends BaseView {
2835
2838
  }));
2836
2839
  }
2837
2840
  }
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: [{
2841
+ CommandViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommandViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
2842
+ CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CommandViewComponent, selector: "kendo-aiprompt-command-view", providers: [{
2840
2843
  provide: BaseView,
2841
2844
  useExisting: forwardRef(() => CommandViewComponent)
2842
2845
  }], usesInheritance: true, ngImport: i0, template: `
@@ -2848,8 +2851,8 @@ CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
2848
2851
  (itemClick)="itemClickHandler($event)"
2849
2852
  ></kendo-panelbar>
2850
2853
  </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: [{
2854
+ `, 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"] }] });
2855
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommandViewComponent, decorators: [{
2853
2856
  type: Component,
2854
2857
  args: [{
2855
2858
  selector: 'kendo-aiprompt-command-view',
@@ -2868,7 +2871,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2868
2871
  </ng-template>
2869
2872
  `
2870
2873
  }]
2871
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }, { type: AIPromptService }]; } });
2874
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; } });
2872
2875
 
2873
2876
  /**
2874
2877
  * Custom component messages override the default component messages.
@@ -2883,14 +2886,14 @@ class AIPromptCustomMessagesComponent extends Messages {
2883
2886
  return true;
2884
2887
  }
2885
2888
  }
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: [
2889
+ AIPromptCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
2890
+ AIPromptCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptCustomMessagesComponent, selector: "kendo-aiprompt-messages", providers: [
2888
2891
  {
2889
2892
  provide: Messages,
2890
2893
  useExisting: forwardRef(() => AIPromptCustomMessagesComponent)
2891
2894
  }
2892
2895
  ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
2893
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptCustomMessagesComponent, decorators: [{
2896
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptCustomMessagesComponent, decorators: [{
2894
2897
  type: Component,
2895
2898
  args: [{
2896
2899
  providers: [
@@ -2902,7 +2905,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2902
2905
  selector: 'kendo-aiprompt-messages',
2903
2906
  template: ``
2904
2907
  }]
2905
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
2908
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
2906
2909
 
2907
2910
  /**
2908
2911
  * The component for rendering an AIPrompt Custom View.
@@ -2912,12 +2915,12 @@ class CustomViewComponent extends BaseView {
2912
2915
  super('custom', localization);
2913
2916
  }
2914
2917
  }
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: [{
2918
+ CustomViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomViewComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
2919
+ CustomViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomViewComponent, selector: "kendo-aiprompt-custom-view", inputs: { viewTemplate: "viewTemplate" }, providers: [{
2917
2920
  provide: BaseView,
2918
2921
  useExisting: forwardRef(() => CustomViewComponent)
2919
2922
  }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
2920
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CustomViewComponent, decorators: [{
2923
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomViewComponent, decorators: [{
2921
2924
  type: Component,
2922
2925
  args: [{
2923
2926
  selector: 'kendo-aiprompt-custom-view',
@@ -2927,7 +2930,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
2927
2930
  }],
2928
2931
  template: ``
2929
2932
  }]
2930
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; }, propDecorators: { viewTemplate: [{
2933
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { viewTemplate: [{
2931
2934
  type: Input
2932
2935
  }] } });
2933
2936
 
@@ -2968,8 +2971,8 @@ const PRIVATE_DIRECTIVES$1 = [
2968
2971
  */
2969
2972
  class AIPromptModule {
2970
2973
  }
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,
2974
+ AIPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2975
+ AIPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AIPromptModule, declarations: [AIPromptComponent,
2973
2976
  PromptViewComponent,
2974
2977
  OutputViewComponent,
2975
2978
  CommandViewComponent,
@@ -2989,14 +2992,12 @@ AIPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
2989
2992
  AIPromptCustomMessagesComponent,
2990
2993
  AIPromptToolbarActionsDirective,
2991
2994
  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: [{
2995
+ AIPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptModule, imports: [CommonModule,
2996
+ ButtonsModule,
2997
+ IconsModule,
2998
+ InputsModule,
2999
+ LayoutModule] });
3000
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptModule, decorators: [{
3000
3001
  type: NgModule,
3001
3002
  args: [{
3002
3003
  declarations: [...PUBLIC_DIRECTIVES$1, ...PRIVATE_DIRECTIVES$1],
@@ -3025,14 +3026,14 @@ class CustomMessagesComponent extends Messages$1 {
3025
3026
  return true;
3026
3027
  }
3027
3028
  }
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: [
3029
+ CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
3030
+ CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, selector: "kendo-chat-messages", providers: [
3030
3031
  {
3031
3032
  provide: Messages$1,
3032
3033
  useExisting: forwardRef(() => CustomMessagesComponent)
3033
3034
  }
3034
3035
  ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
3035
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CustomMessagesComponent, decorators: [{
3036
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, decorators: [{
3036
3037
  type: Component,
3037
3038
  args: [{
3038
3039
  providers: [
@@ -3044,7 +3045,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
3044
3045
  selector: 'kendo-chat-messages',
3045
3046
  template: ``
3046
3047
  }]
3047
- }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
3048
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
3048
3049
 
3049
3050
  /**
3050
3051
  * Represents a Hero Card component ([see example]({% slug dialogflow_chat %})).
@@ -3062,8 +3063,8 @@ class HeroCardComponent {
3062
3063
  this.executeAction.next(action);
3063
3064
  }
3064
3065
  }
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: `
3066
+ HeroCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeroCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3067
+ HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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
3068
  <img class="k-card-image" [src]="imageUrl" *ngIf="imageUrl" />
3068
3069
  <div class="k-card-body">
3069
3070
  <h5 class="k-card-title" *ngIf="title">
@@ -3085,8 +3086,8 @@ HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
3085
3086
  </button>
3086
3087
  </span>
3087
3088
  </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: [{
3089
+ `, 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"] }] });
3090
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeroCardComponent, decorators: [{
3090
3091
  type: Component,
3091
3092
  args: [{
3092
3093
  selector: 'kendo-chat-hero-card',
@@ -3172,8 +3173,8 @@ const PRIVATE_DIRECTIVES = [
3172
3173
  */
3173
3174
  class ChatModule {
3174
3175
  }
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,
3176
+ ChatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3177
+ ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ChatModule, declarations: [ChatComponent,
3177
3178
  CustomMessagesComponent,
3178
3179
  AttachmentTemplateDirective,
3179
3180
  MessageTemplateDirective,
@@ -3195,12 +3196,10 @@ ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13
3195
3196
  MessageTemplateDirective,
3196
3197
  HeroCardComponent,
3197
3198
  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: [{
3199
+ ChatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatModule, imports: [ButtonModule,
3200
+ CommonModule,
3201
+ ResizeSensorModule] });
3202
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatModule, decorators: [{
3204
3203
  type: NgModule,
3205
3204
  args: [{
3206
3205
  declarations: [
@@ -3249,10 +3248,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
3249
3248
  */
3250
3249
  class ConversationalUIModule {
3251
3250
  }
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: [{
3251
+ ConversationalUIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConversationalUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3252
+ ConversationalUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ConversationalUIModule, exports: [AIPromptModule, ChatModule] });
3253
+ ConversationalUIModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConversationalUIModule, imports: [AIPromptModule, ChatModule] });
3254
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConversationalUIModule, decorators: [{
3256
3255
  type: NgModule,
3257
3256
  args: [{
3258
3257
  exports: [AIPromptModule, ChatModule]