@progress/kendo-angular-conversational-ui 16.0.0-develop.2 → 16.0.0-develop.5
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 +10 -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 +316 -319
- package/fesm2020/progress-kendo-angular-conversational-ui.mjs +249 -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.0.4", ngImport: i0, type: AttachmentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
44
|
+
AttachmentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: AttachmentTemplateDirective, selector: "[kendoChatAttachmentTemplate]", ngImport: i0 });
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AttachmentTemplateDirective, decorators: [{
|
46
46
|
type: Directive,
|
47
47
|
args: [{
|
48
48
|
selector: '[kendoChatAttachmentTemplate]'
|
@@ -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.0.4", 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.0.4", type: MessageTemplateDirective, selector: "[kendoChatMessageTemplate]", ngImport: i0 });
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", 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: 1714130094,
|
124
|
+
version: '16.0.0-develop.5',
|
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.0.4", ngImport: i0, type: ChatMessageBoxTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
139
|
+
ChatMessageBoxTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: ChatMessageBoxTemplateDirective, selector: "[kendoChatMessageBoxTemplate]", ngImport: i0 });
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", 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.0.4", ngImport: i0, type: FocusedStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
162
|
+
FocusedStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: FocusedStateDirective, selector: "[kendoChatFocusedState]", host: { listeners: { "focusin": "onFocus()", "focusout": "onBlur()" }, properties: { "class.k-focus": "this.focused" } }, ngImport: i0 });
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", 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.0.4", ngImport: i0, type: MessageBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
247
|
+
MessageBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: MessageBoxComponent, selector: "kendo-message-box", inputs: { user: "user", autoScroll: "autoScroll", type: "type", localization: "localization", messageBoxTemplate: "messageBoxTemplate" }, outputs: { sendMessage: "sendMessage" }, host: { properties: { "class": "this.hostClasses", "class.!k-align-items-end": "this.messageBoxValue" } }, viewQueries: [{ propertyName: "messageBoxInput", first: true, predicate: ["messageBoxInput"], descendants: true }], ngImport: i0, template: `
|
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.0.4", 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.0.4", ngImport: i0, type: Messages$1, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
363
|
+
Messages$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: Messages$1, selector: "kendoConversationalUIMessages", inputs: { messagePlaceholder: "messagePlaceholder", send: "send", messageListLabel: "messageListLabel", messageBoxInputLabel: "messageBoxInputLabel", messageAttachmentLeftArrow: "messageAttachmentLeftArrow", messageAttachmentRightArrow: "messageAttachmentRightArrow", messageAvatarAlt: "messageAvatarAlt" }, usesInheritance: true, ngImport: i0 });
|
364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", 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.0.4", 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.0.4", 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.0.4", 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.0.4", ngImport: i0, type: SuggestedActionsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
589
|
+
SuggestedActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: SuggestedActionsComponent, selector: "kendo-chat-suggested-actions", inputs: { actions: "actions", tabbable: "tabbable" }, outputs: { dispatch: "dispatch" }, host: { properties: { "class.k-quick-replies": "this.defaultClass" } }, providers: [{
|
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.0.4", 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.0.4", 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.0.4", type: MessageComponent, selector: "kendo-chat-message", inputs: { message: "message", tabbable: "tabbable", template: "template" }, host: { properties: { "class.k-message": "this.cssClass", "class.k-selected": "this.selected", "class.k-focus": "this.selected", "attr.tabIndex": "this.tabIndex" } }, providers: [{
|
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.0.4", 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.0.4", ngImport: i0, type: AttachmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
805
|
+
AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: { attachment: "attachment", template: "template" }, ngImport: i0, template: `
|
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.0.4", 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.0.4", 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.0.4", type: MessageAttachmentsComponent, selector: "kendo-chat-message-attachments", inputs: { attachments: "attachments", layout: "layout", tabbable: "tabbable", template: "template", localization: "localization" }, host: { properties: { "class.k-card-deck-scrollwrap": "this.carousel" } }, providers: [{
|
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.0.4", 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.0.4", 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.0.4", type: MessageListComponent, selector: "kendo-chat-message-list", inputs: { messages: "messages", attachmentTemplate: "attachmentTemplate", messageTemplate: "messageTemplate", localization: "localization", user: "user" }, outputs: { executeAction: "executeAction", navigate: "navigate", resize: "resize" }, host: { properties: { "class.k-message-list-content": "this.cssClass" } }, viewQueries: [{ propertyName: "items", predicate: ChatItem, descendants: true }], ngImport: i0, template: `
|
1157
1218
|
<ng-container *ngFor="let group of view; last as lastGroup; trackBy: trackGroup">
|
1158
1219
|
<ng-container [ngSwitch]="group.type">
|
1159
1220
|
<div
|
@@ -1236,8 +1297,8 @@ MessageListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
1236
1297
|
</ng-container>
|
1237
1298
|
<kendo-resize-sensor (resize)="onResize()">
|
1238
1299
|
</kendo-resize-sensor>
|
1239
|
-
`, isInline: true,
|
1240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1300
|
+
`, 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"] }] });
|
1301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessageListComponent, decorators: [{
|
1241
1302
|
type: Component,
|
1242
1303
|
args: [{
|
1243
1304
|
selector: 'kendo-chat-message-list',
|
@@ -1326,7 +1387,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
1326
1387
|
</kendo-resize-sensor>
|
1327
1388
|
`
|
1328
1389
|
}]
|
1329
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.IntlService }, { type: i0.Renderer2 }]; }, propDecorators: { messages: [{
|
1390
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.IntlService }, { type: i0.Renderer2 }]; }, propDecorators: { messages: [{
|
1330
1391
|
type: Input
|
1331
1392
|
}], attachmentTemplate: [{
|
1332
1393
|
type: Input
|
@@ -1350,65 +1411,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
1350
1411
|
args: ['class.k-message-list-content']
|
1351
1412
|
}] } });
|
1352
1413
|
|
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
1414
|
// Consider scroll to be at the bottom when within this number of pixels from the container height.
|
1413
1415
|
const maxDelta = 2;
|
1414
1416
|
/**
|
@@ -1462,9 +1464,9 @@ class ScrollAnchorDirective {
|
|
1462
1464
|
this.zone.runOutsideAngular(() => setTimeout(() => this.scrolling = false, 1000));
|
1463
1465
|
}
|
1464
1466
|
}
|
1465
|
-
ScrollAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1466
|
-
ScrollAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
1467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1467
|
+
ScrollAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ScrollAnchorDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
1468
|
+
ScrollAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: ScrollAnchorDirective, selector: "[kendoChatScrollAnchor]", inputs: { autoScroll: "autoScroll" }, outputs: { autoScrollChange: "autoScrollChange" }, host: { properties: { "style.overflow-anchor": "this.overflowAnchor" } }, exportAs: ["scrollAnchor"], ngImport: i0 });
|
1469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ScrollAnchorDirective, decorators: [{
|
1468
1470
|
type: Directive,
|
1469
1471
|
args: [{
|
1470
1472
|
selector: '[kendoChatScrollAnchor]',
|
@@ -1574,8 +1576,8 @@ class ChatComponent {
|
|
1574
1576
|
return this.localization.get(key);
|
1575
1577
|
}
|
1576
1578
|
}
|
1577
|
-
ChatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1578
|
-
ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
1579
|
+
ChatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ChatComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
1580
|
+
ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: ChatComponent, selector: "kendo-chat", inputs: { messages: "messages", user: "user", messageBoxType: "messageBoxType" }, outputs: { sendMessage: "sendMessage", executeAction: "executeAction" }, host: { properties: { "class": "this.className", "attr.dir": "this.dirAttr" } }, providers: [
|
1579
1581
|
LocalizationService,
|
1580
1582
|
{
|
1581
1583
|
provide: L10N_PREFIX,
|
@@ -1638,8 +1640,8 @@ ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
1638
1640
|
(sendMessage)="sendMessage.emit($event)"
|
1639
1641
|
>
|
1640
1642
|
</kendo-message-box>
|
1641
|
-
`, isInline: true,
|
1642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1643
|
+
`, 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"] }] });
|
1644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ChatComponent, decorators: [{
|
1643
1645
|
type: Component,
|
1644
1646
|
args: [{
|
1645
1647
|
providers: [
|
@@ -1709,7 +1711,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
1709
1711
|
</kendo-message-box>
|
1710
1712
|
`
|
1711
1713
|
}]
|
1712
|
-
}], ctorParameters: function () { return [{ type: i1
|
1714
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { messages: [{
|
1713
1715
|
type: Input
|
1714
1716
|
}], user: [{
|
1715
1717
|
type: Input
|
@@ -1822,14 +1824,14 @@ class BaseView {
|
|
1822
1824
|
return this.localization.get(text);
|
1823
1825
|
}
|
1824
1826
|
}
|
1825
|
-
BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1826
|
-
BaseView.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
1827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1827
|
+
BaseView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BaseView, deps: [{ token: MY_TOKEN }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
1828
|
+
BaseView.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: BaseView, inputs: { buttonText: "buttonText", icon: "icon", svgIcon: "svgIcon" }, host: { properties: { "class.k-prompt-view": "this.hostClasses" } }, viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true, static: true }], ngImport: i0 });
|
1829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BaseView, decorators: [{
|
1828
1830
|
type: Directive
|
1829
1831
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1830
1832
|
type: Inject,
|
1831
1833
|
args: [MY_TOKEN]
|
1832
|
-
}] }, { type: i1
|
1834
|
+
}] }, { type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
|
1833
1835
|
type: HostBinding,
|
1834
1836
|
args: ['class.k-prompt-view']
|
1835
1837
|
}], template: [{
|
@@ -1869,9 +1871,9 @@ class AIPromptService {
|
|
1869
1871
|
return newArr.concat(this.promptCommands);
|
1870
1872
|
}
|
1871
1873
|
}
|
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: "
|
1874
|
+
AIPromptService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1875
|
+
AIPromptService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptService });
|
1876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptService, decorators: [{
|
1875
1877
|
type: Injectable
|
1876
1878
|
}] });
|
1877
1879
|
|
@@ -1912,7 +1914,6 @@ class PromptViewComponent extends BaseView {
|
|
1912
1914
|
set textAreaValue(value) {
|
1913
1915
|
this.service.promptValue = value;
|
1914
1916
|
}
|
1915
|
-
;
|
1916
1917
|
get textAreaValue() {
|
1917
1918
|
return this.service.promptValue;
|
1918
1919
|
}
|
@@ -1923,8 +1924,8 @@ class PromptViewComponent extends BaseView {
|
|
1923
1924
|
this.textAreaValue = this.service.promptValue = suggestion;
|
1924
1925
|
}
|
1925
1926
|
}
|
1926
|
-
PromptViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1927
|
-
PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
1927
|
+
PromptViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PromptViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
1928
|
+
PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: PromptViewComponent, selector: "kendo-aiprompt-prompt-view", providers: [
|
1928
1929
|
{
|
1929
1930
|
provide: BaseView,
|
1930
1931
|
useExisting: forwardRef(() => PromptViewComponent)
|
@@ -1961,8 +1962,8 @@ PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
1961
1962
|
</div>
|
1962
1963
|
</div>
|
1963
1964
|
</ng-template>
|
1964
|
-
`, isInline: true,
|
1965
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1965
|
+
`, 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"] }] });
|
1966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PromptViewComponent, decorators: [{
|
1966
1967
|
type: Component,
|
1967
1968
|
args: [{
|
1968
1969
|
selector: 'kendo-aiprompt-prompt-view',
|
@@ -2006,7 +2007,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
2006
2007
|
</ng-template>
|
2007
2008
|
`
|
2008
2009
|
}]
|
2009
|
-
}], ctorParameters: function () { return [{ type: i1
|
2010
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; } });
|
2010
2011
|
|
2011
2012
|
/**
|
2012
2013
|
* @hidden
|
@@ -2091,8 +2092,8 @@ class AIPromptOutputCardComponent {
|
|
2091
2092
|
}
|
2092
2093
|
}
|
2093
2094
|
}
|
2094
|
-
AIPromptOutputCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2095
|
-
AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
2095
|
+
AIPromptOutputCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptOutputCardComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
2096
|
+
AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: { promptOutput: "promptOutput" }, host: { properties: { "class.k-card": "this.hostClass", "attr.role": "this.listItemRole", "attr.tabindex": "this.tabIndex", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-keyshortcuts": "this.ariaKeyShortcuts" } }, ngImport: i0, template: `
|
2096
2097
|
<div class="k-card-header">
|
2097
2098
|
<div
|
2098
2099
|
class="k-card-title"
|
@@ -2135,8 +2136,8 @@ AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
2135
2136
|
</button>
|
2136
2137
|
</ng-container>
|
2137
2138
|
</div>
|
2138
|
-
`, isInline: true,
|
2139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2139
|
+
`, 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"] }] });
|
2140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptOutputCardComponent, decorators: [{
|
2140
2141
|
type: Component,
|
2141
2142
|
args: [{
|
2142
2143
|
selector: '[kendoAIPromptOutputCard]',
|
@@ -2185,7 +2186,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
2185
2186
|
</div>
|
2186
2187
|
`
|
2187
2188
|
}]
|
2188
|
-
}], ctorParameters: function () { return [{ type: i1
|
2189
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; }, propDecorators: { hostClass: [{
|
2189
2190
|
type: HostBinding,
|
2190
2191
|
args: ['class.k-card']
|
2191
2192
|
}], listItemRole: [{
|
@@ -2219,8 +2220,8 @@ class OutputViewComponent extends BaseView {
|
|
2219
2220
|
return this.service.promptOutputs;
|
2220
2221
|
}
|
2221
2222
|
}
|
2222
|
-
OutputViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2223
|
-
OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
2223
|
+
OutputViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: OutputViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
2224
|
+
OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: OutputViewComponent, selector: "kendo-aiprompt-output-view", providers: [{
|
2224
2225
|
provide: BaseView,
|
2225
2226
|
useExisting: forwardRef(() => OutputViewComponent)
|
2226
2227
|
}], usesInheritance: true, ngImport: i0, template: `
|
@@ -2234,8 +2235,8 @@ OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
2234
2235
|
</div>
|
2235
2236
|
</div>
|
2236
2237
|
</ng-template>
|
2237
|
-
`, isInline: true,
|
2238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2238
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: ["promptOutput"] }] });
|
2239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: OutputViewComponent, decorators: [{
|
2239
2240
|
type: Component,
|
2240
2241
|
args: [{
|
2241
2242
|
selector: 'kendo-aiprompt-output-view',
|
@@ -2256,7 +2257,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
2256
2257
|
</ng-template>
|
2257
2258
|
`
|
2258
2259
|
}]
|
2259
|
-
}], ctorParameters: function () { return [{ type: i1
|
2260
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; } });
|
2260
2261
|
|
2261
2262
|
/**
|
2262
2263
|
* Represents a template that allows you to define additional ToolBar actions.
|
@@ -2269,9 +2270,9 @@ class AIPromptToolbarActionsDirective {
|
|
2269
2270
|
this.templateRef = templateRef;
|
2270
2271
|
}
|
2271
2272
|
}
|
2272
|
-
AIPromptToolbarActionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2273
|
-
AIPromptToolbarActionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
2274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2273
|
+
AIPromptToolbarActionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptToolbarActionsDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
2274
|
+
AIPromptToolbarActionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: AIPromptToolbarActionsDirective, selector: "[kendoAIPromptToolbarActionsTemplate]", ngImport: i0 });
|
2275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptToolbarActionsDirective, decorators: [{
|
2275
2276
|
type: Directive,
|
2276
2277
|
args: [{
|
2277
2278
|
selector: '[kendoAIPromptToolbarActionsTemplate]'
|
@@ -2322,69 +2323,11 @@ class ToolbarNavigationService {
|
|
2322
2323
|
this.focusableElements[this.currentFocusedIndex].activate();
|
2323
2324
|
}
|
2324
2325
|
}
|
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: "
|
2326
|
+
ToolbarNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ToolbarNavigationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
2327
|
+
ToolbarNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ToolbarNavigationService });
|
2328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ToolbarNavigationService, decorators: [{
|
2328
2329
|
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 }]; } });
|
2330
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
2388
2331
|
|
2389
2332
|
/**
|
2390
2333
|
* @hidden
|
@@ -2436,15 +2379,73 @@ class AIPromptToolbarFocusableDirective {
|
|
2436
2379
|
this.element.focus();
|
2437
2380
|
}
|
2438
2381
|
}
|
2439
|
-
AIPromptToolbarFocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2440
|
-
AIPromptToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
2441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2382
|
+
AIPromptToolbarFocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: ToolbarNavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
2383
|
+
AIPromptToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: AIPromptToolbarFocusableDirective, selector: "[kendoAIPromptToolbarFocusable]", ngImport: i0 });
|
2384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptToolbarFocusableDirective, decorators: [{
|
2442
2385
|
type: Directive,
|
2443
2386
|
args: [{
|
2444
2387
|
selector: '[kendoAIPromptToolbarFocusable]'
|
2445
2388
|
}]
|
2446
2389
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ToolbarNavigationService }, { type: i0.Renderer2 }]; } });
|
2447
2390
|
|
2391
|
+
/**
|
2392
|
+
* @hidden
|
2393
|
+
*/
|
2394
|
+
class Messages extends ComponentMessages {
|
2395
|
+
}
|
2396
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
2397
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: Messages, inputs: { promptView: "promptView", outputView: "outputView", generateOutput: "generateOutput", promptPlaceholder: "promptPlaceholder", copyOutput: "copyOutput", retryGeneration: "retryGeneration", outputTitle: "outputTitle", outputRetryTitle: "outputRetryTitle", promptSuggestions: "promptSuggestions" }, usesInheritance: true, ngImport: i0 });
|
2398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: Messages, decorators: [{
|
2399
|
+
type: Directive
|
2400
|
+
}], propDecorators: { promptView: [{
|
2401
|
+
type: Input
|
2402
|
+
}], outputView: [{
|
2403
|
+
type: Input
|
2404
|
+
}], generateOutput: [{
|
2405
|
+
type: Input
|
2406
|
+
}], promptPlaceholder: [{
|
2407
|
+
type: Input
|
2408
|
+
}], copyOutput: [{
|
2409
|
+
type: Input
|
2410
|
+
}], retryGeneration: [{
|
2411
|
+
type: Input
|
2412
|
+
}], outputTitle: [{
|
2413
|
+
type: Input
|
2414
|
+
}], outputRetryTitle: [{
|
2415
|
+
type: Input
|
2416
|
+
}], promptSuggestions: [{
|
2417
|
+
type: Input
|
2418
|
+
}] } });
|
2419
|
+
|
2420
|
+
/**
|
2421
|
+
* @hidden
|
2422
|
+
*/
|
2423
|
+
class LocalizedMessagesDirective extends Messages {
|
2424
|
+
constructor(service) {
|
2425
|
+
super();
|
2426
|
+
this.service = service;
|
2427
|
+
}
|
2428
|
+
}
|
2429
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
2430
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: LocalizedMessagesDirective, selector: "[kendoAIPromptLocalizedMessages]", providers: [
|
2431
|
+
{
|
2432
|
+
provide: Messages,
|
2433
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
2434
|
+
}
|
2435
|
+
], usesInheritance: true, ngImport: i0 });
|
2436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
2437
|
+
type: Directive,
|
2438
|
+
args: [{
|
2439
|
+
providers: [
|
2440
|
+
{
|
2441
|
+
provide: Messages,
|
2442
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
2443
|
+
}
|
2444
|
+
],
|
2445
|
+
selector: '[kendoAIPromptLocalizedMessages]'
|
2446
|
+
}]
|
2447
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
2448
|
+
|
2448
2449
|
/**
|
2449
2450
|
* Represents the Kendo UI AIPrompt component for Angular.
|
2450
2451
|
*/
|
@@ -2599,8 +2600,8 @@ class AIPromptComponent {
|
|
2599
2600
|
this.promptRequest.emit(eventArgs);
|
2600
2601
|
}
|
2601
2602
|
}
|
2602
|
-
AIPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2603
|
-
AIPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
2603
|
+
AIPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }, { token: ToolbarNavigationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
2604
|
+
AIPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AIPromptComponent, selector: "kendo-aiprompt", inputs: { activeView: "activeView", promptCommands: "promptCommands", promptSuggestions: "promptSuggestions", promptOutputs: "promptOutputs", showOutputRating: "showOutputRating" }, outputs: { activeViewChange: "activeViewChange", promptRequest: "promptRequest", commandExecute: "commandExecute", outputCopy: "outputCopy", outputRatingChange: "outputRatingChange" }, host: { properties: { "class.k-prompt": "this.hostClasses", "attr.dir": "this.dirAttr" } }, providers: [
|
2604
2605
|
LocalizationService,
|
2605
2606
|
AIPromptService,
|
2606
2607
|
ToolbarNavigationService,
|
@@ -2669,8 +2670,8 @@ AIPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
2669
2670
|
(click)="handleGenerateOutput()">{{messageFor('generateOutput')}}</button>
|
2670
2671
|
</div>
|
2671
2672
|
</div>
|
2672
|
-
`, isInline: true,
|
2673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2673
|
+
`, 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]" }] });
|
2674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptComponent, decorators: [{
|
2674
2675
|
type: Component,
|
2675
2676
|
args: [{
|
2676
2677
|
exportAs: 'kendoAIPrompt',
|
@@ -2747,7 +2748,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
2747
2748
|
</div>
|
2748
2749
|
`
|
2749
2750
|
}]
|
2750
|
-
}], ctorParameters: function () { return [{ type: i1
|
2751
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }, { type: ToolbarNavigationService }, { type: i0.NgZone }]; }, propDecorators: { hostClasses: [{
|
2751
2752
|
type: HostBinding,
|
2752
2753
|
args: ['class.k-prompt']
|
2753
2754
|
}], dirAttr: [{
|
@@ -2825,8 +2826,8 @@ class CommandViewComponent extends BaseView {
|
|
2825
2826
|
}));
|
2826
2827
|
}
|
2827
2828
|
}
|
2828
|
-
CommandViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2829
|
-
CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
2829
|
+
CommandViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CommandViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
2830
|
+
CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: CommandViewComponent, selector: "kendo-aiprompt-command-view", providers: [{
|
2830
2831
|
provide: BaseView,
|
2831
2832
|
useExisting: forwardRef(() => CommandViewComponent)
|
2832
2833
|
}], usesInheritance: true, ngImport: i0, template: `
|
@@ -2838,8 +2839,8 @@ CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
2838
2839
|
(itemClick)="itemClickHandler($event)"
|
2839
2840
|
></kendo-panelbar>
|
2840
2841
|
</ng-template>
|
2841
|
-
`, isInline: true,
|
2842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2842
|
+
`, 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"] }] });
|
2843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CommandViewComponent, decorators: [{
|
2843
2844
|
type: Component,
|
2844
2845
|
args: [{
|
2845
2846
|
selector: 'kendo-aiprompt-command-view',
|
@@ -2858,7 +2859,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
2858
2859
|
</ng-template>
|
2859
2860
|
`
|
2860
2861
|
}]
|
2861
|
-
}], ctorParameters: function () { return [{ type: i1
|
2862
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: AIPromptService }]; } });
|
2862
2863
|
|
2863
2864
|
/**
|
2864
2865
|
* Custom component messages override the default component messages.
|
@@ -2873,14 +2874,14 @@ class AIPromptCustomMessagesComponent extends Messages {
|
|
2873
2874
|
return true;
|
2874
2875
|
}
|
2875
2876
|
}
|
2876
|
-
AIPromptCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2877
|
-
AIPromptCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
2877
|
+
AIPromptCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
2878
|
+
AIPromptCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AIPromptCustomMessagesComponent, selector: "kendo-aiprompt-messages", providers: [
|
2878
2879
|
{
|
2879
2880
|
provide: Messages,
|
2880
2881
|
useExisting: forwardRef(() => AIPromptCustomMessagesComponent)
|
2881
2882
|
}
|
2882
2883
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
2883
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptCustomMessagesComponent, decorators: [{
|
2884
2885
|
type: Component,
|
2885
2886
|
args: [{
|
2886
2887
|
providers: [
|
@@ -2892,7 +2893,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
2892
2893
|
selector: 'kendo-aiprompt-messages',
|
2893
2894
|
template: ``
|
2894
2895
|
}]
|
2895
|
-
}], ctorParameters: function () { return [{ type: i1
|
2896
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
2896
2897
|
|
2897
2898
|
/**
|
2898
2899
|
* The component for rendering an AIPrompt Custom View.
|
@@ -2902,12 +2903,12 @@ class CustomViewComponent extends BaseView {
|
|
2902
2903
|
super('custom', localization);
|
2903
2904
|
}
|
2904
2905
|
}
|
2905
|
-
CustomViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2906
|
-
CustomViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
2906
|
+
CustomViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CustomViewComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
2907
|
+
CustomViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: CustomViewComponent, selector: "kendo-aiprompt-custom-view", inputs: { viewTemplate: "viewTemplate" }, providers: [{
|
2907
2908
|
provide: BaseView,
|
2908
2909
|
useExisting: forwardRef(() => CustomViewComponent)
|
2909
2910
|
}], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
2910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
2911
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CustomViewComponent, decorators: [{
|
2911
2912
|
type: Component,
|
2912
2913
|
args: [{
|
2913
2914
|
selector: 'kendo-aiprompt-custom-view',
|
@@ -2917,7 +2918,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
2917
2918
|
}],
|
2918
2919
|
template: ``
|
2919
2920
|
}]
|
2920
|
-
}], ctorParameters: function () { return [{ type: i1
|
2921
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { viewTemplate: [{
|
2921
2922
|
type: Input
|
2922
2923
|
}] } });
|
2923
2924
|
|
@@ -2958,8 +2959,8 @@ const PRIVATE_DIRECTIVES$1 = [
|
|
2958
2959
|
*/
|
2959
2960
|
class AIPromptModule {
|
2960
2961
|
}
|
2961
|
-
AIPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
2962
|
-
AIPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
2962
|
+
AIPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2963
|
+
AIPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AIPromptModule, declarations: [AIPromptComponent,
|
2963
2964
|
PromptViewComponent,
|
2964
2965
|
OutputViewComponent,
|
2965
2966
|
CommandViewComponent,
|
@@ -2979,14 +2980,12 @@ AIPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
2979
2980
|
AIPromptCustomMessagesComponent,
|
2980
2981
|
AIPromptToolbarActionsDirective,
|
2981
2982
|
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: [{
|
2983
|
+
AIPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptModule, imports: [CommonModule,
|
2984
|
+
ButtonsModule,
|
2985
|
+
IconsModule,
|
2986
|
+
InputsModule,
|
2987
|
+
LayoutModule] });
|
2988
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AIPromptModule, decorators: [{
|
2990
2989
|
type: NgModule,
|
2991
2990
|
args: [{
|
2992
2991
|
declarations: [...PUBLIC_DIRECTIVES$1, ...PRIVATE_DIRECTIVES$1],
|
@@ -3015,14 +3014,14 @@ class CustomMessagesComponent extends Messages$1 {
|
|
3015
3014
|
return true;
|
3016
3015
|
}
|
3017
3016
|
}
|
3018
|
-
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
3019
|
-
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
3017
|
+
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
3018
|
+
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: CustomMessagesComponent, selector: "kendo-chat-messages", providers: [
|
3020
3019
|
{
|
3021
3020
|
provide: Messages$1,
|
3022
3021
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
3023
3022
|
}
|
3024
3023
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
3025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
3024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
3026
3025
|
type: Component,
|
3027
3026
|
args: [{
|
3028
3027
|
providers: [
|
@@ -3034,7 +3033,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
3034
3033
|
selector: 'kendo-chat-messages',
|
3035
3034
|
template: ``
|
3036
3035
|
}]
|
3037
|
-
}], ctorParameters: function () { return [{ type: i1
|
3036
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
3038
3037
|
|
3039
3038
|
/**
|
3040
3039
|
* Represents a Hero Card component ([see example]({% slug dialogflow_chat %})).
|
@@ -3052,8 +3051,8 @@ class HeroCardComponent {
|
|
3052
3051
|
this.executeAction.next(action);
|
3053
3052
|
}
|
3054
3053
|
}
|
3055
|
-
HeroCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
3056
|
-
HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
3054
|
+
HeroCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HeroCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
3055
|
+
HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: HeroCardComponent, selector: "kendo-chat-hero-card", inputs: { imageUrl: "imageUrl", title: "title", subtitle: "subtitle", actions: "actions" }, outputs: { executeAction: "executeAction" }, host: { properties: { "class.k-card": "this.cssClass" } }, ngImport: i0, template: `
|
3057
3056
|
<img class="k-card-image" [src]="imageUrl" *ngIf="imageUrl" />
|
3058
3057
|
<div class="k-card-body">
|
3059
3058
|
<h5 class="k-card-title" *ngIf="title">
|
@@ -3075,8 +3074,8 @@ HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
3075
3074
|
</button>
|
3076
3075
|
</span>
|
3077
3076
|
</div>
|
3078
|
-
`, isInline: true,
|
3079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
3077
|
+
`, 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"] }] });
|
3078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HeroCardComponent, decorators: [{
|
3080
3079
|
type: Component,
|
3081
3080
|
args: [{
|
3082
3081
|
selector: 'kendo-chat-hero-card',
|
@@ -3162,8 +3161,8 @@ const PRIVATE_DIRECTIVES = [
|
|
3162
3161
|
*/
|
3163
3162
|
class ChatModule {
|
3164
3163
|
}
|
3165
|
-
ChatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
3166
|
-
ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
3164
|
+
ChatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ChatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
3165
|
+
ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: ChatModule, declarations: [ChatComponent,
|
3167
3166
|
CustomMessagesComponent,
|
3168
3167
|
AttachmentTemplateDirective,
|
3169
3168
|
MessageTemplateDirective,
|
@@ -3185,12 +3184,10 @@ ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13
|
|
3185
3184
|
MessageTemplateDirective,
|
3186
3185
|
HeroCardComponent,
|
3187
3186
|
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: [{
|
3187
|
+
ChatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ChatModule, imports: [ButtonModule,
|
3188
|
+
CommonModule,
|
3189
|
+
ResizeSensorModule] });
|
3190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ChatModule, decorators: [{
|
3194
3191
|
type: NgModule,
|
3195
3192
|
args: [{
|
3196
3193
|
declarations: [
|
@@ -3239,10 +3236,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
3239
3236
|
*/
|
3240
3237
|
class ConversationalUIModule {
|
3241
3238
|
}
|
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: "
|
3239
|
+
ConversationalUIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ConversationalUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
3240
|
+
ConversationalUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: ConversationalUIModule, exports: [AIPromptModule, ChatModule] });
|
3241
|
+
ConversationalUIModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ConversationalUIModule, imports: [AIPromptModule, ChatModule] });
|
3242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ConversationalUIModule, decorators: [{
|
3246
3243
|
type: NgModule,
|
3247
3244
|
args: [{
|
3248
3245
|
exports: [AIPromptModule, ChatModule]
|