@progress/kendo-angular-conversational-ui 24.2.2 → 25.0.0-develop.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/fesm2022/progress-kendo-angular-conversational-ui.mjs +228 -228
  2. package/index.d.ts +4350 -51
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +18 -18
  5. package/ai-prompt/aiprompt.component.d.ts +0 -203
  6. package/ai-prompt/aiprompt.module.d.ts +0 -38
  7. package/ai-prompt/common/aiprompt.service.d.ts +0 -36
  8. package/ai-prompt/common/output-card.component.d.ts +0 -42
  9. package/ai-prompt/common/toolbar-focusable.directive.d.ts +0 -24
  10. package/ai-prompt/common/toolbar-navigation.service.d.ts +0 -24
  11. package/ai-prompt/localization/custom-messages.component.d.ts +0 -28
  12. package/ai-prompt/localization/localized-messages.directive.d.ts +0 -16
  13. package/ai-prompt/localization/messages.d.ts +0 -53
  14. package/ai-prompt/models/ai-prompt-settings.d.ts +0 -60
  15. package/ai-prompt/models/command-execute-event.d.ts +0 -24
  16. package/ai-prompt/models/command.interface.d.ts +0 -30
  17. package/ai-prompt/models/index.d.ts +0 -11
  18. package/ai-prompt/models/output-rating-change-event.d.ts +0 -19
  19. package/ai-prompt/models/prompt-output.interface.d.ts +0 -41
  20. package/ai-prompt/models/prompt-request-event.d.ts +0 -23
  21. package/ai-prompt/models/view-type.d.ts +0 -8
  22. package/ai-prompt/templates/aiprompt-output-body-template.directive.d.ts +0 -24
  23. package/ai-prompt/templates/aiprompt-output-template.directive.d.ts +0 -24
  24. package/ai-prompt/templates/toolbar-actions.template.d.ts +0 -28
  25. package/ai-prompt/utils.d.ts +0 -19
  26. package/ai-prompt/views/base-view.d.ts +0 -46
  27. package/ai-prompt/views/command-view.component.d.ts +0 -36
  28. package/ai-prompt/views/custom-view.component.d.ts +0 -30
  29. package/ai-prompt/views/index.d.ts +0 -8
  30. package/ai-prompt/views/output-view.component.d.ts +0 -33
  31. package/ai-prompt/views/prompt-view.component.d.ts +0 -76
  32. package/chat/api/action.interface.d.ts +0 -30
  33. package/chat/api/attachment.interface.d.ts +0 -33
  34. package/chat/api/chat-file-interface.d.ts +0 -41
  35. package/chat/api/chat-load-more-event.d.ts +0 -18
  36. package/chat/api/chat-referenced-message-click-event.d.ts +0 -18
  37. package/chat/api/chat-suggestion.interface.d.ts +0 -25
  38. package/chat/api/execute-action-event.d.ts +0 -27
  39. package/chat/api/file-action.d.ts +0 -45
  40. package/chat/api/file-download-event.interface.d.ts +0 -21
  41. package/chat/api/files-layout.d.ts +0 -12
  42. package/chat/api/index.d.ts +0 -25
  43. package/chat/api/message-action.d.ts +0 -45
  44. package/chat/api/message-box.d.ts +0 -28
  45. package/chat/api/message-settings.interface.d.ts +0 -41
  46. package/chat/api/message-status.interface.d.ts +0 -22
  47. package/chat/api/message-width-mode.d.ts +0 -10
  48. package/chat/api/message.interface.d.ts +0 -77
  49. package/chat/api/post-message-event.d.ts +0 -29
  50. package/chat/api/preventable-event.d.ts +0 -24
  51. package/chat/api/scroll-mode.d.ts +0 -12
  52. package/chat/api/send-button-settings.d.ts +0 -24
  53. package/chat/api/suggestions-layout.d.ts +0 -20
  54. package/chat/api/timestamp-visibility.d.ts +0 -10
  55. package/chat/api/user.interface.d.ts +0 -30
  56. package/chat/attachment.component.d.ts +0 -22
  57. package/chat/builtin-actions.d.ts +0 -14
  58. package/chat/cards/hero-card.component.d.ts +0 -49
  59. package/chat/chat-file.component.d.ts +0 -34
  60. package/chat/chat-item.d.ts +0 -11
  61. package/chat/chat-view.d.ts +0 -54
  62. package/chat/chat.component.d.ts +0 -561
  63. package/chat/chat.directives.d.ts +0 -18
  64. package/chat/chat.module.d.ts +0 -51
  65. package/chat/common/chat.service.d.ts +0 -99
  66. package/chat/common/endless-scroll-state.d.ts +0 -36
  67. package/chat/common/models/default-model-fields.d.ts +0 -9
  68. package/chat/common/models/formatted-text-parts.d.ts +0 -12
  69. package/chat/common/models/model-fields.d.ts +0 -111
  70. package/chat/common/models/pending-scroll-action.d.ts +0 -11
  71. package/chat/common/scroll-anchor.directive.d.ts +0 -72
  72. package/chat/common/scroll-button.component.d.ts +0 -32
  73. package/chat/common/scroll.service.d.ts +0 -39
  74. package/chat/common/utils.d.ts +0 -87
  75. package/chat/l10n/custom-messages.component.d.ts +0 -28
  76. package/chat/l10n/localized-messages.directive.d.ts +0 -16
  77. package/chat/l10n/messages.d.ts +0 -98
  78. package/chat/message-attachments.component.d.ts +0 -56
  79. package/chat/message-box.component.d.ts +0 -82
  80. package/chat/message-list.component.d.ts +0 -85
  81. package/chat/message-reference-content.component.d.ts +0 -24
  82. package/chat/message.component.d.ts +0 -106
  83. package/chat/suggested-actions.component.d.ts +0 -72
  84. package/chat/templates/attachment-template.directive.d.ts +0 -32
  85. package/chat/templates/author-message-content-template.directive.d.ts +0 -28
  86. package/chat/templates/author-message-template.directive.d.ts +0 -28
  87. package/chat/templates/header-template.directive.d.ts +0 -24
  88. package/chat/templates/message-box-end-affix-template.directive.d.ts +0 -26
  89. package/chat/templates/message-box-start-affix-template.directive.d.ts +0 -26
  90. package/chat/templates/message-box-top-affix-template.directive.d.ts +0 -26
  91. package/chat/templates/message-box.directive.d.ts +0 -27
  92. package/chat/templates/message-content-template.directive.d.ts +0 -28
  93. package/chat/templates/message-template.directive.d.ts +0 -28
  94. package/chat/templates/no-data-template.directive.d.ts +0 -27
  95. package/chat/templates/receiver-message-content-template.directive.d.ts +0 -28
  96. package/chat/templates/receiver-message-template.directive.d.ts +0 -28
  97. package/chat/templates/status-template.directive.d.ts +0 -24
  98. package/chat/templates/suggestion-template.directive.d.ts +0 -27
  99. package/chat/templates/timestamp-template.directive.d.ts +0 -31
  100. package/chat/templates/user-status-template.directive.d.ts +0 -27
  101. package/conversational-ui.module.d.ts +0 -70
  102. package/directives.d.ts +0 -138
  103. package/inline-ai-prompt/inlineaiprompt-content.component.d.ts +0 -82
  104. package/inline-ai-prompt/inlineaiprompt.component.d.ts +0 -159
  105. package/inline-ai-prompt/inlineaiprompt.module.d.ts +0 -31
  106. package/inline-ai-prompt/inlineaiprompt.service.d.ts +0 -48
  107. package/inline-ai-prompt/localization/custom-messages.component.d.ts +0 -25
  108. package/inline-ai-prompt/localization/localized-messages.directive.d.ts +0 -16
  109. package/inline-ai-prompt/localization/messages.d.ts +0 -25
  110. package/inline-ai-prompt/models/command.interface.d.ts +0 -38
  111. package/inline-ai-prompt/models/index.d.ts +0 -12
  112. package/inline-ai-prompt/models/inlineaiprompt-popupsettings.d.ts +0 -10
  113. package/inline-ai-prompt/models/inlineaiprompt-settings.d.ts +0 -66
  114. package/inline-ai-prompt/models/messages.d.ts +0 -21
  115. package/inline-ai-prompt/models/output-action-click-event.d.ts +0 -19
  116. package/inline-ai-prompt/models/output-action.interface.d.ts +0 -54
  117. package/inline-ai-prompt/models/prompt-output.interface.d.ts +0 -25
  118. package/inline-ai-prompt/models/prompt-request-event.d.ts +0 -17
  119. package/inline-ai-prompt/output-template.directive.d.ts +0 -27
  120. package/inline-ai-prompt/utils.d.ts +0 -17
  121. package/package-metadata.d.ts +0 -9
  122. package/promptbox/affixes/promptbox-end-affix.component.d.ts +0 -26
  123. package/promptbox/affixes/promptbox-start-affix.component.d.ts +0 -26
  124. package/promptbox/affixes/promptbox-top-affix.component.d.ts +0 -26
  125. package/promptbox/common/header-template.directive.d.ts +0 -17
  126. package/promptbox/common/models/action-button.d.ts +0 -66
  127. package/promptbox/common/models/fileselect-button.d.ts +0 -62
  128. package/promptbox/common/models/index.d.ts +0 -7
  129. package/promptbox/common/models/promptbox-mode.d.ts +0 -12
  130. package/promptbox/common/utils.d.ts +0 -18
  131. package/promptbox/localization/custom-messages.component.d.ts +0 -26
  132. package/promptbox/localization/localized-messages.directive.d.ts +0 -16
  133. package/promptbox/localization/messages.d.ts +0 -37
  134. package/promptbox/promptbox.component.d.ts +0 -385
  135. package/promptbox/tools/action-button.component.d.ts +0 -63
  136. package/promptbox/tools/base-tool.d.ts +0 -65
  137. package/promptbox/tools/fileselect-button.component.d.ts +0 -63
  138. package/promptbox/tools/promptbox-file.component.d.ts +0 -30
  139. package/promptbox/tools/speech-to-text-button.component.d.ts +0 -87
