@progress/kendo-angular-conversational-ui 21.4.1-develop.1 → 22.0.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/localization/messages.d.ts +1 -1
- package/ai-prompt/views/base-view.d.ts +1 -1
- package/chat/l10n/messages.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-conversational-ui.mjs +182 -182
- package/inline-ai-prompt/localization/messages.d.ts +1 -1
- package/package.json +17 -25
- package/esm2022/ai-prompt/aiprompt.component.mjs +0 -556
- package/esm2022/ai-prompt/aiprompt.module.mjs +0 -53
- package/esm2022/ai-prompt/common/aiprompt.service.mjs +0 -75
- package/esm2022/ai-prompt/common/output-card.component.mjs +0 -230
- package/esm2022/ai-prompt/common/toolbar-focusable.directive.mjs +0 -72
- package/esm2022/ai-prompt/common/toolbar-navigation.service.mjs +0 -56
- package/esm2022/ai-prompt/localization/custom-messages.component.mjs +0 -54
- package/esm2022/ai-prompt/localization/localized-messages.directive.mjs +0 -39
- package/esm2022/ai-prompt/localization/messages.mjs +0 -77
- package/esm2022/ai-prompt/models/ai-prompt-settings.mjs +0 -5
- package/esm2022/ai-prompt/models/command-execute-event.mjs +0 -5
- package/esm2022/ai-prompt/models/command.interface.mjs +0 -5
- package/esm2022/ai-prompt/models/index.mjs +0 -5
- package/esm2022/ai-prompt/models/output-rating-change-event.mjs +0 -5
- package/esm2022/ai-prompt/models/prompt-output.interface.mjs +0 -5
- package/esm2022/ai-prompt/models/prompt-request-event.mjs +0 -5
- package/esm2022/ai-prompt/models/view-type.mjs +0 -5
- package/esm2022/ai-prompt/templates/aiprompt-output-body-template.directive.mjs +0 -33
- package/esm2022/ai-prompt/templates/aiprompt-output-template.directive.mjs +0 -33
- package/esm2022/ai-prompt/templates/toolbar-actions.template.mjs +0 -39
- package/esm2022/ai-prompt/utils.mjs +0 -26
- package/esm2022/ai-prompt/views/base-view.mjs +0 -98
- package/esm2022/ai-prompt/views/command-view.component.mjs +0 -100
- package/esm2022/ai-prompt/views/custom-view.component.mjs +0 -50
- package/esm2022/ai-prompt/views/index.mjs +0 -8
- package/esm2022/ai-prompt/views/output-view.component.mjs +0 -90
- package/esm2022/ai-prompt/views/prompt-view.component.mjs +0 -288
- package/esm2022/chat/api/action.interface.mjs +0 -5
- package/esm2022/chat/api/attachment.interface.mjs +0 -5
- package/esm2022/chat/api/chat-file-interface.mjs +0 -5
- package/esm2022/chat/api/chat-suggestion.interface.mjs +0 -5
- package/esm2022/chat/api/execute-action-event.mjs +0 -29
- package/esm2022/chat/api/file-action.mjs +0 -5
- package/esm2022/chat/api/file-download-event.interface.mjs +0 -5
- package/esm2022/chat/api/files-layout.mjs +0 -5
- package/esm2022/chat/api/index.mjs +0 -21
- package/esm2022/chat/api/message-action.mjs +0 -5
- package/esm2022/chat/api/message-settings.interface.mjs +0 -5
- package/esm2022/chat/api/message-width-mode.mjs +0 -5
- package/esm2022/chat/api/message.interface.mjs +0 -5
- package/esm2022/chat/api/post-message-event.mjs +0 -21
- package/esm2022/chat/api/preventable-event.mjs +0 -28
- package/esm2022/chat/api/send-button-settings.mjs +0 -5
- package/esm2022/chat/api/suggestions-layout.mjs +0 -5
- package/esm2022/chat/api/timestamp-visibility.mjs +0 -5
- package/esm2022/chat/api/user.interface.mjs +0 -5
- package/esm2022/chat/attachment.component.mjs +0 -105
- package/esm2022/chat/builtin-actions.mjs +0 -27
- package/esm2022/chat/cards/hero-card.component.mjs +0 -131
- package/esm2022/chat/chat-file.component.mjs +0 -144
- package/esm2022/chat/chat-item.mjs +0 -10
- package/esm2022/chat/chat-view.mjs +0 -80
- package/esm2022/chat/chat.component.mjs +0 -1015
- package/esm2022/chat/chat.directives.mjs +0 -18
- package/esm2022/chat/chat.module.mjs +0 -61
- package/esm2022/chat/common/chat.service.mjs +0 -179
- package/esm2022/chat/common/models/default-model-fields.mjs +0 -25
- package/esm2022/chat/common/models/formatted-text-parts.mjs +0 -5
- package/esm2022/chat/common/models/message-box-options.mjs +0 -5
- package/esm2022/chat/common/models/model-fields.mjs +0 -5
- package/esm2022/chat/common/scroll-anchor.directive.mjs +0 -80
- package/esm2022/chat/common/scroll-button.component.mjs +0 -81
- package/esm2022/chat/common/scroll.service.mjs +0 -110
- package/esm2022/chat/common/utils.mjs +0 -159
- package/esm2022/chat/l10n/custom-messages.component.mjs +0 -55
- package/esm2022/chat/l10n/localized-messages.directive.mjs +0 -40
- package/esm2022/chat/l10n/messages.mjs +0 -130
- package/esm2022/chat/message-attachments.component.mjs +0 -258
- package/esm2022/chat/message-box.component.mjs +0 -501
- package/esm2022/chat/message-list.component.mjs +0 -617
- package/esm2022/chat/message-reference-content.component.mjs +0 -86
- package/esm2022/chat/message.component.mjs +0 -740
- package/esm2022/chat/suggested-actions.component.mjs +0 -443
- package/esm2022/chat/templates/attachment-template.directive.mjs +0 -43
- package/esm2022/chat/templates/author-message-content-template.directive.mjs +0 -39
- package/esm2022/chat/templates/author-message-template.directive.mjs +0 -39
- package/esm2022/chat/templates/header-template.directive.mjs +0 -33
- package/esm2022/chat/templates/message-box.directive.mjs +0 -36
- package/esm2022/chat/templates/message-content-template.directive.mjs +0 -39
- package/esm2022/chat/templates/message-template.directive.mjs +0 -39
- package/esm2022/chat/templates/no-data-template.directive.mjs +0 -38
- package/esm2022/chat/templates/receiver-message-content-template.directive.mjs +0 -39
- package/esm2022/chat/templates/receiver-message-template.directive.mjs +0 -39
- package/esm2022/chat/templates/status-template.directive.mjs +0 -33
- package/esm2022/chat/templates/suggestion-template.directive.mjs +0 -36
- package/esm2022/chat/templates/timestamp-template.directive.mjs +0 -42
- package/esm2022/chat/templates/user-status-template.directive.mjs +0 -38
- package/esm2022/conversational-ui.module.mjs +0 -73
- package/esm2022/directives.mjs +0 -145
- package/esm2022/index.mjs +0 -40
- package/esm2022/inline-ai-prompt/inlineaiprompt-content.component.mjs +0 -548
- package/esm2022/inline-ai-prompt/inlineaiprompt.component.mjs +0 -351
- package/esm2022/inline-ai-prompt/inlineaiprompt.module.mjs +0 -46
- package/esm2022/inline-ai-prompt/inlineaiprompt.service.mjs +0 -92
- package/esm2022/inline-ai-prompt/localization/custom-messages.component.mjs +0 -51
- package/esm2022/inline-ai-prompt/localization/localized-messages.directive.mjs +0 -39
- package/esm2022/inline-ai-prompt/localization/messages.mjs +0 -35
- package/esm2022/inline-ai-prompt/models/command.interface.mjs +0 -5
- package/esm2022/inline-ai-prompt/models/index.mjs +0 -5
- package/esm2022/inline-ai-prompt/models/inlineaiprompt-popupsettings.mjs +0 -5
- package/esm2022/inline-ai-prompt/models/inlineaiprompt-settings.mjs +0 -59
- package/esm2022/inline-ai-prompt/models/messages.mjs +0 -8
- package/esm2022/inline-ai-prompt/models/output-action-click-event.mjs +0 -5
- package/esm2022/inline-ai-prompt/models/output-action.interface.mjs +0 -5
- package/esm2022/inline-ai-prompt/models/prompt-output.interface.mjs +0 -5
- package/esm2022/inline-ai-prompt/models/prompt-request-event.mjs +0 -5
- package/esm2022/inline-ai-prompt/output-template.directive.mjs +0 -38
- package/esm2022/inline-ai-prompt/utils.mjs +0 -57
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/progress-kendo-angular-conversational-ui.mjs +0 -8
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Optional, TemplateRef } from "@angular/core";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Defines a template for displaying custom content inside the Chat messages.
|
|
9
|
-
*
|
|
10
|
-
* To define a message template, nest an `<ng-template>` tag with the `kendoChatMessageContentTemplate` directive inside the `<kendo-chat>` component.
|
|
11
|
-
* The template context is set to the `message` instance.
|
|
12
|
-
* For more information, refer to the article on [message templates](slug:message_templates_chat).
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```html
|
|
16
|
-
* <kendo-chat>
|
|
17
|
-
* <ng-template kendoChatMessageContentTemplate let-message>
|
|
18
|
-
* <div>Message: {{ message.text }}</div>
|
|
19
|
-
* </ng-template>
|
|
20
|
-
* </kendo-chat>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export class MessageContentTemplateDirective {
|
|
24
|
-
templateRef;
|
|
25
|
-
constructor(templateRef) {
|
|
26
|
-
this.templateRef = templateRef;
|
|
27
|
-
}
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
29
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: MessageContentTemplateDirective, isStandalone: true, selector: "[kendoChatMessageContentTemplate]", ngImport: i0 });
|
|
30
|
-
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageContentTemplateDirective, decorators: [{
|
|
32
|
-
type: Directive,
|
|
33
|
-
args: [{
|
|
34
|
-
selector: '[kendoChatMessageContentTemplate]',
|
|
35
|
-
standalone: true
|
|
36
|
-
}]
|
|
37
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
38
|
-
type: Optional
|
|
39
|
-
}] }] });
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Optional, TemplateRef } from "@angular/core";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Defines a template for displaying fully custom Chat message bubbles.
|
|
9
|
-
*
|
|
10
|
-
* To define a message template, nest an `<ng-template>` tag with the `kendoChatMessageTemplate` directive inside the `<kendo-chat>` component.
|
|
11
|
-
* The template context is set to the `message` instance.
|
|
12
|
-
* For more information, refer to the article on [message templates](slug:message_templates_chat).
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```html
|
|
16
|
-
* <kendo-chat>
|
|
17
|
-
* <ng-template kendoChatMessageTemplate let-message>
|
|
18
|
-
* <div>Message: {{ message.text }}</div>
|
|
19
|
-
* </ng-template>
|
|
20
|
-
* </kendo-chat>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export class MessageTemplateDirective {
|
|
24
|
-
templateRef;
|
|
25
|
-
constructor(templateRef) {
|
|
26
|
-
this.templateRef = templateRef;
|
|
27
|
-
}
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
29
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: MessageTemplateDirective, isStandalone: true, selector: "[kendoChatMessageTemplate]", ngImport: i0 });
|
|
30
|
-
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageTemplateDirective, decorators: [{
|
|
32
|
-
type: Directive,
|
|
33
|
-
args: [{
|
|
34
|
-
selector: '[kendoChatMessageTemplate]',
|
|
35
|
-
standalone: true
|
|
36
|
-
}]
|
|
37
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
38
|
-
type: Optional
|
|
39
|
-
}] }] });
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Optional, TemplateRef } from "@angular/core";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Defines a template for displaying custom content when there are no messages in the Chat.
|
|
9
|
-
*
|
|
10
|
-
* To define an empty Chat template, nest an `<ng-template>` tag with the `kendoChatNoDataTemplate` directive inside the `<kendo-chat>` component.
|
|
11
|
-
* For more information, refer to the article on [message templates](slug:message_templates_chat).
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-chat>
|
|
16
|
-
* <ng-template kendoChatNoDataTemplate>
|
|
17
|
-
* <div>No messages.</div>
|
|
18
|
-
* </ng-template>
|
|
19
|
-
* </kendo-chat>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export class NoDataTemplateDirective {
|
|
23
|
-
templateRef;
|
|
24
|
-
constructor(templateRef) {
|
|
25
|
-
this.templateRef = templateRef;
|
|
26
|
-
}
|
|
27
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NoDataTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: NoDataTemplateDirective, isStandalone: true, selector: "[kendoChatNoDataTemplate]", ngImport: i0 });
|
|
29
|
-
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NoDataTemplateDirective, decorators: [{
|
|
31
|
-
type: Directive,
|
|
32
|
-
args: [{
|
|
33
|
-
selector: '[kendoChatNoDataTemplate]',
|
|
34
|
-
standalone: true
|
|
35
|
-
}]
|
|
36
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
37
|
-
type: Optional
|
|
38
|
-
}] }] });
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Optional, TemplateRef } from "@angular/core";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Defines a template for displaying custom content inside the other users' messages in the Chat.
|
|
9
|
-
*
|
|
10
|
-
* To define a message template, nest an `<ng-template>` tag with the `kendoChatReceiverMessageContentTemplate` directive inside the `<kendo-chat>` component.
|
|
11
|
-
* The template context is set to the `message` instance.
|
|
12
|
-
* For more information, refer to the article on [message templates](slug:message_templates_chat).
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```html
|
|
16
|
-
* <kendo-chat>
|
|
17
|
-
* <ng-template kendoChatReceiverMessageContentTemplate let-message>
|
|
18
|
-
* <div>Message: {{ message.text }}</div>
|
|
19
|
-
* </ng-template>
|
|
20
|
-
* </kendo-chat>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export class ReceiverMessageContentTemplateDirective {
|
|
24
|
-
templateRef;
|
|
25
|
-
constructor(templateRef) {
|
|
26
|
-
this.templateRef = templateRef;
|
|
27
|
-
}
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ReceiverMessageContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
29
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ReceiverMessageContentTemplateDirective, isStandalone: true, selector: "[kendoChatReceiverMessageContentTemplate]", ngImport: i0 });
|
|
30
|
-
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ReceiverMessageContentTemplateDirective, decorators: [{
|
|
32
|
-
type: Directive,
|
|
33
|
-
args: [{
|
|
34
|
-
selector: '[kendoChatReceiverMessageContentTemplate]',
|
|
35
|
-
standalone: true
|
|
36
|
-
}]
|
|
37
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
38
|
-
type: Optional
|
|
39
|
-
}] }] });
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Optional, TemplateRef } from "@angular/core";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Defines a template for displaying fully custom Chat message bubbles for the other users.
|
|
9
|
-
*
|
|
10
|
-
* To define a message template, nest an `<ng-template>` tag with the `kendoChatReceiverMessageTemplate` directive inside the `<kendo-chat>` component.
|
|
11
|
-
* The template context is set to the `message` instance.
|
|
12
|
-
* For more information, refer to the article on [message templates](slug:message_templates_chat).
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```html
|
|
16
|
-
* <kendo-chat>
|
|
17
|
-
* <ng-template kendoChatReceiverMessageTemplate let-message>
|
|
18
|
-
* <div>Message: {{ message.text }}</div>
|
|
19
|
-
* </ng-template>
|
|
20
|
-
* </kendo-chat>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export class ReceiverMessageTemplateDirective {
|
|
24
|
-
templateRef;
|
|
25
|
-
constructor(templateRef) {
|
|
26
|
-
this.templateRef = templateRef;
|
|
27
|
-
}
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ReceiverMessageTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
29
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ReceiverMessageTemplateDirective, isStandalone: true, selector: "[kendoChatReceiverMessageTemplate]", ngImport: i0 });
|
|
30
|
-
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ReceiverMessageTemplateDirective, decorators: [{
|
|
32
|
-
type: Directive,
|
|
33
|
-
args: [{
|
|
34
|
-
selector: '[kendoChatReceiverMessageTemplate]',
|
|
35
|
-
standalone: true
|
|
36
|
-
}]
|
|
37
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
38
|
-
type: Optional
|
|
39
|
-
}] }] });
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Represents the template for the status of a message.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```html
|
|
12
|
-
* <kendo-chat>
|
|
13
|
-
* <ng-template kendoChatStatusTemplate let-status>
|
|
14
|
-
* Current status: {{ status }}
|
|
15
|
-
* </ng-template>
|
|
16
|
-
* </kendo-chat>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export class ChatStatusTemplateDirective {
|
|
20
|
-
templateRef;
|
|
21
|
-
constructor(templateRef) {
|
|
22
|
-
this.templateRef = templateRef;
|
|
23
|
-
}
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatStatusTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ChatStatusTemplateDirective, isStandalone: true, selector: "[kendoChatStatusTemplate]", ngImport: i0 });
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatStatusTemplateDirective, decorators: [{
|
|
28
|
-
type: Directive,
|
|
29
|
-
args: [{
|
|
30
|
-
selector: '[kendoChatStatusTemplate]',
|
|
31
|
-
standalone: true
|
|
32
|
-
}]
|
|
33
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Represents the template for a suggestion in the Chat component.
|
|
9
|
-
*
|
|
10
|
-
* You can use the following field:
|
|
11
|
-
* - `suggestion`—The suggestion instance.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-chat>
|
|
16
|
-
* <ng-template kendoChatSuggestionTemplate let-suggestion>
|
|
17
|
-
* {{ suggestion.text }}
|
|
18
|
-
* </ng-template>
|
|
19
|
-
* </kendo-chat>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export class ChatSuggestionTemplateDirective {
|
|
23
|
-
templateRef;
|
|
24
|
-
constructor(templateRef) {
|
|
25
|
-
this.templateRef = templateRef;
|
|
26
|
-
}
|
|
27
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatSuggestionTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ChatSuggestionTemplateDirective, isStandalone: true, selector: "[kendoChatSuggestionTemplate]", ngImport: i0 });
|
|
29
|
-
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatSuggestionTemplateDirective, decorators: [{
|
|
31
|
-
type: Directive,
|
|
32
|
-
args: [{
|
|
33
|
-
selector: '[kendoChatSuggestionTemplate]',
|
|
34
|
-
standalone: true
|
|
35
|
-
}]
|
|
36
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Optional, TemplateRef } from "@angular/core";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Defines a template for displaying the chat timestamp.
|
|
9
|
-
*
|
|
10
|
-
* To define a timestamp template, nest an `<ng-template>` tag with the `kendoChatTimestampTemplate` directive inside the `<kendo-chat>` component.
|
|
11
|
-
* The template context is set to the current timestamp.
|
|
12
|
-
* For more information, refer to the article on [message templates](slug:message_templates_chat).
|
|
13
|
-
*
|
|
14
|
-
* You can use the following field:
|
|
15
|
-
* - `timestamp`—The current timestamp.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```html
|
|
19
|
-
* <kendo-chat>
|
|
20
|
-
* <ng-template kendoChatTimestampTemplate let-timestamp>
|
|
21
|
-
* <div>Message time: {{ timestamp }}</div>
|
|
22
|
-
* </ng-template>
|
|
23
|
-
* </kendo-chat>
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export class ChatTimestampTemplateDirective {
|
|
27
|
-
templateRef;
|
|
28
|
-
constructor(templateRef) {
|
|
29
|
-
this.templateRef = templateRef;
|
|
30
|
-
}
|
|
31
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatTimestampTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
32
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ChatTimestampTemplateDirective, isStandalone: true, selector: "[kendoChatTimestampTemplate]", ngImport: i0 });
|
|
33
|
-
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatTimestampTemplateDirective, decorators: [{
|
|
35
|
-
type: Directive,
|
|
36
|
-
args: [{
|
|
37
|
-
selector: '[kendoChatTimestampTemplate]',
|
|
38
|
-
standalone: true
|
|
39
|
-
}]
|
|
40
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
41
|
-
type: Optional
|
|
42
|
-
}] }] });
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Optional, TemplateRef } from "@angular/core";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Defines a template for displaying user status in the Chat.
|
|
9
|
-
*
|
|
10
|
-
* To define a user status template, nest an `<ng-template>` tag with the `kendoChatUserStatusTemplate` directive inside the `<kendo-chat>` component.
|
|
11
|
-
* For more information, refer to the article on [message templates](slug:message_templates_chat).
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-chat>
|
|
16
|
-
* <ng-template kendoChatUserStatusTemplate let-status>
|
|
17
|
-
* <div>{{ status }}</div>
|
|
18
|
-
* </ng-template>
|
|
19
|
-
* </kendo-chat>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export class ChatUserStatusTemplateDirective {
|
|
23
|
-
templateRef;
|
|
24
|
-
constructor(templateRef) {
|
|
25
|
-
this.templateRef = templateRef;
|
|
26
|
-
}
|
|
27
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatUserStatusTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ChatUserStatusTemplateDirective, isStandalone: true, selector: "[kendoChatUserStatusTemplate]", ngImport: i0 });
|
|
29
|
-
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatUserStatusTemplateDirective, decorators: [{
|
|
31
|
-
type: Directive,
|
|
32
|
-
args: [{
|
|
33
|
-
selector: '[kendoChatUserStatusTemplate]',
|
|
34
|
-
standalone: true
|
|
35
|
-
}]
|
|
36
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
37
|
-
type: Optional
|
|
38
|
-
}] }] });
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { KENDO_CONVERSATIONALUI } from './directives';
|
|
7
|
-
import { IconsService } from '@progress/kendo-angular-icons';
|
|
8
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
|
-
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
-
import { DialogContainerService, DialogService, WindowContainerService, WindowService } from '@progress/kendo-angular-dialog';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "./ai-prompt/aiprompt.component";
|
|
13
|
-
import * as i2 from "./ai-prompt/views/prompt-view.component";
|
|
14
|
-
import * as i3 from "./ai-prompt/views/output-view.component";
|
|
15
|
-
import * as i4 from "./ai-prompt/views/command-view.component";
|
|
16
|
-
import * as i5 from "./ai-prompt/views/custom-view.component";
|
|
17
|
-
import * as i6 from "./ai-prompt/localization/custom-messages.component";
|
|
18
|
-
import * as i7 from "./ai-prompt/templates/toolbar-actions.template";
|
|
19
|
-
import * as i8 from "./ai-prompt/common/toolbar-focusable.directive";
|
|
20
|
-
import * as i9 from "./ai-prompt/templates/aiprompt-output-template.directive";
|
|
21
|
-
import * as i10 from "./ai-prompt/templates/aiprompt-output-body-template.directive";
|
|
22
|
-
import * as i11 from "./chat/chat.component";
|
|
23
|
-
import * as i12 from "./chat/l10n/custom-messages.component";
|
|
24
|
-
import * as i13 from "./chat/templates/attachment-template.directive";
|
|
25
|
-
import * as i14 from "./chat/templates/author-message-content-template.directive";
|
|
26
|
-
import * as i15 from "./chat/templates/receiver-message-content-template.directive";
|
|
27
|
-
import * as i16 from "./chat/templates/message-content-template.directive";
|
|
28
|
-
import * as i17 from "./chat/templates/author-message-template.directive";
|
|
29
|
-
import * as i18 from "./chat/templates/receiver-message-template.directive";
|
|
30
|
-
import * as i19 from "./chat/templates/message-template.directive";
|
|
31
|
-
import * as i20 from "./chat/cards/hero-card.component";
|
|
32
|
-
import * as i21 from "./chat/templates/message-box.directive";
|
|
33
|
-
import * as i22 from "./chat/templates/header-template.directive";
|
|
34
|
-
import * as i23 from "./chat/templates/no-data-template.directive";
|
|
35
|
-
import * as i24 from "./chat/templates/timestamp-template.directive";
|
|
36
|
-
import * as i25 from "./chat/templates/status-template.directive";
|
|
37
|
-
import * as i26 from "./chat/templates/suggestion-template.directive";
|
|
38
|
-
import * as i27 from "./chat/templates/user-status-template.directive";
|
|
39
|
-
import * as i28 from "./inline-ai-prompt/inlineaiprompt.component";
|
|
40
|
-
import * as i29 from "./inline-ai-prompt/output-template.directive";
|
|
41
|
-
import * as i30 from "./inline-ai-prompt/localization/custom-messages.component";
|
|
42
|
-
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
43
|
-
/**
|
|
44
|
-
* Represents the [`NgModule`](link:site.data.urls.angular['ngmodules']) for the Conversational UI components.
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* ```ts
|
|
48
|
-
* import { NgModule } from '@angular/core';
|
|
49
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
50
|
-
* import { ConversationalUIModule } from '@progress/kendo-angular-conversational-ui';
|
|
51
|
-
* import { AppComponent } from './app.component';
|
|
52
|
-
*
|
|
53
|
-
* @NgModule({
|
|
54
|
-
* declarations: [AppComponent],
|
|
55
|
-
* imports: [BrowserModule, ConversationalUIModule],
|
|
56
|
-
* bootstrap: [AppComponent]
|
|
57
|
-
* })
|
|
58
|
-
* export class AppModule {}
|
|
59
|
-
* ```
|
|
60
|
-
*/
|
|
61
|
-
export class ConversationalUIModule {
|
|
62
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConversationalUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
63
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: ConversationalUIModule, imports: [i1.AIPromptComponent, i2.PromptViewComponent, i3.OutputViewComponent, i4.CommandViewComponent, i5.CustomViewComponent, i6.AIPromptCustomMessagesComponent, i7.AIPromptToolbarActionsDirective, i8.AIPromptToolbarFocusableDirective, i9.AIPromptOutputTemplateDirective, i10.AIPromptOutputBodyTemplateDirective, i11.ChatComponent, i12.CustomMessagesComponent, i13.AttachmentTemplateDirective, i14.AuthorMessageContentTemplateDirective, i15.ReceiverMessageContentTemplateDirective, i16.MessageContentTemplateDirective, i17.AuthorMessageTemplateDirective, i18.ReceiverMessageTemplateDirective, i19.MessageTemplateDirective, i20.HeroCardComponent, i21.ChatMessageBoxTemplateDirective, i22.ChatHeaderTemplateDirective, i23.NoDataTemplateDirective, i24.ChatTimestampTemplateDirective, i25.ChatStatusTemplateDirective, i26.ChatSuggestionTemplateDirective, i27.ChatUserStatusTemplateDirective, i28.InlineAIPromptComponent, i29.InlineAIPromptOutputTemplateDirective, i30.InlineAIPromptCustomMessagesComponent], exports: [i1.AIPromptComponent, i2.PromptViewComponent, i3.OutputViewComponent, i4.CommandViewComponent, i5.CustomViewComponent, i6.AIPromptCustomMessagesComponent, i7.AIPromptToolbarActionsDirective, i8.AIPromptToolbarFocusableDirective, i9.AIPromptOutputTemplateDirective, i10.AIPromptOutputBodyTemplateDirective, i11.ChatComponent, i12.CustomMessagesComponent, i13.AttachmentTemplateDirective, i14.AuthorMessageContentTemplateDirective, i15.ReceiverMessageContentTemplateDirective, i16.MessageContentTemplateDirective, i17.AuthorMessageTemplateDirective, i18.ReceiverMessageTemplateDirective, i19.MessageTemplateDirective, i20.HeroCardComponent, i21.ChatMessageBoxTemplateDirective, i22.ChatHeaderTemplateDirective, i23.NoDataTemplateDirective, i24.ChatTimestampTemplateDirective, i25.ChatStatusTemplateDirective, i26.ChatSuggestionTemplateDirective, i27.ChatUserStatusTemplateDirective, i28.InlineAIPromptComponent, i29.InlineAIPromptOutputTemplateDirective, i30.InlineAIPromptCustomMessagesComponent] });
|
|
64
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConversationalUIModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [i1.AIPromptComponent, i2.PromptViewComponent, i3.OutputViewComponent, i4.CommandViewComponent, i11.ChatComponent, i20.HeroCardComponent, i28.InlineAIPromptComponent] });
|
|
65
|
-
}
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConversationalUIModule, decorators: [{
|
|
67
|
-
type: NgModule,
|
|
68
|
-
args: [{
|
|
69
|
-
exports: [...KENDO_CONVERSATIONALUI],
|
|
70
|
-
imports: [...KENDO_CONVERSATIONALUI],
|
|
71
|
-
providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService]
|
|
72
|
-
}]
|
|
73
|
-
}] });
|
package/esm2022/directives.mjs
DELETED
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 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/templates/attachment-template.directive";
|
|
15
|
-
import { AuthorMessageContentTemplateDirective } from "./chat/templates/author-message-content-template.directive";
|
|
16
|
-
import { ReceiverMessageContentTemplateDirective } from "./chat/templates/receiver-message-content-template.directive";
|
|
17
|
-
import { MessageContentTemplateDirective } from "./chat/templates/message-content-template.directive";
|
|
18
|
-
import { AuthorMessageTemplateDirective } from "./chat/templates/author-message-template.directive";
|
|
19
|
-
import { ReceiverMessageTemplateDirective } from "./chat/templates/receiver-message-template.directive";
|
|
20
|
-
import { MessageTemplateDirective } from "./chat/templates/message-template.directive";
|
|
21
|
-
import { ChatTimestampTemplateDirective } from "./chat/templates/timestamp-template.directive";
|
|
22
|
-
import { HeroCardComponent } from "./chat/cards/hero-card.component";
|
|
23
|
-
import { ChatMessageBoxTemplateDirective } from "./chat/templates/message-box.directive";
|
|
24
|
-
import { ChatHeaderTemplateDirective } from "./chat/templates/header-template.directive";
|
|
25
|
-
import { NoDataTemplateDirective } from "./chat/templates/no-data-template.directive";
|
|
26
|
-
import { AIPromptOutputBodyTemplateDirective } from "./ai-prompt/templates/aiprompt-output-body-template.directive";
|
|
27
|
-
import { AIPromptOutputTemplateDirective } from "./ai-prompt/templates/aiprompt-output-template.directive";
|
|
28
|
-
import { InlineAIPromptComponent } from "./inline-ai-prompt/inlineaiprompt.component";
|
|
29
|
-
import { InlineAIPromptOutputTemplateDirective } from "./inline-ai-prompt/output-template.directive";
|
|
30
|
-
import { InlineAIPromptCustomMessagesComponent } from "./inline-ai-prompt/localization/custom-messages.component";
|
|
31
|
-
import { ChatStatusTemplateDirective } from "./chat/templates/status-template.directive";
|
|
32
|
-
import { ChatSuggestionTemplateDirective } from "./chat/templates/suggestion-template.directive";
|
|
33
|
-
import { ChatUserStatusTemplateDirective } from "./chat/templates/user-status-template.directive";
|
|
34
|
-
/**
|
|
35
|
-
* Utility array that contains all AIPrompt related components and directives.
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* ```ts
|
|
39
|
-
* import { Component } from '@angular/core';
|
|
40
|
-
* import { KENDO_AIPROMPT } from '@progress/kendo-angular-conversational-ui';
|
|
41
|
-
*
|
|
42
|
-
* @Component({
|
|
43
|
-
* standalone: true,
|
|
44
|
-
* imports: [KENDO_AIPROMPT],
|
|
45
|
-
* selector: 'my-app',
|
|
46
|
-
* template: `<kendo-aiprompt></kendo-aiprompt>`
|
|
47
|
-
* })
|
|
48
|
-
* export class AppComponent {}
|
|
49
|
-
* ```
|
|
50
|
-
*/
|
|
51
|
-
export const KENDO_AIPROMPT = [
|
|
52
|
-
AIPromptComponent,
|
|
53
|
-
PromptViewComponent,
|
|
54
|
-
OutputViewComponent,
|
|
55
|
-
CommandViewComponent,
|
|
56
|
-
CustomViewComponent,
|
|
57
|
-
AIPromptCustomMessagesComponent,
|
|
58
|
-
AIPromptToolbarActionsDirective,
|
|
59
|
-
AIPromptToolbarFocusableDirective,
|
|
60
|
-
AIPromptOutputTemplateDirective,
|
|
61
|
-
AIPromptOutputBodyTemplateDirective,
|
|
62
|
-
];
|
|
63
|
-
/**
|
|
64
|
-
* Utility array that contains all Chat related components and directives.
|
|
65
|
-
*
|
|
66
|
-
* @example
|
|
67
|
-
* ```ts
|
|
68
|
-
* import { Component } from '@angular/core';
|
|
69
|
-
* import { KENDO_CHAT } from '@progress/kendo-angular-conversational-ui';
|
|
70
|
-
*
|
|
71
|
-
* @Component({
|
|
72
|
-
* standalone: true,
|
|
73
|
-
* imports: [KENDO_CHAT],
|
|
74
|
-
* selector: 'my-app',
|
|
75
|
-
* template: `<kendo-chat></kendo-chat>`
|
|
76
|
-
* })
|
|
77
|
-
* export class AppComponent {}
|
|
78
|
-
* ```
|
|
79
|
-
*/
|
|
80
|
-
export const KENDO_CHAT = [
|
|
81
|
-
ChatComponent,
|
|
82
|
-
CustomMessagesComponent,
|
|
83
|
-
AttachmentTemplateDirective,
|
|
84
|
-
AuthorMessageContentTemplateDirective,
|
|
85
|
-
ReceiverMessageContentTemplateDirective,
|
|
86
|
-
MessageContentTemplateDirective,
|
|
87
|
-
AuthorMessageTemplateDirective,
|
|
88
|
-
ReceiverMessageTemplateDirective,
|
|
89
|
-
MessageTemplateDirective,
|
|
90
|
-
HeroCardComponent,
|
|
91
|
-
ChatMessageBoxTemplateDirective,
|
|
92
|
-
ChatHeaderTemplateDirective,
|
|
93
|
-
NoDataTemplateDirective,
|
|
94
|
-
ChatTimestampTemplateDirective,
|
|
95
|
-
ChatStatusTemplateDirective,
|
|
96
|
-
ChatSuggestionTemplateDirective,
|
|
97
|
-
ChatUserStatusTemplateDirective
|
|
98
|
-
];
|
|
99
|
-
/**
|
|
100
|
-
* Utility array that contains all InlineAIPrompt related components and directives.
|
|
101
|
-
*
|
|
102
|
-
* @example
|
|
103
|
-
* ```ts
|
|
104
|
-
* import { Component } from '@angular/core';
|
|
105
|
-
* import { KENDO_INLINEAIPROMPT } from '@progress/kendo-angular-conversational-ui';
|
|
106
|
-
*
|
|
107
|
-
* @Component({
|
|
108
|
-
* standalone: true,
|
|
109
|
-
* imports: [KENDO_INLINEAIPROMPT],
|
|
110
|
-
* selector: 'my-app',
|
|
111
|
-
* template: `<kendo-inlineaiprompt></kendo-inlineaiprompt>`
|
|
112
|
-
* })
|
|
113
|
-
* export class AppComponent {}
|
|
114
|
-
* ```
|
|
115
|
-
*/
|
|
116
|
-
export const KENDO_INLINEAIPROMPT = [
|
|
117
|
-
InlineAIPromptComponent,
|
|
118
|
-
InlineAIPromptOutputTemplateDirective,
|
|
119
|
-
InlineAIPromptCustomMessagesComponent
|
|
120
|
-
];
|
|
121
|
-
/**
|
|
122
|
-
* Utility array that contains all `@progress/kendo-angular-conversational-ui` related components and directives.
|
|
123
|
-
*
|
|
124
|
-
* @example
|
|
125
|
-
* ```ts
|
|
126
|
-
* import { Component } from '@angular/core';
|
|
127
|
-
* import { KENDO_CONVERSATIONALUI } from '@progress/kendo-angular-conversational-ui';
|
|
128
|
-
*
|
|
129
|
-
* @Component({
|
|
130
|
-
* standalone: true,
|
|
131
|
-
* imports: [KENDO_CONVERSATIONALUI],
|
|
132
|
-
* selector: 'my-app',
|
|
133
|
-
* template: `
|
|
134
|
-
* <kendo-aiprompt></kendo-aiprompt>
|
|
135
|
-
* <kendo-chat></kendo-chat>
|
|
136
|
-
* `
|
|
137
|
-
* })
|
|
138
|
-
* export class AppComponent {}
|
|
139
|
-
* ```
|
|
140
|
-
*/
|
|
141
|
-
export const KENDO_CONVERSATIONALUI = [
|
|
142
|
-
...KENDO_AIPROMPT,
|
|
143
|
-
...KENDO_CHAT,
|
|
144
|
-
...KENDO_INLINEAIPROMPT
|
|
145
|
-
];
|
package/esm2022/index.mjs
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export * from './chat/api';
|
|
6
|
-
export { AIPromptModule } from './ai-prompt/aiprompt.module';
|
|
7
|
-
export { ChatModule } from './chat/chat.module';
|
|
8
|
-
export { ConversationalUIModule } from './conversational-ui.module';
|
|
9
|
-
export { InlineAIPromptModule } from './inline-ai-prompt/inlineaiprompt.module';
|
|
10
|
-
export { ChatComponent } from './chat/chat.component';
|
|
11
|
-
export { HeroCardComponent } from './chat/cards/hero-card.component';
|
|
12
|
-
export { CustomMessagesComponent } from './chat/l10n/custom-messages.component';
|
|
13
|
-
export { ChatMessageBoxTemplateDirective } from './chat/templates/message-box.directive';
|
|
14
|
-
export { ChatHeaderTemplateDirective } from './chat/templates/header-template.directive';
|
|
15
|
-
export { NoDataTemplateDirective } from './chat/templates/no-data-template.directive';
|
|
16
|
-
export { ChatUserStatusTemplateDirective } from './chat/templates/user-status-template.directive';
|
|
17
|
-
export { ChatTimestampTemplateDirective } from './chat/templates/timestamp-template.directive';
|
|
18
|
-
export { AttachmentTemplateDirective } from './chat/templates/attachment-template.directive';
|
|
19
|
-
export { AuthorMessageContentTemplateDirective } from './chat/templates/author-message-content-template.directive';
|
|
20
|
-
export { ReceiverMessageContentTemplateDirective } from './chat/templates/receiver-message-content-template.directive';
|
|
21
|
-
export { MessageContentTemplateDirective } from './chat/templates/message-content-template.directive';
|
|
22
|
-
export { AuthorMessageTemplateDirective } from './chat/templates/author-message-template.directive';
|
|
23
|
-
export { ReceiverMessageTemplateDirective } from './chat/templates/receiver-message-template.directive';
|
|
24
|
-
export { MessageTemplateDirective } from './chat/templates/message-template.directive';
|
|
25
|
-
export { ChatSuggestionTemplateDirective } from './chat/templates/suggestion-template.directive';
|
|
26
|
-
export { ChatStatusTemplateDirective } from './chat/templates/status-template.directive';
|
|
27
|
-
export { AIPromptComponent } from './ai-prompt/aiprompt.component';
|
|
28
|
-
export { AIPromptCustomMessagesComponent } from './ai-prompt/localization/custom-messages.component';
|
|
29
|
-
export { AIPromptToolbarActionsDirective } from './ai-prompt/templates/toolbar-actions.template';
|
|
30
|
-
export { AIPromptToolbarFocusableDirective } from './ai-prompt/common/toolbar-focusable.directive';
|
|
31
|
-
export { AIPromptOutputTemplateDirective } from './ai-prompt/templates/aiprompt-output-template.directive';
|
|
32
|
-
export { AIPromptOutputBodyTemplateDirective } from './ai-prompt/templates/aiprompt-output-body-template.directive';
|
|
33
|
-
export * from './ai-prompt/views';
|
|
34
|
-
export * from './ai-prompt/models';
|
|
35
|
-
export { InlineAIPromptComponent } from './inline-ai-prompt/inlineaiprompt.component';
|
|
36
|
-
export { InlineAIPromptOutputTemplateDirective } from './inline-ai-prompt/output-template.directive';
|
|
37
|
-
export { InlineAIPromptService } from './inline-ai-prompt/inlineaiprompt.service';
|
|
38
|
-
export { InlineAIPromptCustomMessagesComponent } from './inline-ai-prompt/localization/custom-messages.component';
|
|
39
|
-
export * from './inline-ai-prompt/models';
|
|
40
|
-
export * from './directives';
|