@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.
- package/ai-prompt/aiprompt.component.d.ts +1 -1
- package/ai-prompt/common/output-card.component.d.ts +1 -1
- package/ai-prompt/common/toolbar-focusable.directive.d.ts +1 -1
- package/ai-prompt/localization/custom-messages.component.d.ts +1 -1
- package/ai-prompt/localization/localized-messages.directive.d.ts +1 -1
- package/ai-prompt/localization/messages.d.ts +1 -1
- package/ai-prompt/templates/toolbar-actions.template.d.ts +1 -1
- package/ai-prompt/views/base-view.d.ts +1 -1
- package/ai-prompt/views/command-view.component.d.ts +1 -1
- package/ai-prompt/views/custom-view.component.d.ts +1 -1
- package/ai-prompt/views/output-view.component.d.ts +1 -1
- package/ai-prompt/views/prompt-view.component.d.ts +1 -1
- package/chat/attachment-template.directive.d.ts +1 -1
- package/chat/attachment.component.d.ts +1 -1
- package/chat/cards/hero-card.component.d.ts +1 -1
- package/chat/chat.component.d.ts +1 -1
- package/chat/common/focused-state.directive.d.ts +1 -1
- package/chat/common/scroll-anchor.directive.d.ts +1 -1
- package/chat/l10n/custom-messages.component.d.ts +1 -1
- package/chat/l10n/localized-messages.directive.d.ts +1 -1
- package/chat/l10n/messages.d.ts +1 -1
- package/chat/message-attachments.component.d.ts +1 -1
- package/chat/message-box.component.d.ts +1 -1
- package/chat/message-box.directive.d.ts +1 -1
- package/chat/message-list.component.d.ts +1 -1
- package/chat/message-template.directive.d.ts +1 -1
- package/chat/message.component.d.ts +1 -1
- package/chat/suggested-actions.component.d.ts +1 -1
- package/esm2020/ai-prompt/aiprompt.component.mjs +8 -8
- package/esm2020/ai-prompt/aiprompt.module.mjs +8 -10
- package/esm2020/ai-prompt/common/aiprompt.service.mjs +3 -3
- package/esm2020/ai-prompt/common/output-card.component.mjs +6 -6
- package/esm2020/ai-prompt/common/toolbar-focusable.directive.mjs +3 -3
- package/esm2020/ai-prompt/common/toolbar-navigation.service.mjs +3 -3
- package/esm2020/ai-prompt/localization/custom-messages.component.mjs +3 -3
- package/esm2020/ai-prompt/localization/localized-messages.directive.mjs +3 -3
- package/esm2020/ai-prompt/localization/messages.mjs +3 -3
- package/esm2020/ai-prompt/templates/toolbar-actions.template.mjs +3 -3
- package/esm2020/ai-prompt/views/base-view.mjs +3 -3
- package/esm2020/ai-prompt/views/command-view.component.mjs +4 -4
- package/esm2020/ai-prompt/views/custom-view.component.mjs +3 -3
- package/esm2020/ai-prompt/views/output-view.component.mjs +6 -6
- package/esm2020/ai-prompt/views/prompt-view.component.mjs +6 -7
- package/esm2020/chat/attachment-template.directive.mjs +3 -3
- package/esm2020/chat/attachment.component.mjs +4 -4
- package/esm2020/chat/cards/hero-card.component.mjs +4 -4
- package/esm2020/chat/chat.component.mjs +8 -8
- package/esm2020/chat/chat.module.mjs +6 -8
- package/esm2020/chat/common/focused-state.directive.mjs +3 -3
- package/esm2020/chat/common/scroll-anchor.directive.mjs +3 -3
- package/esm2020/chat/l10n/custom-messages.component.mjs +3 -3
- package/esm2020/chat/l10n/localized-messages.directive.mjs +3 -3
- package/esm2020/chat/l10n/messages.mjs +3 -3
- package/esm2020/chat/message-attachments.component.mjs +6 -6
- package/esm2020/chat/message-box.component.mjs +4 -4
- package/esm2020/chat/message-box.directive.mjs +3 -3
- package/esm2020/chat/message-list.component.mjs +12 -10
- package/esm2020/chat/message-template.directive.mjs +3 -3
- package/esm2020/chat/message.component.mjs +4 -4
- package/esm2020/chat/suggested-actions.component.mjs +4 -4
- package/esm2020/conversational-ui.module.mjs +4 -4
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-conversational-ui.mjs +318 -319
- package/fesm2020/progress-kendo-angular-conversational-ui.mjs +251 -252
- package/package.json +16 -16
- 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, HostBinding, HostListener, EventEmitter, Component, ViewChild, Input, Output,
|
7
|
-
import * as i1
|
6
|
+
import { Directive, Optional, HostBinding, HostListener, EventEmitter, Component, ViewChild, Input, Output, forwardRef, isDevMode, ViewChildren, ElementRef, 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
|
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 { paperPlaneIcon, chevronLeftIcon, chevronRightIcon, sparklesIcon, commentIcon, moreHorizontalIcon, chevronUpIcon, chevronDownIcon, copyIcon, arrowRotateCwIcon, thumbUpOutlineIcon, thumbDownOutlineIcon, thumbUpIcon, thumbDownIcon } from '@progress/kendo-svg-icons';
|
13
13
|
import * as i4 from '@progress/kendo-angular-buttons';
|
14
14
|
import { ButtonsModule, ButtonModule } from '@progress/kendo-angular-buttons';
|
15
15
|
import * as i2 from '@angular/common';
|
16
16
|
import { CommonModule } from '@angular/common';
|
17
|
-
import * as i1 from '@progress/kendo-angular-intl';
|
17
|
+
import * as i1$1 from '@progress/kendo-angular-intl';
|
18
18
|
import { fromEvent, Subscription, Subject } from 'rxjs';
|
19
19
|
import { debounceTime } from 'rxjs/operators';
|
20
20
|
import { IconsModule } from '@progress/kendo-angular-icons';
|
21
|
-
import * as
|
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: "
|
44
|
-
AttachmentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
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]'
|
@@ -102,9 +102,9 @@ class MessageTemplateDirective {
|
|
102
102
|
this.templateRef = templateRef;
|
103
103
|
}
|
104
104
|
}
|
105
|
-
MessageTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
106
|
-
MessageTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
105
|
+
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 });
|
106
|
+
MessageTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MessageTemplateDirective, selector: "[kendoChatMessageTemplate]", ngImport: i0 });
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MessageTemplateDirective, decorators: [{
|
108
108
|
type: Directive,
|
109
109
|
args: [{
|
110
110
|
selector: '[kendoChatMessageTemplate]'
|
@@ -120,8 +120,8 @@ const packageMetadata = {
|
|
120
120
|
name: '@progress/kendo-angular-conversational-ui',
|
121
121
|
productName: 'Kendo UI for Angular',
|
122
122
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
123
|
-
publishDate:
|
124
|
-
version: '16.0.0-develop.
|
123
|
+
publishDate: 1715338828,
|
124
|
+
version: '16.0.0-develop.20',
|
125
125
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
126
126
|
};
|
127
127
|
|
@@ -135,9 +135,9 @@ class ChatMessageBoxTemplateDirective {
|
|
135
135
|
this.templateRef = templateRef;
|
136
136
|
}
|
137
137
|
}
|
138
|
-
ChatMessageBoxTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
139
|
-
ChatMessageBoxTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
138
|
+
ChatMessageBoxTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatMessageBoxTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
139
|
+
ChatMessageBoxTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ChatMessageBoxTemplateDirective, selector: "[kendoChatMessageBoxTemplate]", ngImport: i0 });
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatMessageBoxTemplateDirective, decorators: [{
|
141
141
|
type: Directive,
|
142
142
|
args: [{
|
143
143
|
selector: '[kendoChatMessageBoxTemplate]'
|
@@ -158,9 +158,9 @@ class FocusedStateDirective {
|
|
158
158
|
this.focused = false;
|
159
159
|
}
|
160
160
|
}
|
161
|
-
FocusedStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
162
|
-
FocusedStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
161
|
+
FocusedStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusedStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
162
|
+
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 });
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusedStateDirective, decorators: [{
|
164
164
|
type: Directive,
|
165
165
|
args: [{
|
166
166
|
selector: '[kendoChatFocusedState]'
|
@@ -243,8 +243,8 @@ class MessageBoxComponent {
|
|
243
243
|
return this.localization.get(key);
|
244
244
|
}
|
245
245
|
}
|
246
|
-
MessageBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
247
|
-
MessageBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
246
|
+
MessageBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MessageBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
247
|
+
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: `
|
248
248
|
<ng-container *ngIf="!messageBoxTemplate">
|
249
249
|
<input
|
250
250
|
*ngIf="type === 'textbox'"
|
@@ -284,8 +284,8 @@ MessageBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
284
284
|
</ng-container>
|
285
285
|
|
286
286
|
<ng-template *ngIf="messageBoxTemplate" [ngTemplateOutlet]="messageBoxTemplate?.templateRef"></ng-template>
|
287
|
-
`, isInline: true,
|
288
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
287
|
+
`, 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]" }] });
|
288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MessageBoxComponent, decorators: [{
|
289
289
|
type: Component,
|
290
290
|
args: [{
|
291
291
|
selector: 'kendo-message-box',
|
@@ -354,6 +354,65 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
354
354
|
type: Output
|
355
355
|
}] } });
|
356
356
|
|
357
|
+
/**
|
358
|
+
* @hidden
|
359
|
+
*/
|
360
|
+
let Messages$1 = class Messages extends ComponentMessages {
|
361
|
+
};
|
362
|
+
Messages$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages$1, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
363
|
+
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 });
|
364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages$1, decorators: [{
|
365
|
+
type: Directive,
|
366
|
+
args: [{
|
367
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
368
|
+
selector: 'kendoConversationalUIMessages'
|
369
|
+
}]
|
370
|
+
}], propDecorators: { messagePlaceholder: [{
|
371
|
+
type: Input
|
372
|
+
}], send: [{
|
373
|
+
type: Input
|
374
|
+
}], messageListLabel: [{
|
375
|
+
type: Input
|
376
|
+
}], messageBoxInputLabel: [{
|
377
|
+
type: Input
|
378
|
+
}], messageAttachmentLeftArrow: [{
|
379
|
+
type: Input
|
380
|
+
}], messageAttachmentRightArrow: [{
|
381
|
+
type: Input
|
382
|
+
}], messageAvatarAlt: [{
|
383
|
+
type: Input
|
384
|
+
}] } });
|
385
|
+
|
386
|
+
// eslint-disable no-forward-ref
|
387
|
+
/**
|
388
|
+
* @hidden
|
389
|
+
*/
|
390
|
+
let LocalizedMessagesDirective$1 = class LocalizedMessagesDirective extends Messages$1 {
|
391
|
+
constructor(service) {
|
392
|
+
super();
|
393
|
+
this.service = service;
|
394
|
+
}
|
395
|
+
};
|
396
|
+
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 });
|
397
|
+
LocalizedMessagesDirective$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective$1, selector: "[kendoChatLocalizedMessages]", providers: [
|
398
|
+
{
|
399
|
+
provide: Messages$1,
|
400
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective$1)
|
401
|
+
}
|
402
|
+
], usesInheritance: true, ngImport: i0 });
|
403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective$1, decorators: [{
|
404
|
+
type: Directive,
|
405
|
+
args: [{
|
406
|
+
providers: [
|
407
|
+
{
|
408
|
+
provide: Messages$1,
|
409
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective$1)
|
410
|
+
}
|
411
|
+
],
|
412
|
+
selector: '[kendoChatLocalizedMessages]'
|
413
|
+
}]
|
414
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
415
|
+
|
357
416
|
// eslint-disable max-line-length
|
358
417
|
|
359
418
|
/**
|
@@ -491,6 +550,7 @@ const groupItems = (total) => (acc, msg, index) => {
|
|
491
550
|
const chatView = (messages) => messages.reduce(groupItems(messages.length), []);
|
492
551
|
|
493
552
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
553
|
+
/* eslint-disable @typescript-eslint/no-empty-function */
|
494
554
|
/**
|
495
555
|
* @hidden
|
496
556
|
*/
|
@@ -525,8 +585,8 @@ class SuggestedActionsComponent extends ChatItem {
|
|
525
585
|
this.selectedIndex = Math.max(0, Math.min(prevIndex + offset, this.items.length - 1));
|
526
586
|
}
|
527
587
|
}
|
528
|
-
SuggestedActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
529
|
-
SuggestedActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
588
|
+
SuggestedActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SuggestedActionsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
589
|
+
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: [{
|
530
590
|
provide: ChatItem,
|
531
591
|
useExisting: forwardRef(() => SuggestedActionsComponent)
|
532
592
|
}], viewQueries: [{ propertyName: "items", predicate: ["item"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
@@ -545,8 +605,8 @@ SuggestedActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
545
605
|
>
|
546
606
|
{{ action.title || action.value }}
|
547
607
|
</span>
|
548
|
-
`, isInline: true,
|
549
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
608
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SuggestedActionsComponent, decorators: [{
|
550
610
|
type: Component,
|
551
611
|
args: [{
|
552
612
|
selector: 'kendo-chat-suggested-actions',
|
@@ -607,8 +667,8 @@ class MessageComponent extends ChatItem {
|
|
607
667
|
this.element.nativeElement.focus();
|
608
668
|
}
|
609
669
|
}
|
610
|
-
MessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
611
|
-
MessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
670
|
+
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 });
|
671
|
+
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: [{
|
612
672
|
provide: ChatItem,
|
613
673
|
useExisting: forwardRef(() => MessageComponent)
|
614
674
|
}], usesInheritance: true, ngImport: i0, template: `
|
@@ -649,8 +709,8 @@ MessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
649
709
|
</div>
|
650
710
|
</div>
|
651
711
|
</ng-template>
|
652
|
-
`, isInline: true,
|
653
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
712
|
+
`, 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"] }] });
|
713
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MessageComponent, decorators: [{
|
654
714
|
type: Component,
|
655
715
|
args: [{
|
656
716
|
selector: 'kendo-chat-message',
|
@@ -698,7 +758,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
698
758
|
</ng-template>
|
699
759
|
`
|
700
760
|
}]
|
701
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.IntlService }]; }, propDecorators: { message: [{
|
761
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.IntlService }]; }, propDecorators: { message: [{
|
702
762
|
type: Input
|
703
763
|
}], tabbable: [{
|
704
764
|
type: Input
|
@@ -741,8 +801,8 @@ class AttachmentComponent {
|
|
741
801
|
return this.attachment.contentType || '';
|
742
802
|
}
|
743
803
|
}
|
744
|
-
AttachmentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
745
|
-
AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
804
|
+
AttachmentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AttachmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
805
|
+
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: `
|
746
806
|
<ng-container *ngIf="template">
|
747
807
|
<ng-container *ngTemplateOutlet="template.templateRef; context: context;">
|
748
808
|
</ng-container>
|
@@ -762,8 +822,8 @@ AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
762
822
|
</ng-container>
|
763
823
|
</div>
|
764
824
|
</div>
|
765
|
-
`, isInline: true,
|
766
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
825
|
+
`, 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"] }] });
|
826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AttachmentComponent, decorators: [{
|
767
827
|
type: Component,
|
768
828
|
args: [{
|
769
829
|
selector: 'kendo-chat-attachment',
|
@@ -903,8 +963,8 @@ class MessageAttachmentsComponent extends ChatItem {
|
|
903
963
|
return this.localization.get(key);
|
904
964
|
}
|
905
965
|
}
|
906
|
-
MessageAttachmentsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
907
|
-
MessageAttachmentsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
966
|
+
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 });
|
967
|
+
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: [{
|
908
968
|
provide: ChatItem,
|
909
969
|
useExisting: forwardRef(() => MessageAttachmentsComponent)
|
910
970
|
}], 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: `
|
@@ -948,8 +1008,8 @@ MessageAttachmentsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
948
1008
|
icon="chevron-right"
|
949
1009
|
>
|
950
1010
|
</button>
|
951
|
-
`, isInline: true,
|
952
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1011
|
+
`, 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"] }] });
|
1012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MessageAttachmentsComponent, decorators: [{
|
953
1013
|
type: Component,
|
954
1014
|
args: [{
|
955
1015
|
providers: [{
|
@@ -1000,7 +1060,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
1000
1060
|
</button>
|
1001
1061
|
`
|
1002
1062
|
}]
|
1003
|
-
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1
|
1063
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.LocalizationService }]; }, propDecorators: { attachments: [{
|
1004
1064
|
type: Input
|
1005
1065
|
}], layout: [{
|
1006
1066
|
type: Input
|
@@ -1022,6 +1082,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
1022
1082
|
}] } });
|
1023
1083
|
|
1024
1084
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
1085
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
1025
1086
|
/**
|
1026
1087
|
* @hidden
|
1027
1088
|
*/
|
@@ -1152,8 +1213,8 @@ class MessageListComponent {
|
|
1152
1213
|
return this.localization.get(key);
|
1153
1214
|
}
|
1154
1215
|
}
|
1155
|
-
MessageListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1156
|
-
MessageListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
1216
|
+
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 });
|
1217
|
+
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: `
|
1157
1218
|
<ng-container *ngFor="let group of view; last as lastGroup; trackBy: trackGroup">
|
1158
1219
|
<ng-container [ngSwitch]="group.type">
|
1159
1220
|
<div
|
@@ -1168,6 +1229,7 @@ MessageListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
1168
1229
|
[class.k-alt]="isOwnMessage(group.messages[0])"
|
1169
1230
|
[class.k-no-avatar]="!group.author.avatarUrl"
|
1170
1231
|
>
|
1232
|
+
<p *ngIf="group.author.name" class="k-author">{{ group.author.name }}</p>
|
1171
1233
|
<div
|
1172
1234
|
*ngIf="group.author.avatarUrl"
|
1173
1235
|
class="k-avatar k-avatar-md k-avatar-solid k-avatar-solid-primary k-rounded-full"
|
@@ -1236,8 +1298,8 @@ MessageListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
1236
1298
|
</ng-container>
|
1237
1299
|
<kendo-resize-sensor (resize)="onResize()">
|
1238
1300
|
</kendo-resize-sensor>
|
1239
|
-
`, isInline: true,
|
1240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1301
|
+
`, 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"] }] });
|
1302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MessageListComponent, decorators: [{
|
1241
1303
|
type: Component,
|
1242
1304
|
args: [{
|
1243
1305
|
selector: 'kendo-chat-message-list',
|
@@ -1256,6 +1318,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
1256
1318
|
[class.k-alt]="isOwnMessage(group.messages[0])"
|
1257
1319
|
[class.k-no-avatar]="!group.author.avatarUrl"
|
1258
1320
|
>
|
1321
|
+
<p *ngIf="group.author.name" class="k-author">{{ group.author.name }}</p>
|
1259
1322
|
<div
|
1260
1323
|
*ngIf="group.author.avatarUrl"
|
1261
1324
|
class="k-avatar k-avatar-md k-avatar-solid k-avatar-solid-primary k-rounded-full"
|
@@ -1326,7 +1389,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
1326
1389
|
</kendo-resize-sensor>
|
1327
1390
|
`
|
1328
1391
|
}]
|
1329
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.IntlService }, { type: i0.Renderer2 }]; }, propDecorators: { messages: [{
|
1392
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.IntlService }, { type: i0.Renderer2 }]; }, propDecorators: { messages: [{
|
1330
1393
|
type: Input
|
1331
1394
|
}], attachmentTemplate: [{
|
1332
1395
|
type: Input
|
@@ -1350,65 +1413,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
1350
1413
|
args: ['class.k-message-list-content']
|
1351
1414
|
}] } });
|
1352
1415
|
|
1353
|
-
/**
|
1354
|
-
* @hidden
|
1355
|
-
*/
|
1356
|
-
class Messages$1 extends ComponentMessages {
|
1357
|
-
}
|
1358
|
-
Messages$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages$1, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
1359
|
-
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 });
|
1360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages$1, decorators: [{
|
1361
|
-
type: Directive,
|
1362
|
-
args: [{
|
1363
|
-
// eslint-disable-next-line @angular-eslint/directive-selector
|
1364
|
-
selector: 'kendoConversationalUIMessages'
|
1365
|
-
}]
|
1366
|
-
}], propDecorators: { messagePlaceholder: [{
|
1367
|
-
type: Input
|
1368
|
-
}], send: [{
|
1369
|
-
type: Input
|
1370
|
-
}], messageListLabel: [{
|
1371
|
-
type: Input
|
1372
|
-
}], messageBoxInputLabel: [{
|
1373
|
-
type: Input
|
1374
|
-
}], messageAttachmentLeftArrow: [{
|
1375
|
-
type: Input
|
1376
|
-
}], messageAttachmentRightArrow: [{
|
1377
|
-
type: Input
|
1378
|
-
}], messageAvatarAlt: [{
|
1379
|
-
type: Input
|
1380
|
-
}] } });
|
1381
|
-
|
1382
|
-
// eslint-disable no-forward-ref
|
1383
|
-
/**
|
1384
|
-
* @hidden
|
1385
|
-
*/
|
1386
|
-
class LocalizedMessagesDirective$1 extends Messages$1 {
|
1387
|
-
constructor(service) {
|
1388
|
-
super();
|
1389
|
-
this.service = service;
|
1390
|
-
}
|
1391
|
-
}
|
1392
|
-
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 });
|
1393
|
-
LocalizedMessagesDirective$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LocalizedMessagesDirective$1, selector: "[kendoChatLocalizedMessages]", providers: [
|
1394
|
-
{
|
1395
|
-
provide: Messages$1,
|
1396
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective$1)
|
1397
|
-
}
|
1398
|
-
], usesInheritance: true, ngImport: i0 });
|
1399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedMessagesDirective$1, decorators: [{
|
1400
|
-
type: Directive,
|
1401
|
-
args: [{
|
1402
|
-
providers: [
|
1403
|
-
{
|
1404
|
-
provide: Messages$1,
|
1405
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective$1)
|
1406
|
-
}
|
1407
|
-
],
|
1408
|
-
selector: '[kendoChatLocalizedMessages]'
|
1409
|
-
}]
|
1410
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
1411
|
-
|
1412
1416
|
// Consider scroll to be at the bottom when within this number of pixels from the container height.
|
1413
1417
|
const maxDelta = 2;
|
1414
1418
|
/**
|
@@ -1462,9 +1466,9 @@ class ScrollAnchorDirective {
|
|
1462
1466
|
this.zone.runOutsideAngular(() => setTimeout(() => this.scrolling = false, 1000));
|
1463
1467
|
}
|
1464
1468
|
}
|
1465
|
-
ScrollAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1466
|
-
ScrollAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
1467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1469
|
+
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 });
|
1470
|
+
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 });
|
1471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollAnchorDirective, decorators: [{
|
1468
1472
|
type: Directive,
|
1469
1473
|
args: [{
|
1470
1474
|
selector: '[kendoChatScrollAnchor]',
|
@@ -1574,8 +1578,8 @@ class ChatComponent {
|
|
1574
1578
|
return this.localization.get(key);
|
1575
1579
|
}
|
1576
1580
|
}
|
1577
|
-
ChatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1578
|
-
ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
1581
|
+
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 });
|
1582
|
+
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: [
|
1579
1583
|
LocalizationService,
|
1580
1584
|
{
|
1581
1585
|
provide: L10N_PREFIX,
|
@@ -1638,8 +1642,8 @@ ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
1638
1642
|
(sendMessage)="sendMessage.emit($event)"
|
1639
1643
|
>
|
1640
1644
|
</kendo-message-box>
|
1641
|
-
`, isInline: true,
|
1642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1645
|
+
`, 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"] }] });
|
1646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatComponent, decorators: [{
|
1643
1647
|
type: Component,
|
1644
1648
|
args: [{
|
1645
1649
|
providers: [
|
@@ -1709,7 +1713,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
1709
1713
|
</kendo-message-box>
|
1710
1714
|
`
|
1711
1715
|
}]
|
1712
|
-
}], ctorParameters: function () { return [{ type: i1
|
1716
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { messages: [{
|
1713
1717
|
type: Input
|
1714
1718
|
}], user: [{
|
1715
1719
|
type: Input
|
@@ -1822,14 +1826,14 @@ class BaseView {
|
|
1822
1826
|
return this.localization.get(text);
|
1823
1827
|
}
|
1824
1828
|
}
|
1825
|
-
BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1826
|
-
BaseView.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
1827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1829
|
+
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 });
|
1830
|
+
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 });
|
1831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseView, decorators: [{
|
1828
1832
|
type: Directive
|
1829
1833
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1830
1834
|
type: Inject,
|
1831
1835
|
args: [MY_TOKEN]
|
1832
|
-
}] }, { type: i1
|
1836
|
+
}] }, { type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
|
1833
1837
|
type: HostBinding,
|
1834
1838
|
args: ['class.k-prompt-view']
|
1835
1839
|
}], template: [{
|
@@ -1869,9 +1873,9 @@ class AIPromptService {
|
|
1869
1873
|
return newArr.concat(this.promptCommands);
|
1870
1874
|
}
|
1871
1875
|
}
|
1872
|
-
AIPromptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1873
|
-
AIPromptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
1874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1876
|
+
AIPromptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1877
|
+
AIPromptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptService });
|
1878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptService, decorators: [{
|
1875
1879
|
type: Injectable
|
1876
1880
|
}] });
|
1877
1881
|
|
@@ -1912,7 +1916,6 @@ class PromptViewComponent extends BaseView {
|
|
1912
1916
|
set textAreaValue(value) {
|
1913
1917
|
this.service.promptValue = value;
|
1914
1918
|
}
|
1915
|
-
;
|
1916
1919
|
get textAreaValue() {
|
1917
1920
|
return this.service.promptValue;
|
1918
1921
|
}
|
@@ -1923,8 +1926,8 @@ class PromptViewComponent extends BaseView {
|
|
1923
1926
|
this.textAreaValue = this.service.promptValue = suggestion;
|
1924
1927
|
}
|
1925
1928
|
}
|
1926
|
-
PromptViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1927
|
-
PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
1929
|
+
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 });
|
1930
|
+
PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PromptViewComponent, selector: "kendo-aiprompt-prompt-view", providers: [
|
1928
1931
|
{
|
1929
1932
|
provide: BaseView,
|
1930
1933
|
useExisting: forwardRef(() => PromptViewComponent)
|
@@ -1961,8 +1964,8 @@ PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
1961
1964
|
</div>
|
1962
1965
|
</div>
|
1963
1966
|
</ng-template>
|
1964
|
-
`, isInline: true,
|
1965
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1967
|
+
`, 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"] }] });
|
1968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptViewComponent, decorators: [{
|
1966
1969
|
type: Component,
|
1967
1970
|
args: [{
|
1968
1971
|
selector: 'kendo-aiprompt-prompt-view',
|
@@ -2006,7 +2009,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
2006
2009
|
</ng-template>
|
2007
2010
|
`
|
2008
2011
|
}]
|
2009
|
-
}], ctorParameters: function () { return [{ type: i1
|
2012
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; } });
|
2010
2013
|
|
2011
2014
|
/**
|
2012
2015
|
* @hidden
|
@@ -2091,8 +2094,8 @@ class AIPromptOutputCardComponent {
|
|
2091
2094
|
}
|
2092
2095
|
}
|
2093
2096
|
}
|
2094
|
-
AIPromptOutputCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2095
|
-
AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
2097
|
+
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 });
|
2098
|
+
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: `
|
2096
2099
|
<div class="k-card-header">
|
2097
2100
|
<div
|
2098
2101
|
class="k-card-title"
|
@@ -2135,8 +2138,8 @@ AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
2135
2138
|
</button>
|
2136
2139
|
</ng-container>
|
2137
2140
|
</div>
|
2138
|
-
`, isInline: true,
|
2139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2141
|
+
`, 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"] }] });
|
2142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptOutputCardComponent, decorators: [{
|
2140
2143
|
type: Component,
|
2141
2144
|
args: [{
|
2142
2145
|
selector: '[kendoAIPromptOutputCard]',
|
@@ -2185,7 +2188,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
2185
2188
|
</div>
|
2186
2189
|
`
|
2187
2190
|
}]
|
2188
|
-
}], ctorParameters: function () { return [{ type: i1
|
2191
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; }, propDecorators: { hostClass: [{
|
2189
2192
|
type: HostBinding,
|
2190
2193
|
args: ['class.k-card']
|
2191
2194
|
}], listItemRole: [{
|
@@ -2219,8 +2222,8 @@ class OutputViewComponent extends BaseView {
|
|
2219
2222
|
return this.service.promptOutputs;
|
2220
2223
|
}
|
2221
2224
|
}
|
2222
|
-
OutputViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2223
|
-
OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
2225
|
+
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 });
|
2226
|
+
OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: OutputViewComponent, selector: "kendo-aiprompt-output-view", providers: [{
|
2224
2227
|
provide: BaseView,
|
2225
2228
|
useExisting: forwardRef(() => OutputViewComponent)
|
2226
2229
|
}], usesInheritance: true, ngImport: i0, template: `
|
@@ -2234,8 +2237,8 @@ OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
2234
2237
|
</div>
|
2235
2238
|
</div>
|
2236
2239
|
</ng-template>
|
2237
|
-
`, isInline: true,
|
2238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2240
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: ["promptOutput"] }] });
|
2241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OutputViewComponent, decorators: [{
|
2239
2242
|
type: Component,
|
2240
2243
|
args: [{
|
2241
2244
|
selector: 'kendo-aiprompt-output-view',
|
@@ -2256,7 +2259,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
2256
2259
|
</ng-template>
|
2257
2260
|
`
|
2258
2261
|
}]
|
2259
|
-
}], ctorParameters: function () { return [{ type: i1
|
2262
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; } });
|
2260
2263
|
|
2261
2264
|
/**
|
2262
2265
|
* Represents a template that allows you to define additional ToolBar actions.
|
@@ -2269,9 +2272,9 @@ class AIPromptToolbarActionsDirective {
|
|
2269
2272
|
this.templateRef = templateRef;
|
2270
2273
|
}
|
2271
2274
|
}
|
2272
|
-
AIPromptToolbarActionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2273
|
-
AIPromptToolbarActionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
2274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2275
|
+
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 });
|
2276
|
+
AIPromptToolbarActionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptToolbarActionsDirective, selector: "[kendoAIPromptToolbarActionsTemplate]", ngImport: i0 });
|
2277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptToolbarActionsDirective, decorators: [{
|
2275
2278
|
type: Directive,
|
2276
2279
|
args: [{
|
2277
2280
|
selector: '[kendoAIPromptToolbarActionsTemplate]'
|
@@ -2322,69 +2325,11 @@ class ToolbarNavigationService {
|
|
2322
2325
|
this.focusableElements[this.currentFocusedIndex].activate();
|
2323
2326
|
}
|
2324
2327
|
}
|
2325
|
-
ToolbarNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2326
|
-
ToolbarNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
2327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2328
|
+
ToolbarNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarNavigationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
2329
|
+
ToolbarNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarNavigationService });
|
2330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarNavigationService, decorators: [{
|
2328
2331
|
type: Injectable
|
2329
|
-
}], ctorParameters: function () { return [{ type: i1
|
2330
|
-
|
2331
|
-
/**
|
2332
|
-
* @hidden
|
2333
|
-
*/
|
2334
|
-
class Messages extends ComponentMessages {
|
2335
|
-
}
|
2336
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
2337
|
-
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 });
|
2338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages, decorators: [{
|
2339
|
-
type: Directive
|
2340
|
-
}], propDecorators: { promptView: [{
|
2341
|
-
type: Input
|
2342
|
-
}], outputView: [{
|
2343
|
-
type: Input
|
2344
|
-
}], generateOutput: [{
|
2345
|
-
type: Input
|
2346
|
-
}], promptPlaceholder: [{
|
2347
|
-
type: Input
|
2348
|
-
}], copyOutput: [{
|
2349
|
-
type: Input
|
2350
|
-
}], retryGeneration: [{
|
2351
|
-
type: Input
|
2352
|
-
}], outputTitle: [{
|
2353
|
-
type: Input
|
2354
|
-
}], outputRetryTitle: [{
|
2355
|
-
type: Input
|
2356
|
-
}], promptSuggestions: [{
|
2357
|
-
type: Input
|
2358
|
-
}] } });
|
2359
|
-
|
2360
|
-
/**
|
2361
|
-
* @hidden
|
2362
|
-
*/
|
2363
|
-
class LocalizedMessagesDirective extends Messages {
|
2364
|
-
constructor(service) {
|
2365
|
-
super();
|
2366
|
-
this.service = service;
|
2367
|
-
}
|
2368
|
-
}
|
2369
|
-
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 });
|
2370
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LocalizedMessagesDirective, selector: "[kendoAIPromptLocalizedMessages]", providers: [
|
2371
|
-
{
|
2372
|
-
provide: Messages,
|
2373
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
2374
|
-
}
|
2375
|
-
], usesInheritance: true, ngImport: i0 });
|
2376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
2377
|
-
type: Directive,
|
2378
|
-
args: [{
|
2379
|
-
providers: [
|
2380
|
-
{
|
2381
|
-
provide: Messages,
|
2382
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
2383
|
-
}
|
2384
|
-
],
|
2385
|
-
selector: '[kendoAIPromptLocalizedMessages]'
|
2386
|
-
}]
|
2387
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
2332
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
2388
2333
|
|
2389
2334
|
/**
|
2390
2335
|
* @hidden
|
@@ -2436,15 +2381,73 @@ class AIPromptToolbarFocusableDirective {
|
|
2436
2381
|
this.element.focus();
|
2437
2382
|
}
|
2438
2383
|
}
|
2439
|
-
AIPromptToolbarFocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2440
|
-
AIPromptToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
2441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2384
|
+
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 });
|
2385
|
+
AIPromptToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptToolbarFocusableDirective, selector: "[kendoAIPromptToolbarFocusable]", ngImport: i0 });
|
2386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptToolbarFocusableDirective, decorators: [{
|
2442
2387
|
type: Directive,
|
2443
2388
|
args: [{
|
2444
2389
|
selector: '[kendoAIPromptToolbarFocusable]'
|
2445
2390
|
}]
|
2446
2391
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ToolbarNavigationService }, { type: i0.Renderer2 }]; } });
|
2447
2392
|
|
2393
|
+
/**
|
2394
|
+
* @hidden
|
2395
|
+
*/
|
2396
|
+
class Messages extends ComponentMessages {
|
2397
|
+
}
|
2398
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
2399
|
+
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 });
|
2400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
|
2401
|
+
type: Directive
|
2402
|
+
}], propDecorators: { promptView: [{
|
2403
|
+
type: Input
|
2404
|
+
}], outputView: [{
|
2405
|
+
type: Input
|
2406
|
+
}], generateOutput: [{
|
2407
|
+
type: Input
|
2408
|
+
}], promptPlaceholder: [{
|
2409
|
+
type: Input
|
2410
|
+
}], copyOutput: [{
|
2411
|
+
type: Input
|
2412
|
+
}], retryGeneration: [{
|
2413
|
+
type: Input
|
2414
|
+
}], outputTitle: [{
|
2415
|
+
type: Input
|
2416
|
+
}], outputRetryTitle: [{
|
2417
|
+
type: Input
|
2418
|
+
}], promptSuggestions: [{
|
2419
|
+
type: Input
|
2420
|
+
}] } });
|
2421
|
+
|
2422
|
+
/**
|
2423
|
+
* @hidden
|
2424
|
+
*/
|
2425
|
+
class LocalizedMessagesDirective extends Messages {
|
2426
|
+
constructor(service) {
|
2427
|
+
super();
|
2428
|
+
this.service = service;
|
2429
|
+
}
|
2430
|
+
}
|
2431
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
2432
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoAIPromptLocalizedMessages]", providers: [
|
2433
|
+
{
|
2434
|
+
provide: Messages,
|
2435
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
2436
|
+
}
|
2437
|
+
], usesInheritance: true, ngImport: i0 });
|
2438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
2439
|
+
type: Directive,
|
2440
|
+
args: [{
|
2441
|
+
providers: [
|
2442
|
+
{
|
2443
|
+
provide: Messages,
|
2444
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
2445
|
+
}
|
2446
|
+
],
|
2447
|
+
selector: '[kendoAIPromptLocalizedMessages]'
|
2448
|
+
}]
|
2449
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
2450
|
+
|
2448
2451
|
/**
|
2449
2452
|
* Represents the Kendo UI AIPrompt component for Angular.
|
2450
2453
|
*/
|
@@ -2599,8 +2602,8 @@ class AIPromptComponent {
|
|
2599
2602
|
this.promptRequest.emit(eventArgs);
|
2600
2603
|
}
|
2601
2604
|
}
|
2602
|
-
AIPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2603
|
-
AIPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
2605
|
+
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 });
|
2606
|
+
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: [
|
2604
2607
|
LocalizationService,
|
2605
2608
|
AIPromptService,
|
2606
2609
|
ToolbarNavigationService,
|
@@ -2669,8 +2672,8 @@ AIPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
2669
2672
|
(click)="handleGenerateOutput()">{{messageFor('generateOutput')}}</button>
|
2670
2673
|
</div>
|
2671
2674
|
</div>
|
2672
|
-
`, isInline: true,
|
2673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2675
|
+
`, 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]" }] });
|
2676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptComponent, decorators: [{
|
2674
2677
|
type: Component,
|
2675
2678
|
args: [{
|
2676
2679
|
exportAs: 'kendoAIPrompt',
|
@@ -2747,7 +2750,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
2747
2750
|
</div>
|
2748
2751
|
`
|
2749
2752
|
}]
|
2750
|
-
}], ctorParameters: function () { return [{ type: i1
|
2753
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }, { type: ToolbarNavigationService }, { type: i0.NgZone }]; }, propDecorators: { hostClasses: [{
|
2751
2754
|
type: HostBinding,
|
2752
2755
|
args: ['class.k-prompt']
|
2753
2756
|
}], dirAttr: [{
|
@@ -2825,8 +2828,8 @@ class CommandViewComponent extends BaseView {
|
|
2825
2828
|
}));
|
2826
2829
|
}
|
2827
2830
|
}
|
2828
|
-
CommandViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2829
|
-
CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
2831
|
+
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 });
|
2832
|
+
CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CommandViewComponent, selector: "kendo-aiprompt-command-view", providers: [{
|
2830
2833
|
provide: BaseView,
|
2831
2834
|
useExisting: forwardRef(() => CommandViewComponent)
|
2832
2835
|
}], usesInheritance: true, ngImport: i0, template: `
|
@@ -2838,8 +2841,8 @@ CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
2838
2841
|
(itemClick)="itemClickHandler($event)"
|
2839
2842
|
></kendo-panelbar>
|
2840
2843
|
</ng-template>
|
2841
|
-
`, isInline: true,
|
2842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2844
|
+
`, 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"] }] });
|
2845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommandViewComponent, decorators: [{
|
2843
2846
|
type: Component,
|
2844
2847
|
args: [{
|
2845
2848
|
selector: 'kendo-aiprompt-command-view',
|
@@ -2858,7 +2861,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
2858
2861
|
</ng-template>
|
2859
2862
|
`
|
2860
2863
|
}]
|
2861
|
-
}], ctorParameters: function () { return [{ type: i1
|
2864
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; } });
|
2862
2865
|
|
2863
2866
|
/**
|
2864
2867
|
* Custom component messages override the default component messages.
|
@@ -2873,14 +2876,14 @@ class AIPromptCustomMessagesComponent extends Messages {
|
|
2873
2876
|
return true;
|
2874
2877
|
}
|
2875
2878
|
}
|
2876
|
-
AIPromptCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2877
|
-
AIPromptCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
2879
|
+
AIPromptCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
2880
|
+
AIPromptCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptCustomMessagesComponent, selector: "kendo-aiprompt-messages", providers: [
|
2878
2881
|
{
|
2879
2882
|
provide: Messages,
|
2880
2883
|
useExisting: forwardRef(() => AIPromptCustomMessagesComponent)
|
2881
2884
|
}
|
2882
2885
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
2883
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptCustomMessagesComponent, decorators: [{
|
2884
2887
|
type: Component,
|
2885
2888
|
args: [{
|
2886
2889
|
providers: [
|
@@ -2892,7 +2895,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
2892
2895
|
selector: 'kendo-aiprompt-messages',
|
2893
2896
|
template: ``
|
2894
2897
|
}]
|
2895
|
-
}], ctorParameters: function () { return [{ type: i1
|
2898
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
2896
2899
|
|
2897
2900
|
/**
|
2898
2901
|
* The component for rendering an AIPrompt Custom View.
|
@@ -2902,12 +2905,12 @@ class CustomViewComponent extends BaseView {
|
|
2902
2905
|
super('custom', localization);
|
2903
2906
|
}
|
2904
2907
|
}
|
2905
|
-
CustomViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2906
|
-
CustomViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
2908
|
+
CustomViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomViewComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
2909
|
+
CustomViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomViewComponent, selector: "kendo-aiprompt-custom-view", inputs: { viewTemplate: "viewTemplate" }, providers: [{
|
2907
2910
|
provide: BaseView,
|
2908
2911
|
useExisting: forwardRef(() => CustomViewComponent)
|
2909
2912
|
}], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
2910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomViewComponent, decorators: [{
|
2911
2914
|
type: Component,
|
2912
2915
|
args: [{
|
2913
2916
|
selector: 'kendo-aiprompt-custom-view',
|
@@ -2917,7 +2920,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
2917
2920
|
}],
|
2918
2921
|
template: ``
|
2919
2922
|
}]
|
2920
|
-
}], ctorParameters: function () { return [{ type: i1
|
2923
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { viewTemplate: [{
|
2921
2924
|
type: Input
|
2922
2925
|
}] } });
|
2923
2926
|
|
@@ -2958,8 +2961,8 @@ const PRIVATE_DIRECTIVES$1 = [
|
|
2958
2961
|
*/
|
2959
2962
|
class AIPromptModule {
|
2960
2963
|
}
|
2961
|
-
AIPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2962
|
-
AIPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
2964
|
+
AIPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2965
|
+
AIPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AIPromptModule, declarations: [AIPromptComponent,
|
2963
2966
|
PromptViewComponent,
|
2964
2967
|
OutputViewComponent,
|
2965
2968
|
CommandViewComponent,
|
@@ -2979,14 +2982,12 @@ AIPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
2979
2982
|
AIPromptCustomMessagesComponent,
|
2980
2983
|
AIPromptToolbarActionsDirective,
|
2981
2984
|
AIPromptToolbarFocusableDirective] });
|
2982
|
-
AIPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
2983
|
-
|
2984
|
-
|
2985
|
-
|
2986
|
-
|
2987
|
-
|
2988
|
-
]] });
|
2989
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AIPromptModule, decorators: [{
|
2985
|
+
AIPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptModule, imports: [CommonModule,
|
2986
|
+
ButtonsModule,
|
2987
|
+
IconsModule,
|
2988
|
+
InputsModule,
|
2989
|
+
LayoutModule] });
|
2990
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptModule, decorators: [{
|
2990
2991
|
type: NgModule,
|
2991
2992
|
args: [{
|
2992
2993
|
declarations: [...PUBLIC_DIRECTIVES$1, ...PRIVATE_DIRECTIVES$1],
|
@@ -3015,14 +3016,14 @@ class CustomMessagesComponent extends Messages$1 {
|
|
3015
3016
|
return true;
|
3016
3017
|
}
|
3017
3018
|
}
|
3018
|
-
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
3019
|
-
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
3019
|
+
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
3020
|
+
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, selector: "kendo-chat-messages", providers: [
|
3020
3021
|
{
|
3021
3022
|
provide: Messages$1,
|
3022
3023
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
3023
3024
|
}
|
3024
3025
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
3025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
3026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
3026
3027
|
type: Component,
|
3027
3028
|
args: [{
|
3028
3029
|
providers: [
|
@@ -3034,7 +3035,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
3034
3035
|
selector: 'kendo-chat-messages',
|
3035
3036
|
template: ``
|
3036
3037
|
}]
|
3037
|
-
}], ctorParameters: function () { return [{ type: i1
|
3038
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
3038
3039
|
|
3039
3040
|
/**
|
3040
3041
|
* Represents a Hero Card component ([see example]({% slug dialogflow_chat %})).
|
@@ -3052,8 +3053,8 @@ class HeroCardComponent {
|
|
3052
3053
|
this.executeAction.next(action);
|
3053
3054
|
}
|
3054
3055
|
}
|
3055
|
-
HeroCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
3056
|
-
HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
3056
|
+
HeroCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeroCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
3057
|
+
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: `
|
3057
3058
|
<img class="k-card-image" [src]="imageUrl" *ngIf="imageUrl" />
|
3058
3059
|
<div class="k-card-body">
|
3059
3060
|
<h5 class="k-card-title" *ngIf="title">
|
@@ -3075,8 +3076,8 @@ HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
3075
3076
|
</button>
|
3076
3077
|
</span>
|
3077
3078
|
</div>
|
3078
|
-
`, isInline: true,
|
3079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
3079
|
+
`, 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"] }] });
|
3080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeroCardComponent, decorators: [{
|
3080
3081
|
type: Component,
|
3081
3082
|
args: [{
|
3082
3083
|
selector: 'kendo-chat-hero-card',
|
@@ -3162,8 +3163,8 @@ const PRIVATE_DIRECTIVES = [
|
|
3162
3163
|
*/
|
3163
3164
|
class ChatModule {
|
3164
3165
|
}
|
3165
|
-
ChatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
3166
|
-
ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
3166
|
+
ChatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
3167
|
+
ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ChatModule, declarations: [ChatComponent,
|
3167
3168
|
CustomMessagesComponent,
|
3168
3169
|
AttachmentTemplateDirective,
|
3169
3170
|
MessageTemplateDirective,
|
@@ -3185,12 +3186,10 @@ ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13
|
|
3185
3186
|
MessageTemplateDirective,
|
3186
3187
|
HeroCardComponent,
|
3187
3188
|
ChatMessageBoxTemplateDirective] });
|
3188
|
-
ChatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
3189
|
-
|
3190
|
-
|
3191
|
-
|
3192
|
-
]] });
|
3193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ChatModule, decorators: [{
|
3189
|
+
ChatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatModule, imports: [ButtonModule,
|
3190
|
+
CommonModule,
|
3191
|
+
ResizeSensorModule] });
|
3192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatModule, decorators: [{
|
3194
3193
|
type: NgModule,
|
3195
3194
|
args: [{
|
3196
3195
|
declarations: [
|
@@ -3239,10 +3238,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
3239
3238
|
*/
|
3240
3239
|
class ConversationalUIModule {
|
3241
3240
|
}
|
3242
|
-
ConversationalUIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
3243
|
-
ConversationalUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
3244
|
-
ConversationalUIModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
3245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
3241
|
+
ConversationalUIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConversationalUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
3242
|
+
ConversationalUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ConversationalUIModule, exports: [AIPromptModule, ChatModule] });
|
3243
|
+
ConversationalUIModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConversationalUIModule, imports: [AIPromptModule, ChatModule] });
|
3244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConversationalUIModule, decorators: [{
|
3246
3245
|
type: NgModule,
|
3247
3246
|
args: [{
|
3248
3247
|
exports: [AIPromptModule, ChatModule]
|