@@ -1,98 +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 { ComponentMessages } from '@progress/kendo-angular-l10n';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export declare class Messages extends ComponentMessages {
11
- /**
12
- * Sets the text that displays when the sender deletes a message.
13
- */
14
- deletedMessageSenderText: string;
15
- /**
16
- * Sets the text that displays when the receiver deletes a message.
17
- */
18
- deletedMessageReceiverText: string;
19
- /**
20
- * Sets the text that displays when a message fails to send.
21
- */
22
- messageFailedText: string;
23
- /**
24
- * Sets the text that displays in the download section of the message.
25
- * This message displays below all files in the message.
26
- */
27
- downloadAllFilesText: string;
28
- /**
29
- * Sets the placeholder text for the message text input.
30
- */
31
- messagePlaceholder: string;
32
- /**
33
- * Sets the aria-label for the internal input/textarea element.
34
- */
35
- messageBoxTitle: string;
36
- /**
37
- * Sets the text for the **Action** button.
38
- */
39
- actionButtonTitle: string;
40
- /**
41
- * Sets the label for the message list.
42
- */
43
- messageListLabel: string;
44
- /**
45
- * Sets the label for the message input box.
46
- */
47
- messageBoxInputLabel: string;
48
- /**
49
- * Sets the text for the left arrow of the message attachments.
50
- */
51
- messageAttachmentLeftArrow: string;
52
- /**
53
- * Sets the text for the right arrow of the message attachments.
54
- */
55
- messageAttachmentRightArrow: string;
56
- /**
57
- * Sets the Speech to Text button title.
58
- */
59
- speechToTextButtonTitle: string;
60
- /**
61
- * Sets the File Select button title.
62
- */
63
- fileSelectButtonTitle: string;
64
- /**
65
- * Sets the title of the icon that removes the reply reference in the Message Box.
66
- */
67
- removeReplyTitle: string;
68
- /**
69
- * Sets the title of the icon that removes a selected file in the Message Box.
70
- */
71
- removeFileTitle: string;
72
- /**
73
- * Sets the title of the icon that shows the message can expand.
74
- */
75
- expandTitle: string;
76
- /**
77
- * Sets the title of the icon that shows the message can collapse.
78
- */
79
- collapseTitle: string;
80
- /**
81
- * Sets the title of the DropDownButton that opens the File actions.
82
- */
83
- fileActionsTitle: string;
84
- /**
85
- * Sets the title of the button that shows the **Scroll right** when the suggestions list is scrollable with buttons.
86
- */
87
- nextSuggestionsButtonTitle: string;
88
- /**
89
- * Sets the title of the button that shows the **Scroll left** when the suggestions list is scrollable with buttons.
90
- */
91
- previousSuggestionsButtonTitle: string;
92
- /**
93
- * Sets the title of the button that unpins a pinned message.
94
- */
95
- unpinMessageTitle: string;
96
- static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
97
- static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendoConversationalUIMessages", never, { "deletedMessageSenderText": { "alias": "deletedMessageSenderText"; "required": false; }; "deletedMessageReceiverText": { "alias": "deletedMessageReceiverText"; "required": false; }; "messageFailedText": { "alias": "messageFailedText"; "required": false; }; "downloadAllFilesText": { "alias": "downloadAllFilesText"; "required": false; }; "messagePlaceholder": { "alias": "messagePlaceholder"; "required": false; }; "messageBoxTitle": { "alias": "messageBoxTitle"; "required": false; }; "actionButtonTitle": { "alias": "actionButtonTitle"; "required": false; }; "messageListLabel": { "alias": "messageListLabel"; "required": false; }; "messageBoxInputLabel": { "alias": "messageBoxInputLabel"; "required": false; }; "messageAttachmentLeftArrow": { "alias": "messageAttachmentLeftArrow"; "required": false; }; "messageAttachmentRightArrow": { "alias": "messageAttachmentRightArrow"; "required": false; }; "speechToTextButtonTitle": { "alias": "speechToTextButtonTitle"; "required": false; }; "fileSelectButtonTitle": { "alias": "fileSelectButtonTitle"; "required": false; }; "removeReplyTitle": { "alias": "removeReplyTitle"; "required": false; }; "removeFileTitle": { "alias": "removeFileTitle"; "required": false; }; "expandTitle": { "alias": "expandTitle"; "required": false; }; "collapseTitle": { "alias": "collapseTitle"; "required": false; }; "fileActionsTitle": { "alias": "fileActionsTitle"; "required": false; }; "nextSuggestionsButtonTitle": { "alias": "nextSuggestionsButtonTitle"; "required": false; }; "previousSuggestionsButtonTitle": { "alias": "previousSuggestionsButtonTitle"; "required": false; }; "unpinMessageTitle": { "alias": "unpinMessageTitle"; "required": false; }; }, {}, never, never, true, never>;
98
- }
@@ -1,56 +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 { AfterViewInit, ElementRef, NgZone, OnDestroy, QueryList } from '@angular/core';
6
- import { SVGIcon } from '@progress/kendo-svg-icons';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import { Attachment, AttachmentLayout } from './api/attachment.interface';
9
- import { ChatItem } from './chat-item';
10
- import { AttachmentTemplateDirective } from './templates/attachment-template.directive';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * @hidden
14
- */
15
- export declare class MessageAttachmentsComponent extends ChatItem implements AfterViewInit, OnDestroy {
16
- private zone;
17
- private localizationService;
18
- /**
19
- * @hidden
20
- */
21
- chevronLeftIcon: SVGIcon;
22
- /**
23
- * @hidden
24
- */
25
- chevronRightIcon: SVGIcon;
26
- attachments: Attachment[];
27
- layout: AttachmentLayout;
28
- tabbable: boolean;
29
- template: AttachmentTemplateDirective;
30
- localization: LocalizationService;
31
- get carousel(): boolean;
32
- deck: ElementRef;
33
- items: QueryList<ElementRef>;
34
- private scrollPosition;
35
- private selectedIndex;
36
- private scrollSubscription;
37
- private direction;
38
- get showLeftArrow(): boolean;
39
- get showRightArrow(): boolean;
40
- private carouselKeyHandlers;
41
- private listKeyHandlers;
42
- constructor(zone: NgZone, localizationService: LocalizationService);
43
- ngAfterViewInit(): void;
44
- ngOnDestroy(): void;
45
- isSelected(index: number): boolean;
46
- itemKeydown(e: KeyboardEvent, attachment: Attachment): void;
47
- itemClick(index: number): void;
48
- focus(): void;
49
- scrollTo(dir: number): void;
50
- private select;
51
- private navigateTo;
52
- private onScroll;
53
- textFor(key: string): string;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<MessageAttachmentsComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageAttachmentsComponent, "kendo-chat-message-attachments", never, { "attachments": { "alias": "attachments"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "tabbable": { "alias": "tabbable"; "required": false; }; "template": { "alias": "template"; "required": false; }; "localization": { "alias": "localization"; "required": false; }; }, {}, never, never, true, never>;
56
- }
@@ -1,82 +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 { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
6
- import { SpeechToTextButtonSettings } from '@progress/kendo-angular-buttons';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import { SelectEvent } from '@progress/kendo-angular-upload';
9
- import { SVGIcon } from '@progress/kendo-svg-icons';
10
- import { ActionButtonSettings, FileSelectButtonSettings } from '../promptbox/common/models';
11
- import { PromptBoxComponent } from '../promptbox/promptbox.component';
12
- import { ChatSuggestion, Message } from './api';
13
- import { ChatFile } from './api/chat-file-interface';
14
- import { MessageBoxSettings } from './api/message-box';
15
- import { ChatItem } from './chat-item';
16
- import { ChatService } from './common/chat.service';
17
- import { SuggestedActionsComponent } from './suggested-actions.component';
18
- import { ChatMessageBoxEndAffixTemplateDirective } from './templates/message-box-end-affix-template.directive';
19
- import { ChatMessageBoxStartAffixTemplateDirective } from './templates/message-box-start-affix-template.directive';
20
- import { ChatMessageBoxTopAffixTemplateDirective } from './templates/message-box-top-affix-template.directive';
21
- import { ChatMessageBoxTemplateDirective } from './templates/message-box.directive';
22
- import { ChatSuggestionTemplateDirective } from './templates/suggestion-template.directive';
23
- import * as i0 from "@angular/core";
24
- /**
25
- * @hidden
26
- */
27
- export declare class MessageBoxComponent implements OnInit, OnDestroy {
28
- private chatService;
29
- private cdr;
30
- private element;
31
- private renderer;
32
- borderColor: string;
33
- messageBoxWrapperClass: boolean;
34
- messageBoxInput: PromptBoxComponent;
35
- suggestedActionsComponent: SuggestedActionsComponent;
36
- authorId: string | number;
37
- autoScroll: boolean;
38
- suggestions: ChatSuggestion[];
39
- placeholder: any;
40
- inputValue: string;
41
- localization: LocalizationService;
42
- messageBoxTemplate: ChatMessageBoxTemplateDirective;
43
- messageBoxStartAffixTemplate: ChatMessageBoxStartAffixTemplateDirective;
44
- messageBoxEndAffixTemplate: ChatMessageBoxEndAffixTemplateDirective;
45
- messageBoxTopAffixTemplate: ChatMessageBoxTopAffixTemplateDirective;
46
- suggestionTemplate: ChatSuggestionTemplateDirective;
47
- loading: boolean;
48
- sendMessage: EventEmitter<any>;
49
- executeSuggestion: EventEmitter<ChatSuggestion>;
50
- fileSelect: EventEmitter<SelectEvent>;
51
- fileRemove: EventEmitter<ChatFile>;
52
- deleteIcon: SVGIcon;
53
- isListening: boolean;
54
- get reply(): Message;
55
- private selectedItem;
56
- private subs;
57
- constructor(chatService: ChatService, cdr: ChangeDetectorRef, element: ElementRef, renderer: Renderer2);
58
- ngOnInit(): void;
59
- ngOnDestroy(): void;
60
- sendClick(): void;
61
- handleSpeechResult(event: any): void;
62
- textFor(key: string): string;
63
- removeReply(): void;
64
- onReplyReferenceClick(event: Event): void;
65
- handleFileSelect(event: SelectEvent): void;
66
- handleFileRemove(file: any): void;
67
- handlePromptAction(): void;
68
- onSpeechToTextStart(): void;
69
- onSpeechToTextEnd(): void;
70
- get speechToTextButtonSettings(): SpeechToTextButtonSettings | boolean;
71
- get actionButtonSettings(): ActionButtonSettings | boolean;
72
- get fileSelectButton(): boolean | FileSelectButtonSettings;
73
- get messageBoxSettings(): MessageBoxSettings;
74
- get fileSelectButtonSettings(): FileSelectButtonSettings;
75
- get isActionButtonDisabled(): boolean;
76
- select(item: ChatItem, event?: Event): void;
77
- onBlur(args: any): void;
78
- onInputValueChange(value: string): void;
79
- dispatchSuggestion(suggestion: ChatSuggestion): void;
80
- static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoxComponent, never>;
81
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageBoxComponent, "kendo-message-box", never, { "authorId": { "alias": "authorId"; "required": false; }; "autoScroll": { "alias": "autoScroll"; "required": false; }; "suggestions": { "alias": "suggestions"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; "localization": { "alias": "localization"; "required": false; }; "messageBoxTemplate": { "alias": "messageBoxTemplate"; "required": false; }; "messageBoxStartAffixTemplate": { "alias": "messageBoxStartAffixTemplate"; "required": false; }; "messageBoxEndAffixTemplate": { "alias": "messageBoxEndAffixTemplate"; "required": false; }; "messageBoxTopAffixTemplate": { "alias": "messageBoxTopAffixTemplate"; "required": false; }; "suggestionTemplate": { "alias": "suggestionTemplate"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "sendMessage": "sendMessage"; "executeSuggestion": "executeSuggestion"; "fileSelect": "fileSelect"; "fileRemove": "fileRemove"; }, never, never, true, never>;
82
- }
@@ -1,85 +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 { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, Renderer2 } from '@angular/core';
6
- import { Action, ExecuteActionEvent, Message } from './api';
7
- import { IntlService } from '@progress/kendo-angular-intl';
8
- import { LocalizationService } from '@progress/kendo-angular-l10n';
9
- import { ChatItem } from './chat-item';
10
- import { ViewItem } from './chat-view';
11
- import { AttachmentTemplateDirective } from './templates/attachment-template.directive';
12
- import { MessageContentTemplateDirective } from './templates/message-content-template.directive';
13
- import { ChatTimestampTemplateDirective } from './templates/timestamp-template.directive';
14
- import { ChatService } from './common/chat.service';
15
- import { ChatStatusTemplateDirective } from './templates/status-template.directive';
16
- import { ChatUserStatusTemplateDirective } from './templates/user-status-template.directive';
17
- import { MessageTemplateDirective } from './templates/message-template.directive';
18
- import { AuthorMessageContentTemplateDirective } from './templates/author-message-content-template.directive';
19
- import { ReceiverMessageContentTemplateDirective } from './templates/receiver-message-content-template.directive';
20
- import { AuthorMessageTemplateDirective } from './templates/author-message-template.directive';
21
- import { ReceiverMessageTemplateDirective } from './templates/receiver-message-template.directive';
22
- import * as i0 from "@angular/core";
23
- /**
24
- * @hidden
25
- */
26
- export declare class MessageListComponent implements OnInit, AfterViewInit, OnDestroy {
27
- private element;
28
- private intl;
29
- private renderer;
30
- chatService: ChatService;
31
- private cdr;
32
- set messages(value: Message[]);
33
- get messages(): Message[];
34
- attachmentTemplate: AttachmentTemplateDirective;
35
- authorMessageContentTemplate: AuthorMessageContentTemplateDirective;
36
- receiverMessageContentTemplate: ReceiverMessageContentTemplateDirective;
37
- messageContentTemplate: MessageContentTemplateDirective;
38
- authorMessageTemplate: AuthorMessageTemplateDirective;
39
- receiverMessageTemplate: ReceiverMessageTemplateDirective;
40
- messageTemplate: MessageTemplateDirective;
41
- timestampTemplate: ChatTimestampTemplateDirective;
42
- statusTemplate: ChatStatusTemplateDirective;
43
- userStatusTemplate: ChatUserStatusTemplateDirective;
44
- localization: LocalizationService;
45
- authorId: string | number;
46
- executeAction: EventEmitter<ExecuteActionEvent>;
47
- navigate: EventEmitter<any>;
48
- resize: EventEmitter<any>;
49
- items: QueryList<ChatItem>;
50
- cssClass: boolean;
51
- view: ViewItem[] | any[];
52
- private _messages;
53
- private subs;
54
- private selectedItem;
55
- private keyActions;
56
- constructor(element: ElementRef, intl: IntlService, renderer: Renderer2, chatService: ChatService, cdr: ChangeDetectorRef);
57
- ngOnInit(): void;
58
- ngAfterViewInit(): void;
59
- ngOnDestroy(): void;
60
- onResize(): void;
61
- onClick(message: any, event: any): void;
62
- onContextMenuClick(message: Message, event: MouseEvent, messageElement?: any): void;
63
- formatTimeStamp(date: any): string;
64
- calculateMessageWidthMode(message: any): boolean;
65
- onKeydown(e: any): void;
66
- onBlur(args: any): void;
67
- isOwnMessage(msg: Message): boolean;
68
- showGroupAuthor(group: any): boolean;
69
- showGroupAvatar(group: any): boolean;
70
- dispatchAction(action: Action, message: Message): void;
71
- trackGroup(_index: number, item: ViewItem): any;
72
- select(item: ChatItem, event?: Event): void;
73
- last(items: any): any;
74
- handleMenuClose(state: boolean): void;
75
- textFor(key: string): string;
76
- private onHomeOrEndKeyDown;
77
- private onTabKeyDown;
78
- private navigateTo;
79
- private scrollToAndSelectMessage;
80
- private openContextMenu;
81
- private findMessageComponentFromActiveElement;
82
- private findMessageComponentFromEvent;
83
- static ɵfac: i0.ɵɵFactoryDeclaration<MessageListComponent, never>;
84
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageListComponent, "kendo-chat-message-list", never, { "messages": { "alias": "messages"; "required": false; }; "attachmentTemplate": { "alias": "attachmentTemplate"; "required": false; }; "authorMessageContentTemplate": { "alias": "authorMessageContentTemplate"; "required": false; }; "receiverMessageContentTemplate": { "alias": "receiverMessageContentTemplate"; "required": false; }; "messageContentTemplate": { "alias": "messageContentTemplate"; "required": false; }; "authorMessageTemplate": { "alias": "authorMessageTemplate"; "required": false; }; "receiverMessageTemplate": { "alias": "receiverMessageTemplate"; "required": false; }; "messageTemplate": { "alias": "messageTemplate"; "required": false; }; "timestampTemplate": { "alias": "timestampTemplate"; "required": false; }; "statusTemplate": { "alias": "statusTemplate"; "required": false; }; "userStatusTemplate": { "alias": "userStatusTemplate"; "required": false; }; "localization": { "alias": "localization"; "required": false; }; "authorId": { "alias": "authorId"; "required": false; }; }, { "executeAction": "executeAction"; "navigate": "navigate"; "resize": "resize"; }, never, never, true, never>;
85
- }
@@ -1,24 +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 { ChatItem } from './chat-item';
6
- import { Message } from './api';
7
- import { ChatService } from './common/chat.service';
8
- import { LocalizationService } from '@progress/kendo-angular-l10n';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * @hidden
12
- */
13
- export declare class MessageReferenceComponent extends ChatItem {
14
- private localization;
15
- private chatService;
16
- hostClass: boolean;
17
- message: Message;
18
- constructor(localization: LocalizationService, chatService: ChatService);
19
- isOwnMessage(msg: Message): boolean;
20
- textFor(key: string): string;
21
- focus(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<MessageReferenceComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageReferenceComponent, "chat-message-reference-content", never, { "message": { "alias": "message"; "required": false; }; }, {}, never, never, true, never>;
24
- }
@@ -1,106 +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 { ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
6
- import { Message } from './api/message.interface';
7
- import { MessageStatus } from './api/message-status.interface';
8
- import { ChatItem } from './chat-item';
9
- import { MessageContentTemplateDirective } from './templates/message-content-template.directive';
10
- import { IntlService } from '@progress/kendo-angular-intl';
11
- import { ChatFile } from './api/chat-file-interface';
12
- import { ContextMenuPopupEvent } from '@progress/kendo-angular-menu';
13
- import { SVGIcon } from '@progress/kendo-svg-icons';
14
- import { ChatService } from './common/chat.service';
15
- import { MessageAction } from './api';
16
- import { LocalizationService } from '@progress/kendo-angular-l10n';
17
- import { ChatStatusTemplateDirective } from './templates/status-template.directive';
18
- import { FormattedTextPart } from './common/models/formatted-text-parts';
19
- import { MessageTemplateDirective } from './templates/message-template.directive';
20
- import { AuthorMessageContentTemplateDirective } from './templates/author-message-content-template.directive';
21
- import { ReceiverMessageContentTemplateDirective } from './templates/receiver-message-content-template.directive';
22
- import { ReceiverMessageTemplateDirective } from './templates/receiver-message-template.directive';
23
- import { AuthorMessageTemplateDirective } from './templates/author-message-template.directive';
24
- import * as i0 from "@angular/core";
25
- /**
26
- * @hidden
27
- */
28
- export declare class MessageComponent extends ChatItem implements OnInit, OnDestroy {
29
- element: ElementRef;
30
- private intl;
31
- chatService: ChatService;
32
- private localization;
33
- private cdr;
34
- private zone;
35
- set message(value: Message);
36
- get message(): Message;
37
- tabbable: boolean;
38
- authorMessageContentTemplate: AuthorMessageContentTemplateDirective;
39
- receiverMessageContentTemplate: ReceiverMessageContentTemplateDirective;
40
- messageContentTemplate: MessageContentTemplateDirective;
41
- authorMessageTemplate: AuthorMessageTemplateDirective;
42
- receiverMessageTemplate: ReceiverMessageTemplateDirective;
43
- messageTemplate: MessageTemplateDirective;
44
- statusTemplate: ChatStatusTemplateDirective;
45
- showMessageTime: boolean;
46
- authorId: string | number;
47
- cssClass: boolean;
48
- get failedClass(): boolean;
49
- get removedClass(): boolean;
50
- onKeyDown(event: KeyboardEvent): void;
51
- selected: boolean;
52
- get tabIndex(): string;
53
- expandIcon: SVGIcon;
54
- collapseIcon: SVGIcon;
55
- downloadIcon: SVGIcon;
56
- resendIcon: SVGIcon;
57
- messageFailedIcon: SVGIcon;
58
- isMessageExpanded: boolean;
59
- showExpandCollapseIcon: boolean;
60
- fileActions: any;
61
- toolbarActions: MessageAction[];
62
- parts: FormattedTextPart[];
63
- get useCustomBubbleTemplate(): boolean;
64
- get useCustomContentTemplate(): boolean;
65
- get hasMessageContent(): boolean;
66
- get hasFiles(): boolean;
67
- get hasMultipleFiles(): boolean;
68
- get isStatusString(): boolean;
69
- get statusObject(): MessageStatus | null;
70
- get isActiveMessage(): boolean;
71
- get isMessageExpandable(): boolean;
72
- get showToolbar(): boolean;
73
- private subs;
74
- private _message;
75
- constructor(element: ElementRef, intl: IntlService, chatService: ChatService, localization: LocalizationService, cdr: ChangeDetectorRef, zone: NgZone);
76
- ngOnInit(): void;
77
- ngAfterViewInit(): void;
78
- ngOnDestroy(): void;
79
- calculateExpandCollapseIconVisibility(): boolean;
80
- getActiveBubbleTemplate(): MessageTemplateDirective | AuthorMessageTemplateDirective | ReceiverMessageTemplateDirective | null;
81
- getActiveContentTemplate(): MessageContentTemplateDirective | AuthorMessageContentTemplateDirective | ReceiverMessageContentTemplateDirective | null;
82
- getDeletedMessageText(): string;
83
- textFor(key: string): string;
84
- formatTimeStamp(date: any): string;
85
- focus(): void;
86
- onDownloadAll(): void;
87
- toggleMessageState(event: Event): void;
88
- onExpandableKeydown(event: KeyboardEvent): void;
89
- onToolbarAction(event: Event, action: MessageAction, message: Message): void;
90
- onFileAction(action: any, file: ChatFile): void;
91
- getMessageById(id: string | number): Message | undefined;
92
- onReplyReferenceClick(event: Event, replyToId: string | number): void;
93
- onResendMessage(event: Event): void;
94
- handleMenuClose(event?: ContextMenuPopupEvent): void;
95
- onActionButtonClick(event: MouseEvent): void;
96
- handleMenuOpen(): void;
97
- onActionPopupChange(expanded: boolean): void;
98
- isOwnMessage(msg: Message): boolean;
99
- private getFormattedTextParts;
100
- private getMessageSettings;
101
- private getToolbarActions;
102
- private getFileActions;
103
- private updateExpandCollapseIconAfterStable;
104
- static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, never>;
105
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "kendo-chat-message", never, { "message": { "alias": "message"; "required": false; }; "tabbable": { "alias": "tabbable"; "required": false; }; "authorMessageContentTemplate": { "alias": "authorMessageContentTemplate"; "required": false; }; "receiverMessageContentTemplate": { "alias": "receiverMessageContentTemplate"; "required": false; }; "messageContentTemplate": { "alias": "messageContentTemplate"; "required": false; }; "authorMessageTemplate": { "alias": "authorMessageTemplate"; "required": false; }; "receiverMessageTemplate": { "alias": "receiverMessageTemplate"; "required": false; }; "messageTemplate": { "alias": "messageTemplate"; "required": false; }; "statusTemplate": { "alias": "statusTemplate"; "required": false; }; "showMessageTime": { "alias": "showMessageTime"; "required": false; }; "authorId": { "alias": "authorId"; "required": false; }; }, {}, never, never, true, never>;
106
- }
@@ -1,72 +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 { ElementRef, EventEmitter, QueryList, AfterViewInit, OnDestroy, NgZone, Renderer2 } from '@angular/core';
6
- import { Action } from './api/action.interface';
7
- import { ChatItem } from './chat-item';
8
- import { ChatSuggestion } from './api/chat-suggestion.interface';
9
- import { ChatSuggestionTemplateDirective } from './templates/suggestion-template.directive';
10
- import { ChatService } from './common/chat.service';
11
- import { LocalizationService } from '@progress/kendo-angular-l10n';
12
- import { SuggestionsScrollService } from './common/scroll.service';
13
- import { ScrollButtonType } from './common/utils';
14
- import * as i0 from "@angular/core";
15
- /**
16
- * @hidden
17
- */
18
- export declare class SuggestedActionsComponent extends ChatItem implements AfterViewInit, OnDestroy {
19
- private chatService;
20
- private localization;
21
- private scrollService;
22
- private ngZone;
23
- private renderer;
24
- get defaultClass(): boolean;
25
- get scrollableClass(): boolean;
26
- get scrollButtonsClass(): boolean;
27
- get scrollStartClass(): boolean;
28
- get scrollEndClass(): boolean;
29
- get role(): string;
30
- actions: Action[];
31
- suggestions: ChatSuggestion[];
32
- tabbable: boolean;
33
- type: 'action' | 'suggestion';
34
- suggestionTemplate: ChatSuggestionTemplateDirective;
35
- dispatchAction: EventEmitter<Action>;
36
- dispatchSuggestion: EventEmitter<ChatSuggestion>;
37
- items: QueryList<ElementRef>;
38
- suggestionsContainer: ElementRef;
39
- scrollableContainer: ElementRef;
40
- prevScrollButton: ElementRef;
41
- nextScrollButton: ElementRef;
42
- selectedIndex: number;
43
- activeIndex: number;
44
- active: boolean;
45
- isAtScrollStart: boolean;
46
- isAtScrollEnd: boolean;
47
- get isScrollable(): boolean;
48
- get hasScrollButtons(): boolean;
49
- private subscriptions;
50
- private actionKeyHandlers;
51
- private suggestionKeyHandlers;
52
- constructor(chatService: ChatService, localization: LocalizationService, scrollService: SuggestionsScrollService, ngZone: NgZone, renderer: Renderer2);
53
- ngAfterViewInit(): void;
54
- ngOnDestroy(): void;
55
- isSelected(index: number): boolean;
56
- isActive(index: number): boolean;
57
- actionClick(action: Action, index?: number): void;
58
- suggestionClick(suggestion: ChatSuggestion, index?: number): void;
59
- toggleActiveState(apply: boolean, index: number): void;
60
- actionKeydown(e: any, action: Action): void;
61
- suggestionKeydown(e: any, suggestion: ChatSuggestion): void;
62
- getScrollButtonTitle(direction: string): string;
63
- onScroll(event: Event): void;
64
- onScrollableContainerScroll(_event: Event): void;
65
- scrollSuggestions(direction: ScrollButtonType): void;
66
- focus(): void;
67
- private updateScrollableState;
68
- private toggleScrollButtonState;
69
- private changeSelectedIndex;
70
- static ɵfac: i0.ɵɵFactoryDeclaration<SuggestedActionsComponent, never>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<SuggestedActionsComponent, "kendo-chat-suggested-actions", never, { "actions": { "alias": "actions"; "required": false; }; "suggestions": { "alias": "suggestions"; "required": false; }; "tabbable": { "alias": "tabbable"; "required": false; }; "type": { "alias": "type"; "required": false; }; "suggestionTemplate": { "alias": "suggestionTemplate"; "required": false; }; }, { "dispatchAction": "dispatchAction"; "dispatchSuggestion": "dispatchSuggestion"; }, never, never, true, never>;
72
- }
@@ -1,32 +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 { TemplateRef } from "@angular/core";
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Defines a template for displaying message attachments.
9
- *
10
- * To define an attachment template, nest an `<ng-template>` tag with the `kendoChatAttachmentTemplate` attribute inside the `<kendo-chat>` component.
11
- * The template context is set to the attachment instance.
12
- * For more information, refer to the article on [message attachments](https://www.telerik.com/kendo-angular-ui/components/conversational-ui/chat/attachments).
13
- *
14
- * You can use the following field:
15
- * - `attachment`&mdash;The attachment instance.
16
- * - `message`&mdash;The message instance.
17
- *
18
- * @example
19
- * ```html
20
- * <kendo-chat>
21
- * <ng-template kendoChatAttachmentTemplate let-attachment let-message>
22
- * <div>Attachment: {{ attachment.content }}</div>
23
- * </ng-template>
24
- * </kendo-chat>
25
- * ```
26
- */
27
- export declare class AttachmentTemplateDirective {
28
- templateRef: TemplateRef<any>;
29
- constructor(templateRef: TemplateRef<any>);
30
- static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentTemplateDirective, [{ optional: true; }]>;
31
- static ɵdir: i0.ɵɵDirectiveDeclaration<AttachmentTemplateDirective, "[kendoChatAttachmentTemplate]", never, {}, {}, never, never, true, never>;
32
- }
@@ -1,28 +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 { TemplateRef } from "@angular/core";
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Defines a template for displaying custom content inside the current user's messages in the Chat.
9
- *
10
- * To define a message template, nest an `<ng-template>` tag with the `kendoChatAuthorMessageContentTemplate` 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](https://www.telerik.com/kendo-angular-ui/components/conversational-ui/chat/message-templates).
13
- *
14
- * @example
15
- * ```html
16
- * <kendo-chat>
17
- * <ng-template kendoChatAuthorMessageContentTemplate let-message>
18
- * <div>Message: {{ message.text }}</div>
19
- * </ng-template>
20
- * </kendo-chat>
21
- * ```
22
- */
23
- export declare class AuthorMessageContentTemplateDirective {
24
- templateRef: TemplateRef<any>;
25
- constructor(templateRef: TemplateRef<any>);
26
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthorMessageContentTemplateDirective, [{ optional: true; }]>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<AuthorMessageContentTemplateDirective, "[kendoChatAuthorMessageContentTemplate]", never, {}, {}, never, never, true, never>;
28
- }
@@ -1,28 +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 { 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 current user.
9
- *
10
- * To define a message template, nest an `<ng-template>` tag with the `kendoChatAuthorMessageTemplate` 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](https://www.telerik.com/kendo-angular-ui/components/conversational-ui/chat/message-templates).
13
- *
14
- * @example
15
- * ```html
16
- * <kendo-chat>
17
- * <ng-template kendoChatAuthorMessageTemplate let-message>
18
- * <div>Message: {{ message.text }}</div>
19
- * </ng-template>
20
- * </kendo-chat>
21
- * ```
22
- */
23
- export declare class AuthorMessageTemplateDirective {
24
- templateRef: TemplateRef<any>;
25
- constructor(templateRef: TemplateRef<any>);
26
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthorMessageTemplateDirective, [{ optional: true; }]>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<AuthorMessageTemplateDirective, "[kendoChatAuthorMessageTemplate]", never, {}, {}, never, never, true, never>;
28
- }
@@ -1,24 +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 { TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Represents the template for the header of the Chat component.
9
- *
10
- * @example
11
- * ```html
12
- * <kendo-chat>
13
- * <ng-template kendoChatHeaderTemplate>
14
- * Chat Title
15
- * </ng-template>
16
- * </kendo-chat>
17
- * ```
18
- */
19
- export declare class ChatHeaderTemplateDirective {
20
- templateRef: TemplateRef<any>;
21
- constructor(templateRef: TemplateRef<any>);
22
- static ɵfac: i0.ɵɵFactoryDeclaration<ChatHeaderTemplateDirective, never>;
23
- static ɵdir: i0.ɵɵDirectiveDeclaration<ChatHeaderTemplateDirective, "[kendoChatHeaderTemplate]", never, {}, {}, never, never, true, never>;
24
- }