@progress/kendo-angular-conversational-ui 20.1.2-develop.1 → 21.0.0-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/codemods/template-transformer/index.js +1 -2
- package/codemods/utils.js +2 -2
- package/codemods/v20/chat-user.js +1 -1
- package/esm2022/ai-prompt/aiprompt.component.mjs +13 -11
- package/esm2022/ai-prompt/aiprompt.module.mjs +4 -4
- package/esm2022/ai-prompt/common/aiprompt.service.mjs +3 -3
- package/esm2022/ai-prompt/common/output-card.component.mjs +4 -4
- package/esm2022/ai-prompt/common/toolbar-focusable.directive.mjs +4 -4
- package/esm2022/ai-prompt/common/toolbar-navigation.service.mjs +4 -4
- package/esm2022/ai-prompt/localization/custom-messages.component.mjs +4 -4
- package/esm2022/ai-prompt/localization/localized-messages.directive.mjs +4 -4
- package/esm2022/ai-prompt/localization/messages.mjs +3 -3
- package/esm2022/ai-prompt/templates/aiprompt-output-body-template.directive.mjs +4 -4
- package/esm2022/ai-prompt/templates/aiprompt-output-template.directive.mjs +4 -4
- package/esm2022/ai-prompt/templates/toolbar-actions.template.mjs +5 -5
- package/esm2022/ai-prompt/views/base-view.mjs +5 -5
- package/esm2022/ai-prompt/views/command-view.component.mjs +4 -4
- package/esm2022/ai-prompt/views/custom-view.component.mjs +4 -4
- package/esm2022/ai-prompt/views/output-view.component.mjs +4 -4
- package/esm2022/ai-prompt/views/prompt-view.component.mjs +4 -4
- package/esm2022/chat/attachment.component.mjs +3 -3
- package/esm2022/chat/cards/hero-card.component.mjs +3 -3
- package/esm2022/chat/chat-file.component.mjs +4 -4
- package/esm2022/chat/chat.component.mjs +4 -4
- package/esm2022/chat/chat.module.mjs +4 -4
- package/esm2022/chat/common/chat.service.mjs +3 -3
- package/esm2022/chat/common/scroll-anchor.directive.mjs +4 -4
- package/esm2022/chat/l10n/custom-messages.component.mjs +4 -4
- package/esm2022/chat/l10n/localized-messages.directive.mjs +4 -4
- package/esm2022/chat/l10n/messages.mjs +3 -3
- package/esm2022/chat/message-attachments.component.mjs +4 -4
- package/esm2022/chat/message-box.component.mjs +7 -5
- package/esm2022/chat/message-list.component.mjs +4 -4
- package/esm2022/chat/message-reference-content.component.mjs +4 -4
- package/esm2022/chat/message.component.mjs +15 -13
- package/esm2022/chat/suggested-actions.component.mjs +3 -3
- package/esm2022/chat/templates/attachment-template.directive.mjs +5 -5
- package/esm2022/chat/templates/header-template.directive.mjs +4 -4
- package/esm2022/chat/templates/message-box.directive.mjs +4 -4
- package/esm2022/chat/templates/message-template.directive.mjs +5 -5
- package/esm2022/chat/templates/status-template.directive.mjs +4 -4
- package/esm2022/chat/templates/suggestion-template.directive.mjs +4 -4
- package/esm2022/chat/templates/timestamp-template.directive.mjs +5 -5
- package/esm2022/conversational-ui.module.mjs +4 -4
- package/esm2022/inline-ai-prompt/inlineaiprompt-content.component.mjs +5 -5
- package/esm2022/inline-ai-prompt/inlineaiprompt.component.mjs +4 -4
- package/esm2022/inline-ai-prompt/inlineaiprompt.module.mjs +4 -4
- package/esm2022/inline-ai-prompt/inlineaiprompt.service.mjs +4 -4
- package/esm2022/inline-ai-prompt/localization/custom-messages.component.mjs +4 -4
- package/esm2022/inline-ai-prompt/localization/localized-messages.directive.mjs +4 -4
- package/esm2022/inline-ai-prompt/localization/messages.mjs +3 -3
- package/esm2022/inline-ai-prompt/output-template.directive.mjs +5 -5
- package/esm2022/package-metadata.mjs +2 -2
- package/fesm2022/progress-kendo-angular-conversational-ui.mjs +220 -214
- package/package.json +18 -18
- package/schematics/ngAdd/index.js +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
"use strict";
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.templateTransformer =
|
|
7
|
+
exports.templateTransformer = templateTransformer;
|
|
8
8
|
const node_html_parser_1 = require("node-html-parser");
|
|
9
9
|
function templateTransformer(root, j, ...processFns) {
|
|
10
10
|
root
|
|
@@ -91,4 +91,3 @@ function templateTransformer(root, j, ...processFns) {
|
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
|
-
exports.templateTransformer = templateTransformer;
|
package/codemods/utils.js
CHANGED
|
@@ -7,7 +7,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
7
7
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
8
|
};
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.tsComponentPropertyRemoval = exports.
|
|
10
|
+
exports.tsComponentPropertyRemoval = exports.templateAttributeRemoval = exports.htmlAttributeRemoval = exports.htmlAttributeValueTransformer = exports.tsPropertyValueTransformer = exports.templateAttributeValueTransformer = exports.htmlAttributeTransformer = exports.htmlBoundAttributeTransformer = exports.htmlStaticAttributeTransformer = exports.tsPropertyTransformer = exports.templateAttributeTransformer = exports.templateBoundAttributeTransformer = exports.templateStaticAttributeTransformer = void 0;
|
|
11
|
+
exports.tsPropertyRemoval = tsPropertyRemoval;
|
|
11
12
|
const node_html_parser_1 = __importDefault(require("node-html-parser"));
|
|
12
13
|
const templateStaticAttributeTransformer = (root, tagName, attributeName, newAttributeName) => {
|
|
13
14
|
const elements = Array.from(root.getElementsByTagName(tagName)) || [];
|
|
@@ -498,7 +499,6 @@ function tsPropertyRemoval(rootSource, j, typeName, propertyName) {
|
|
|
498
499
|
});
|
|
499
500
|
return rootSource;
|
|
500
501
|
}
|
|
501
|
-
exports.tsPropertyRemoval = tsPropertyRemoval;
|
|
502
502
|
/**
|
|
503
503
|
* Removes assignments to a specific nested property of a component
|
|
504
504
|
*
|
|
@@ -27,6 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
return result;
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
exports.default = default_1;
|
|
30
31
|
const fs = __importStar(require("fs"));
|
|
31
32
|
const index_1 = require("../template-transformer/index");
|
|
32
33
|
const utils_1 = require("../utils");
|
|
@@ -47,4 +48,3 @@ function default_1(fileInfo, api) {
|
|
|
47
48
|
(0, utils_1.tsPropertyTransformer)(rootSource, j, 'ChatComponent', 'user', 'authorId', 'id');
|
|
48
49
|
return rootSource.toSource();
|
|
49
50
|
}
|
|
50
|
-
exports.default = default_1;
|
|
@@ -90,7 +90,9 @@ export class AIPromptComponent {
|
|
|
90
90
|
set activeView(idx) {
|
|
91
91
|
if (this._activeView !== idx) {
|
|
92
92
|
this._activeView = idx;
|
|
93
|
-
|
|
93
|
+
if (this.service.promptValue) {
|
|
94
|
+
this.service.promptValue = '';
|
|
95
|
+
}
|
|
94
96
|
}
|
|
95
97
|
}
|
|
96
98
|
get activeView() {
|
|
@@ -297,8 +299,8 @@ export class AIPromptComponent {
|
|
|
297
299
|
};
|
|
298
300
|
this.promptRequest.emit(eventArgs);
|
|
299
301
|
}
|
|
300
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
301
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
302
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptComponent, deps: [{ token: i1.LocalizationService }, { token: i2.AIPromptService }, { token: i3.ToolbarNavigationService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
303
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AIPromptComponent, isStandalone: true, selector: "kendo-aiprompt", inputs: { activeView: "activeView", promptCommands: "promptCommands", promptSuggestions: "promptSuggestions", promptOutputs: "promptOutputs", showOutputRating: "showOutputRating", streaming: "streaming", speechToTextButton: "speechToTextButton", textAreaSettings: "textAreaSettings", generateButtonSVGIcon: "generateButtonSVGIcon", generateButtonIcon: "generateButtonIcon", disabledGenerateButton: "disabledGenerateButton" }, outputs: { activeViewChange: "activeViewChange", promptRequest: "promptRequest", commandExecute: "commandExecute", outputCopy: "outputCopy", outputRatingChange: "outputRatingChange", promptRequestCancel: "promptRequestCancel" }, host: { properties: { "class.k-prompt": "this.hostClasses", "attr.dir": "this.dirAttr" } }, providers: [
|
|
302
304
|
LocalizationService,
|
|
303
305
|
AIPromptService,
|
|
304
306
|
ToolbarNavigationService,
|
|
@@ -352,10 +354,10 @@ export class AIPromptComponent {
|
|
|
352
354
|
</div>
|
|
353
355
|
</div>
|
|
354
356
|
<div class="k-prompt-content">
|
|
355
|
-
<kendo-floatingactionbutton #fabButton *ngIf="streaming && selectedView?.viewType === 'output'"
|
|
357
|
+
<kendo-floatingactionbutton #fabButton *ngIf="streaming && selectedView?.viewType === 'output'"
|
|
356
358
|
class="k-prompt-stop-fab"
|
|
357
|
-
buttonClass="k-generating k-active"
|
|
358
|
-
[positionMode]="fabPositionMode"
|
|
359
|
+
buttonClass="k-generating k-active"
|
|
360
|
+
[positionMode]="fabPositionMode"
|
|
359
361
|
[align]="fabAlignment"
|
|
360
362
|
[svgIcon]="fabStopGenerationSVGIcon"
|
|
361
363
|
icon="stop"
|
|
@@ -385,7 +387,7 @@ export class AIPromptComponent {
|
|
|
385
387
|
</div>
|
|
386
388
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoAIPromptLocalizedMessages]" }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: AIPromptToolbarFocusableDirective, selector: "[kendoAIPromptToolbarFocusable]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: FloatingActionButtonComponent, selector: "kendo-floatingactionbutton", inputs: ["themeColor", "size", "rounded", "disabled", "align", "offset", "positionMode", "icon", "svgIcon", "iconClass", "buttonClass", "dialClass", "text", "dialItemAnimation", "tabIndex", "dialItems"], outputs: ["blur", "focus", "dialItemClick", "open", "close"] }] });
|
|
387
389
|
}
|
|
388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptComponent, decorators: [{
|
|
389
391
|
type: Component,
|
|
390
392
|
args: [{
|
|
391
393
|
exportAs: 'kendoAIPrompt',
|
|
@@ -445,10 +447,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
445
447
|
</div>
|
|
446
448
|
</div>
|
|
447
449
|
<div class="k-prompt-content">
|
|
448
|
-
<kendo-floatingactionbutton #fabButton *ngIf="streaming && selectedView?.viewType === 'output'"
|
|
450
|
+
<kendo-floatingactionbutton #fabButton *ngIf="streaming && selectedView?.viewType === 'output'"
|
|
449
451
|
class="k-prompt-stop-fab"
|
|
450
|
-
buttonClass="k-generating k-active"
|
|
451
|
-
[positionMode]="fabPositionMode"
|
|
452
|
+
buttonClass="k-generating k-active"
|
|
453
|
+
[positionMode]="fabPositionMode"
|
|
452
454
|
[align]="fabAlignment"
|
|
453
455
|
[svgIcon]="fabStopGenerationSVGIcon"
|
|
454
456
|
icon="stop"
|
|
@@ -480,7 +482,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
480
482
|
standalone: true,
|
|
481
483
|
imports: [LocalizedMessagesDirective, NgFor, ButtonComponent, AIPromptToolbarFocusableDirective, NgIf, NgTemplateOutlet, FloatingActionButtonComponent]
|
|
482
484
|
}]
|
|
483
|
-
}], ctorParameters:
|
|
485
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i2.AIPromptService }, { type: i3.ToolbarNavigationService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { hostClasses: [{
|
|
484
486
|
type: HostBinding,
|
|
485
487
|
args: ['class.k-prompt']
|
|
486
488
|
}], dirAttr: [{
|
|
@@ -39,11 +39,11 @@ import * as i10 from "./templates/aiprompt-output-body-template.directive";
|
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
export class AIPromptModule {
|
|
42
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
43
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
44
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
43
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AIPromptModule, imports: [i1.AIPromptComponent, i2.PromptViewComponent, i3.OutputViewComponent, i4.CommandViewComponent, i5.CustomViewComponent, i6.AIPromptCustomMessagesComponent, i7.AIPromptToolbarActionsDirective, i8.AIPromptToolbarFocusableDirective, i9.AIPromptOutputTemplateDirective, i10.AIPromptOutputBodyTemplateDirective], exports: [i1.AIPromptComponent, i2.PromptViewComponent, i3.OutputViewComponent, i4.CommandViewComponent, i5.CustomViewComponent, i6.AIPromptCustomMessagesComponent, i7.AIPromptToolbarActionsDirective, i8.AIPromptToolbarFocusableDirective, i9.AIPromptOutputTemplateDirective, i10.AIPromptOutputBodyTemplateDirective] });
|
|
44
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [i1.AIPromptComponent, i2.PromptViewComponent, i3.OutputViewComponent, i4.CommandViewComponent] });
|
|
45
45
|
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptModule, decorators: [{
|
|
47
47
|
type: NgModule,
|
|
48
48
|
args: [{
|
|
49
49
|
exports: [...KENDO_AIPROMPT],
|
|
@@ -67,9 +67,9 @@ export class AIPromptService {
|
|
|
67
67
|
});
|
|
68
68
|
return newArr.concat(this.promptCommands);
|
|
69
69
|
}
|
|
70
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
71
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
70
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
71
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptService });
|
|
72
72
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptService, decorators: [{
|
|
74
74
|
type: Injectable
|
|
75
75
|
}] });
|
|
@@ -103,8 +103,8 @@ export class AIPromptOutputCardComponent {
|
|
|
103
103
|
get customBodyTemplate() {
|
|
104
104
|
return this.service.outputBodyTemplate?.templateRef;
|
|
105
105
|
}
|
|
106
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
107
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
106
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptOutputCardComponent, deps: [{ token: i1.LocalizationService }, { token: i2.AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
107
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AIPromptOutputCardComponent, isStandalone: true, 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: `
|
|
108
108
|
<div class="k-card-header">
|
|
109
109
|
<div
|
|
110
110
|
class="k-card-title"
|
|
@@ -155,7 +155,7 @@ export class AIPromptOutputCardComponent {
|
|
|
155
155
|
</div>
|
|
156
156
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
157
157
|
}
|
|
158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptOutputCardComponent, decorators: [{
|
|
159
159
|
type: Component,
|
|
160
160
|
args: [{
|
|
161
161
|
selector: '[kendoAIPromptOutputCard]',
|
|
@@ -212,7 +212,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
212
212
|
standalone: true,
|
|
213
213
|
imports: [ButtonComponent, NgIf, NgTemplateOutlet]
|
|
214
214
|
}]
|
|
215
|
-
}], ctorParameters:
|
|
215
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i2.AIPromptService }], propDecorators: { hostClass: [{
|
|
216
216
|
type: HostBinding,
|
|
217
217
|
args: ['class.k-card']
|
|
218
218
|
}], listItemRole: [{
|
|
@@ -60,13 +60,13 @@ export class AIPromptToolbarFocusableDirective {
|
|
|
60
60
|
clickHandler = () => {
|
|
61
61
|
this.navigationService.setActiveIndex(this);
|
|
62
62
|
};
|
|
63
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
64
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
63
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: i1.ToolbarNavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
64
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: AIPromptToolbarFocusableDirective, isStandalone: true, selector: "[kendoAIPromptToolbarFocusable]", ngImport: i0 });
|
|
65
65
|
}
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptToolbarFocusableDirective, decorators: [{
|
|
67
67
|
type: Directive,
|
|
68
68
|
args: [{
|
|
69
69
|
selector: '[kendoAIPromptToolbarFocusable]',
|
|
70
70
|
standalone: true
|
|
71
71
|
}]
|
|
72
|
-
}], ctorParameters:
|
|
72
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.ToolbarNavigationService }, { type: i0.Renderer2 }] });
|
|
@@ -48,9 +48,9 @@ export class ToolbarNavigationService {
|
|
|
48
48
|
focusFirst() {
|
|
49
49
|
this.focusableElements[this.currentFocusedIndex].activate();
|
|
50
50
|
}
|
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
52
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarNavigationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
52
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarNavigationService });
|
|
53
53
|
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarNavigationService, decorators: [{
|
|
55
55
|
type: Injectable
|
|
56
|
-
}], ctorParameters:
|
|
56
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
@@ -30,15 +30,15 @@ export class AIPromptCustomMessagesComponent extends Messages {
|
|
|
30
30
|
get override() {
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
34
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
33
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AIPromptCustomMessagesComponent, isStandalone: true, selector: "kendo-aiprompt-messages", providers: [
|
|
35
35
|
{
|
|
36
36
|
provide: Messages,
|
|
37
37
|
useExisting: forwardRef(() => AIPromptCustomMessagesComponent)
|
|
38
38
|
}
|
|
39
39
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptCustomMessagesComponent, decorators: [{
|
|
42
42
|
type: Component,
|
|
43
43
|
args: [{
|
|
44
44
|
providers: [
|
|
@@ -51,4 +51,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
51
51
|
template: ``,
|
|
52
52
|
standalone: true
|
|
53
53
|
}]
|
|
54
|
-
}], ctorParameters:
|
|
54
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
@@ -16,15 +16,15 @@ export class LocalizedMessagesDirective extends Messages {
|
|
|
16
16
|
super();
|
|
17
17
|
this.service = service;
|
|
18
18
|
}
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoAIPromptLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: Messages,
|
|
23
23
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
24
|
}
|
|
25
25
|
], usesInheritance: true, ngImport: i0 });
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
28
28
|
type: Directive,
|
|
29
29
|
args: [{
|
|
30
30
|
providers: [
|
|
@@ -36,4 +36,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
36
36
|
selector: '[kendoAIPromptLocalizedMessages]',
|
|
37
37
|
standalone: true
|
|
38
38
|
}]
|
|
39
|
-
}], ctorParameters:
|
|
39
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
@@ -49,10 +49,10 @@ export class Messages extends ComponentMessages {
|
|
|
49
49
|
* Sets the aria-label for the **Speech to Text** button.
|
|
50
50
|
*/
|
|
51
51
|
speechToTextButton;
|
|
52
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
52
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
53
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: Messages, inputs: { promptView: "promptView", outputView: "outputView", generateOutput: "generateOutput", promptPlaceholder: "promptPlaceholder", copyOutput: "copyOutput", retryGeneration: "retryGeneration", outputTitle: "outputTitle", outputRetryTitle: "outputRetryTitle", promptSuggestions: "promptSuggestions", speechToTextButton: "speechToTextButton" }, usesInheritance: true, ngImport: i0 });
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, decorators: [{
|
|
56
56
|
type: Directive
|
|
57
57
|
}], propDecorators: { promptView: [{
|
|
58
58
|
type: Input
|
|
@@ -21,13 +21,13 @@ export class AIPromptOutputBodyTemplateDirective {
|
|
|
21
21
|
constructor(templateRef) {
|
|
22
22
|
this.templateRef = templateRef;
|
|
23
23
|
}
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptOutputBodyTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: AIPromptOutputBodyTemplateDirective, isStandalone: true, selector: "[kendoAIPromptOutputBodyTemplate]", ngImport: i0 });
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptOutputBodyTemplateDirective, decorators: [{
|
|
28
28
|
type: Directive,
|
|
29
29
|
args: [{
|
|
30
30
|
selector: '[kendoAIPromptOutputBodyTemplate]',
|
|
31
31
|
standalone: true
|
|
32
32
|
}]
|
|
33
|
-
}], ctorParameters:
|
|
33
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
@@ -21,13 +21,13 @@ export class AIPromptOutputTemplateDirective {
|
|
|
21
21
|
constructor(templateRef) {
|
|
22
22
|
this.templateRef = templateRef;
|
|
23
23
|
}
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptOutputTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: AIPromptOutputTemplateDirective, isStandalone: true, selector: "[kendoAIPromptOutputTemplate]", ngImport: i0 });
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptOutputTemplateDirective, decorators: [{
|
|
28
28
|
type: Directive,
|
|
29
29
|
args: [{
|
|
30
30
|
selector: '[kendoAIPromptOutputTemplate]',
|
|
31
31
|
standalone: true
|
|
32
32
|
}]
|
|
33
|
-
}], ctorParameters:
|
|
33
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
@@ -25,15 +25,15 @@ export class AIPromptToolbarActionsDirective {
|
|
|
25
25
|
constructor(templateRef) {
|
|
26
26
|
this.templateRef = templateRef;
|
|
27
27
|
}
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptToolbarActionsDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
29
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: AIPromptToolbarActionsDirective, isStandalone: true, selector: "[kendoAIPromptToolbarActionsTemplate]", ngImport: i0 });
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptToolbarActionsDirective, decorators: [{
|
|
32
32
|
type: Directive,
|
|
33
33
|
args: [{
|
|
34
34
|
selector: '[kendoAIPromptToolbarActionsTemplate]',
|
|
35
35
|
standalone: true
|
|
36
36
|
}]
|
|
37
|
-
}], ctorParameters:
|
|
37
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
38
38
|
type: Optional
|
|
39
|
-
}] }]
|
|
39
|
+
}] }] });
|
|
@@ -75,15 +75,15 @@ export class BaseView {
|
|
|
75
75
|
_buttonText;
|
|
76
76
|
_icon;
|
|
77
77
|
_svgIcon;
|
|
78
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
79
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
78
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BaseView, deps: [{ token: MY_TOKEN }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
79
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", 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 });
|
|
80
80
|
}
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BaseView, decorators: [{
|
|
82
82
|
type: Directive
|
|
83
|
-
}], ctorParameters:
|
|
83
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
84
84
|
type: Inject,
|
|
85
85
|
args: [MY_TOKEN]
|
|
86
|
-
}] }, { type: i1.LocalizationService }]
|
|
86
|
+
}] }, { type: i1.LocalizationService }], propDecorators: { hostClasses: [{
|
|
87
87
|
type: HostBinding,
|
|
88
88
|
args: ['class.k-prompt-view']
|
|
89
89
|
}], template: [{
|
|
@@ -61,8 +61,8 @@ export class CommandViewComponent extends BaseView {
|
|
|
61
61
|
children: c.children ? this.getPanelBarItems(c.children) : null
|
|
62
62
|
}));
|
|
63
63
|
}
|
|
64
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
65
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
64
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CommandViewComponent, deps: [{ token: i1.LocalizationService }, { token: i2.AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
65
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CommandViewComponent, isStandalone: true, selector: "kendo-aiprompt-command-view", providers: [{
|
|
66
66
|
provide: BaseView,
|
|
67
67
|
useExisting: forwardRef(() => CommandViewComponent)
|
|
68
68
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -76,7 +76,7 @@ export class CommandViewComponent extends BaseView {
|
|
|
76
76
|
</ng-template>
|
|
77
77
|
`, isInline: true, dependencies: [{ kind: "component", type: PanelBarComponent, selector: "kendo-panelbar", inputs: ["expandMode", "selectable", "animate", "height", "keepItemContent", "items"], outputs: ["stateChange", "select", "expand", "collapse", "itemClick"], exportAs: ["kendoPanelbar"] }] });
|
|
78
78
|
}
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CommandViewComponent, decorators: [{
|
|
80
80
|
type: Component,
|
|
81
81
|
args: [{
|
|
82
82
|
selector: 'kendo-aiprompt-command-view',
|
|
@@ -97,4 +97,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
97
97
|
standalone: true,
|
|
98
98
|
imports: [PanelBarComponent]
|
|
99
99
|
}]
|
|
100
|
-
}], ctorParameters:
|
|
100
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i2.AIPromptService }] });
|
|
@@ -28,13 +28,13 @@ export class CustomViewComponent extends BaseView {
|
|
|
28
28
|
* Sets the content of the Custom view as a template reference.
|
|
29
29
|
*/
|
|
30
30
|
viewTemplate;
|
|
31
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
32
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
31
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CustomViewComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CustomViewComponent, isStandalone: true, selector: "kendo-aiprompt-custom-view", inputs: { viewTemplate: "viewTemplate" }, providers: [{
|
|
33
33
|
provide: BaseView,
|
|
34
34
|
useExisting: forwardRef(() => CustomViewComponent)
|
|
35
35
|
}], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
36
36
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CustomViewComponent, decorators: [{
|
|
38
38
|
type: Component,
|
|
39
39
|
args: [{
|
|
40
40
|
selector: 'kendo-aiprompt-custom-view',
|
|
@@ -45,6 +45,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
45
45
|
template: ``,
|
|
46
46
|
standalone: true
|
|
47
47
|
}]
|
|
48
|
-
}], ctorParameters:
|
|
48
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }], propDecorators: { viewTemplate: [{
|
|
49
49
|
type: Input
|
|
50
50
|
}] } });
|
|
@@ -39,8 +39,8 @@ export class OutputViewComponent extends BaseView {
|
|
|
39
39
|
get customTemplate() {
|
|
40
40
|
return this.service.outputTemplate?.templateRef;
|
|
41
41
|
}
|
|
42
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
43
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OutputViewComponent, deps: [{ token: i1.LocalizationService }, { token: i2.AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: OutputViewComponent, isStandalone: true, selector: "kendo-aiprompt-output-view", providers: [{
|
|
44
44
|
provide: BaseView,
|
|
45
45
|
useExisting: forwardRef(() => OutputViewComponent)
|
|
46
46
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -61,7 +61,7 @@ export class OutputViewComponent extends BaseView {
|
|
|
61
61
|
</ng-template>
|
|
62
62
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: ["promptOutput"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OutputViewComponent, decorators: [{
|
|
65
65
|
type: Component,
|
|
66
66
|
args: [{
|
|
67
67
|
selector: 'kendo-aiprompt-output-view',
|
|
@@ -89,4 +89,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
89
89
|
standalone: true,
|
|
90
90
|
imports: [NgFor, AIPromptOutputCardComponent, NgIf, NgTemplateOutlet]
|
|
91
91
|
}]
|
|
92
|
-
}], ctorParameters:
|
|
92
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i2.AIPromptService }] });
|
|
@@ -104,8 +104,8 @@ export class PromptViewComponent extends BaseView {
|
|
|
104
104
|
console.error('Speech to Text error:', event.errorMessage);
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
108
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
107
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PromptViewComponent, deps: [{ token: i1.LocalizationService }, { token: i2.AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
108
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PromptViewComponent, isStandalone: true, selector: "kendo-aiprompt-prompt-view", providers: [
|
|
109
109
|
{
|
|
110
110
|
provide: BaseView,
|
|
111
111
|
useExisting: forwardRef(() => PromptViewComponent)
|
|
@@ -184,7 +184,7 @@ export class PromptViewComponent extends BaseView {
|
|
|
184
184
|
</ng-template>
|
|
185
185
|
`, isInline: true, dependencies: [{ kind: "component", type: TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "maxResizableRows", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: TextAreaSuffixComponent, selector: "kendo-textarea-suffix", inputs: ["flow", "orientation"], exportAs: ["kendoTextAreaSuffix"] }, { kind: "component", type: SpeechToTextButtonComponent, selector: "button[kendoSpeechToTextButton]", inputs: ["disabled", "size", "rounded", "fillMode", "themeColor", "integrationMode", "lang", "continuous", "interimResults", "maxAlternatives"], outputs: ["start", "end", "result", "error", "click"], exportAs: ["kendoSpeechToTextButton"] }] });
|
|
186
186
|
}
|
|
187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PromptViewComponent, decorators: [{
|
|
188
188
|
type: Component,
|
|
189
189
|
args: [{
|
|
190
190
|
selector: 'kendo-aiprompt-prompt-view',
|
|
@@ -270,4 +270,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
270
270
|
standalone: true,
|
|
271
271
|
imports: [TextAreaComponent, NgIf, ButtonComponent, NgFor, TextAreaSuffixComponent, SpeechToTextButtonComponent]
|
|
272
272
|
}]
|
|
273
|
-
}], ctorParameters:
|
|
273
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i2.AIPromptService }] });
|
|
@@ -31,8 +31,8 @@ export class AttachmentComponent {
|
|
|
31
31
|
return this.attachment.contentType || '';
|
|
32
32
|
}
|
|
33
33
|
_attachment;
|
|
34
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AttachmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AttachmentComponent, isStandalone: true, selector: "kendo-chat-attachment", inputs: { attachment: "attachment", template: "template" }, ngImport: i0, template: `
|
|
36
36
|
<ng-container *ngIf="template">
|
|
37
37
|
<ng-container *ngTemplateOutlet="template.templateRef; context: context;">
|
|
38
38
|
</ng-container>
|
|
@@ -54,7 +54,7 @@ export class AttachmentComponent {
|
|
|
54
54
|
</div>
|
|
55
55
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
56
56
|
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AttachmentComponent, decorators: [{
|
|
58
58
|
type: Component,
|
|
59
59
|
args: [{
|
|
60
60
|
selector: 'kendo-chat-attachment',
|
|
@@ -47,8 +47,8 @@ export class HeroCardComponent {
|
|
|
47
47
|
onClick(action) {
|
|
48
48
|
this.executeAction.next(action);
|
|
49
49
|
}
|
|
50
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
51
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
50
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HeroCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: HeroCardComponent, isStandalone: true, 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: `
|
|
52
52
|
<img class="k-card-image" [src]="imageUrl" *ngIf="imageUrl" />
|
|
53
53
|
<div class="k-card-body">
|
|
54
54
|
<h5 class="k-card-title" *ngIf="title">
|
|
@@ -72,7 +72,7 @@ export class HeroCardComponent {
|
|
|
72
72
|
</div>
|
|
73
73
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
74
74
|
}
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HeroCardComponent, decorators: [{
|
|
76
76
|
type: Component,
|
|
77
77
|
args: [{
|
|
78
78
|
selector: 'kendo-chat-hero-card',
|
|
@@ -44,8 +44,8 @@ export class ChatFileComponent extends ChatItem {
|
|
|
44
44
|
return this.localization.get(key);
|
|
45
45
|
}
|
|
46
46
|
focus() { }
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatFileComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ChatFileComponent, isStandalone: true, selector: "li[chatFile]", inputs: { chatFile: "chatFile", removable: "removable", fileActions: "fileActions" }, outputs: { remove: "remove", actionClick: "actionClick", actionsToggle: "actionsToggle", actionButtonClick: "actionButtonClick" }, providers: [{
|
|
49
49
|
provide: ChatItem,
|
|
50
50
|
useExisting: forwardRef(() => ChatFileComponent)
|
|
51
51
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -81,7 +81,7 @@ export class ChatFileComponent extends ChatItem {
|
|
|
81
81
|
></kendo-dropdownbutton>
|
|
82
82
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: DropDownButtonComponent, selector: "kendo-dropdownbutton", inputs: ["arrowIcon", "icon", "svgIcon", "iconClass", "imageUrl", "textField", "data", "size", "rounded", "fillMode", "themeColor", "buttonAttributes"], outputs: ["itemClick", "focus", "blur"], exportAs: ["kendoDropDownButton"] }] });
|
|
83
83
|
}
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatFileComponent, decorators: [{
|
|
85
85
|
type: Component,
|
|
86
86
|
args: [{
|
|
87
87
|
selector: 'li[chatFile]',
|
|
@@ -124,7 +124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
124
124
|
standalone: true,
|
|
125
125
|
imports: [NgIf, IconWrapperComponent, ButtonComponent, DropDownButtonComponent]
|
|
126
126
|
}]
|
|
127
|
-
}], ctorParameters:
|
|
127
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }], propDecorators: { chatFile: [{
|
|
128
128
|
type: Input
|
|
129
129
|
}], removable: [{
|
|
130
130
|
type: Input
|