@progress/kendo-angular-conversational-ui 16.5.0-develop.6 → 16.6.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai-prompt/aiprompt.component.d.ts +1 -1
- package/ai-prompt/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
@@ -118,5 +118,5 @@ export declare class AIPromptComponent implements AfterViewInit, OnDestroy {
|
|
118
118
|
*/
|
119
119
|
handleGenerateOutput(): void;
|
120
120
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptComponent, never>;
|
121
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptComponent, "kendo-aiprompt", ["kendoAIPrompt"], { "activeView": "activeView"; "promptCommands": "promptCommands"; "promptSuggestions": "promptSuggestions"; "promptOutputs": "promptOutputs"; "showOutputRating": "showOutputRating"; }, { "activeViewChange": "activeViewChange"; "promptRequest": "promptRequest"; "commandExecute": "commandExecute"; "outputCopy": "outputCopy"; "outputRatingChange": "outputRatingChange"; }, ["toolbarActionsTemplate", "views"], never,
|
121
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptComponent, "kendo-aiprompt", ["kendoAIPrompt"], { "activeView": "activeView"; "promptCommands": "promptCommands"; "promptSuggestions": "promptSuggestions"; "promptOutputs": "promptOutputs"; "showOutputRating": "showOutputRating"; }, { "activeViewChange": "activeViewChange"; "promptRequest": "promptRequest"; "commandExecute": "commandExecute"; "outputCopy": "outputCopy"; "outputRatingChange": "outputRatingChange"; }, ["toolbarActionsTemplate", "views"], never, true, never>;
|
122
122
|
}
|
@@ -11,13 +11,6 @@ import * as i5 from "./views/custom-view.component";
|
|
11
11
|
import * as i6 from "./localization/custom-messages.component";
|
12
12
|
import * as i7 from "./templates/toolbar-actions.template";
|
13
13
|
import * as i8 from "./common/toolbar-focusable.directive";
|
14
|
-
import * as i9 from "./localization/localized-messages.directive";
|
15
|
-
import * as i10 from "./common/output-card.component";
|
16
|
-
import * as i11 from "@angular/common";
|
17
|
-
import * as i12 from "@progress/kendo-angular-buttons";
|
18
|
-
import * as i13 from "@progress/kendo-angular-icons";
|
19
|
-
import * as i14 from "@progress/kendo-angular-inputs";
|
20
|
-
import * as i15 from "@progress/kendo-angular-layout";
|
21
14
|
/**
|
22
15
|
* The [NgModule](link:site.data.urls.angular['ngmodules']) for the AIPrompt component.
|
23
16
|
*
|
@@ -41,6 +34,6 @@ import * as i15 from "@progress/kendo-angular-layout";
|
|
41
34
|
*/
|
42
35
|
export declare class AIPromptModule {
|
43
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptModule, never>;
|
44
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AIPromptModule, [typeof i1.AIPromptComponent, typeof i2.PromptViewComponent, typeof i3.OutputViewComponent, typeof i4.CommandViewComponent, typeof i5.CustomViewComponent, typeof i6.AIPromptCustomMessagesComponent, typeof i7.AIPromptToolbarActionsDirective, typeof i8.AIPromptToolbarFocusableDirective
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AIPromptModule, never, [typeof i1.AIPromptComponent, typeof i2.PromptViewComponent, typeof i3.OutputViewComponent, typeof i4.CommandViewComponent, typeof i5.CustomViewComponent, typeof i6.AIPromptCustomMessagesComponent, typeof i7.AIPromptToolbarActionsDirective, typeof i8.AIPromptToolbarFocusableDirective], [typeof i1.AIPromptComponent, typeof i2.PromptViewComponent, typeof i3.OutputViewComponent, typeof i4.CommandViewComponent, typeof i5.CustomViewComponent, typeof i6.AIPromptCustomMessagesComponent, typeof i7.AIPromptToolbarActionsDirective, typeof i8.AIPromptToolbarFocusableDirective]>;
|
45
38
|
static ɵinj: i0.ɵɵInjectorDeclaration<AIPromptModule>;
|
46
39
|
}
|
@@ -34,5 +34,5 @@ export declare class AIPromptOutputCardComponent implements OnInit {
|
|
34
34
|
handleCopy(): void;
|
35
35
|
handleRating(ratingType: PromptOutputRating): void;
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptOutputCardComponent, never>;
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptOutputCardComponent, "[kendoAIPromptOutputCard]", never, { "promptOutput": "promptOutput"; }, {}, never, never,
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptOutputCardComponent, "[kendoAIPromptOutputCard]", never, { "promptOutput": "promptOutput"; }, {}, never, never, true, never>;
|
38
38
|
}
|
@@ -20,5 +20,5 @@ export declare class AIPromptToolbarFocusableDirective implements AfterViewInit,
|
|
20
20
|
private keyDownHandler;
|
21
21
|
private clickHandler;
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptToolbarFocusableDirective, never>;
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AIPromptToolbarFocusableDirective, "[kendoAIPromptToolbarFocusable]", never, {}, {}, never, never,
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AIPromptToolbarFocusableDirective, "[kendoAIPromptToolbarFocusable]", never, {}, {}, never, never, true, never>;
|
24
24
|
}
|
@@ -14,5 +14,5 @@ export declare class AIPromptCustomMessagesComponent extends Messages {
|
|
14
14
|
constructor(service: LocalizationService);
|
15
15
|
protected get override(): boolean;
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptCustomMessagesComponent, never>;
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptCustomMessagesComponent, "kendo-aiprompt-messages", never, {}, {}, never, never,
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptCustomMessagesComponent, "kendo-aiprompt-messages", never, {}, {}, never, never, true, never>;
|
18
18
|
}
|
@@ -12,5 +12,5 @@ export declare class LocalizedMessagesDirective extends Messages {
|
|
12
12
|
protected service: LocalizationService;
|
13
13
|
constructor(service: LocalizationService);
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoAIPromptLocalizedMessages]", never, {}, {}, never, never,
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoAIPromptLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
16
16
|
}
|
@@ -14,5 +14,5 @@ export declare class AIPromptToolbarActionsDirective {
|
|
14
14
|
templateRef: TemplateRef<any>;
|
15
15
|
constructor(templateRef: TemplateRef<any>);
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptToolbarActionsDirective, [{ optional: true; }]>;
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AIPromptToolbarActionsDirective, "[kendoAIPromptToolbarActionsTemplate]", never, {}, {}, never, never,
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AIPromptToolbarActionsDirective, "[kendoAIPromptToolbarActionsTemplate]", never, {}, {}, never, never, true, never>;
|
18
18
|
}
|
@@ -4,9 +4,9 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { OnInit } from '@angular/core';
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
7
|
+
import { PanelBarItemModel, PanelBarItemClickEvent } from '@progress/kendo-angular-layout';
|
7
8
|
import { BaseView } from './base-view';
|
8
9
|
import { AIPromptService } from '../common/aiprompt.service';
|
9
|
-
import { PanelBarItemModel, PanelBarItemClickEvent } from '@progress/kendo-angular-layout';
|
10
10
|
import * as i0 from "@angular/core";
|
11
11
|
/**
|
12
12
|
* The component for rendering the AIPrompt Command View.
|
@@ -25,5 +25,5 @@ export declare class CommandViewComponent extends BaseView implements OnInit {
|
|
25
25
|
itemClickHandler(ev: PanelBarItemClickEvent): void;
|
26
26
|
private getPanelBarItems;
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommandViewComponent, never>;
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommandViewComponent, "kendo-aiprompt-command-view", never, {}, {}, never, never,
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommandViewComponent, "kendo-aiprompt-command-view", never, {}, {}, never, never, true, never>;
|
29
29
|
}
|
@@ -16,5 +16,5 @@ export declare class CustomViewComponent extends BaseView {
|
|
16
16
|
*/
|
17
17
|
viewTemplate: TemplateRef<any>;
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomViewComponent, never>;
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomViewComponent, "kendo-aiprompt-custom-view", never, { "viewTemplate": "viewTemplate"; }, {}, never, never,
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomViewComponent, "kendo-aiprompt-custom-view", never, { "viewTemplate": "viewTemplate"; }, {}, never, never, true, never>;
|
20
20
|
}
|
@@ -18,5 +18,5 @@ export declare class OutputViewComponent extends BaseView {
|
|
18
18
|
*/
|
19
19
|
get promptOutputs(): Array<PromptOutput>;
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<OutputViewComponent, never>;
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OutputViewComponent, "kendo-aiprompt-output-view", never, {}, {}, never, never,
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OutputViewComponent, "kendo-aiprompt-output-view", never, {}, {}, never, never, true, never>;
|
22
22
|
}
|
@@ -43,5 +43,5 @@ export declare class PromptViewComponent extends BaseView {
|
|
43
43
|
*/
|
44
44
|
suggestionClick(suggestion: string): void;
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<PromptViewComponent, never>;
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PromptViewComponent, "kendo-aiprompt-prompt-view", never, {}, {}, never, never,
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PromptViewComponent, "kendo-aiprompt-prompt-view", never, {}, {}, never, never, true, never>;
|
47
47
|
}
|
@@ -6,7 +6,7 @@ import { Action } from './action.interface';
|
|
6
6
|
import { Attachment, AttachmentLayout } from './attachment.interface';
|
7
7
|
import { User } from './user.interface';
|
8
8
|
/**
|
9
|
-
* Represents a Chat message ([see example](
|
9
|
+
* Represents a Chat message ([see example](slug:overview_convui)).
|
10
10
|
*
|
11
11
|
* > * You are required to provide the `author` field.
|
12
12
|
* > * [Local users]({% slug api_conversational-ui_chatcomponent %}#toc-user) are displayed to the
|
@@ -4,7 +4,7 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { SafeUrl } from '@angular/platform-browser';
|
6
6
|
/**
|
7
|
-
* Represents a participant in a Chat conversation ([see example](
|
7
|
+
* Represents a participant in a Chat conversation ([see example](slug:overview_convui)).
|
8
8
|
*/
|
9
9
|
export interface User {
|
10
10
|
/**
|
@@ -20,5 +20,5 @@ export declare class AttachmentTemplateDirective {
|
|
20
20
|
templateRef: TemplateRef<any>;
|
21
21
|
constructor(templateRef: TemplateRef<any>);
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentTemplateDirective, [{ optional: true; }]>;
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AttachmentTemplateDirective, "[kendoChatAttachmentTemplate]", never, {}, {}, never, never,
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AttachmentTemplateDirective, "[kendoChatAttachmentTemplate]", never, {}, {}, never, never, true, never>;
|
24
24
|
}
|
@@ -18,5 +18,5 @@ export declare class AttachmentComponent {
|
|
18
18
|
private get contentType();
|
19
19
|
private _attachment;
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentComponent, never>;
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentComponent, "kendo-chat-attachment", never, { "attachment": "attachment"; "template": "template"; }, {}, never, never,
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentComponent, "kendo-chat-attachment", never, { "attachment": "attachment"; "template": "template"; }, {}, never, never, true, never>;
|
22
22
|
}
|
@@ -33,5 +33,5 @@ export declare class HeroCardComponent {
|
|
33
33
|
executeAction: EventEmitter<Action>;
|
34
34
|
onClick(action: any): void;
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeroCardComponent, never>;
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeroCardComponent, "kendo-chat-hero-card", never, { "imageUrl": "imageUrl"; "title": "title"; "subtitle": "subtitle"; "actions": "actions"; }, { "executeAction": "executeAction"; }, never, never,
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeroCardComponent, "kendo-chat-hero-card", never, { "imageUrl": "imageUrl"; "title": "title"; "subtitle": "subtitle"; "actions": "actions"; }, { "executeAction": "executeAction"; }, never, never, true, never>;
|
37
37
|
}
|
package/chat/chat.component.d.ts
CHANGED
@@ -89,5 +89,5 @@ export declare class ChatComponent implements AfterViewInit, OnDestroy {
|
|
89
89
|
*/
|
90
90
|
textFor(key: string): string;
|
91
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChatComponent, never>;
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChatComponent, "kendo-chat", never, { "messages": "messages"; "user": "user"; "messageBoxType": "messageBoxType"; }, { "sendMessage": "sendMessage"; "executeAction": "executeAction"; }, ["attachmentTemplate", "messageTemplate", "messageBoxTemplate"], never,
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChatComponent, "kendo-chat", never, { "messages": "messages"; "user": "user"; "messageBoxType": "messageBoxType"; }, { "sendMessage": "sendMessage"; "executeAction": "executeAction"; }, ["attachmentTemplate", "messageTemplate", "messageBoxTemplate"], never, true, never>;
|
93
93
|
}
|
package/chat/chat.module.d.ts
CHANGED
@@ -9,18 +9,6 @@ import * as i3 from "./attachment-template.directive";
|
|
9
9
|
import * as i4 from "./message-template.directive";
|
10
10
|
import * as i5 from "./cards/hero-card.component";
|
11
11
|
import * as i6 from "./message-box.directive";
|
12
|
-
import * as i7 from "./attachment.component";
|
13
|
-
import * as i8 from "./common/focused-state.directive";
|
14
|
-
import * as i9 from "./l10n/localized-messages.directive";
|
15
|
-
import * as i10 from "./message-attachments.component";
|
16
|
-
import * as i11 from "./message.component";
|
17
|
-
import * as i12 from "./message-list.component";
|
18
|
-
import * as i13 from "./common/scroll-anchor.directive";
|
19
|
-
import * as i14 from "./suggested-actions.component";
|
20
|
-
import * as i15 from "./message-box.component";
|
21
|
-
import * as i16 from "@progress/kendo-angular-buttons";
|
22
|
-
import * as i17 from "@angular/common";
|
23
|
-
import * as i18 from "@progress/kendo-angular-common";
|
24
12
|
/**
|
25
13
|
* The [NgModule](link:site.data.urls.angular['ngmodules']) for the Chat component.
|
26
14
|
*
|
@@ -44,6 +32,6 @@ import * as i18 from "@progress/kendo-angular-common";
|
|
44
32
|
*/
|
45
33
|
export declare class ChatModule {
|
46
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChatModule, never>;
|
47
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ChatModule, [typeof i1.ChatComponent, typeof i2.CustomMessagesComponent, typeof i3.AttachmentTemplateDirective, typeof i4.MessageTemplateDirective, typeof i5.HeroCardComponent, typeof i6.ChatMessageBoxTemplateDirective
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ChatModule, never, [typeof i1.ChatComponent, typeof i2.CustomMessagesComponent, typeof i3.AttachmentTemplateDirective, typeof i4.MessageTemplateDirective, typeof i5.HeroCardComponent, typeof i6.ChatMessageBoxTemplateDirective], [typeof i1.ChatComponent, typeof i2.CustomMessagesComponent, typeof i3.AttachmentTemplateDirective, typeof i4.MessageTemplateDirective, typeof i5.HeroCardComponent, typeof i6.ChatMessageBoxTemplateDirective]>;
|
48
36
|
static ɵinj: i0.ɵɵInjectorDeclaration<ChatModule>;
|
49
37
|
}
|
@@ -11,5 +11,5 @@ export declare class FocusedStateDirective {
|
|
11
11
|
onFocus(): void;
|
12
12
|
onBlur(): void;
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<FocusedStateDirective, never>;
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusedStateDirective, "[kendoChatFocusedState]", never, {}, {}, never, never,
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusedStateDirective, "[kendoChatFocusedState]", never, {}, {}, never, never, true, never>;
|
15
15
|
}
|
@@ -23,5 +23,5 @@ export declare class ScrollAnchorDirective implements AfterViewInit, OnInit, OnD
|
|
23
23
|
onScroll(): void;
|
24
24
|
scrollToBottom(): void;
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollAnchorDirective, never>;
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollAnchorDirective, "[kendoChatScrollAnchor]", ["scrollAnchor"], { "autoScroll": "autoScroll"; }, { "autoScrollChange": "autoScrollChange"; }, never, never,
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollAnchorDirective, "[kendoChatScrollAnchor]", ["scrollAnchor"], { "autoScroll": "autoScroll"; }, { "autoScrollChange": "autoScrollChange"; }, never, never, true, never>;
|
27
27
|
}
|
@@ -14,5 +14,5 @@ export declare class CustomMessagesComponent extends Messages {
|
|
14
14
|
constructor(service: LocalizationService);
|
15
15
|
protected get override(): boolean;
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMessagesComponent, "kendo-chat-messages", never, {}, {}, never, never,
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMessagesComponent, "kendo-chat-messages", never, {}, {}, never, never, true, never>;
|
18
18
|
}
|
@@ -12,5 +12,5 @@ export declare class LocalizedMessagesDirective extends Messages {
|
|
12
12
|
protected service: LocalizationService;
|
13
13
|
constructor(service: LocalizationService);
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoChatLocalizedMessages]", never, {}, {}, never, never,
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoChatLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
16
16
|
}
|
@@ -3,11 +3,11 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { AfterViewInit, ElementRef, NgZone, OnDestroy, QueryList } from '@angular/core';
|
6
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
6
8
|
import { Attachment, AttachmentLayout } from './api/attachment.interface';
|
7
9
|
import { ChatItem } from './chat-item';
|
8
10
|
import { AttachmentTemplateDirective } from './attachment-template.directive';
|
9
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
10
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
/**
|
13
13
|
* @hidden
|
@@ -55,5 +55,5 @@ export declare class MessageAttachmentsComponent extends ChatItem implements Aft
|
|
55
55
|
*/
|
56
56
|
textFor(key: string): string;
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageAttachmentsComponent, never>;
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MessageAttachmentsComponent, "kendo-chat-message-attachments", never, { "attachments": "attachments"; "layout": "layout"; "tabbable": "tabbable"; "template": "template"; "localization": "localization"; }, {}, never, never,
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageAttachmentsComponent, "kendo-chat-message-attachments", never, { "attachments": "attachments"; "layout": "layout"; "tabbable": "tabbable"; "template": "template"; "localization": "localization"; }, {}, never, never, true, never>;
|
59
59
|
}
|
@@ -3,11 +3,11 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { ElementRef, EventEmitter } from '@angular/core';
|
6
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
7
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
6
8
|
import { User } from './api/user.interface';
|
7
9
|
import { MessageBoxType } from './common/models/message-box-options';
|
8
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
9
10
|
import { ChatMessageBoxTemplateDirective } from './message-box.directive';
|
10
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
/**
|
13
13
|
* @hidden
|
@@ -43,5 +43,5 @@ export declare class MessageBoxComponent {
|
|
43
43
|
*/
|
44
44
|
textFor(key: string): string;
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoxComponent, never>;
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MessageBoxComponent, "kendo-message-box", never, { "user": "user"; "autoScroll": "autoScroll"; "type": "type"; "localization": "localization"; "messageBoxTemplate": "messageBoxTemplate"; }, { "sendMessage": "sendMessage"; }, never, never,
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageBoxComponent, "kendo-message-box", never, { "user": "user"; "autoScroll": "autoScroll"; "type": "type"; "localization": "localization"; "messageBoxTemplate": "messageBoxTemplate"; }, { "sendMessage": "sendMessage"; }, never, never, true, never>;
|
47
47
|
}
|
@@ -13,5 +13,5 @@ export declare class ChatMessageBoxTemplateDirective {
|
|
13
13
|
templateRef: TemplateRef<any>;
|
14
14
|
constructor(templateRef: TemplateRef<any>);
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChatMessageBoxTemplateDirective, never>;
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ChatMessageBoxTemplateDirective, "[kendoChatMessageBoxTemplate]", never, {}, {}, never, never,
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ChatMessageBoxTemplateDirective, "[kendoChatMessageBoxTemplate]", never, {}, {}, never, never, true, never>;
|
17
17
|
}
|
@@ -4,12 +4,12 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, Renderer2 } from '@angular/core';
|
6
6
|
import { Action, ExecuteActionEvent, Message, User } from './api';
|
7
|
+
import { IntlService } from '@progress/kendo-angular-intl';
|
8
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
7
9
|
import { ChatItem } from './chat-item';
|
8
10
|
import { ViewItem } from './chat-view';
|
9
11
|
import { AttachmentTemplateDirective } from './attachment-template.directive';
|
10
12
|
import { MessageTemplateDirective } from './message-template.directive';
|
11
|
-
import { IntlService } from '@progress/kendo-angular-intl';
|
12
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
13
13
|
import * as i0 from "@angular/core";
|
14
14
|
/**
|
15
15
|
* @hidden
|
@@ -55,5 +55,5 @@ export declare class MessageListComponent implements OnInit, AfterViewInit, OnDe
|
|
55
55
|
*/
|
56
56
|
textFor(key: string): string;
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageListComponent, never>;
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MessageListComponent, "kendo-chat-message-list", never, { "messages": "messages"; "attachmentTemplate": "attachmentTemplate"; "messageTemplate": "messageTemplate"; "localization": "localization"; "user": "user"; }, { "executeAction": "executeAction"; "navigate": "navigate"; "resize": "resize"; }, never, never,
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageListComponent, "kendo-chat-message-list", never, { "messages": "messages"; "attachmentTemplate": "attachmentTemplate"; "messageTemplate": "messageTemplate"; "localization": "localization"; "user": "user"; }, { "executeAction": "executeAction"; "navigate": "navigate"; "resize": "resize"; }, never, never, true, never>;
|
59
59
|
}
|
@@ -20,5 +20,5 @@ export declare class MessageTemplateDirective {
|
|
20
20
|
templateRef: TemplateRef<any>;
|
21
21
|
constructor(templateRef: TemplateRef<any>);
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageTemplateDirective, [{ optional: true; }]>;
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MessageTemplateDirective, "[kendoChatMessageTemplate]", never, {}, {}, never, never,
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MessageTemplateDirective, "[kendoChatMessageTemplate]", never, {}, {}, never, never, true, never>;
|
24
24
|
}
|
@@ -24,5 +24,5 @@ export declare class MessageComponent extends ChatItem {
|
|
24
24
|
formatTimeStamp(date: any): string;
|
25
25
|
focus(): void;
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, never>;
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "kendo-chat-message", never, { "message": "message"; "tabbable": "tabbable"; "template": "template"; }, {}, never, never,
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "kendo-chat-message", never, { "message": "message"; "tabbable": "tabbable"; "template": "template"; }, {}, never, never, true, never>;
|
28
28
|
}
|
@@ -24,5 +24,5 @@ export declare class SuggestedActionsComponent extends ChatItem {
|
|
24
24
|
focus(): void;
|
25
25
|
private changeSelectedIndex;
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuggestedActionsComponent, never>;
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuggestedActionsComponent, "kendo-chat-suggested-actions", never, { "actions": "actions"; "tabbable": "tabbable"; }, { "dispatch": "dispatch"; }, never, never,
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuggestedActionsComponent, "kendo-chat-suggested-actions", never, { "actions": "actions"; "tabbable": "tabbable"; }, { "dispatch": "dispatch"; }, never, never, true, never>;
|
28
28
|
}
|
@@ -3,8 +3,20 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "./ai-prompt/aiprompt.
|
7
|
-
import * as i2 from "./
|
6
|
+
import * as i1 from "./ai-prompt/aiprompt.component";
|
7
|
+
import * as i2 from "./ai-prompt/views/prompt-view.component";
|
8
|
+
import * as i3 from "./ai-prompt/views/output-view.component";
|
9
|
+
import * as i4 from "./ai-prompt/views/command-view.component";
|
10
|
+
import * as i5 from "./ai-prompt/views/custom-view.component";
|
11
|
+
import * as i6 from "./ai-prompt/localization/custom-messages.component";
|
12
|
+
import * as i7 from "./ai-prompt/templates/toolbar-actions.template";
|
13
|
+
import * as i8 from "./ai-prompt/common/toolbar-focusable.directive";
|
14
|
+
import * as i9 from "./chat/chat.component";
|
15
|
+
import * as i10 from "./chat/l10n/custom-messages.component";
|
16
|
+
import * as i11 from "./chat/attachment-template.directive";
|
17
|
+
import * as i12 from "./chat/message-template.directive";
|
18
|
+
import * as i13 from "./chat/cards/hero-card.component";
|
19
|
+
import * as i14 from "./chat/message-box.directive";
|
8
20
|
/**
|
9
21
|
* Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
|
10
22
|
* definition for the Conversational UI components.
|
@@ -38,6 +50,6 @@ import * as i2 from "./chat/chat.module";
|
|
38
50
|
*/
|
39
51
|
export declare class ConversationalUIModule {
|
40
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConversationalUIModule, never>;
|
41
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConversationalUIModule, never,
|
53
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConversationalUIModule, never, [typeof i1.AIPromptComponent, typeof i2.PromptViewComponent, typeof i3.OutputViewComponent, typeof i4.CommandViewComponent, typeof i5.CustomViewComponent, typeof i6.AIPromptCustomMessagesComponent, typeof i7.AIPromptToolbarActionsDirective, typeof i8.AIPromptToolbarFocusableDirective, typeof i9.ChatComponent, typeof i10.CustomMessagesComponent, typeof i11.AttachmentTemplateDirective, typeof i12.MessageTemplateDirective, typeof i13.HeroCardComponent, typeof i14.ChatMessageBoxTemplateDirective], [typeof i1.AIPromptComponent, typeof i2.PromptViewComponent, typeof i3.OutputViewComponent, typeof i4.CommandViewComponent, typeof i5.CustomViewComponent, typeof i6.AIPromptCustomMessagesComponent, typeof i7.AIPromptToolbarActionsDirective, typeof i8.AIPromptToolbarFocusableDirective, typeof i9.ChatComponent, typeof i10.CustomMessagesComponent, typeof i11.AttachmentTemplateDirective, typeof i12.MessageTemplateDirective, typeof i13.HeroCardComponent, typeof i14.ChatMessageBoxTemplateDirective]>;
|
42
54
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConversationalUIModule>;
|
43
55
|
}
|
package/directives.d.ts
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
5
|
+
import { AIPromptComponent } from "./ai-prompt/aiprompt.component";
|
6
|
+
import { CommandViewComponent } from "./ai-prompt/views/command-view.component";
|
7
|
+
import { AIPromptCustomMessagesComponent } from "./ai-prompt/localization/custom-messages.component";
|
8
|
+
import { CustomViewComponent } from './ai-prompt/views/custom-view.component';
|
9
|
+
import { AIPromptToolbarActionsDirective } from './ai-prompt/templates/toolbar-actions.template';
|
10
|
+
import { AIPromptToolbarFocusableDirective } from './ai-prompt/common/toolbar-focusable.directive';
|
11
|
+
import { OutputViewComponent, PromptViewComponent } from "./ai-prompt/views";
|
12
|
+
import { ChatComponent } from "./chat/chat.component";
|
13
|
+
import { CustomMessagesComponent } from "./chat/l10n/custom-messages.component";
|
14
|
+
import { AttachmentTemplateDirective } from "./chat/attachment-template.directive";
|
15
|
+
import { MessageTemplateDirective } from "./chat/message-template.directive";
|
16
|
+
import { HeroCardComponent } from "./chat/cards/hero-card.component";
|
17
|
+
import { ChatMessageBoxTemplateDirective } from "./chat/message-box.directive";
|
18
|
+
/**
|
19
|
+
* Utility array that contains all `AIPrompt` related components and directives
|
20
|
+
*/
|
21
|
+
export declare const KENDO_AIPROMPT: readonly [typeof AIPromptComponent, typeof PromptViewComponent, typeof OutputViewComponent, typeof CommandViewComponent, typeof CustomViewComponent, typeof AIPromptCustomMessagesComponent, typeof AIPromptToolbarActionsDirective, typeof AIPromptToolbarFocusableDirective];
|
22
|
+
/**
|
23
|
+
* Utility array that contains all `Chat` related components and directives
|
24
|
+
*/
|
25
|
+
export declare const KENDO_CHAT: readonly [typeof ChatComponent, typeof CustomMessagesComponent, typeof AttachmentTemplateDirective, typeof MessageTemplateDirective, typeof HeroCardComponent, typeof ChatMessageBoxTemplateDirective];
|
26
|
+
/**
|
27
|
+
* Utility array that contains all `@progress/kendo-angular-conversational-ui` related components and directives
|
28
|
+
*/
|
29
|
+
export declare const KENDO_CONVERSATIONALUI: readonly [typeof AIPromptComponent, typeof PromptViewComponent, typeof OutputViewComponent, typeof CommandViewComponent, typeof CustomViewComponent, typeof AIPromptCustomMessagesComponent, typeof AIPromptToolbarActionsDirective, typeof AIPromptToolbarFocusableDirective, typeof ChatComponent, typeof CustomMessagesComponent, typeof AttachmentTemplateDirective, typeof MessageTemplateDirective, typeof HeroCardComponent, typeof ChatMessageBoxTemplateDirective];
|
@@ -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
|
}] });
|