@progress/kendo-angular-conversational-ui 16.5.0 → 16.6.0-develop.10
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/NOTICE.txt +12 -19
- package/ai-prompt/aiprompt.component.d.ts +1 -1
- package/ai-prompt/aiprompt.module.d.ts +1 -8
- 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/templates/toolbar-actions.template.d.ts +1 -1
- package/ai-prompt/views/command-view.component.d.ts +2 -2
- 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/api/message.interface.d.ts +1 -1
- package/chat/api/user.interface.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/chat.module.d.ts +1 -13
- 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/message-attachments.component.d.ts +3 -3
- package/chat/message-box.component.d.ts +3 -3
- package/chat/message-box.directive.d.ts +1 -1
- package/chat/message-list.component.d.ts +3 -3
- 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/conversational-ui.module.d.ts +15 -3
- package/directives.d.ts +29 -0
- package/esm2020/ai-prompt/aiprompt.component.mjs +10 -8
- package/esm2020/ai-prompt/aiprompt.module.mjs +19 -63
- package/esm2020/ai-prompt/common/output-card.component.mjs +7 -5
- package/esm2020/ai-prompt/common/toolbar-focusable.directive.mjs +3 -2
- package/esm2020/ai-prompt/localization/custom-messages.component.mjs +3 -2
- package/esm2020/ai-prompt/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/ai-prompt/templates/toolbar-actions.template.mjs +3 -2
- package/esm2020/ai-prompt/views/command-view.component.mjs +6 -4
- package/esm2020/ai-prompt/views/custom-view.component.mjs +3 -2
- package/esm2020/ai-prompt/views/output-view.component.mjs +7 -5
- package/esm2020/ai-prompt/views/prompt-view.component.mjs +8 -6
- package/esm2020/chat/attachment-template.directive.mjs +3 -2
- package/esm2020/chat/attachment.component.mjs +6 -4
- package/esm2020/chat/cards/hero-card.component.mjs +7 -5
- package/esm2020/chat/chat.component.mjs +8 -7
- package/esm2020/chat/chat.module.mjs +15 -71
- package/esm2020/chat/common/focused-state.directive.mjs +3 -2
- package/esm2020/chat/common/scroll-anchor.directive.mjs +3 -2
- package/esm2020/chat/l10n/custom-messages.component.mjs +3 -2
- package/esm2020/chat/l10n/localized-messages.directive.mjs +3 -2
- package/esm2020/chat/message-attachments.component.mjs +10 -8
- package/esm2020/chat/message-box.component.mjs +10 -8
- package/esm2020/chat/message-box.directive.mjs +3 -2
- package/esm2020/chat/message-list.component.mjs +11 -12
- package/esm2020/chat/message-template.directive.mjs +3 -2
- package/esm2020/chat/message.component.mjs +6 -4
- package/esm2020/chat/suggested-actions.component.mjs +6 -4
- package/esm2020/conversational-ui.module.mjs +25 -5
- package/esm2020/directives.mjs +48 -0
- package/esm2020/index.mjs +1 -0
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-conversational-ui.mjs +1285 -1306
- package/fesm2020/progress-kendo-angular-conversational-ui.mjs +649 -670
- package/index.d.ts +1 -0
- package/package.json +10 -10
@@ -3,23 +3,23 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { Component, ContentChild, ContentChildren, EventEmitter, HostBinding, Input, NgZone, Output, QueryList } from "@angular/core";
|
6
|
+
import { NgFor, NgIf, NgTemplateOutlet } from "@angular/common";
|
7
|
+
import { Subscription } from "rxjs";
|
6
8
|
import { sparklesIcon, commentIcon } from "@progress/kendo-svg-icons";
|
7
9
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
8
10
|
import { validatePackage } from "@progress/kendo-licensing";
|
11
|
+
import { ButtonComponent } from "@progress/kendo-angular-buttons";
|
9
12
|
import { BaseView } from "./views/base-view";
|
10
13
|
import { packageMetadata } from "../package-metadata";
|
11
|
-
import { Subscription } from "rxjs";
|
12
14
|
import { AIPromptService } from "./common/aiprompt.service";
|
13
15
|
import { AIPromptToolbarActionsDirective } from "./templates/toolbar-actions.template";
|
14
16
|
import { ToolbarNavigationService } from "./common/toolbar-navigation.service";
|
17
|
+
import { AIPromptToolbarFocusableDirective } from "./common/toolbar-focusable.directive";
|
18
|
+
import { LocalizedMessagesDirective } from "./localization/localized-messages.directive";
|
15
19
|
import * as i0 from "@angular/core";
|
16
20
|
import * as i1 from "@progress/kendo-angular-l10n";
|
17
21
|
import * as i2 from "./common/aiprompt.service";
|
18
22
|
import * as i3 from "./common/toolbar-navigation.service";
|
19
|
-
import * as i4 from "@angular/common";
|
20
|
-
import * as i5 from "@progress/kendo-angular-buttons";
|
21
|
-
import * as i6 from "./common/toolbar-focusable.directive";
|
22
|
-
import * as i7 from "./localization/localized-messages.directive";
|
23
23
|
/**
|
24
24
|
* Represents the Kendo UI AIPrompt component for Angular.
|
25
25
|
*/
|
@@ -175,7 +175,7 @@ export class AIPromptComponent {
|
|
175
175
|
}
|
176
176
|
}
|
177
177
|
AIPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptComponent, deps: [{ token: i1.LocalizationService }, { token: i2.AIPromptService }, { token: i3.ToolbarNavigationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
178
|
-
AIPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptComponent, selector: "kendo-aiprompt", inputs: { activeView: "activeView", promptCommands: "promptCommands", promptSuggestions: "promptSuggestions", promptOutputs: "promptOutputs", showOutputRating: "showOutputRating" }, outputs: { activeViewChange: "activeViewChange", promptRequest: "promptRequest", commandExecute: "commandExecute", outputCopy: "outputCopy", outputRatingChange: "outputRatingChange" }, host: { properties: { "class.k-prompt": "this.hostClasses", "attr.dir": "this.dirAttr" } }, providers: [
|
178
|
+
AIPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptComponent, isStandalone: true, 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: [
|
179
179
|
LocalizationService,
|
180
180
|
AIPromptService,
|
181
181
|
ToolbarNavigationService,
|
@@ -244,7 +244,7 @@ AIPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
244
244
|
(click)="handleGenerateOutput()">{{messageFor('generateOutput')}}</button>
|
245
245
|
</div>
|
246
246
|
</div>
|
247
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
247
|
+
`, 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], 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: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
248
248
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptComponent, decorators: [{
|
249
249
|
type: Component,
|
250
250
|
args: [{
|
@@ -320,7 +320,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
320
320
|
(click)="handleGenerateOutput()">{{messageFor('generateOutput')}}</button>
|
321
321
|
</div>
|
322
322
|
</div>
|
323
|
-
|
323
|
+
`,
|
324
|
+
standalone: true,
|
325
|
+
imports: [LocalizedMessagesDirective, NgFor, ButtonComponent, AIPromptToolbarFocusableDirective, NgIf, NgTemplateOutlet]
|
324
326
|
}]
|
325
327
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.AIPromptService }, { type: i3.ToolbarNavigationService }, { type: i0.NgZone }]; }, propDecorators: { hostClasses: [{
|
326
328
|
type: HostBinding,
|
@@ -3,36 +3,21 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { NgModule } from "@angular/core";
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
import {
|
11
|
-
import { PromptViewComponent } from "./views/prompt-view.component";
|
12
|
-
import { OutputViewComponent } from "./views/output-view.component";
|
13
|
-
import { AIPromptComponent } from "./aiprompt.component";
|
14
|
-
import { CommandViewComponent } from "./views/command-view.component";
|
15
|
-
import { LocalizedMessagesDirective } from "./localization/localized-messages.directive";
|
16
|
-
import { AIPromptCustomMessagesComponent } from "./localization/custom-messages.component";
|
17
|
-
import { AIPromptOutputCardComponent } from './common/output-card.component';
|
18
|
-
import { CustomViewComponent } from './views/custom-view.component';
|
19
|
-
import { AIPromptToolbarActionsDirective } from './templates/toolbar-actions.template';
|
20
|
-
import { AIPromptToolbarFocusableDirective } from './common/toolbar-focusable.directive';
|
6
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
7
|
+
import { PopupService } from "@progress/kendo-angular-popup";
|
8
|
+
import { ResizeBatchService } from "@progress/kendo-angular-common";
|
9
|
+
import { DialogContainerService, DialogService, WindowContainerService, WindowService } from "@progress/kendo-angular-dialog";
|
10
|
+
import { KENDO_AIPROMPT } from "../directives";
|
21
11
|
import * as i0 from "@angular/core";
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
];
|
32
|
-
const PRIVATE_DIRECTIVES = [
|
33
|
-
LocalizedMessagesDirective,
|
34
|
-
AIPromptOutputCardComponent
|
35
|
-
];
|
12
|
+
import * as i1 from "./aiprompt.component";
|
13
|
+
import * as i2 from "./views/prompt-view.component";
|
14
|
+
import * as i3 from "./views/output-view.component";
|
15
|
+
import * as i4 from "./views/command-view.component";
|
16
|
+
import * as i5 from "./views/custom-view.component";
|
17
|
+
import * as i6 from "./localization/custom-messages.component";
|
18
|
+
import * as i7 from "./templates/toolbar-actions.template";
|
19
|
+
import * as i8 from "./common/toolbar-focusable.directive";
|
20
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
36
21
|
/**
|
37
22
|
* The [NgModule](link:site.data.urls.angular['ngmodules']) for the AIPrompt component.
|
38
23
|
*
|
@@ -57,42 +42,13 @@ const PRIVATE_DIRECTIVES = [
|
|
57
42
|
export class AIPromptModule {
|
58
43
|
}
|
59
44
|
AIPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
60
|
-
AIPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AIPromptModule,
|
61
|
-
|
62
|
-
OutputViewComponent,
|
63
|
-
CommandViewComponent,
|
64
|
-
CustomViewComponent,
|
65
|
-
AIPromptCustomMessagesComponent,
|
66
|
-
AIPromptToolbarActionsDirective,
|
67
|
-
AIPromptToolbarFocusableDirective, LocalizedMessagesDirective,
|
68
|
-
AIPromptOutputCardComponent], imports: [CommonModule,
|
69
|
-
ButtonsModule,
|
70
|
-
IconsModule,
|
71
|
-
InputsModule,
|
72
|
-
LayoutModule], exports: [AIPromptComponent,
|
73
|
-
PromptViewComponent,
|
74
|
-
OutputViewComponent,
|
75
|
-
CommandViewComponent,
|
76
|
-
CustomViewComponent,
|
77
|
-
AIPromptCustomMessagesComponent,
|
78
|
-
AIPromptToolbarActionsDirective,
|
79
|
-
AIPromptToolbarFocusableDirective] });
|
80
|
-
AIPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptModule, imports: [CommonModule,
|
81
|
-
ButtonsModule,
|
82
|
-
IconsModule,
|
83
|
-
InputsModule,
|
84
|
-
LayoutModule] });
|
45
|
+
AIPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AIPromptModule, imports: [i1.AIPromptComponent, i2.PromptViewComponent, i3.OutputViewComponent, i4.CommandViewComponent, i5.CustomViewComponent, i6.AIPromptCustomMessagesComponent, i7.AIPromptToolbarActionsDirective, i8.AIPromptToolbarFocusableDirective], exports: [i1.AIPromptComponent, i2.PromptViewComponent, i3.OutputViewComponent, i4.CommandViewComponent, i5.CustomViewComponent, i6.AIPromptCustomMessagesComponent, i7.AIPromptToolbarActionsDirective, i8.AIPromptToolbarFocusableDirective] });
|
46
|
+
AIPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [i1.AIPromptComponent, i2.PromptViewComponent, i3.OutputViewComponent, i4.CommandViewComponent, i5.CustomViewComponent, i6.AIPromptCustomMessagesComponent] });
|
85
47
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptModule, decorators: [{
|
86
48
|
type: NgModule,
|
87
49
|
args: [{
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
CommonModule,
|
92
|
-
ButtonsModule,
|
93
|
-
IconsModule,
|
94
|
-
InputsModule,
|
95
|
-
LayoutModule
|
96
|
-
]
|
50
|
+
exports: [...KENDO_AIPROMPT],
|
51
|
+
imports: [...KENDO_AIPROMPT],
|
52
|
+
providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService]
|
97
53
|
}]
|
98
54
|
}] });
|
@@ -3,15 +3,15 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { Component, HostBinding, Input } from '@angular/core';
|
6
|
+
import { NgIf } from '@angular/common';
|
6
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
7
8
|
import { guid, isPresent } from '@progress/kendo-angular-common';
|
9
|
+
import { ButtonComponent } from "@progress/kendo-angular-buttons";
|
8
10
|
import { arrowRotateCwIcon, copyIcon, thumbDownIcon, thumbDownOutlineIcon, thumbUpIcon, thumbUpOutlineIcon } from '@progress/kendo-svg-icons';
|
9
11
|
import { AIPromptService } from './aiprompt.service';
|
10
12
|
import * as i0 from "@angular/core";
|
11
13
|
import * as i1 from "@progress/kendo-angular-l10n";
|
12
14
|
import * as i2 from "./aiprompt.service";
|
13
|
-
import * as i3 from "@angular/common";
|
14
|
-
import * as i4 from "@progress/kendo-angular-buttons";
|
15
15
|
/**
|
16
16
|
* @hidden
|
17
17
|
*/
|
@@ -96,7 +96,7 @@ export class AIPromptOutputCardComponent {
|
|
96
96
|
}
|
97
97
|
}
|
98
98
|
AIPromptOutputCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptOutputCardComponent, deps: [{ token: i1.LocalizationService }, { token: i2.AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
99
|
-
AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: { promptOutput: "promptOutput" }, host: { properties: { "class.k-card": "this.hostClass", "attr.role": "this.listItemRole", "attr.tabindex": "this.tabIndex", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-keyshortcuts": "this.ariaKeyShortcuts" } }, ngImport: i0, template: `
|
99
|
+
AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: `
|
100
100
|
<div class="k-card-header">
|
101
101
|
<div
|
102
102
|
class="k-card-title"
|
@@ -139,7 +139,7 @@ AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
139
139
|
</button>
|
140
140
|
</ng-container>
|
141
141
|
</div>
|
142
|
-
`, isInline: true, dependencies: [{ kind: "
|
142
|
+
`, isInline: true, dependencies: [{ kind: "component", type: 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: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
143
143
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptOutputCardComponent, decorators: [{
|
144
144
|
type: Component,
|
145
145
|
args: [{
|
@@ -187,7 +187,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
187
187
|
</button>
|
188
188
|
</ng-container>
|
189
189
|
</div>
|
190
|
-
|
190
|
+
`,
|
191
|
+
standalone: true,
|
192
|
+
imports: [ButtonComponent, NgIf]
|
191
193
|
}]
|
192
194
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.AIPromptService }]; }, propDecorators: { hostClass: [{
|
193
195
|
type: HostBinding,
|
@@ -58,10 +58,11 @@ export class AIPromptToolbarFocusableDirective {
|
|
58
58
|
}
|
59
59
|
}
|
60
60
|
AIPromptToolbarFocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: i1.ToolbarNavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
61
|
-
AIPromptToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptToolbarFocusableDirective, selector: "[kendoAIPromptToolbarFocusable]", ngImport: i0 });
|
61
|
+
AIPromptToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptToolbarFocusableDirective, isStandalone: true, selector: "[kendoAIPromptToolbarFocusable]", ngImport: i0 });
|
62
62
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptToolbarFocusableDirective, decorators: [{
|
63
63
|
type: Directive,
|
64
64
|
args: [{
|
65
|
-
selector: '[kendoAIPromptToolbarFocusable]'
|
65
|
+
selector: '[kendoAIPromptToolbarFocusable]',
|
66
|
+
standalone: true
|
66
67
|
}]
|
67
68
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.ToolbarNavigationService }, { type: i0.Renderer2 }]; } });
|
@@ -21,7 +21,7 @@ export class AIPromptCustomMessagesComponent extends Messages {
|
|
21
21
|
}
|
22
22
|
}
|
23
23
|
AIPromptCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
24
|
-
AIPromptCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptCustomMessagesComponent, selector: "kendo-aiprompt-messages", providers: [
|
24
|
+
AIPromptCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptCustomMessagesComponent, isStandalone: true, selector: "kendo-aiprompt-messages", providers: [
|
25
25
|
{
|
26
26
|
provide: Messages,
|
27
27
|
useExisting: forwardRef(() => AIPromptCustomMessagesComponent)
|
@@ -37,6 +37,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
37
37
|
}
|
38
38
|
],
|
39
39
|
selector: 'kendo-aiprompt-messages',
|
40
|
-
template:
|
40
|
+
template: ``,
|
41
|
+
standalone: true
|
41
42
|
}]
|
42
43
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
@@ -17,7 +17,7 @@ export class LocalizedMessagesDirective extends Messages {
|
|
17
17
|
}
|
18
18
|
}
|
19
19
|
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
20
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoAIPromptLocalizedMessages]", providers: [
|
20
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoAIPromptLocalizedMessages]", providers: [
|
21
21
|
{
|
22
22
|
provide: Messages,
|
23
23
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
32
32
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
33
33
|
}
|
34
34
|
],
|
35
|
-
selector: '[kendoAIPromptLocalizedMessages]'
|
35
|
+
selector: '[kendoAIPromptLocalizedMessages]',
|
36
|
+
standalone: true
|
36
37
|
}]
|
37
38
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
@@ -16,11 +16,12 @@ export class AIPromptToolbarActionsDirective {
|
|
16
16
|
}
|
17
17
|
}
|
18
18
|
AIPromptToolbarActionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptToolbarActionsDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
19
|
-
AIPromptToolbarActionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptToolbarActionsDirective, selector: "[kendoAIPromptToolbarActionsTemplate]", ngImport: i0 });
|
19
|
+
AIPromptToolbarActionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptToolbarActionsDirective, isStandalone: true, selector: "[kendoAIPromptToolbarActionsTemplate]", ngImport: i0 });
|
20
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptToolbarActionsDirective, decorators: [{
|
21
21
|
type: Directive,
|
22
22
|
args: [{
|
23
|
-
selector: '[kendoAIPromptToolbarActionsTemplate]'
|
23
|
+
selector: '[kendoAIPromptToolbarActionsTemplate]',
|
24
|
+
standalone: true
|
24
25
|
}]
|
25
26
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
26
27
|
type: Optional
|
@@ -4,12 +4,12 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { Component, forwardRef } from '@angular/core';
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
7
|
+
import { PanelBarComponent } from '@progress/kendo-angular-layout';
|
7
8
|
import { BaseView } from './base-view';
|
8
9
|
import { AIPromptService } from '../common/aiprompt.service';
|
9
10
|
import * as i0 from "@angular/core";
|
10
11
|
import * as i1 from "@progress/kendo-angular-l10n";
|
11
12
|
import * as i2 from "../common/aiprompt.service";
|
12
|
-
import * as i3 from "@progress/kendo-angular-layout";
|
13
13
|
/**
|
14
14
|
* The component for rendering the AIPrompt Command View.
|
15
15
|
*/
|
@@ -55,7 +55,7 @@ export class CommandViewComponent extends BaseView {
|
|
55
55
|
}
|
56
56
|
}
|
57
57
|
CommandViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommandViewComponent, deps: [{ token: i1.LocalizationService }, { token: i2.AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
58
|
-
CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CommandViewComponent, selector: "kendo-aiprompt-command-view", providers: [{
|
58
|
+
CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CommandViewComponent, isStandalone: true, selector: "kendo-aiprompt-command-view", providers: [{
|
59
59
|
provide: BaseView,
|
60
60
|
useExisting: forwardRef(() => CommandViewComponent)
|
61
61
|
}], usesInheritance: true, ngImport: i0, template: `
|
@@ -67,7 +67,7 @@ CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
67
67
|
(itemClick)="itemClickHandler($event)"
|
68
68
|
></kendo-panelbar>
|
69
69
|
</ng-template>
|
70
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
70
|
+
`, 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"] }] });
|
71
71
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommandViewComponent, decorators: [{
|
72
72
|
type: Component,
|
73
73
|
args: [{
|
@@ -85,6 +85,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
85
85
|
(itemClick)="itemClickHandler($event)"
|
86
86
|
></kendo-panelbar>
|
87
87
|
</ng-template>
|
88
|
-
|
88
|
+
`,
|
89
|
+
standalone: true,
|
90
|
+
imports: [PanelBarComponent]
|
89
91
|
}]
|
90
92
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.AIPromptService }]; } });
|
@@ -16,7 +16,7 @@ export class CustomViewComponent extends BaseView {
|
|
16
16
|
}
|
17
17
|
}
|
18
18
|
CustomViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomViewComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
19
|
-
CustomViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomViewComponent, selector: "kendo-aiprompt-custom-view", inputs: { viewTemplate: "viewTemplate" }, providers: [{
|
19
|
+
CustomViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomViewComponent, isStandalone: true, selector: "kendo-aiprompt-custom-view", inputs: { viewTemplate: "viewTemplate" }, providers: [{
|
20
20
|
provide: BaseView,
|
21
21
|
useExisting: forwardRef(() => CustomViewComponent)
|
22
22
|
}], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
@@ -28,7 +28,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
28
28
|
provide: BaseView,
|
29
29
|
useExisting: forwardRef(() => CustomViewComponent)
|
30
30
|
}],
|
31
|
-
template:
|
31
|
+
template: ``,
|
32
|
+
standalone: true
|
32
33
|
}]
|
33
34
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { viewTemplate: [{
|
34
35
|
type: Input
|
@@ -6,11 +6,11 @@ import { Component, forwardRef } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
7
7
|
import { BaseView } from './base-view';
|
8
8
|
import { AIPromptService } from '../common/aiprompt.service';
|
9
|
+
import { AIPromptOutputCardComponent } from '../common/output-card.component';
|
10
|
+
import { NgFor } from '@angular/common';
|
9
11
|
import * as i0 from "@angular/core";
|
10
12
|
import * as i1 from "@progress/kendo-angular-l10n";
|
11
13
|
import * as i2 from "../common/aiprompt.service";
|
12
|
-
import * as i3 from "@angular/common";
|
13
|
-
import * as i4 from "../common/output-card.component";
|
14
14
|
/**
|
15
15
|
* The component for rendering the AIPrompt Output View.
|
16
16
|
*/
|
@@ -27,7 +27,7 @@ export class OutputViewComponent extends BaseView {
|
|
27
27
|
}
|
28
28
|
}
|
29
29
|
OutputViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OutputViewComponent, deps: [{ token: i1.LocalizationService }, { token: i2.AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
30
|
-
OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: OutputViewComponent, selector: "kendo-aiprompt-output-view", providers: [{
|
30
|
+
OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: OutputViewComponent, isStandalone: true, selector: "kendo-aiprompt-output-view", providers: [{
|
31
31
|
provide: BaseView,
|
32
32
|
useExisting: forwardRef(() => OutputViewComponent)
|
33
33
|
}], usesInheritance: true, ngImport: i0, template: `
|
@@ -41,7 +41,7 @@ OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
41
41
|
</div>
|
42
42
|
</div>
|
43
43
|
</ng-template>
|
44
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
44
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: ["promptOutput"] }] });
|
45
45
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OutputViewComponent, decorators: [{
|
46
46
|
type: Component,
|
47
47
|
args: [{
|
@@ -61,6 +61,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
61
61
|
</div>
|
62
62
|
</div>
|
63
63
|
</ng-template>
|
64
|
-
|
64
|
+
`,
|
65
|
+
standalone: true,
|
66
|
+
imports: [NgFor, AIPromptOutputCardComponent]
|
65
67
|
}]
|
66
68
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.AIPromptService }]; } });
|
@@ -3,17 +3,17 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { Component, forwardRef } from '@angular/core';
|
6
|
+
import { NgIf, NgFor } from '@angular/common';
|
6
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
7
8
|
import { guid } from '@progress/kendo-angular-common';
|
8
9
|
import { chevronDownIcon, chevronUpIcon } from '@progress/kendo-svg-icons';
|
10
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
11
|
+
import { TextAreaComponent } from '@progress/kendo-angular-inputs';
|
9
12
|
import { BaseView } from './base-view';
|
10
13
|
import { AIPromptService } from '../common/aiprompt.service';
|
11
14
|
import * as i0 from "@angular/core";
|
12
15
|
import * as i1 from "@progress/kendo-angular-l10n";
|
13
16
|
import * as i2 from "../common/aiprompt.service";
|
14
|
-
import * as i3 from "@angular/common";
|
15
|
-
import * as i4 from "@progress/kendo-angular-buttons";
|
16
|
-
import * as i5 from "@progress/kendo-angular-inputs";
|
17
17
|
/**
|
18
18
|
* The component for rendering the AIPrompt Prompt View.
|
19
19
|
*/
|
@@ -62,7 +62,7 @@ export class PromptViewComponent extends BaseView {
|
|
62
62
|
}
|
63
63
|
}
|
64
64
|
PromptViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptViewComponent, deps: [{ token: i1.LocalizationService }, { token: i2.AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
65
|
-
PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PromptViewComponent, selector: "kendo-aiprompt-prompt-view", providers: [
|
65
|
+
PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PromptViewComponent, isStandalone: true, selector: "kendo-aiprompt-prompt-view", providers: [
|
66
66
|
{
|
67
67
|
provide: BaseView,
|
68
68
|
useExisting: forwardRef(() => PromptViewComponent)
|
@@ -99,7 +99,7 @@ PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
99
99
|
</div>
|
100
100
|
</div>
|
101
101
|
</ng-template>
|
102
|
-
`, isInline: true, dependencies: [{ kind: "
|
102
|
+
`, isInline: true, dependencies: [{ kind: "component", type: 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"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: 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: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
103
103
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptViewComponent, decorators: [{
|
104
104
|
type: Component,
|
105
105
|
args: [{
|
@@ -142,6 +142,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
142
142
|
</div>
|
143
143
|
</div>
|
144
144
|
</ng-template>
|
145
|
-
|
145
|
+
`,
|
146
|
+
standalone: true,
|
147
|
+
imports: [TextAreaComponent, NgIf, ButtonComponent, NgFor]
|
146
148
|
}]
|
147
149
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.AIPromptService }]; } });
|
@@ -22,11 +22,12 @@ export class AttachmentTemplateDirective {
|
|
22
22
|
}
|
23
23
|
}
|
24
24
|
AttachmentTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AttachmentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
25
|
-
AttachmentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AttachmentTemplateDirective, selector: "[kendoChatAttachmentTemplate]", ngImport: i0 });
|
25
|
+
AttachmentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AttachmentTemplateDirective, isStandalone: true, selector: "[kendoChatAttachmentTemplate]", ngImport: i0 });
|
26
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AttachmentTemplateDirective, decorators: [{
|
27
27
|
type: Directive,
|
28
28
|
args: [{
|
29
|
-
selector: '[kendoChatAttachmentTemplate]'
|
29
|
+
selector: '[kendoChatAttachmentTemplate]',
|
30
|
+
standalone: true
|
30
31
|
}]
|
31
32
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
32
33
|
type: Optional
|
@@ -3,9 +3,9 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { Component, Input } from '@angular/core';
|
6
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
6
7
|
import { AttachmentTemplateDirective } from './attachment-template.directive';
|
7
8
|
import * as i0 from "@angular/core";
|
8
|
-
import * as i1 from "@angular/common";
|
9
9
|
/**
|
10
10
|
* @hidden
|
11
11
|
*/
|
@@ -30,7 +30,7 @@ export class AttachmentComponent {
|
|
30
30
|
}
|
31
31
|
}
|
32
32
|
AttachmentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AttachmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
33
|
-
AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: { attachment: "attachment", template: "template" }, ngImport: i0, template: `
|
33
|
+
AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AttachmentComponent, isStandalone: true, selector: "kendo-chat-attachment", inputs: { attachment: "attachment", template: "template" }, ngImport: i0, template: `
|
34
34
|
<ng-container *ngIf="template">
|
35
35
|
<ng-container *ngTemplateOutlet="template.templateRef; context: context;">
|
36
36
|
</ng-container>
|
@@ -50,7 +50,7 @@ AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
50
50
|
</ng-container>
|
51
51
|
</div>
|
52
52
|
</div>
|
53
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
53
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
54
54
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AttachmentComponent, decorators: [{
|
55
55
|
type: Component,
|
56
56
|
args: [{
|
@@ -75,7 +75,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
75
75
|
</ng-container>
|
76
76
|
</div>
|
77
77
|
</div>
|
78
|
-
|
78
|
+
`,
|
79
|
+
standalone: true,
|
80
|
+
imports: [NgIf, NgTemplateOutlet]
|
79
81
|
}]
|
80
82
|
}], propDecorators: { attachment: [{
|
81
83
|
type: Input
|
@@ -3,9 +3,9 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';
|
6
|
+
import { NgIf, NgFor } from '@angular/common';
|
7
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
6
8
|
import * as i0 from "@angular/core";
|
7
|
-
import * as i1 from "@progress/kendo-angular-buttons";
|
8
|
-
import * as i2 from "@angular/common";
|
9
9
|
/**
|
10
10
|
* Represents a Hero Card component ([see example]({% slug dialogflow_chat %})).
|
11
11
|
* Hero cards host a single large image and action buttons with text content.
|
@@ -23,7 +23,7 @@ export class HeroCardComponent {
|
|
23
23
|
}
|
24
24
|
}
|
25
25
|
HeroCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeroCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
26
|
-
HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HeroCardComponent, selector: "kendo-chat-hero-card", inputs: { imageUrl: "imageUrl", title: "title", subtitle: "subtitle", actions: "actions" }, outputs: { executeAction: "executeAction" }, host: { properties: { "class.k-card": "this.cssClass" } }, ngImport: i0, template: `
|
26
|
+
HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: `
|
27
27
|
<img class="k-card-image" [src]="imageUrl" *ngIf="imageUrl" />
|
28
28
|
<div class="k-card-body">
|
29
29
|
<h5 class="k-card-title" *ngIf="title">
|
@@ -45,7 +45,7 @@ HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
45
45
|
</button>
|
46
46
|
</span>
|
47
47
|
</div>
|
48
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
48
|
+
`, 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], 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"] }] });
|
49
49
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeroCardComponent, decorators: [{
|
50
50
|
type: Component,
|
51
51
|
args: [{
|
@@ -72,7 +72,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
72
72
|
</button>
|
73
73
|
</span>
|
74
74
|
</div>
|
75
|
-
|
75
|
+
`,
|
76
|
+
standalone: true,
|
77
|
+
imports: [NgIf, NgFor, ButtonComponent]
|
76
78
|
}]
|
77
79
|
}], propDecorators: { imageUrl: [{
|
78
80
|
type: Input
|
@@ -11,12 +11,11 @@ import { validatePackage } from '@progress/kendo-licensing';
|
|
11
11
|
import { packageMetadata } from '../package-metadata';
|
12
12
|
import { ChatMessageBoxTemplateDirective } from './message-box.directive';
|
13
13
|
import { MessageBoxComponent } from './message-box.component';
|
14
|
+
import { MessageListComponent } from './message-list.component';
|
15
|
+
import { ScrollAnchorDirective } from './common/scroll-anchor.directive';
|
16
|
+
import { LocalizedMessagesDirective } from './l10n/localized-messages.directive';
|
14
17
|
import * as i0 from "@angular/core";
|
15
18
|
import * as i1 from "@progress/kendo-angular-l10n";
|
16
|
-
import * as i2 from "./l10n/localized-messages.directive";
|
17
|
-
import * as i3 from "./message-list.component";
|
18
|
-
import * as i4 from "./common/scroll-anchor.directive";
|
19
|
-
import * as i5 from "./message-box.component";
|
20
19
|
/**
|
21
20
|
* Represents the Kendo UI Chat component for Angular.
|
22
21
|
*
|
@@ -113,7 +112,7 @@ export class ChatComponent {
|
|
113
112
|
}
|
114
113
|
}
|
115
114
|
ChatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
116
|
-
ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChatComponent, selector: "kendo-chat", inputs: { messages: "messages", user: "user", messageBoxType: "messageBoxType" }, outputs: { sendMessage: "sendMessage", executeAction: "executeAction" }, host: { properties: { "class": "this.className", "attr.dir": "this.dirAttr" } }, providers: [
|
115
|
+
ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChatComponent, isStandalone: true, 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: [
|
117
116
|
LocalizationService,
|
118
117
|
{
|
119
118
|
provide: L10N_PREFIX,
|
@@ -176,7 +175,7 @@ ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
176
175
|
(sendMessage)="sendMessage.emit($event)"
|
177
176
|
>
|
178
177
|
</kendo-message-box>
|
179
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
178
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoChatLocalizedMessages]" }, { kind: "directive", type: ScrollAnchorDirective, selector: "[kendoChatScrollAnchor]", inputs: ["autoScroll"], outputs: ["autoScrollChange"], exportAs: ["scrollAnchor"] }, { kind: "component", type: MessageListComponent, selector: "kendo-chat-message-list", inputs: ["messages", "attachmentTemplate", "messageTemplate", "localization", "user"], outputs: ["executeAction", "navigate", "resize"] }, { kind: "component", type: MessageBoxComponent, selector: "kendo-message-box", inputs: ["user", "autoScroll", "type", "localization", "messageBoxTemplate"], outputs: ["sendMessage"] }] });
|
180
179
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatComponent, decorators: [{
|
181
180
|
type: Component,
|
182
181
|
args: [{
|
@@ -245,7 +244,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
245
244
|
(sendMessage)="sendMessage.emit($event)"
|
246
245
|
>
|
247
246
|
</kendo-message-box>
|
248
|
-
|
247
|
+
`,
|
248
|
+
standalone: true,
|
249
|
+
imports: [LocalizedMessagesDirective, ScrollAnchorDirective, MessageListComponent, MessageBoxComponent]
|
249
250
|
}]
|
250
251
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { messages: [{
|
251
252
|
type: Input
|