@progress/kendo-angular-conversational-ui 24.2.2 → 25.0.0-develop.12
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/fesm2022/progress-kendo-angular-conversational-ui.mjs +353 -271
- package/index.d.ts +4369 -51
- package/package-metadata.mjs +2 -2
- package/package.json +18 -18
- package/ai-prompt/aiprompt.component.d.ts +0 -203
- package/ai-prompt/aiprompt.module.d.ts +0 -38
- package/ai-prompt/common/aiprompt.service.d.ts +0 -36
- package/ai-prompt/common/output-card.component.d.ts +0 -42
- package/ai-prompt/common/toolbar-focusable.directive.d.ts +0 -24
- package/ai-prompt/common/toolbar-navigation.service.d.ts +0 -24
- package/ai-prompt/localization/custom-messages.component.d.ts +0 -28
- package/ai-prompt/localization/localized-messages.directive.d.ts +0 -16
- package/ai-prompt/localization/messages.d.ts +0 -53
- package/ai-prompt/models/ai-prompt-settings.d.ts +0 -60
- package/ai-prompt/models/command-execute-event.d.ts +0 -24
- package/ai-prompt/models/command.interface.d.ts +0 -30
- package/ai-prompt/models/index.d.ts +0 -11
- package/ai-prompt/models/output-rating-change-event.d.ts +0 -19
- package/ai-prompt/models/prompt-output.interface.d.ts +0 -41
- package/ai-prompt/models/prompt-request-event.d.ts +0 -23
- package/ai-prompt/models/view-type.d.ts +0 -8
- package/ai-prompt/templates/aiprompt-output-body-template.directive.d.ts +0 -24
- package/ai-prompt/templates/aiprompt-output-template.directive.d.ts +0 -24
- package/ai-prompt/templates/toolbar-actions.template.d.ts +0 -28
- package/ai-prompt/utils.d.ts +0 -19
- package/ai-prompt/views/base-view.d.ts +0 -46
- package/ai-prompt/views/command-view.component.d.ts +0 -36
- package/ai-prompt/views/custom-view.component.d.ts +0 -30
- package/ai-prompt/views/index.d.ts +0 -8
- package/ai-prompt/views/output-view.component.d.ts +0 -33
- package/ai-prompt/views/prompt-view.component.d.ts +0 -76
- package/chat/api/action.interface.d.ts +0 -30
- package/chat/api/attachment.interface.d.ts +0 -33
- package/chat/api/chat-file-interface.d.ts +0 -41
- package/chat/api/chat-load-more-event.d.ts +0 -18
- package/chat/api/chat-referenced-message-click-event.d.ts +0 -18
- package/chat/api/chat-suggestion.interface.d.ts +0 -25
- package/chat/api/execute-action-event.d.ts +0 -27
- package/chat/api/file-action.d.ts +0 -45
- package/chat/api/file-download-event.interface.d.ts +0 -21
- package/chat/api/files-layout.d.ts +0 -12
- package/chat/api/index.d.ts +0 -25
- package/chat/api/message-action.d.ts +0 -45
- package/chat/api/message-box.d.ts +0 -28
- package/chat/api/message-settings.interface.d.ts +0 -41
- package/chat/api/message-status.interface.d.ts +0 -22
- package/chat/api/message-width-mode.d.ts +0 -10
- package/chat/api/message.interface.d.ts +0 -77
- package/chat/api/post-message-event.d.ts +0 -29
- package/chat/api/preventable-event.d.ts +0 -24
- package/chat/api/scroll-mode.d.ts +0 -12
- package/chat/api/send-button-settings.d.ts +0 -24
- package/chat/api/suggestions-layout.d.ts +0 -20
- package/chat/api/timestamp-visibility.d.ts +0 -10
- package/chat/api/user.interface.d.ts +0 -30
- package/chat/attachment.component.d.ts +0 -22
- package/chat/builtin-actions.d.ts +0 -14
- package/chat/cards/hero-card.component.d.ts +0 -49
- package/chat/chat-file.component.d.ts +0 -34
- package/chat/chat-item.d.ts +0 -11
- package/chat/chat-view.d.ts +0 -54
- package/chat/chat.component.d.ts +0 -561
- package/chat/chat.directives.d.ts +0 -18
- package/chat/chat.module.d.ts +0 -51
- package/chat/common/chat.service.d.ts +0 -99
- package/chat/common/endless-scroll-state.d.ts +0 -36
- package/chat/common/models/default-model-fields.d.ts +0 -9
- package/chat/common/models/formatted-text-parts.d.ts +0 -12
- package/chat/common/models/model-fields.d.ts +0 -111
- package/chat/common/models/pending-scroll-action.d.ts +0 -11
- package/chat/common/scroll-anchor.directive.d.ts +0 -72
- package/chat/common/scroll-button.component.d.ts +0 -32
- package/chat/common/scroll.service.d.ts +0 -39
- package/chat/common/utils.d.ts +0 -87
- package/chat/l10n/custom-messages.component.d.ts +0 -28
- package/chat/l10n/localized-messages.directive.d.ts +0 -16
- package/chat/l10n/messages.d.ts +0 -98
- package/chat/message-attachments.component.d.ts +0 -56
- package/chat/message-box.component.d.ts +0 -82
- package/chat/message-list.component.d.ts +0 -85
- package/chat/message-reference-content.component.d.ts +0 -24
- package/chat/message.component.d.ts +0 -106
- package/chat/suggested-actions.component.d.ts +0 -72
- package/chat/templates/attachment-template.directive.d.ts +0 -32
- package/chat/templates/author-message-content-template.directive.d.ts +0 -28
- package/chat/templates/author-message-template.directive.d.ts +0 -28
- package/chat/templates/header-template.directive.d.ts +0 -24
- package/chat/templates/message-box-end-affix-template.directive.d.ts +0 -26
- package/chat/templates/message-box-start-affix-template.directive.d.ts +0 -26
- package/chat/templates/message-box-top-affix-template.directive.d.ts +0 -26
- package/chat/templates/message-box.directive.d.ts +0 -27
- package/chat/templates/message-content-template.directive.d.ts +0 -28
- package/chat/templates/message-template.directive.d.ts +0 -28
- package/chat/templates/no-data-template.directive.d.ts +0 -27
- package/chat/templates/receiver-message-content-template.directive.d.ts +0 -28
- package/chat/templates/receiver-message-template.directive.d.ts +0 -28
- package/chat/templates/status-template.directive.d.ts +0 -24
- package/chat/templates/suggestion-template.directive.d.ts +0 -27
- package/chat/templates/timestamp-template.directive.d.ts +0 -31
- package/chat/templates/user-status-template.directive.d.ts +0 -27
- package/conversational-ui.module.d.ts +0 -70
- package/directives.d.ts +0 -138
- package/inline-ai-prompt/inlineaiprompt-content.component.d.ts +0 -82
- package/inline-ai-prompt/inlineaiprompt.component.d.ts +0 -159
- package/inline-ai-prompt/inlineaiprompt.module.d.ts +0 -31
- package/inline-ai-prompt/inlineaiprompt.service.d.ts +0 -48
- package/inline-ai-prompt/localization/custom-messages.component.d.ts +0 -25
- package/inline-ai-prompt/localization/localized-messages.directive.d.ts +0 -16
- package/inline-ai-prompt/localization/messages.d.ts +0 -25
- package/inline-ai-prompt/models/command.interface.d.ts +0 -38
- package/inline-ai-prompt/models/index.d.ts +0 -12
- package/inline-ai-prompt/models/inlineaiprompt-popupsettings.d.ts +0 -10
- package/inline-ai-prompt/models/inlineaiprompt-settings.d.ts +0 -66
- package/inline-ai-prompt/models/messages.d.ts +0 -21
- package/inline-ai-prompt/models/output-action-click-event.d.ts +0 -19
- package/inline-ai-prompt/models/output-action.interface.d.ts +0 -54
- package/inline-ai-prompt/models/prompt-output.interface.d.ts +0 -25
- package/inline-ai-prompt/models/prompt-request-event.d.ts +0 -17
- package/inline-ai-prompt/output-template.directive.d.ts +0 -27
- package/inline-ai-prompt/utils.d.ts +0 -17
- package/package-metadata.d.ts +0 -9
- package/promptbox/affixes/promptbox-end-affix.component.d.ts +0 -26
- package/promptbox/affixes/promptbox-start-affix.component.d.ts +0 -26
- package/promptbox/affixes/promptbox-top-affix.component.d.ts +0 -26
- package/promptbox/common/header-template.directive.d.ts +0 -17
- package/promptbox/common/models/action-button.d.ts +0 -66
- package/promptbox/common/models/fileselect-button.d.ts +0 -62
- package/promptbox/common/models/index.d.ts +0 -7
- package/promptbox/common/models/promptbox-mode.d.ts +0 -12
- package/promptbox/common/utils.d.ts +0 -18
- package/promptbox/localization/custom-messages.component.d.ts +0 -26
- package/promptbox/localization/localized-messages.directive.d.ts +0 -16
- package/promptbox/localization/messages.d.ts +0 -37
- package/promptbox/promptbox.component.d.ts +0 -385
- package/promptbox/tools/action-button.component.d.ts +0 -63
- package/promptbox/tools/base-tool.d.ts +0 -65
- package/promptbox/tools/fileselect-button.component.d.ts +0 -63
- package/promptbox/tools/promptbox-file.component.d.ts +0 -30
- package/promptbox/tools/speech-to-text-button.component.d.ts +0 -87
|
@@ -11,7 +11,7 @@ import { isPresent, normalizeKeys, Keys, focusableSelector, KENDO_WEBMCP_HOST, g
|
|
|
11
11
|
import { DialogContainerService, DialogService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
|
|
12
12
|
import { NgTemplateOutlet, NgClass } from '@angular/common';
|
|
13
13
|
import { Subject, Subscription, fromEvent } from 'rxjs';
|
|
14
|
-
import { moreHorizontalIcon, commentIcon, sparklesIcon, stopIcon, thumbUpIcon, thumbDownIcon, copyIcon, arrowRotateCwIcon, chevronUpIcon, chevronDownIcon, arrowUpIcon, paperclipIcon, undoIcon, downloadIcon,
|
|
14
|
+
import { moreHorizontalIcon, commentIcon, sparklesIcon, stopIcon, thumbUpIcon, thumbDownIcon, copyIcon, arrowRotateCwIcon, chevronUpIcon, chevronDownIcon, arrowUpIcon, paperclipIcon, undoIcon, downloadIcon, xCircleIcon, moreVerticalIcon, xIcon, chevronLeftIcon, chevronRightIcon, warningTriangleIcon, pinIcon, arrowDownIcon, cancelIcon, menuIcon, paperPlaneIcon } from '@progress/kendo-svg-icons';
|
|
15
15
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
16
16
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
17
17
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
@@ -185,10 +185,10 @@ class BaseView {
|
|
|
185
185
|
_buttonText;
|
|
186
186
|
_icon;
|
|
187
187
|
_svgIcon;
|
|
188
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
189
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
188
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BaseView, deps: [{ token: MY_TOKEN }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
189
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: BaseView, isStandalone: true, inputs: { buttonText: "buttonText", icon: "icon", svgIcon: "svgIcon" }, host: { properties: { "class.k-prompt-view": "this.hostClasses" } }, viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true, static: true }], ngImport: i0 });
|
|
190
190
|
}
|
|
191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: BaseView, decorators: [{
|
|
192
192
|
type: Directive
|
|
193
193
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
194
194
|
type: Inject,
|
|
@@ -215,8 +215,8 @@ const packageMetadata = {
|
|
|
215
215
|
productName: 'Kendo UI for Angular',
|
|
216
216
|
productCode: 'KENDOUIANGULAR',
|
|
217
217
|
productCodes: ['KENDOUIANGULAR'],
|
|
218
|
-
publishDate:
|
|
219
|
-
version: '
|
|
218
|
+
publishDate: 1785317901,
|
|
219
|
+
version: '25.0.0-develop.12',
|
|
220
220
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
221
221
|
};
|
|
222
222
|
|
|
@@ -233,9 +233,6 @@ const STB_DEFAULT_SETTINGS$2 = {
|
|
|
233
233
|
interimResults: false,
|
|
234
234
|
lang: 'en-US',
|
|
235
235
|
maxAlternatives: 1,
|
|
236
|
-
rounded: 'medium',
|
|
237
|
-
size: 'medium',
|
|
238
|
-
themeColor: 'base'
|
|
239
236
|
};
|
|
240
237
|
/**
|
|
241
238
|
* @hidden
|
|
@@ -282,10 +279,10 @@ class AIPromptService {
|
|
|
282
279
|
});
|
|
283
280
|
return newArr.concat(this.promptCommands);
|
|
284
281
|
}
|
|
285
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
286
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
282
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
283
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptService });
|
|
287
284
|
}
|
|
288
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptService, decorators: [{
|
|
289
286
|
type: Injectable
|
|
290
287
|
}] });
|
|
291
288
|
|
|
@@ -310,10 +307,10 @@ class AIPromptToolbarActionsDirective {
|
|
|
310
307
|
constructor(templateRef) {
|
|
311
308
|
this.templateRef = templateRef;
|
|
312
309
|
}
|
|
313
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
314
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
310
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptToolbarActionsDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
311
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: AIPromptToolbarActionsDirective, isStandalone: true, selector: "[kendoAIPromptToolbarActionsTemplate]", ngImport: i0 });
|
|
315
312
|
}
|
|
316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptToolbarActionsDirective, decorators: [{
|
|
317
314
|
type: Directive,
|
|
318
315
|
args: [{
|
|
319
316
|
selector: '[kendoAIPromptToolbarActionsTemplate]',
|
|
@@ -365,10 +362,10 @@ class ToolbarNavigationService {
|
|
|
365
362
|
focusFirst() {
|
|
366
363
|
this.focusableElements[this.currentFocusedIndex].activate();
|
|
367
364
|
}
|
|
368
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
369
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
365
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ToolbarNavigationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
366
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ToolbarNavigationService });
|
|
370
367
|
}
|
|
371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ToolbarNavigationService, decorators: [{
|
|
372
369
|
type: Injectable
|
|
373
370
|
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
374
371
|
|
|
@@ -425,10 +422,10 @@ class AIPromptToolbarFocusableDirective {
|
|
|
425
422
|
clickHandler = () => {
|
|
426
423
|
this.navigationService.setActiveIndex(this);
|
|
427
424
|
};
|
|
428
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
429
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
425
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: ToolbarNavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
426
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: AIPromptToolbarFocusableDirective, isStandalone: true, selector: "[kendoAIPromptToolbarFocusable]", ngImport: i0 });
|
|
430
427
|
}
|
|
431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptToolbarFocusableDirective, decorators: [{
|
|
432
429
|
type: Directive,
|
|
433
430
|
args: [{
|
|
434
431
|
selector: '[kendoAIPromptToolbarFocusable]',
|
|
@@ -480,10 +477,14 @@ let Messages$3 = class Messages extends ComponentMessages {
|
|
|
480
477
|
* Sets the aria-label for the **Speech to Text** button.
|
|
481
478
|
*/
|
|
482
479
|
speechToTextButton;
|
|
483
|
-
|
|
484
|
-
|
|
480
|
+
/**
|
|
481
|
+
* Sets the aria-label for the **Toolbar** element.
|
|
482
|
+
*/
|
|
483
|
+
toolbarLabel;
|
|
484
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
485
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: Messages, isStandalone: true, inputs: { promptView: "promptView", outputView: "outputView", generateOutput: "generateOutput", promptPlaceholder: "promptPlaceholder", copyOutput: "copyOutput", retryGeneration: "retryGeneration", outputTitle: "outputTitle", outputRetryTitle: "outputRetryTitle", promptSuggestions: "promptSuggestions", speechToTextButton: "speechToTextButton", toolbarLabel: "toolbarLabel" }, usesInheritance: true, ngImport: i0 });
|
|
485
486
|
};
|
|
486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: Messages$3, decorators: [{
|
|
487
488
|
type: Directive
|
|
488
489
|
}], propDecorators: { promptView: [{
|
|
489
490
|
type: Input
|
|
@@ -505,6 +506,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
505
506
|
type: Input
|
|
506
507
|
}], speechToTextButton: [{
|
|
507
508
|
type: Input
|
|
509
|
+
}], toolbarLabel: [{
|
|
510
|
+
type: Input
|
|
508
511
|
}] } });
|
|
509
512
|
|
|
510
513
|
/**
|
|
@@ -516,15 +519,15 @@ let LocalizedMessagesDirective$3 = class LocalizedMessagesDirective extends Mess
|
|
|
516
519
|
super();
|
|
517
520
|
this.service = service;
|
|
518
521
|
}
|
|
519
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
520
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
522
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
523
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoAIPromptLocalizedMessages]", providers: [
|
|
521
524
|
{
|
|
522
525
|
provide: Messages$3,
|
|
523
526
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
524
527
|
}
|
|
525
528
|
], usesInheritance: true, ngImport: i0 });
|
|
526
529
|
};
|
|
527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LocalizedMessagesDirective$3, decorators: [{
|
|
528
531
|
type: Directive,
|
|
529
532
|
args: [{
|
|
530
533
|
providers: [
|
|
@@ -555,10 +558,10 @@ class AIPromptOutputTemplateDirective {
|
|
|
555
558
|
constructor(templateRef) {
|
|
556
559
|
this.templateRef = templateRef;
|
|
557
560
|
}
|
|
558
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
559
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
561
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptOutputTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
562
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: AIPromptOutputTemplateDirective, isStandalone: true, selector: "[kendoAIPromptOutputTemplate]", ngImport: i0 });
|
|
560
563
|
}
|
|
561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
564
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptOutputTemplateDirective, decorators: [{
|
|
562
565
|
type: Directive,
|
|
563
566
|
args: [{
|
|
564
567
|
selector: '[kendoAIPromptOutputTemplate]',
|
|
@@ -583,10 +586,10 @@ class AIPromptOutputBodyTemplateDirective {
|
|
|
583
586
|
constructor(templateRef) {
|
|
584
587
|
this.templateRef = templateRef;
|
|
585
588
|
}
|
|
586
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
587
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
589
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptOutputBodyTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
590
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: AIPromptOutputBodyTemplateDirective, isStandalone: true, selector: "[kendoAIPromptOutputBodyTemplate]", ngImport: i0 });
|
|
588
591
|
}
|
|
589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptOutputBodyTemplateDirective, decorators: [{
|
|
590
593
|
type: Directive,
|
|
591
594
|
args: [{
|
|
592
595
|
selector: '[kendoAIPromptOutputBodyTemplate]',
|
|
@@ -870,8 +873,8 @@ class AIPromptComponent {
|
|
|
870
873
|
};
|
|
871
874
|
this.promptRequest.emit(eventArgs);
|
|
872
875
|
}
|
|
873
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
874
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
876
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }, { token: ToolbarNavigationService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
877
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: AIPromptComponent, isStandalone: true, selector: "kendo-aiprompt", inputs: { activeView: "activeView", promptCommands: "promptCommands", promptSuggestions: "promptSuggestions", promptOutputs: "promptOutputs", showOutputRating: "showOutputRating", streaming: "streaming", speechToTextButton: "speechToTextButton", textAreaSettings: "textAreaSettings", generateButtonSVGIcon: "generateButtonSVGIcon", generateButtonIcon: "generateButtonIcon", disabledGenerateButton: "disabledGenerateButton" }, outputs: { activeViewChange: "activeViewChange", promptRequest: "promptRequest", commandExecute: "commandExecute", outputCopy: "outputCopy", outputRatingChange: "outputRatingChange", promptRequestCancel: "promptRequestCancel" }, host: { properties: { "class.k-prompt": "this.hostClasses", "attr.dir": "this.dirAttr" } }, providers: [
|
|
875
878
|
LocalizationService,
|
|
876
879
|
AIPromptService,
|
|
877
880
|
ToolbarNavigationService,
|
|
@@ -901,11 +904,14 @@ class AIPromptComponent {
|
|
|
901
904
|
i18n-promptSuggestions="kendo.aiprompt.promptSuggestions|The title of the Prompt suggestions button."
|
|
902
905
|
promptSuggestions="Prompt suggestions"
|
|
903
906
|
i18n-speechToTextButton="kendo.aiprompt.speechToTextButton|The aria-label for the Speech to Text button."
|
|
904
|
-
speechToTextButton="Voice input"
|
|
907
|
+
speechToTextButton="Voice input"
|
|
908
|
+
i18n-toolbarLabel="kendo.aiprompt.toolbarLabel|The aria-label for the Toolbar element."
|
|
909
|
+
toolbarLabel="Toolbar">
|
|
905
910
|
</ng-container>
|
|
906
911
|
<div class="k-prompt-header">
|
|
907
|
-
<div class="k-toolbar-flat k-toolbar
|
|
908
|
-
role="toolbar"
|
|
912
|
+
<div class="k-toolbar-flat k-toolbar"
|
|
913
|
+
role="toolbar"
|
|
914
|
+
[attr.aria-label]="messageFor('toolbarLabel')">
|
|
909
915
|
@for (view of viewsArray; track view; let idx = $index) {
|
|
910
916
|
<button
|
|
911
917
|
kendoButton
|
|
@@ -967,7 +973,7 @@ class AIPromptComponent {
|
|
|
967
973
|
}
|
|
968
974
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective$3, selector: "[kendoAIPromptLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: AIPromptToolbarFocusableDirective, selector: "[kendoAIPromptToolbarFocusable]" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: FloatingActionButtonComponent, selector: "kendo-floatingactionbutton", inputs: ["themeColor", "size", "rounded", "disabled", "align", "offset", "positionMode", "icon", "svgIcon", "iconClass", "buttonClass", "dialClass", "text", "dialItemAnimation", "tabIndex", "dialItems"], outputs: ["blur", "focus", "dialItemClick", "open", "close"] }] });
|
|
969
975
|
}
|
|
970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptComponent, decorators: [{
|
|
971
977
|
type: Component,
|
|
972
978
|
args: [{
|
|
973
979
|
exportAs: 'kendoAIPrompt',
|
|
@@ -1003,11 +1009,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
1003
1009
|
i18n-promptSuggestions="kendo.aiprompt.promptSuggestions|The title of the Prompt suggestions button."
|
|
1004
1010
|
promptSuggestions="Prompt suggestions"
|
|
1005
1011
|
i18n-speechToTextButton="kendo.aiprompt.speechToTextButton|The aria-label for the Speech to Text button."
|
|
1006
|
-
speechToTextButton="Voice input"
|
|
1012
|
+
speechToTextButton="Voice input"
|
|
1013
|
+
i18n-toolbarLabel="kendo.aiprompt.toolbarLabel|The aria-label for the Toolbar element."
|
|
1014
|
+
toolbarLabel="Toolbar">
|
|
1007
1015
|
</ng-container>
|
|
1008
1016
|
<div class="k-prompt-header">
|
|
1009
|
-
<div class="k-toolbar-flat k-toolbar
|
|
1010
|
-
role="toolbar"
|
|
1017
|
+
<div class="k-toolbar-flat k-toolbar"
|
|
1018
|
+
role="toolbar"
|
|
1019
|
+
[attr.aria-label]="messageFor('toolbarLabel')">
|
|
1011
1020
|
@for (view of viewsArray; track view; let idx = $index) {
|
|
1012
1021
|
<button
|
|
1013
1022
|
kendoButton
|
|
@@ -1179,8 +1188,8 @@ class CommandViewComponent extends BaseView {
|
|
|
1179
1188
|
children: c.children ? this.getPanelBarItems(c.children) : null
|
|
1180
1189
|
}));
|
|
1181
1190
|
}
|
|
1182
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1183
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1191
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CommandViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1192
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: CommandViewComponent, isStandalone: true, selector: "kendo-aiprompt-command-view", providers: [{
|
|
1184
1193
|
provide: BaseView,
|
|
1185
1194
|
useExisting: forwardRef(() => CommandViewComponent)
|
|
1186
1195
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -1194,7 +1203,7 @@ class CommandViewComponent extends BaseView {
|
|
|
1194
1203
|
</ng-template>
|
|
1195
1204
|
`, isInline: true, dependencies: [{ kind: "component", type: PanelBarComponent, selector: "kendo-panelbar", inputs: ["expandMode", "selectable", "animate", "height", "keepItemContent", "items"], outputs: ["stateChange", "select", "expand", "collapse", "itemClick"], exportAs: ["kendoPanelbar"] }] });
|
|
1196
1205
|
}
|
|
1197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CommandViewComponent, decorators: [{
|
|
1198
1207
|
type: Component,
|
|
1199
1208
|
args: [{
|
|
1200
1209
|
selector: 'kendo-aiprompt-command-view',
|
|
@@ -1240,15 +1249,15 @@ class AIPromptCustomMessagesComponent extends Messages$3 {
|
|
|
1240
1249
|
get override() {
|
|
1241
1250
|
return true;
|
|
1242
1251
|
}
|
|
1243
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1244
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1252
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1253
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: AIPromptCustomMessagesComponent, isStandalone: true, selector: "kendo-aiprompt-messages", providers: [
|
|
1245
1254
|
{
|
|
1246
1255
|
provide: Messages$3,
|
|
1247
1256
|
useExisting: forwardRef(() => AIPromptCustomMessagesComponent)
|
|
1248
1257
|
}
|
|
1249
1258
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
1250
1259
|
}
|
|
1251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptCustomMessagesComponent, decorators: [{
|
|
1252
1261
|
type: Component,
|
|
1253
1262
|
args: [{
|
|
1254
1263
|
providers: [
|
|
@@ -1284,13 +1293,13 @@ class CustomViewComponent extends BaseView {
|
|
|
1284
1293
|
* Sets the content of the Custom view as a template reference.
|
|
1285
1294
|
*/
|
|
1286
1295
|
viewTemplate;
|
|
1287
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1288
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1296
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CustomViewComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1297
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: CustomViewComponent, isStandalone: true, selector: "kendo-aiprompt-custom-view", inputs: { viewTemplate: "viewTemplate" }, providers: [{
|
|
1289
1298
|
provide: BaseView,
|
|
1290
1299
|
useExisting: forwardRef(() => CustomViewComponent)
|
|
1291
1300
|
}], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
1292
1301
|
}
|
|
1293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CustomViewComponent, decorators: [{
|
|
1294
1303
|
type: Component,
|
|
1295
1304
|
args: [{
|
|
1296
1305
|
selector: 'kendo-aiprompt-custom-view',
|
|
@@ -1396,8 +1405,8 @@ class AIPromptOutputCardComponent {
|
|
|
1396
1405
|
get customBodyTemplate() {
|
|
1397
1406
|
return this.service.outputBodyTemplate?.templateRef;
|
|
1398
1407
|
}
|
|
1399
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1400
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1408
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptOutputCardComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1409
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: AIPromptOutputCardComponent, isStandalone: true, selector: "[kendoAIPromptOutputCard]", inputs: { promptOutput: "promptOutput" }, host: { properties: { "class.k-card": "this.hostClass", "attr.role": "this.listItemRole", "attr.tabindex": "this.tabIndex", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-keyshortcuts": "this.ariaKeyShortcuts" } }, ngImport: i0, template: `
|
|
1401
1410
|
<div class="k-card-header">
|
|
1402
1411
|
<div
|
|
1403
1412
|
class="k-card-title"
|
|
@@ -1417,14 +1426,12 @@ class AIPromptOutputCardComponent {
|
|
|
1417
1426
|
<button kendoButton
|
|
1418
1427
|
fillMode="flat"
|
|
1419
1428
|
themeColor="primary"
|
|
1420
|
-
rounded="full"
|
|
1421
1429
|
icon="copy"
|
|
1422
1430
|
[svgIcon]="copyIcon"
|
|
1423
1431
|
(click)="handleCopy()"
|
|
1424
1432
|
>{{messageFor('copyOutput')}}</button>
|
|
1425
1433
|
<button kendoButton
|
|
1426
1434
|
fillMode="flat"
|
|
1427
|
-
rounded="full"
|
|
1428
1435
|
icon="arrow-rotate-cw"
|
|
1429
1436
|
[svgIcon]="retryIcon"
|
|
1430
1437
|
(click)="handleRetry()"
|
|
@@ -1447,7 +1454,7 @@ class AIPromptOutputCardComponent {
|
|
|
1447
1454
|
</div>
|
|
1448
1455
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
1449
1456
|
}
|
|
1450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptOutputCardComponent, decorators: [{
|
|
1451
1458
|
type: Component,
|
|
1452
1459
|
args: [{
|
|
1453
1460
|
selector: '[kendoAIPromptOutputCard]',
|
|
@@ -1471,14 +1478,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
1471
1478
|
<button kendoButton
|
|
1472
1479
|
fillMode="flat"
|
|
1473
1480
|
themeColor="primary"
|
|
1474
|
-
rounded="full"
|
|
1475
1481
|
icon="copy"
|
|
1476
1482
|
[svgIcon]="copyIcon"
|
|
1477
1483
|
(click)="handleCopy()"
|
|
1478
1484
|
>{{messageFor('copyOutput')}}</button>
|
|
1479
1485
|
<button kendoButton
|
|
1480
1486
|
fillMode="flat"
|
|
1481
|
-
rounded="full"
|
|
1482
1487
|
icon="arrow-rotate-cw"
|
|
1483
1488
|
[svgIcon]="retryIcon"
|
|
1484
1489
|
(click)="handleRetry()"
|
|
@@ -1550,8 +1555,8 @@ class OutputViewComponent extends BaseView {
|
|
|
1550
1555
|
get customTemplate() {
|
|
1551
1556
|
return this.service.outputTemplate?.templateRef;
|
|
1552
1557
|
}
|
|
1553
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1554
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1558
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: OutputViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1559
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: OutputViewComponent, isStandalone: true, selector: "kendo-aiprompt-output-view", providers: [{
|
|
1555
1560
|
provide: BaseView,
|
|
1556
1561
|
useExisting: forwardRef(() => OutputViewComponent)
|
|
1557
1562
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -1571,7 +1576,7 @@ class OutputViewComponent extends BaseView {
|
|
|
1571
1576
|
</ng-template>
|
|
1572
1577
|
`, isInline: true, dependencies: [{ kind: "component", type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: ["promptOutput"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
1573
1578
|
}
|
|
1574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: OutputViewComponent, decorators: [{
|
|
1575
1580
|
type: Component,
|
|
1576
1581
|
args: [{
|
|
1577
1582
|
selector: 'kendo-aiprompt-output-view',
|
|
@@ -1690,8 +1695,8 @@ class PromptViewComponent extends BaseView {
|
|
|
1690
1695
|
console.error('Speech to Text error:', event.errorMessage);
|
|
1691
1696
|
}
|
|
1692
1697
|
}
|
|
1693
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1694
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1698
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1699
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: PromptViewComponent, isStandalone: true, selector: "kendo-aiprompt-prompt-view", providers: [
|
|
1695
1700
|
{
|
|
1696
1701
|
provide: BaseView,
|
|
1697
1702
|
useExisting: forwardRef(() => PromptViewComponent)
|
|
@@ -1778,7 +1783,7 @@ class PromptViewComponent extends BaseView {
|
|
|
1778
1783
|
</ng-template>
|
|
1779
1784
|
`, isInline: true, dependencies: [{ kind: "component", type: TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "maxResizableRows", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: TextAreaSuffixComponent, selector: "kendo-textarea-suffix", inputs: ["flow", "orientation"], exportAs: ["kendoTextAreaSuffix"] }, { kind: "component", type: SpeechToTextButtonComponent, selector: "button[kendoSpeechToTextButton]", inputs: ["disabled", "size", "rounded", "fillMode", "themeColor", "integrationMode", "lang", "continuous", "interimResults", "maxAlternatives"], outputs: ["start", "end", "result", "error", "click"], exportAs: ["kendoSpeechToTextButton"] }] });
|
|
1780
1785
|
}
|
|
1781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1786
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptViewComponent, decorators: [{
|
|
1782
1787
|
type: Component,
|
|
1783
1788
|
args: [{
|
|
1784
1789
|
selector: 'kendo-aiprompt-prompt-view',
|
|
@@ -1921,10 +1926,10 @@ class AttachmentTemplateDirective {
|
|
|
1921
1926
|
constructor(templateRef) {
|
|
1922
1927
|
this.templateRef = templateRef;
|
|
1923
1928
|
}
|
|
1924
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1925
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1929
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AttachmentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1930
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: AttachmentTemplateDirective, isStandalone: true, selector: "[kendoChatAttachmentTemplate]", ngImport: i0 });
|
|
1926
1931
|
}
|
|
1927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AttachmentTemplateDirective, decorators: [{
|
|
1928
1933
|
type: Directive,
|
|
1929
1934
|
args: [{
|
|
1930
1935
|
selector: '[kendoChatAttachmentTemplate]',
|
|
@@ -1955,10 +1960,10 @@ class MessageContentTemplateDirective {
|
|
|
1955
1960
|
constructor(templateRef) {
|
|
1956
1961
|
this.templateRef = templateRef;
|
|
1957
1962
|
}
|
|
1958
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1959
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1963
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MessageContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1964
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: MessageContentTemplateDirective, isStandalone: true, selector: "[kendoChatMessageContentTemplate]", ngImport: i0 });
|
|
1960
1965
|
}
|
|
1961
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MessageContentTemplateDirective, decorators: [{
|
|
1962
1967
|
type: Directive,
|
|
1963
1968
|
args: [{
|
|
1964
1969
|
selector: '[kendoChatMessageContentTemplate]',
|
|
@@ -1989,10 +1994,10 @@ class MessageTemplateDirective {
|
|
|
1989
1994
|
constructor(templateRef) {
|
|
1990
1995
|
this.templateRef = templateRef;
|
|
1991
1996
|
}
|
|
1992
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1993
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1997
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MessageTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1998
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: MessageTemplateDirective, isStandalone: true, selector: "[kendoChatMessageTemplate]", ngImport: i0 });
|
|
1994
1999
|
}
|
|
1995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MessageTemplateDirective, decorators: [{
|
|
1996
2001
|
type: Directive,
|
|
1997
2002
|
args: [{
|
|
1998
2003
|
selector: '[kendoChatMessageTemplate]',
|
|
@@ -2022,10 +2027,10 @@ class ChatUserStatusTemplateDirective {
|
|
|
2022
2027
|
constructor(templateRef) {
|
|
2023
2028
|
this.templateRef = templateRef;
|
|
2024
2029
|
}
|
|
2025
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2026
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2030
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatUserStatusTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2031
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: ChatUserStatusTemplateDirective, isStandalone: true, selector: "[kendoChatUserStatusTemplate]", ngImport: i0 });
|
|
2027
2032
|
}
|
|
2028
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatUserStatusTemplateDirective, decorators: [{
|
|
2029
2034
|
type: Directive,
|
|
2030
2035
|
args: [{
|
|
2031
2036
|
selector: '[kendoChatUserStatusTemplate]',
|
|
@@ -2055,10 +2060,10 @@ class ChatMessageBoxTemplateDirective {
|
|
|
2055
2060
|
constructor(templateRef) {
|
|
2056
2061
|
this.templateRef = templateRef;
|
|
2057
2062
|
}
|
|
2058
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2059
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2063
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatMessageBoxTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2064
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: ChatMessageBoxTemplateDirective, isStandalone: true, selector: "[kendoChatMessageBoxTemplate]", ngImport: i0 });
|
|
2060
2065
|
}
|
|
2061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2066
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatMessageBoxTemplateDirective, decorators: [{
|
|
2062
2067
|
type: Directive,
|
|
2063
2068
|
args: [{
|
|
2064
2069
|
selector: '[kendoChatMessageBoxTemplate]',
|
|
@@ -2083,10 +2088,10 @@ class ChatHeaderTemplateDirective {
|
|
|
2083
2088
|
constructor(templateRef) {
|
|
2084
2089
|
this.templateRef = templateRef;
|
|
2085
2090
|
}
|
|
2086
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2087
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2091
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatHeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2092
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: ChatHeaderTemplateDirective, isStandalone: true, selector: "[kendoChatHeaderTemplate]", ngImport: i0 });
|
|
2088
2093
|
}
|
|
2089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatHeaderTemplateDirective, decorators: [{
|
|
2090
2095
|
type: Directive,
|
|
2091
2096
|
args: [{
|
|
2092
2097
|
selector: '[kendoChatHeaderTemplate]',
|
|
@@ -2114,10 +2119,10 @@ class NoDataTemplateDirective {
|
|
|
2114
2119
|
constructor(templateRef) {
|
|
2115
2120
|
this.templateRef = templateRef;
|
|
2116
2121
|
}
|
|
2117
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2118
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2122
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NoDataTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2123
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: NoDataTemplateDirective, isStandalone: true, selector: "[kendoChatNoDataTemplate]", ngImport: i0 });
|
|
2119
2124
|
}
|
|
2120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NoDataTemplateDirective, decorators: [{
|
|
2121
2126
|
type: Directive,
|
|
2122
2127
|
args: [{
|
|
2123
2128
|
selector: '[kendoChatNoDataTemplate]',
|
|
@@ -2151,10 +2156,10 @@ class ChatTimestampTemplateDirective {
|
|
|
2151
2156
|
constructor(templateRef) {
|
|
2152
2157
|
this.templateRef = templateRef;
|
|
2153
2158
|
}
|
|
2154
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2155
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2159
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatTimestampTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2160
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: ChatTimestampTemplateDirective, isStandalone: true, selector: "[kendoChatTimestampTemplate]", ngImport: i0 });
|
|
2156
2161
|
}
|
|
2157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatTimestampTemplateDirective, decorators: [{
|
|
2158
2163
|
type: Directive,
|
|
2159
2164
|
args: [{
|
|
2160
2165
|
selector: '[kendoChatTimestampTemplate]',
|
|
@@ -2181,10 +2186,10 @@ class ChatStatusTemplateDirective {
|
|
|
2181
2186
|
constructor(templateRef) {
|
|
2182
2187
|
this.templateRef = templateRef;
|
|
2183
2188
|
}
|
|
2184
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2185
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2189
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatStatusTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2190
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: ChatStatusTemplateDirective, isStandalone: true, selector: "[kendoChatStatusTemplate]", ngImport: i0 });
|
|
2186
2191
|
}
|
|
2187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatStatusTemplateDirective, decorators: [{
|
|
2188
2193
|
type: Directive,
|
|
2189
2194
|
args: [{
|
|
2190
2195
|
selector: '[kendoChatStatusTemplate]',
|
|
@@ -2213,10 +2218,10 @@ class AuthorMessageContentTemplateDirective {
|
|
|
2213
2218
|
constructor(templateRef) {
|
|
2214
2219
|
this.templateRef = templateRef;
|
|
2215
2220
|
}
|
|
2216
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2217
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2221
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AuthorMessageContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2222
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: AuthorMessageContentTemplateDirective, isStandalone: true, selector: "[kendoChatAuthorMessageContentTemplate]", ngImport: i0 });
|
|
2218
2223
|
}
|
|
2219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AuthorMessageContentTemplateDirective, decorators: [{
|
|
2220
2225
|
type: Directive,
|
|
2221
2226
|
args: [{
|
|
2222
2227
|
selector: '[kendoChatAuthorMessageContentTemplate]',
|
|
@@ -2247,10 +2252,10 @@ class ReceiverMessageContentTemplateDirective {
|
|
|
2247
2252
|
constructor(templateRef) {
|
|
2248
2253
|
this.templateRef = templateRef;
|
|
2249
2254
|
}
|
|
2250
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2251
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2255
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ReceiverMessageContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2256
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: ReceiverMessageContentTemplateDirective, isStandalone: true, selector: "[kendoChatReceiverMessageContentTemplate]", ngImport: i0 });
|
|
2252
2257
|
}
|
|
2253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ReceiverMessageContentTemplateDirective, decorators: [{
|
|
2254
2259
|
type: Directive,
|
|
2255
2260
|
args: [{
|
|
2256
2261
|
selector: '[kendoChatReceiverMessageContentTemplate]',
|
|
@@ -2281,10 +2286,10 @@ class ReceiverMessageTemplateDirective {
|
|
|
2281
2286
|
constructor(templateRef) {
|
|
2282
2287
|
this.templateRef = templateRef;
|
|
2283
2288
|
}
|
|
2284
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2285
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2289
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ReceiverMessageTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2290
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: ReceiverMessageTemplateDirective, isStandalone: true, selector: "[kendoChatReceiverMessageTemplate]", ngImport: i0 });
|
|
2286
2291
|
}
|
|
2287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ReceiverMessageTemplateDirective, decorators: [{
|
|
2288
2293
|
type: Directive,
|
|
2289
2294
|
args: [{
|
|
2290
2295
|
selector: '[kendoChatReceiverMessageTemplate]',
|
|
@@ -2315,10 +2320,10 @@ class AuthorMessageTemplateDirective {
|
|
|
2315
2320
|
constructor(templateRef) {
|
|
2316
2321
|
this.templateRef = templateRef;
|
|
2317
2322
|
}
|
|
2318
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2319
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2323
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AuthorMessageTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2324
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: AuthorMessageTemplateDirective, isStandalone: true, selector: "[kendoChatAuthorMessageTemplate]", ngImport: i0 });
|
|
2320
2325
|
}
|
|
2321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AuthorMessageTemplateDirective, decorators: [{
|
|
2322
2327
|
type: Directive,
|
|
2323
2328
|
args: [{
|
|
2324
2329
|
selector: '[kendoChatAuthorMessageTemplate]',
|
|
@@ -2818,10 +2823,10 @@ class ChatService {
|
|
|
2818
2823
|
this[property] = { ...defaultSettings, ...settings };
|
|
2819
2824
|
}
|
|
2820
2825
|
}
|
|
2821
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2822
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2826
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2827
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatService });
|
|
2823
2828
|
}
|
|
2824
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatService, decorators: [{
|
|
2825
2830
|
type: Injectable
|
|
2826
2831
|
}], ctorParameters: () => [{ type: i0.NgZone }] });
|
|
2827
2832
|
|
|
@@ -3201,10 +3206,10 @@ class ScrollAnchorDirective {
|
|
|
3201
3206
|
el.scrollTo({ top: target, behavior });
|
|
3202
3207
|
this.scrolling = true;
|
|
3203
3208
|
}
|
|
3204
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3205
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3209
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ScrollAnchorDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3210
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: ScrollAnchorDirective, isStandalone: true, selector: "[kendoChatScrollAnchor]", inputs: { autoScroll: "autoScroll", autoScrollThreshold: "autoScrollThreshold", endlessMode: "endlessMode", rangeIsAtEnd: "rangeIsAtEnd" }, outputs: { autoScrollChange: "autoScrollChange", nearTop: "nearTop", nearBottom: "nearBottom" }, host: { properties: { "style.overflow-anchor": "this.overflowAnchor", "style.scroll-behavior": "this.scrollBehaviorStyle" } }, exportAs: ["scrollAnchor"], ngImport: i0 });
|
|
3206
3211
|
}
|
|
3207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ScrollAnchorDirective, decorators: [{
|
|
3208
3213
|
type: Directive,
|
|
3209
3214
|
args: [{
|
|
3210
3215
|
selector: '[kendoChatScrollAnchor]',
|
|
@@ -3327,10 +3332,10 @@ class SuggestionsScrollService {
|
|
|
3327
3332
|
this.scrollButtonActiveStateChange.next({ buttonType, active });
|
|
3328
3333
|
}
|
|
3329
3334
|
isDisabled = (buttonType) => this.owner[`${buttonType}ScrollButton`]?.nativeElement.classList.contains('k-disabled');
|
|
3330
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3331
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3335
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SuggestionsScrollService, deps: [{ token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3336
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SuggestionsScrollService });
|
|
3332
3337
|
}
|
|
3333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SuggestionsScrollService, decorators: [{
|
|
3334
3339
|
type: Injectable
|
|
3335
3340
|
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i1.LocalizationService }] });
|
|
3336
3341
|
|
|
@@ -3510,10 +3515,18 @@ let Messages$2 = class Messages extends ComponentMessages {
|
|
|
3510
3515
|
* Sets the title of the button that unpins a pinned message.
|
|
3511
3516
|
*/
|
|
3512
3517
|
unpinMessageTitle;
|
|
3513
|
-
|
|
3514
|
-
|
|
3518
|
+
/**
|
|
3519
|
+
* Sets the aria-label for the button that resends a failed message.
|
|
3520
|
+
*/
|
|
3521
|
+
resendButtonTitle;
|
|
3522
|
+
/**
|
|
3523
|
+
* Sets the aria-label for the attached files list.
|
|
3524
|
+
*/
|
|
3525
|
+
attachedFilesLabel;
|
|
3526
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3527
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: Messages, isStandalone: true, selector: "kendoConversationalUIMessages", inputs: { deletedMessageSenderText: "deletedMessageSenderText", deletedMessageReceiverText: "deletedMessageReceiverText", messageFailedText: "messageFailedText", downloadAllFilesText: "downloadAllFilesText", messagePlaceholder: "messagePlaceholder", messageBoxTitle: "messageBoxTitle", actionButtonTitle: "actionButtonTitle", messageListLabel: "messageListLabel", messageBoxInputLabel: "messageBoxInputLabel", messageAttachmentLeftArrow: "messageAttachmentLeftArrow", messageAttachmentRightArrow: "messageAttachmentRightArrow", speechToTextButtonTitle: "speechToTextButtonTitle", fileSelectButtonTitle: "fileSelectButtonTitle", removeReplyTitle: "removeReplyTitle", removeFileTitle: "removeFileTitle", expandTitle: "expandTitle", collapseTitle: "collapseTitle", fileActionsTitle: "fileActionsTitle", nextSuggestionsButtonTitle: "nextSuggestionsButtonTitle", previousSuggestionsButtonTitle: "previousSuggestionsButtonTitle", unpinMessageTitle: "unpinMessageTitle", resendButtonTitle: "resendButtonTitle", attachedFilesLabel: "attachedFilesLabel" }, usesInheritance: true, ngImport: i0 });
|
|
3515
3528
|
};
|
|
3516
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: Messages$2, decorators: [{
|
|
3517
3530
|
type: Directive,
|
|
3518
3531
|
args: [{
|
|
3519
3532
|
selector: 'kendoConversationalUIMessages'
|
|
@@ -3560,6 +3573,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
3560
3573
|
type: Input
|
|
3561
3574
|
}], unpinMessageTitle: [{
|
|
3562
3575
|
type: Input
|
|
3576
|
+
}], resendButtonTitle: [{
|
|
3577
|
+
type: Input
|
|
3578
|
+
}], attachedFilesLabel: [{
|
|
3579
|
+
type: Input
|
|
3563
3580
|
}] } });
|
|
3564
3581
|
|
|
3565
3582
|
// eslint-disable no-forward-ref
|
|
@@ -3572,15 +3589,15 @@ let LocalizedMessagesDirective$2 = class LocalizedMessagesDirective extends Mess
|
|
|
3572
3589
|
super();
|
|
3573
3590
|
this.service = service;
|
|
3574
3591
|
}
|
|
3575
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3576
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3592
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3593
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoChatLocalizedMessages]", providers: [
|
|
3577
3594
|
{
|
|
3578
3595
|
provide: Messages$2,
|
|
3579
3596
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
3580
3597
|
}
|
|
3581
3598
|
], usesInheritance: true, ngImport: i0 });
|
|
3582
3599
|
};
|
|
3583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LocalizedMessagesDirective$2, decorators: [{
|
|
3584
3601
|
type: Directive,
|
|
3585
3602
|
args: [{
|
|
3586
3603
|
providers: [
|
|
@@ -3611,10 +3628,10 @@ class PromptBoxEndAffixComponent {
|
|
|
3611
3628
|
* @hidden
|
|
3612
3629
|
*/
|
|
3613
3630
|
templateRef;
|
|
3614
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3615
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3631
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxEndAffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3632
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: PromptBoxEndAffixComponent, isStandalone: true, selector: "kendo-promptbox-end-affix", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["template"], descendants: true, static: true }], exportAs: ["kendoPromptBoxEndAffix"], ngImport: i0, template: `<ng-template #template><ng-content></ng-content></ng-template>`, isInline: true });
|
|
3616
3633
|
}
|
|
3617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxEndAffixComponent, decorators: [{
|
|
3618
3635
|
type: Component,
|
|
3619
3636
|
args: [{
|
|
3620
3637
|
exportAs: 'kendoPromptBoxEndAffix',
|
|
@@ -3644,10 +3661,10 @@ class PromptBoxStartAffixComponent {
|
|
|
3644
3661
|
* @hidden
|
|
3645
3662
|
*/
|
|
3646
3663
|
templateRef;
|
|
3647
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3648
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3664
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxStartAffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3665
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: PromptBoxStartAffixComponent, isStandalone: true, selector: "kendo-promptbox-start-affix", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["template"], descendants: true, static: true }], exportAs: ["kendoPromptBoxStartAffix"], ngImport: i0, template: `<ng-template #template><ng-content></ng-content></ng-template>`, isInline: true });
|
|
3649
3666
|
}
|
|
3650
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxStartAffixComponent, decorators: [{
|
|
3651
3668
|
type: Component,
|
|
3652
3669
|
args: [{
|
|
3653
3670
|
exportAs: 'kendoPromptBoxStartAffix',
|
|
@@ -3677,10 +3694,10 @@ class PromptBoxTopAffixComponent {
|
|
|
3677
3694
|
* @hidden
|
|
3678
3695
|
*/
|
|
3679
3696
|
templateRef;
|
|
3680
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3681
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3697
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxTopAffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3698
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: PromptBoxTopAffixComponent, isStandalone: true, selector: "kendo-promptbox-top-affix", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["template"], descendants: true, static: true }], exportAs: ["kendoPromptBoxTopAffix"], ngImport: i0, template: `<ng-template #template><ng-content></ng-content></ng-template>`, isInline: true });
|
|
3682
3699
|
}
|
|
3683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxTopAffixComponent, decorators: [{
|
|
3684
3701
|
type: Component,
|
|
3685
3702
|
args: [{
|
|
3686
3703
|
exportAs: 'kendoPromptBoxTopAffix',
|
|
@@ -3703,10 +3720,10 @@ class PromptBoxHeaderTemplateDirective {
|
|
|
3703
3720
|
constructor(templateRef) {
|
|
3704
3721
|
this.templateRef = templateRef;
|
|
3705
3722
|
}
|
|
3706
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3707
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3723
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3724
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: PromptBoxHeaderTemplateDirective, isStandalone: true, selector: "[kendoPromptBoxHeaderTemplate]", ngImport: i0 });
|
|
3708
3725
|
}
|
|
3709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxHeaderTemplateDirective, decorators: [{
|
|
3710
3727
|
type: Directive,
|
|
3711
3728
|
args: [{
|
|
3712
3729
|
selector: '[kendoPromptBoxHeaderTemplate]',
|
|
@@ -3741,13 +3758,17 @@ let Messages$1 = class Messages extends ComponentMessages {
|
|
|
3741
3758
|
*/
|
|
3742
3759
|
removeFileTitle;
|
|
3743
3760
|
/**
|
|
3744
|
-
*
|
|
3761
|
+
* Sets the aria-label for the internal input/textarea element.
|
|
3745
3762
|
*/
|
|
3746
3763
|
messageBoxTitle;
|
|
3747
|
-
|
|
3748
|
-
|
|
3764
|
+
/**
|
|
3765
|
+
* Sets the aria-label for the attached files list.
|
|
3766
|
+
*/
|
|
3767
|
+
attachedFilesLabel;
|
|
3768
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3769
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: Messages, isStandalone: true, inputs: { fileSelectButtonTitle: "fileSelectButtonTitle", actionButtonTitle: "actionButtonTitle", stopGeneratingTitle: "stopGeneratingTitle", speechToTextButtonTitle: "speechToTextButtonTitle", removeFileTitle: "removeFileTitle", messageBoxTitle: "messageBoxTitle", attachedFilesLabel: "attachedFilesLabel" }, usesInheritance: true, ngImport: i0 });
|
|
3749
3770
|
};
|
|
3750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: Messages$1, decorators: [{
|
|
3751
3772
|
type: Directive
|
|
3752
3773
|
}], propDecorators: { fileSelectButtonTitle: [{
|
|
3753
3774
|
type: Input
|
|
@@ -3761,6 +3782,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
3761
3782
|
type: Input
|
|
3762
3783
|
}], messageBoxTitle: [{
|
|
3763
3784
|
type: Input
|
|
3785
|
+
}], attachedFilesLabel: [{
|
|
3786
|
+
type: Input
|
|
3764
3787
|
}] } });
|
|
3765
3788
|
|
|
3766
3789
|
/**
|
|
@@ -3784,15 +3807,15 @@ class PromptBoxCustomMessagesComponent extends Messages$1 {
|
|
|
3784
3807
|
get override() {
|
|
3785
3808
|
return true;
|
|
3786
3809
|
}
|
|
3787
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3788
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3810
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3811
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: PromptBoxCustomMessagesComponent, isStandalone: true, selector: "kendo-promptbox-messages", providers: [
|
|
3789
3812
|
{
|
|
3790
3813
|
provide: Messages$1,
|
|
3791
3814
|
useExisting: forwardRef(() => PromptBoxCustomMessagesComponent)
|
|
3792
3815
|
}
|
|
3793
3816
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
3794
3817
|
}
|
|
3795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxCustomMessagesComponent, decorators: [{
|
|
3796
3819
|
type: Component,
|
|
3797
3820
|
args: [{
|
|
3798
3821
|
providers: [
|
|
@@ -3856,15 +3879,15 @@ let LocalizedMessagesDirective$1 = class LocalizedMessagesDirective extends Mess
|
|
|
3856
3879
|
super();
|
|
3857
3880
|
this.service = service;
|
|
3858
3881
|
}
|
|
3859
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3860
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3882
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3883
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoPromptBoxLocalizedMessages]", providers: [
|
|
3861
3884
|
{
|
|
3862
3885
|
provide: Messages$1,
|
|
3863
3886
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
3864
3887
|
}
|
|
3865
3888
|
], usesInheritance: true, ngImport: i0 });
|
|
3866
3889
|
};
|
|
3867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LocalizedMessagesDirective$1, decorators: [{
|
|
3868
3891
|
type: Directive,
|
|
3869
3892
|
args: [{
|
|
3870
3893
|
providers: [
|
|
@@ -3939,10 +3962,10 @@ class PromptBoxBaseTool {
|
|
|
3939
3962
|
*/
|
|
3940
3963
|
sizeChange = new EventEmitter();
|
|
3941
3964
|
_size;
|
|
3942
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3943
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3965
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxBaseTool, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3966
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: PromptBoxBaseTool, isStandalone: true, inputs: { disabled: "disabled", fillMode: "fillMode", icon: "icon", iconClass: "iconClass", imageUrl: "imageUrl", svgIcon: "svgIcon", rounded: "rounded", size: "size", themeColor: "themeColor", title: "title" }, outputs: { sizeChange: "sizeChange" }, ngImport: i0 });
|
|
3944
3967
|
}
|
|
3945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxBaseTool, decorators: [{
|
|
3946
3969
|
type: Directive
|
|
3947
3970
|
}], propDecorators: { disabled: [{
|
|
3948
3971
|
type: Input
|
|
@@ -4031,8 +4054,8 @@ class PromptBoxActionButtonComponent extends PromptBoxBaseTool {
|
|
|
4031
4054
|
textFor(key) {
|
|
4032
4055
|
return this.localization.get(key);
|
|
4033
4056
|
}
|
|
4034
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4035
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4057
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxActionButtonComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4058
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: PromptBoxActionButtonComponent, isStandalone: true, selector: "kendo-promptbox-action-button", inputs: { buttonClass: "buttonClass", loading: "loading", loadingIcon: "loadingIcon", loadingSVGIcon: "loadingSVGIcon" }, outputs: { promptAction: "promptAction" }, providers: [
|
|
4036
4059
|
{
|
|
4037
4060
|
provide: PromptBoxBaseTool,
|
|
4038
4061
|
useExisting: forwardRef(() => PromptBoxActionButtonComponent),
|
|
@@ -4042,6 +4065,7 @@ class PromptBoxActionButtonComponent extends PromptBoxBaseTool {
|
|
|
4042
4065
|
kendoButton
|
|
4043
4066
|
[class]="buttonClass"
|
|
4044
4067
|
[class.k-generating]="loading"
|
|
4068
|
+
[class.k-active]="loading"
|
|
4045
4069
|
aria-live="polite"
|
|
4046
4070
|
[attr.aria-label]="loading ? textFor('stopGeneratingTitle') : textFor('actionButtonTitle')"
|
|
4047
4071
|
[attr.title]="title || textFor('actionButtonTitle')"
|
|
@@ -4056,7 +4080,7 @@ class PromptBoxActionButtonComponent extends PromptBoxBaseTool {
|
|
|
4056
4080
|
></button>
|
|
4057
4081
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
4058
4082
|
}
|
|
4059
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxActionButtonComponent, decorators: [{
|
|
4060
4084
|
type: Component,
|
|
4061
4085
|
args: [{
|
|
4062
4086
|
exportAs: 'kendoPromptBoxActionButton',
|
|
@@ -4072,6 +4096,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
4072
4096
|
kendoButton
|
|
4073
4097
|
[class]="buttonClass"
|
|
4074
4098
|
[class.k-generating]="loading"
|
|
4099
|
+
[class.k-active]="loading"
|
|
4075
4100
|
aria-live="polite"
|
|
4076
4101
|
[attr.aria-label]="loading ? textFor('stopGeneratingTitle') : textFor('actionButtonTitle')"
|
|
4077
4102
|
[attr.title]="title || textFor('actionButtonTitle')"
|
|
@@ -4169,8 +4194,8 @@ class PromptBoxFileSelectButtonComponent extends PromptBoxBaseTool {
|
|
|
4169
4194
|
event.files = allowedFiles;
|
|
4170
4195
|
this.selectAttachments.emit(event);
|
|
4171
4196
|
}
|
|
4172
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4173
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4197
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxFileSelectButtonComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4198
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: PromptBoxFileSelectButtonComponent, isStandalone: true, selector: "kendo-promptbox-fileselect-button", inputs: { restrictions: "restrictions", multiple: "multiple", accept: "accept" }, outputs: { selectAttachments: "selectAttachments" }, providers: [
|
|
4174
4199
|
{
|
|
4175
4200
|
provide: PromptBoxBaseTool,
|
|
4176
4201
|
useExisting: forwardRef(() => PromptBoxFileSelectButtonComponent),
|
|
@@ -4202,7 +4227,7 @@ class PromptBoxFileSelectButtonComponent extends PromptBoxBaseTool {
|
|
|
4202
4227
|
></kendo-fileselect>
|
|
4203
4228
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: FileSelectComponent, selector: "kendo-fileselect", inputs: ["name"], outputs: ["valueChange"], exportAs: ["kendoFileSelect"] }] });
|
|
4204
4229
|
}
|
|
4205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxFileSelectButtonComponent, decorators: [{
|
|
4206
4231
|
type: Component,
|
|
4207
4232
|
args: [{
|
|
4208
4233
|
exportAs: 'kendoPromptBoxFileSelectButton',
|
|
@@ -4264,8 +4289,12 @@ class PromptBoxFileComponent {
|
|
|
4264
4289
|
removable = false;
|
|
4265
4290
|
fileActions;
|
|
4266
4291
|
disabled = false;
|
|
4292
|
+
role = 'listitem';
|
|
4293
|
+
get ariaLabel() {
|
|
4294
|
+
return `${this.promptBoxFile?.name || ''} ${this.getTotalFilesSizeMessage(this.promptBoxFile)}`.trim();
|
|
4295
|
+
}
|
|
4267
4296
|
remove = new EventEmitter();
|
|
4268
|
-
deleteIcon =
|
|
4297
|
+
deleteIcon = xCircleIcon;
|
|
4269
4298
|
moreIcon = moreVerticalIcon;
|
|
4270
4299
|
constructor(localization) {
|
|
4271
4300
|
this.localization = localization;
|
|
@@ -4283,8 +4312,8 @@ class PromptBoxFileComponent {
|
|
|
4283
4312
|
return this.localization.get(key);
|
|
4284
4313
|
}
|
|
4285
4314
|
focus() { }
|
|
4286
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4287
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4315
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxFileComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4316
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: PromptBoxFileComponent, isStandalone: true, selector: "li[promptBoxFile]", inputs: { promptBoxFile: "promptBoxFile", removable: "removable", fileActions: "fileActions", disabled: "disabled" }, outputs: { remove: "remove" }, host: { properties: { "attr.role": "this.role", "attr.aria-label": "this.ariaLabel" } }, ngImport: i0, template: `
|
|
4288
4317
|
<kendo-icon-wrapper
|
|
4289
4318
|
size="xlarge"
|
|
4290
4319
|
[name]="fileGroupClass(promptBoxFile.extension)"
|
|
@@ -4309,7 +4338,7 @@ class PromptBoxFileComponent {
|
|
|
4309
4338
|
}
|
|
4310
4339
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
4311
4340
|
}
|
|
4312
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxFileComponent, decorators: [{
|
|
4313
4342
|
type: Component,
|
|
4314
4343
|
args: [{
|
|
4315
4344
|
selector: 'li[promptBoxFile]',
|
|
@@ -4348,6 +4377,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
4348
4377
|
type: Input
|
|
4349
4378
|
}], disabled: [{
|
|
4350
4379
|
type: Input
|
|
4380
|
+
}], role: [{
|
|
4381
|
+
type: HostBinding,
|
|
4382
|
+
args: ['attr.role']
|
|
4383
|
+
}], ariaLabel: [{
|
|
4384
|
+
type: HostBinding,
|
|
4385
|
+
args: ['attr.aria-label']
|
|
4351
4386
|
}], remove: [{
|
|
4352
4387
|
type: Output
|
|
4353
4388
|
}] } });
|
|
@@ -4434,8 +4469,8 @@ class PromptBoxSpeechToTextButtonComponent extends PromptBoxBaseTool {
|
|
|
4434
4469
|
textFor(key) {
|
|
4435
4470
|
return this.localization.get(key);
|
|
4436
4471
|
}
|
|
4437
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4438
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4472
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxSpeechToTextButtonComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4473
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: PromptBoxSpeechToTextButtonComponent, isStandalone: true, selector: "kendo-promptbox-speech-to-text-button", inputs: { continuous: "continuous", integrationMode: "integrationMode", interimResults: "interimResults", lang: "lang", maxAlternatives: "maxAlternatives" }, outputs: { stbClick: "stbClick", stbStart: "stbStart", stbEnd: "stbEnd", stbError: "stbError", stbResult: "stbResult" }, providers: [
|
|
4439
4474
|
{
|
|
4440
4475
|
provide: PromptBoxBaseTool,
|
|
4441
4476
|
useExisting: forwardRef(() => PromptBoxSpeechToTextButtonComponent),
|
|
@@ -4463,7 +4498,7 @@ class PromptBoxSpeechToTextButtonComponent extends PromptBoxBaseTool {
|
|
|
4463
4498
|
></button>
|
|
4464
4499
|
`, isInline: true, dependencies: [{ kind: "component", type: SpeechToTextButtonComponent, selector: "button[kendoSpeechToTextButton]", inputs: ["disabled", "size", "rounded", "fillMode", "themeColor", "integrationMode", "lang", "continuous", "interimResults", "maxAlternatives"], outputs: ["start", "end", "result", "error", "click"], exportAs: ["kendoSpeechToTextButton"] }] });
|
|
4465
4500
|
}
|
|
4466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxSpeechToTextButtonComponent, decorators: [{
|
|
4467
4502
|
type: Component,
|
|
4468
4503
|
args: [{
|
|
4469
4504
|
exportAs: 'kendoPromptBoxSpeechToTextButton',
|
|
@@ -5342,8 +5377,8 @@ class PromptBoxComponent {
|
|
|
5342
5377
|
this.fileSelectSubscription.add(this.fileSelectButtonComponent.selectAttachments.subscribe((event) => this.handleFileSelectAttachments(event)));
|
|
5343
5378
|
this.fileSelectSubscription.add(this.fileSelectButtonComponent.sizeChange.subscribe(() => this.update()));
|
|
5344
5379
|
}
|
|
5345
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5346
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5380
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5381
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: PromptBoxComponent, isStandalone: true, selector: "kendo-promptbox", inputs: { disabled: "disabled", focusableId: "focusableId", loading: "loading", placeholder: "placeholder", readonly: "readonly", title: "title", mode: "mode", rows: "rows", maxTextAreaHeight: "maxTextAreaHeight", value: "value", actionButton: "actionButton", fileSelectButton: "fileSelectButton", speechToTextButton: "speechToTextButton" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur", promptAction: "promptAction", selectAttachments: "selectAttachments", fileRemove: "fileRemove", speechToTextClick: "speechToTextClick", speechToTextStart: "speechToTextStart", speechToTextEnd: "speechToTextEnd", speechToTextError: "speechToTextError", speechToTextResult: "speechToTextResult" }, host: { properties: { "class.k-prompt-box-singleline": "this.hostSinglelineClass", "class.k-prompt-box-multiline": "this.hostMultilineClass", "class.k-disabled": "this.hostDisabledClass" } }, providers: [
|
|
5347
5382
|
LocalizationService,
|
|
5348
5383
|
{
|
|
5349
5384
|
provide: L10N_PREFIX,
|
|
@@ -5369,6 +5404,8 @@ class PromptBoxComponent {
|
|
|
5369
5404
|
removeFileTitle="Remove file"
|
|
5370
5405
|
i18n-messageBoxTitle="kendo.promptbox.messageBoxTitle|Sets the aria-label for the input/textarea element."
|
|
5371
5406
|
messageBoxTitle="Message"
|
|
5407
|
+
i18n-attachedFilesLabel="kendo.promptbox.attachedFilesLabel|Sets the aria-label for the attached files list."
|
|
5408
|
+
attachedFilesLabel="Attached files"
|
|
5372
5409
|
>
|
|
5373
5410
|
</ng-container>
|
|
5374
5411
|
|
|
@@ -5436,8 +5473,10 @@ class PromptBoxComponent {
|
|
|
5436
5473
|
class="k-file-box-wrapper"
|
|
5437
5474
|
[class.k-file-box-wrapper-scrollable-start]="hasFilesOverflow && !filesListScrollAtEnd"
|
|
5438
5475
|
[class.k-file-box-wrapper-scrollable-end]="hasFilesOverflow && !filesListScrollAtStart"
|
|
5476
|
+
role="list"
|
|
5477
|
+
[attr.aria-label]="textFor('attachedFilesLabel')"
|
|
5439
5478
|
>
|
|
5440
|
-
<div #filesList class="k-files-scroll" (scroll)="onFilesListScroll(filesList)">
|
|
5479
|
+
<div #filesList class="k-files-scroll" role="presentation" (scroll)="onFilesListScroll(filesList)">
|
|
5441
5480
|
@for (attachment of attachments; track attachment; let i = $index) {
|
|
5442
5481
|
<li
|
|
5443
5482
|
class="k-file-box"
|
|
@@ -5537,7 +5576,7 @@ class PromptBoxComponent {
|
|
|
5537
5576
|
}
|
|
5538
5577
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective$1, selector: "[kendoPromptBoxLocalizedMessages]" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: PromptBoxActionButtonComponent, selector: "kendo-promptbox-action-button", inputs: ["buttonClass", "loading", "loadingIcon", "loadingSVGIcon"], outputs: ["promptAction"], exportAs: ["kendoPromptBoxActionButton"] }, { kind: "component", type: PromptBoxFileSelectButtonComponent, selector: "kendo-promptbox-fileselect-button", inputs: ["restrictions", "multiple", "accept"], outputs: ["selectAttachments"], exportAs: ["kendoPromptBoxFileSelectButton"] }, { kind: "component", type: PromptBoxSpeechToTextButtonComponent, selector: "kendo-promptbox-speech-to-text-button", inputs: ["continuous", "integrationMode", "interimResults", "lang", "maxAlternatives"], outputs: ["stbClick", "stbStart", "stbEnd", "stbError", "stbResult"], exportAs: ["kendoPromptBoxSpeechToTextButton"] }, { kind: "component", type: PromptBoxFileComponent, selector: "li[promptBoxFile]", inputs: ["promptBoxFile", "removable", "fileActions", "disabled"], outputs: ["remove"] }] });
|
|
5539
5578
|
}
|
|
5540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PromptBoxComponent, decorators: [{
|
|
5541
5580
|
type: Component,
|
|
5542
5581
|
args: [{
|
|
5543
5582
|
exportAs: 'kendoPromptBox',
|
|
@@ -5569,6 +5608,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
5569
5608
|
removeFileTitle="Remove file"
|
|
5570
5609
|
i18n-messageBoxTitle="kendo.promptbox.messageBoxTitle|Sets the aria-label for the input/textarea element."
|
|
5571
5610
|
messageBoxTitle="Message"
|
|
5611
|
+
i18n-attachedFilesLabel="kendo.promptbox.attachedFilesLabel|Sets the aria-label for the attached files list."
|
|
5612
|
+
attachedFilesLabel="Attached files"
|
|
5572
5613
|
>
|
|
5573
5614
|
</ng-container>
|
|
5574
5615
|
|
|
@@ -5636,8 +5677,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
5636
5677
|
class="k-file-box-wrapper"
|
|
5637
5678
|
[class.k-file-box-wrapper-scrollable-start]="hasFilesOverflow && !filesListScrollAtEnd"
|
|
5638
5679
|
[class.k-file-box-wrapper-scrollable-end]="hasFilesOverflow && !filesListScrollAtStart"
|
|
5680
|
+
role="list"
|
|
5681
|
+
[attr.aria-label]="textFor('attachedFilesLabel')"
|
|
5639
5682
|
>
|
|
5640
|
-
<div #filesList class="k-files-scroll" (scroll)="onFilesListScroll(filesList)">
|
|
5683
|
+
<div #filesList class="k-files-scroll" role="presentation" (scroll)="onFilesListScroll(filesList)">
|
|
5641
5684
|
@for (attachment of attachments; track attachment; let i = $index) {
|
|
5642
5685
|
<li
|
|
5643
5686
|
class="k-file-box"
|
|
@@ -5857,6 +5900,10 @@ class ChatFileComponent extends ChatItem {
|
|
|
5857
5900
|
chatFile;
|
|
5858
5901
|
removable = false;
|
|
5859
5902
|
fileActions;
|
|
5903
|
+
role = 'listitem';
|
|
5904
|
+
get ariaLabel() {
|
|
5905
|
+
return `${this.chatFile?.name || ''} ${this.getTotalFilesSizeMessage(this.chatFile)}`.trim();
|
|
5906
|
+
}
|
|
5860
5907
|
remove = new EventEmitter();
|
|
5861
5908
|
actionClick = new EventEmitter();
|
|
5862
5909
|
actionsToggle = new EventEmitter();
|
|
@@ -5880,8 +5927,8 @@ class ChatFileComponent extends ChatItem {
|
|
|
5880
5927
|
return this.localization.get(key);
|
|
5881
5928
|
}
|
|
5882
5929
|
focus() { }
|
|
5883
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5884
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5930
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatFileComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5931
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: ChatFileComponent, isStandalone: true, selector: "li[chatFile]", inputs: { chatFile: "chatFile", removable: "removable", fileActions: "fileActions" }, outputs: { remove: "remove", actionClick: "actionClick", actionsToggle: "actionsToggle", actionButtonClick: "actionButtonClick" }, host: { properties: { "attr.role": "this.role", "attr.aria-label": "this.ariaLabel" } }, providers: [{
|
|
5885
5932
|
provide: ChatItem,
|
|
5886
5933
|
useExisting: forwardRef(() => ChatFileComponent)
|
|
5887
5934
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -5922,7 +5969,7 @@ class ChatFileComponent extends ChatItem {
|
|
|
5922
5969
|
}
|
|
5923
5970
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: DropDownButtonComponent, selector: "kendo-dropdownbutton", inputs: ["arrowIcon", "icon", "svgIcon", "iconClass", "imageUrl", "textField", "data", "size", "rounded", "fillMode", "themeColor", "buttonAttributes"], outputs: ["itemClick", "focus", "blur"], exportAs: ["kendoDropDownButton"] }] });
|
|
5924
5971
|
}
|
|
5925
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5972
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatFileComponent, decorators: [{
|
|
5926
5973
|
type: Component,
|
|
5927
5974
|
args: [{
|
|
5928
5975
|
selector: 'li[chatFile]',
|
|
@@ -5976,6 +6023,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
5976
6023
|
type: Input
|
|
5977
6024
|
}], fileActions: [{
|
|
5978
6025
|
type: Input
|
|
6026
|
+
}], role: [{
|
|
6027
|
+
type: HostBinding,
|
|
6028
|
+
args: ['attr.role']
|
|
6029
|
+
}], ariaLabel: [{
|
|
6030
|
+
type: HostBinding,
|
|
6031
|
+
args: ['attr.aria-label']
|
|
5979
6032
|
}], remove: [{
|
|
5980
6033
|
type: Output
|
|
5981
6034
|
}], actionClick: [{
|
|
@@ -6082,8 +6135,8 @@ class MessageReferenceComponent extends ChatItem {
|
|
|
6082
6135
|
return this.localization.get(key);
|
|
6083
6136
|
}
|
|
6084
6137
|
focus() { }
|
|
6085
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6086
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
6138
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MessageReferenceComponent, deps: [{ token: i1.LocalizationService }, { token: ChatService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6139
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: MessageReferenceComponent, isStandalone: true, selector: "chat-message-reference-content", inputs: { message: "message" }, host: { properties: { "class.k-message-reference-content": "this.hostClass" } }, providers: [{
|
|
6087
6140
|
provide: ChatItem,
|
|
6088
6141
|
useExisting: forwardRef(() => MessageReferenceComponent)
|
|
6089
6142
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -6102,7 +6155,7 @@ class MessageReferenceComponent extends ChatItem {
|
|
|
6102
6155
|
}
|
|
6103
6156
|
`, isInline: true, dependencies: [{ kind: "component", type: ChatFileComponent, selector: "li[chatFile]", inputs: ["chatFile", "removable", "fileActions"], outputs: ["remove", "actionClick", "actionsToggle", "actionButtonClick"] }] });
|
|
6104
6157
|
}
|
|
6105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MessageReferenceComponent, decorators: [{
|
|
6106
6159
|
type: Component,
|
|
6107
6160
|
args: [{
|
|
6108
6161
|
selector: 'chat-message-reference-content',
|
|
@@ -6155,10 +6208,10 @@ class ChatSuggestionTemplateDirective {
|
|
|
6155
6208
|
constructor(templateRef) {
|
|
6156
6209
|
this.templateRef = templateRef;
|
|
6157
6210
|
}
|
|
6158
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6159
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6211
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatSuggestionTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6212
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: ChatSuggestionTemplateDirective, isStandalone: true, selector: "[kendoChatSuggestionTemplate]", ngImport: i0 });
|
|
6160
6213
|
}
|
|
6161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatSuggestionTemplateDirective, decorators: [{
|
|
6162
6215
|
type: Directive,
|
|
6163
6216
|
args: [{
|
|
6164
6217
|
selector: '[kendoChatSuggestionTemplate]',
|
|
@@ -6212,12 +6265,12 @@ class ChatScrollableButtonComponent {
|
|
|
6212
6265
|
const buttonType = this.prev ? 'prev' : 'next';
|
|
6213
6266
|
this.onClick.emit(buttonType);
|
|
6214
6267
|
}
|
|
6215
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6216
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
6268
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatScrollableButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6269
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: ChatScrollableButtonComponent, isStandalone: true, selector: "[kendoChatScrollableButton]", inputs: { prev: "prev" }, outputs: { onClick: "onClick" }, host: { properties: { "attr.role": "this.role" } }, ngImport: i0, template: `
|
|
6217
6270
|
<kendo-icon-wrapper [name]="scrollButtonIconClass" [svgIcon]="scrollButtonSVGIcon" innerCssClass="k-button-icon"> </kendo-icon-wrapper>
|
|
6218
6271
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
6219
6272
|
}
|
|
6220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatScrollableButtonComponent, decorators: [{
|
|
6221
6274
|
type: Component,
|
|
6222
6275
|
args: [{
|
|
6223
6276
|
template: `
|
|
@@ -6455,8 +6508,8 @@ class SuggestedActionsComponent extends ChatItem {
|
|
|
6455
6508
|
const prevIndex = this.selectedIndex;
|
|
6456
6509
|
this.selectedIndex = Math.max(0, Math.min(prevIndex + offset, this.items.length - 1));
|
|
6457
6510
|
}
|
|
6458
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6459
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
6511
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SuggestedActionsComponent, deps: [{ token: ChatService }, { token: i1.LocalizationService }, { token: SuggestionsScrollService }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
6512
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: SuggestedActionsComponent, isStandalone: true, selector: "kendo-chat-suggested-actions", inputs: { actions: "actions", suggestions: "suggestions", tabbable: "tabbable", type: "type", suggestionTemplate: "suggestionTemplate" }, outputs: { dispatchAction: "dispatchAction", dispatchSuggestion: "dispatchSuggestion" }, host: { properties: { "class.k-suggestion-group": "this.defaultClass", "class.k-suggestion-group-scrollable": "this.scrollableClass", "class.k-suggestion-scrollwrap": "this.scrollButtonsClass", "class.k-suggestion-group-scrollable-start": "this.scrollStartClass", "class.k-suggestion-group-scrollable-end": "this.scrollEndClass", "attr.role": "this.role" } }, providers: [
|
|
6460
6513
|
{
|
|
6461
6514
|
provide: ChatItem,
|
|
6462
6515
|
useExisting: forwardRef(() => SuggestedActionsComponent),
|
|
@@ -6547,7 +6600,7 @@ class SuggestedActionsComponent extends ChatItem {
|
|
|
6547
6600
|
}
|
|
6548
6601
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ChatScrollableButtonComponent, selector: "[kendoChatScrollableButton]", inputs: ["prev"], outputs: ["onClick"] }] });
|
|
6549
6602
|
}
|
|
6550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SuggestedActionsComponent, decorators: [{
|
|
6551
6604
|
type: Component,
|
|
6552
6605
|
args: [{
|
|
6553
6606
|
selector: 'kendo-chat-suggested-actions',
|
|
@@ -6713,10 +6766,10 @@ class ChatMessageBoxEndAffixTemplateDirective {
|
|
|
6713
6766
|
constructor(templateRef) {
|
|
6714
6767
|
this.templateRef = templateRef;
|
|
6715
6768
|
}
|
|
6716
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6717
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6769
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatMessageBoxEndAffixTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6770
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: ChatMessageBoxEndAffixTemplateDirective, isStandalone: true, selector: "[kendoChatMessageBoxEndAffixTemplate]", ngImport: i0 });
|
|
6718
6771
|
}
|
|
6719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatMessageBoxEndAffixTemplateDirective, decorators: [{
|
|
6720
6773
|
type: Directive,
|
|
6721
6774
|
args: [{
|
|
6722
6775
|
selector: '[kendoChatMessageBoxEndAffixTemplate]',
|
|
@@ -6743,10 +6796,10 @@ class ChatMessageBoxStartAffixTemplateDirective {
|
|
|
6743
6796
|
constructor(templateRef) {
|
|
6744
6797
|
this.templateRef = templateRef;
|
|
6745
6798
|
}
|
|
6746
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6747
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6799
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatMessageBoxStartAffixTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6800
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: ChatMessageBoxStartAffixTemplateDirective, isStandalone: true, selector: "[kendoChatMessageBoxStartAffixTemplate]", ngImport: i0 });
|
|
6748
6801
|
}
|
|
6749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6802
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatMessageBoxStartAffixTemplateDirective, decorators: [{
|
|
6750
6803
|
type: Directive,
|
|
6751
6804
|
args: [{
|
|
6752
6805
|
selector: '[kendoChatMessageBoxStartAffixTemplate]',
|
|
@@ -6773,10 +6826,10 @@ class ChatMessageBoxTopAffixTemplateDirective {
|
|
|
6773
6826
|
constructor(templateRef) {
|
|
6774
6827
|
this.templateRef = templateRef;
|
|
6775
6828
|
}
|
|
6776
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6777
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6829
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatMessageBoxTopAffixTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6830
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: ChatMessageBoxTopAffixTemplateDirective, isStandalone: true, selector: "[kendoChatMessageBoxTopAffixTemplate]", ngImport: i0 });
|
|
6778
6831
|
}
|
|
6779
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatMessageBoxTopAffixTemplateDirective, decorators: [{
|
|
6780
6833
|
type: Directive,
|
|
6781
6834
|
args: [{
|
|
6782
6835
|
selector: '[kendoChatMessageBoxTopAffixTemplate]',
|
|
@@ -6996,8 +7049,8 @@ class MessageBoxComponent {
|
|
|
6996
7049
|
dispatchSuggestion(suggestion) {
|
|
6997
7050
|
this.executeSuggestion.emit(suggestion);
|
|
6998
7051
|
}
|
|
6999
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7000
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
7052
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MessageBoxComponent, deps: [{ token: ChatService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
7053
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: MessageBoxComponent, isStandalone: true, selector: "kendo-message-box", inputs: { authorId: "authorId", autoScroll: "autoScroll", suggestions: "suggestions", placeholder: "placeholder", inputValue: "inputValue", localization: "localization", messageBoxTemplate: "messageBoxTemplate", messageBoxStartAffixTemplate: "messageBoxStartAffixTemplate", messageBoxEndAffixTemplate: "messageBoxEndAffixTemplate", messageBoxTopAffixTemplate: "messageBoxTopAffixTemplate", suggestionTemplate: "suggestionTemplate", loading: "loading" }, outputs: { sendMessage: "sendMessage", executeSuggestion: "executeSuggestion", fileSelect: "fileSelect", fileRemove: "fileRemove" }, host: { properties: { "style.border-color": "this.borderColor", "class.k-message-box-wrapper": "this.messageBoxWrapperClass" } }, viewQueries: [{ propertyName: "messageBoxInput", first: true, predicate: ["messageBoxInput"], descendants: true }, { propertyName: "suggestedActionsComponent", first: true, predicate: SuggestedActionsComponent, descendants: true }], ngImport: i0, template: `
|
|
7001
7054
|
@if (suggestions?.length > 0) {
|
|
7002
7055
|
<kendo-chat-suggested-actions
|
|
7003
7056
|
#suggestedActions
|
|
@@ -7090,7 +7143,7 @@ class MessageBoxComponent {
|
|
|
7090
7143
|
}
|
|
7091
7144
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PromptBoxComponent, selector: "kendo-promptbox", inputs: ["disabled", "focusableId", "loading", "placeholder", "readonly", "title", "mode", "rows", "maxTextAreaHeight", "value", "actionButton", "fileSelectButton", "speechToTextButton"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur", "promptAction", "selectAttachments", "fileRemove", "speechToTextClick", "speechToTextStart", "speechToTextEnd", "speechToTextError", "speechToTextResult"], exportAs: ["kendoPromptBox"] }, { kind: "component", type: PromptBoxCustomMessagesComponent, selector: "kendo-promptbox-messages" }, { kind: "directive", type: PromptBoxHeaderTemplateDirective, selector: "[kendoPromptBoxHeaderTemplate]" }, { kind: "component", type: PromptBoxStartAffixComponent, selector: "kendo-promptbox-start-affix", exportAs: ["kendoPromptBoxStartAffix"] }, { kind: "component", type: PromptBoxTopAffixComponent, selector: "kendo-promptbox-top-affix", exportAs: ["kendoPromptBoxTopAffix"] }, { kind: "component", type: PromptBoxEndAffixComponent, selector: "kendo-promptbox-end-affix", exportAs: ["kendoPromptBoxEndAffix"] }, { kind: "component", type: PromptBoxFileSelectButtonComponent, selector: "kendo-promptbox-fileselect-button", inputs: ["restrictions", "multiple", "accept"], outputs: ["selectAttachments"], exportAs: ["kendoPromptBoxFileSelectButton"] }, { kind: "component", type: MessageReferenceComponent, selector: "chat-message-reference-content", inputs: ["message"] }, { kind: "component", type: SuggestedActionsComponent, selector: "kendo-chat-suggested-actions", inputs: ["actions", "suggestions", "tabbable", "type", "suggestionTemplate"], outputs: ["dispatchAction", "dispatchSuggestion"] }] });
|
|
7092
7145
|
}
|
|
7093
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MessageBoxComponent, decorators: [{
|
|
7094
7147
|
type: Component,
|
|
7095
7148
|
args: [{
|
|
7096
7149
|
selector: 'kendo-message-box',
|
|
@@ -7591,8 +7644,8 @@ class MessageComponent extends ChatItem {
|
|
|
7591
7644
|
this.cdr.detectChanges();
|
|
7592
7645
|
}));
|
|
7593
7646
|
}
|
|
7594
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7595
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
7647
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MessageComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.IntlService }, { token: ChatService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
7648
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: MessageComponent, isStandalone: true, selector: "kendo-chat-message", inputs: { message: "message", tabbable: "tabbable", authorMessageContentTemplate: "authorMessageContentTemplate", receiverMessageContentTemplate: "receiverMessageContentTemplate", messageContentTemplate: "messageContentTemplate", authorMessageTemplate: "authorMessageTemplate", receiverMessageTemplate: "receiverMessageTemplate", messageTemplate: "messageTemplate", statusTemplate: "statusTemplate", showMessageTime: "showMessageTime", authorId: "authorId" }, host: { listeners: { "keydown": "onKeyDown($event)" }, properties: { "class.k-message": "this.cssClass", "class.k-message-failed": "this.failedClass", "class.k-message-removed": "this.removedClass", "attr.tabIndex": "this.tabIndex" } }, providers: [
|
|
7596
7649
|
{
|
|
7597
7650
|
provide: ChatItem,
|
|
7598
7651
|
useExisting: forwardRef(() => MessageComponent),
|
|
@@ -7604,14 +7657,16 @@ class MessageComponent extends ChatItem {
|
|
|
7604
7657
|
></ng-container>
|
|
7605
7658
|
} @if (!useCustomBubbleTemplate) { @if (message.typing) {
|
|
7606
7659
|
<div class="k-chat-bubble k-bubble">
|
|
7607
|
-
<div class="k-
|
|
7608
|
-
<
|
|
7609
|
-
|
|
7610
|
-
|
|
7660
|
+
<div class="k-bubble-content">
|
|
7661
|
+
<div class="k-typing-indicator" [attr.tabindex]="'-1'">
|
|
7662
|
+
<span></span>
|
|
7663
|
+
<span></span>
|
|
7664
|
+
<span></span>
|
|
7665
|
+
</div>
|
|
7611
7666
|
</div>
|
|
7612
7667
|
</div>
|
|
7613
7668
|
} @if (!message.typing) { @if (useCustomContentTemplate) { @if (message.failed) {
|
|
7614
|
-
<button kendoButton class="k-resend-button" size="xsmall" fillMode="clear" icon="arrow-rotate-cw" [svgIcon]="resendIcon" (click)="onResendMessage($event)"></button>
|
|
7669
|
+
<button kendoButton class="k-resend-button" size="xsmall" fillMode="clear" icon="arrow-rotate-cw" [svgIcon]="resendIcon" [attr.aria-label]="textFor('resendButtonTitle')" (click)="onResendMessage($event)"></button>
|
|
7615
7670
|
}
|
|
7616
7671
|
<div
|
|
7617
7672
|
class="k-chat-bubble k-bubble"
|
|
@@ -7634,6 +7689,7 @@ class MessageComponent extends ChatItem {
|
|
|
7634
7689
|
class="k-bubble-expandable-indicator"
|
|
7635
7690
|
[attr.tabindex]="'0'"
|
|
7636
7691
|
[attr.role]="'button'"
|
|
7692
|
+
[attr.aria-label]="isMessageExpanded ? textFor('collapseTitle') : textFor('expandTitle')"
|
|
7637
7693
|
[attr.title]="isMessageExpanded ? textFor('collapseTitle') : textFor('expandTitle')"
|
|
7638
7694
|
(mousedown)="chatService.toggleMessageState = true"
|
|
7639
7695
|
(click)="toggleMessageState($event)"
|
|
@@ -7641,13 +7697,12 @@ class MessageComponent extends ChatItem {
|
|
|
7641
7697
|
<kendo-icon-wrapper
|
|
7642
7698
|
[name]="isMessageExpanded ? 'chevron-up' : 'chevron-down'"
|
|
7643
7699
|
[svgIcon]="isMessageExpanded ? collapseIcon : expandIcon"
|
|
7644
|
-
>
|
|
7645
|
-
</kendo-icon-wrapper>
|
|
7700
|
+
></kendo-icon-wrapper>
|
|
7646
7701
|
</span>
|
|
7647
7702
|
}
|
|
7648
7703
|
</div>
|
|
7649
7704
|
} @if (!useCustomContentTemplate && hasMessageContent) { @if (message.failed) {
|
|
7650
|
-
<button kendoButton class="k-resend-button" size="xsmall" fillMode="clear" icon="arrow-rotate-cw" [svgIcon]="resendIcon" (click)="onResendMessage($event)"></button>
|
|
7705
|
+
<button kendoButton class="k-resend-button" size="xsmall" fillMode="clear" icon="arrow-rotate-cw" [svgIcon]="resendIcon" [attr.aria-label]="textFor('resendButtonTitle')" (click)="onResendMessage($event)"></button>
|
|
7651
7706
|
}
|
|
7652
7707
|
<div
|
|
7653
7708
|
class="k-chat-bubble k-bubble"
|
|
@@ -7688,6 +7743,8 @@ class MessageComponent extends ChatItem {
|
|
|
7688
7743
|
'k-files-wrap': chatService.messageFilesLayout === 'wrap',
|
|
7689
7744
|
'k-files-vertical': chatService.messageFilesLayout === 'vertical'
|
|
7690
7745
|
}"
|
|
7746
|
+
role="list"
|
|
7747
|
+
[attr.aria-label]="textFor('attachedFilesLabel')"
|
|
7691
7748
|
>
|
|
7692
7749
|
@for (file of message.files; track file.id) {
|
|
7693
7750
|
<li
|
|
@@ -7701,8 +7758,8 @@ class MessageComponent extends ChatItem {
|
|
|
7701
7758
|
}
|
|
7702
7759
|
</ul>
|
|
7703
7760
|
} @else {
|
|
7704
|
-
<ul class="k-file-box-wrapper">
|
|
7705
|
-
<div class="k-files-scroll">
|
|
7761
|
+
<ul class="k-file-box-wrapper" role="list" [attr.aria-label]="textFor('attachedFilesLabel')">
|
|
7762
|
+
<div class="k-files-scroll" role="presentation">
|
|
7706
7763
|
@for (file of message.files; track file.id) {
|
|
7707
7764
|
<li
|
|
7708
7765
|
class="k-file-box"
|
|
@@ -7736,6 +7793,7 @@ class MessageComponent extends ChatItem {
|
|
|
7736
7793
|
class="k-bubble-expandable-indicator"
|
|
7737
7794
|
[attr.tabindex]="'0'"
|
|
7738
7795
|
[attr.role]="'button'"
|
|
7796
|
+
[attr.aria-label]="isMessageExpanded ? textFor('collapseTitle') : textFor('expandTitle')"
|
|
7739
7797
|
[attr.title]="isMessageExpanded ? textFor('collapseTitle') : textFor('expandTitle')"
|
|
7740
7798
|
(mousedown)="chatService.toggleMessageState = true"
|
|
7741
7799
|
(click)="toggleMessageState($event)"
|
|
@@ -7743,8 +7801,7 @@ class MessageComponent extends ChatItem {
|
|
|
7743
7801
|
<kendo-icon-wrapper
|
|
7744
7802
|
[name]="isMessageExpanded ? 'chevron-up' : 'chevron-down'"
|
|
7745
7803
|
[svgIcon]="isMessageExpanded ? collapseIcon : expandIcon"
|
|
7746
|
-
>
|
|
7747
|
-
</kendo-icon-wrapper>
|
|
7804
|
+
></kendo-icon-wrapper>
|
|
7748
7805
|
</span>
|
|
7749
7806
|
}
|
|
7750
7807
|
</div>
|
|
@@ -7804,7 +7861,7 @@ class MessageComponent extends ChatItem {
|
|
|
7804
7861
|
}
|
|
7805
7862
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i2.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ChatFileComponent, selector: "li[chatFile]", inputs: ["chatFile", "removable", "fileActions"], outputs: ["remove", "actionClick", "actionsToggle", "actionButtonClick"] }, { kind: "component", type: ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "fillMode", "tabindex", "size", "tabIndex", "showIcon", "showText"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "rounded", "themeColor", "icon", "iconClass", "svgIcon", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { kind: "component", type: MessageReferenceComponent, selector: "chat-message-reference-content", inputs: ["message"] }] });
|
|
7806
7863
|
}
|
|
7807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MessageComponent, decorators: [{
|
|
7808
7865
|
type: Component,
|
|
7809
7866
|
args: [{
|
|
7810
7867
|
selector: 'kendo-chat-message',
|
|
@@ -7821,14 +7878,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
7821
7878
|
></ng-container>
|
|
7822
7879
|
} @if (!useCustomBubbleTemplate) { @if (message.typing) {
|
|
7823
7880
|
<div class="k-chat-bubble k-bubble">
|
|
7824
|
-
<div class="k-
|
|
7825
|
-
<
|
|
7826
|
-
|
|
7827
|
-
|
|
7881
|
+
<div class="k-bubble-content">
|
|
7882
|
+
<div class="k-typing-indicator" [attr.tabindex]="'-1'">
|
|
7883
|
+
<span></span>
|
|
7884
|
+
<span></span>
|
|
7885
|
+
<span></span>
|
|
7886
|
+
</div>
|
|
7828
7887
|
</div>
|
|
7829
7888
|
</div>
|
|
7830
7889
|
} @if (!message.typing) { @if (useCustomContentTemplate) { @if (message.failed) {
|
|
7831
|
-
<button kendoButton class="k-resend-button" size="xsmall" fillMode="clear" icon="arrow-rotate-cw" [svgIcon]="resendIcon" (click)="onResendMessage($event)"></button>
|
|
7890
|
+
<button kendoButton class="k-resend-button" size="xsmall" fillMode="clear" icon="arrow-rotate-cw" [svgIcon]="resendIcon" [attr.aria-label]="textFor('resendButtonTitle')" (click)="onResendMessage($event)"></button>
|
|
7832
7891
|
}
|
|
7833
7892
|
<div
|
|
7834
7893
|
class="k-chat-bubble k-bubble"
|
|
@@ -7851,6 +7910,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
7851
7910
|
class="k-bubble-expandable-indicator"
|
|
7852
7911
|
[attr.tabindex]="'0'"
|
|
7853
7912
|
[attr.role]="'button'"
|
|
7913
|
+
[attr.aria-label]="isMessageExpanded ? textFor('collapseTitle') : textFor('expandTitle')"
|
|
7854
7914
|
[attr.title]="isMessageExpanded ? textFor('collapseTitle') : textFor('expandTitle')"
|
|
7855
7915
|
(mousedown)="chatService.toggleMessageState = true"
|
|
7856
7916
|
(click)="toggleMessageState($event)"
|
|
@@ -7858,13 +7918,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
7858
7918
|
<kendo-icon-wrapper
|
|
7859
7919
|
[name]="isMessageExpanded ? 'chevron-up' : 'chevron-down'"
|
|
7860
7920
|
[svgIcon]="isMessageExpanded ? collapseIcon : expandIcon"
|
|
7861
|
-
>
|
|
7862
|
-
</kendo-icon-wrapper>
|
|
7921
|
+
></kendo-icon-wrapper>
|
|
7863
7922
|
</span>
|
|
7864
7923
|
}
|
|
7865
7924
|
</div>
|
|
7866
7925
|
} @if (!useCustomContentTemplate && hasMessageContent) { @if (message.failed) {
|
|
7867
|
-
<button kendoButton class="k-resend-button" size="xsmall" fillMode="clear" icon="arrow-rotate-cw" [svgIcon]="resendIcon" (click)="onResendMessage($event)"></button>
|
|
7926
|
+
<button kendoButton class="k-resend-button" size="xsmall" fillMode="clear" icon="arrow-rotate-cw" [svgIcon]="resendIcon" [attr.aria-label]="textFor('resendButtonTitle')" (click)="onResendMessage($event)"></button>
|
|
7868
7927
|
}
|
|
7869
7928
|
<div
|
|
7870
7929
|
class="k-chat-bubble k-bubble"
|
|
@@ -7905,6 +7964,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
7905
7964
|
'k-files-wrap': chatService.messageFilesLayout === 'wrap',
|
|
7906
7965
|
'k-files-vertical': chatService.messageFilesLayout === 'vertical'
|
|
7907
7966
|
}"
|
|
7967
|
+
role="list"
|
|
7968
|
+
[attr.aria-label]="textFor('attachedFilesLabel')"
|
|
7908
7969
|
>
|
|
7909
7970
|
@for (file of message.files; track file.id) {
|
|
7910
7971
|
<li
|
|
@@ -7918,8 +7979,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
7918
7979
|
}
|
|
7919
7980
|
</ul>
|
|
7920
7981
|
} @else {
|
|
7921
|
-
<ul class="k-file-box-wrapper">
|
|
7922
|
-
<div class="k-files-scroll">
|
|
7982
|
+
<ul class="k-file-box-wrapper" role="list" [attr.aria-label]="textFor('attachedFilesLabel')">
|
|
7983
|
+
<div class="k-files-scroll" role="presentation">
|
|
7923
7984
|
@for (file of message.files; track file.id) {
|
|
7924
7985
|
<li
|
|
7925
7986
|
class="k-file-box"
|
|
@@ -7953,6 +8014,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
7953
8014
|
class="k-bubble-expandable-indicator"
|
|
7954
8015
|
[attr.tabindex]="'0'"
|
|
7955
8016
|
[attr.role]="'button'"
|
|
8017
|
+
[attr.aria-label]="isMessageExpanded ? textFor('collapseTitle') : textFor('expandTitle')"
|
|
7956
8018
|
[attr.title]="isMessageExpanded ? textFor('collapseTitle') : textFor('expandTitle')"
|
|
7957
8019
|
(mousedown)="chatService.toggleMessageState = true"
|
|
7958
8020
|
(click)="toggleMessageState($event)"
|
|
@@ -7960,8 +8022,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
7960
8022
|
<kendo-icon-wrapper
|
|
7961
8023
|
[name]="isMessageExpanded ? 'chevron-up' : 'chevron-down'"
|
|
7962
8024
|
[svgIcon]="isMessageExpanded ? collapseIcon : expandIcon"
|
|
7963
|
-
>
|
|
7964
|
-
</kendo-icon-wrapper>
|
|
8025
|
+
></kendo-icon-wrapper>
|
|
7965
8026
|
</span>
|
|
7966
8027
|
}
|
|
7967
8028
|
</div>
|
|
@@ -8097,8 +8158,8 @@ class AttachmentComponent {
|
|
|
8097
8158
|
return this.attachment.contentType || '';
|
|
8098
8159
|
}
|
|
8099
8160
|
_attachment;
|
|
8100
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8101
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
8161
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AttachmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8162
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: AttachmentComponent, isStandalone: true, selector: "kendo-chat-attachment", inputs: { attachment: "attachment", template: "template" }, ngImport: i0, template: `
|
|
8102
8163
|
@if (template) {
|
|
8103
8164
|
<ng-container *ngTemplateOutlet="template.templateRef; context: context;">
|
|
8104
8165
|
</ng-container>
|
|
@@ -8128,7 +8189,7 @@ class AttachmentComponent {
|
|
|
8128
8189
|
}
|
|
8129
8190
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
8130
8191
|
}
|
|
8131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AttachmentComponent, decorators: [{
|
|
8132
8193
|
type: Component,
|
|
8133
8194
|
args: [{
|
|
8134
8195
|
selector: 'kendo-chat-attachment',
|
|
@@ -8285,8 +8346,8 @@ class MessageAttachmentsComponent extends ChatItem {
|
|
|
8285
8346
|
textFor(key) {
|
|
8286
8347
|
return this.localization.get(key);
|
|
8287
8348
|
}
|
|
8288
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8289
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
8349
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MessageAttachmentsComponent, deps: [{ token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8350
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: MessageAttachmentsComponent, isStandalone: true, selector: "kendo-chat-message-attachments", inputs: { attachments: "attachments", layout: "layout", tabbable: "tabbable", template: "template", localization: "localization" }, host: { properties: { "class.k-card-deck-scrollwrap": "this.carousel" } }, providers: [{
|
|
8290
8351
|
provide: ChatItem,
|
|
8291
8352
|
useExisting: forwardRef(() => MessageAttachmentsComponent)
|
|
8292
8353
|
}], viewQueries: [{ propertyName: "deck", first: true, predicate: ["deck"], descendants: true, read: ElementRef, static: true }, { propertyName: "items", predicate: ["item"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -8335,7 +8396,7 @@ class MessageAttachmentsComponent extends ChatItem {
|
|
|
8335
8396
|
}
|
|
8336
8397
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: ["attachment", "template"] }] });
|
|
8337
8398
|
}
|
|
8338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MessageAttachmentsComponent, decorators: [{
|
|
8339
8400
|
type: Component,
|
|
8340
8401
|
args: [{
|
|
8341
8402
|
providers: [{
|
|
@@ -8706,8 +8767,8 @@ class MessageListComponent {
|
|
|
8706
8767
|
return componentElement && (componentElement === clickedElement || componentElement.contains(clickedElement));
|
|
8707
8768
|
});
|
|
8708
8769
|
}
|
|
8709
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8710
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
8770
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MessageListComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.IntlService }, { token: i0.Renderer2 }, { token: ChatService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
8771
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: MessageListComponent, isStandalone: true, selector: "kendo-chat-message-list", inputs: { messages: "messages", attachmentTemplate: "attachmentTemplate", authorMessageContentTemplate: "authorMessageContentTemplate", receiverMessageContentTemplate: "receiverMessageContentTemplate", messageContentTemplate: "messageContentTemplate", authorMessageTemplate: "authorMessageTemplate", receiverMessageTemplate: "receiverMessageTemplate", messageTemplate: "messageTemplate", timestampTemplate: "timestampTemplate", statusTemplate: "statusTemplate", userStatusTemplate: "userStatusTemplate", localization: "localization", authorId: "authorId" }, outputs: { executeAction: "executeAction", navigate: "navigate", resize: "resize" }, host: { properties: { "class.k-message-list-content": "this.cssClass" } }, viewQueries: [{ propertyName: "items", predicate: ChatItem, descendants: true }], ngImport: i0, template: `
|
|
8711
8772
|
@for (group of view; track trackGroup($index, group); let lastGroup = $last) { @switch (group.type) { @case
|
|
8712
8773
|
('date-marker') {
|
|
8713
8774
|
<div class="k-timestamp">
|
|
@@ -8811,7 +8872,7 @@ class MessageListComponent {
|
|
|
8811
8872
|
<kendo-resize-sensor (resize)="onResize()"> </kendo-resize-sensor>
|
|
8812
8873
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: MessageComponent, selector: "kendo-chat-message", inputs: ["message", "tabbable", "authorMessageContentTemplate", "receiverMessageContentTemplate", "messageContentTemplate", "authorMessageTemplate", "receiverMessageTemplate", "messageTemplate", "statusTemplate", "showMessageTime", "authorId"] }, { kind: "component", type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: ["attachment", "template"] }, { kind: "component", type: MessageAttachmentsComponent, selector: "kendo-chat-message-attachments", inputs: ["attachments", "layout", "tabbable", "template", "localization"] }, { kind: "component", type: SuggestedActionsComponent, selector: "kendo-chat-suggested-actions", inputs: ["actions", "suggestions", "tabbable", "type", "suggestionTemplate"], outputs: ["dispatchAction", "dispatchSuggestion"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "ngmodule", type: ButtonsModule }] });
|
|
8813
8874
|
}
|
|
8814
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MessageListComponent, decorators: [{
|
|
8815
8876
|
type: Component,
|
|
8816
8877
|
args: [{
|
|
8817
8878
|
selector: 'kendo-chat-message-list',
|
|
@@ -9448,7 +9509,7 @@ class ChatComponent {
|
|
|
9448
9509
|
/**
|
|
9449
9510
|
* @hidden
|
|
9450
9511
|
*/
|
|
9451
|
-
deleteIcon =
|
|
9512
|
+
deleteIcon = xCircleIcon;
|
|
9452
9513
|
/**
|
|
9453
9514
|
* @hidden
|
|
9454
9515
|
*/
|
|
@@ -10086,8 +10147,8 @@ class ChatComponent {
|
|
|
10086
10147
|
return userAction;
|
|
10087
10148
|
});
|
|
10088
10149
|
}
|
|
10089
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10090
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
10150
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: ChatService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10151
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: ChatComponent, isStandalone: true, selector: "kendo-chat", inputs: { messages: "messages", authorId: "authorId", messageBoxType: "messageBoxType", height: "height", width: "width", placeholder: "placeholder", messageWidthMode: "messageWidthMode", timestampVisibility: "timestampVisibility", showUsername: "showUsername", showAvatar: "showAvatar", allowMessageCollapse: "allowMessageCollapse", speechToTextButton: "speechToTextButton", fileSelectButton: "fileSelectButton", messageBoxSettings: "messageBoxSettings", messageToolbarActions: "messageToolbarActions", inputValue: "inputValue", authorMessageSettings: "authorMessageSettings", receiverMessageSettings: "receiverMessageSettings", messageContextMenuActions: "messageContextMenuActions", fileActions: "fileActions", messageFilesLayout: "messageFilesLayout", suggestionsLayout: "suggestionsLayout", quickActionsLayout: "quickActionsLayout", suggestions: "suggestions", sendButton: "sendButton", sendButtonSettings: "sendButtonSettings", scrollMode: "scrollMode", pageSize: "pageSize", autoScrollThreshold: "autoScrollThreshold", total: "total", startIndex: "startIndex", endIndex: "endIndex", pinnedMessages: "pinnedMessages", repliedToMessages: "repliedToMessages", modelFields: "modelFields", scrollToBottomButton: "scrollToBottomButton", loading: "loading" }, outputs: { sendMessage: "sendMessage", resendMessage: "resendMessage", toolbarActionClick: "toolbarActionClick", contextMenuActionClick: "contextMenuActionClick", fileActionClick: "fileActionClick", download: "download", executeAction: "executeAction", suggestionExecute: "suggestionExecute", fileSelect: "fileSelect", fileRemove: "fileRemove", unpin: "unpin", inputValueChange: "inputValueChange", loadMore: "loadMore", referencedMessageClick: "referencedMessageClick" }, host: { properties: { "class": "this.className", "attr.dir": "this.dirAttr" } }, providers: [
|
|
10091
10152
|
LocalizationService,
|
|
10092
10153
|
ChatService,
|
|
10093
10154
|
SuggestionsScrollService,
|
|
@@ -10168,6 +10229,10 @@ class ChatComponent {
|
|
|
10168
10229
|
nextSuggestionsButtonTitle="Scroll right"
|
|
10169
10230
|
i18n-unpinMessageTitle="kendo.chat.unpinMessageTitle|The title of the button that unpins a pinned message"
|
|
10170
10231
|
unpinMessageTitle="Unpin message"
|
|
10232
|
+
i18n-resendButtonTitle="kendo.chat.resendButtonTitle|The aria-label for the button that resends a failed message"
|
|
10233
|
+
resendButtonTitle="Resend"
|
|
10234
|
+
i18n-attachedFilesLabel="kendo.chat.attachedFilesLabel|The aria-label for the attached files list"
|
|
10235
|
+
attachedFilesLabel="Attached files"
|
|
10171
10236
|
>
|
|
10172
10237
|
</ng-container>
|
|
10173
10238
|
|
|
@@ -10206,6 +10271,7 @@ class ChatComponent {
|
|
|
10206
10271
|
icon="x"
|
|
10207
10272
|
[svgIcon]="deleteIcon"
|
|
10208
10273
|
[attr.title]="textFor('unpinMessageTitle')"
|
|
10274
|
+
[attr.aria-label]="textFor('unpinMessageTitle')"
|
|
10209
10275
|
(click)="unpin.emit(pinnedMessage)"
|
|
10210
10276
|
fillMode="flat"
|
|
10211
10277
|
size="xsmall"
|
|
@@ -10287,7 +10353,7 @@ class ChatComponent {
|
|
|
10287
10353
|
}
|
|
10288
10354
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective$2, selector: "[kendoChatLocalizedMessages]" }, { kind: "directive", type: ScrollAnchorDirective, selector: "[kendoChatScrollAnchor]", inputs: ["autoScroll", "autoScrollThreshold", "endlessMode", "rangeIsAtEnd"], outputs: ["autoScrollChange", "nearTop", "nearBottom"], exportAs: ["scrollAnchor"] }, { kind: "component", type: MessageListComponent, selector: "kendo-chat-message-list", inputs: ["messages", "attachmentTemplate", "authorMessageContentTemplate", "receiverMessageContentTemplate", "messageContentTemplate", "authorMessageTemplate", "receiverMessageTemplate", "messageTemplate", "timestampTemplate", "statusTemplate", "userStatusTemplate", "localization", "authorId"], outputs: ["executeAction", "navigate", "resize"] }, { kind: "component", type: MessageBoxComponent, selector: "kendo-message-box", inputs: ["authorId", "autoScroll", "suggestions", "placeholder", "inputValue", "localization", "messageBoxTemplate", "messageBoxStartAffixTemplate", "messageBoxEndAffixTemplate", "messageBoxTopAffixTemplate", "suggestionTemplate", "loading"], outputs: ["sendMessage", "executeSuggestion", "fileSelect", "fileRemove"] }, { kind: "component", type: MessageReferenceComponent, selector: "chat-message-reference-content", inputs: ["message"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ContextMenuComponent, selector: "kendo-contextmenu", inputs: ["showOn", "target", "filter", "alignToAnchor", "vertical", "popupAnimate", "popupAlign", "anchorAlign", "collision", "appendTo", "ariaLabel"], outputs: ["popupOpen", "popupClose", "select", "open", "close"], exportAs: ["kendoContextMenu"] }, { kind: "component", type: FloatingActionButtonComponent, selector: "kendo-floatingactionbutton", inputs: ["themeColor", "size", "rounded", "disabled", "align", "offset", "positionMode", "icon", "svgIcon", "iconClass", "buttonClass", "dialClass", "text", "dialItemAnimation", "tabIndex", "dialItems"], outputs: ["blur", "focus", "dialItemClick", "open", "close"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay], kendo-watermark-overlay", inputs: ["licenseMessage"] }] });
|
|
10289
10355
|
}
|
|
10290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatComponent, decorators: [{
|
|
10291
10357
|
type: Component,
|
|
10292
10358
|
args: [{
|
|
10293
10359
|
providers: [
|
|
@@ -10373,6 +10439,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
10373
10439
|
nextSuggestionsButtonTitle="Scroll right"
|
|
10374
10440
|
i18n-unpinMessageTitle="kendo.chat.unpinMessageTitle|The title of the button that unpins a pinned message"
|
|
10375
10441
|
unpinMessageTitle="Unpin message"
|
|
10442
|
+
i18n-resendButtonTitle="kendo.chat.resendButtonTitle|The aria-label for the button that resends a failed message"
|
|
10443
|
+
resendButtonTitle="Resend"
|
|
10444
|
+
i18n-attachedFilesLabel="kendo.chat.attachedFilesLabel|The aria-label for the attached files list"
|
|
10445
|
+
attachedFilesLabel="Attached files"
|
|
10376
10446
|
>
|
|
10377
10447
|
</ng-container>
|
|
10378
10448
|
|
|
@@ -10411,6 +10481,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
10411
10481
|
icon="x"
|
|
10412
10482
|
[svgIcon]="deleteIcon"
|
|
10413
10483
|
[attr.title]="textFor('unpinMessageTitle')"
|
|
10484
|
+
[attr.aria-label]="textFor('unpinMessageTitle')"
|
|
10414
10485
|
(click)="unpin.emit(pinnedMessage)"
|
|
10415
10486
|
fillMode="flat"
|
|
10416
10487
|
size="xsmall"
|
|
@@ -10703,15 +10774,15 @@ class CustomMessagesComponent extends Messages$2 {
|
|
|
10703
10774
|
get override() {
|
|
10704
10775
|
return true;
|
|
10705
10776
|
}
|
|
10706
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10707
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10777
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10778
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-chat-messages", providers: [
|
|
10708
10779
|
{
|
|
10709
10780
|
provide: Messages$2,
|
|
10710
10781
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
10711
10782
|
}
|
|
10712
10783
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
10713
10784
|
}
|
|
10714
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
10715
10786
|
type: Component,
|
|
10716
10787
|
args: [{
|
|
10717
10788
|
providers: [
|
|
@@ -10767,8 +10838,8 @@ class HeroCardComponent {
|
|
|
10767
10838
|
onClick(action) {
|
|
10768
10839
|
this.executeAction.next(action);
|
|
10769
10840
|
}
|
|
10770
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10771
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
10841
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: HeroCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10842
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: HeroCardComponent, isStandalone: true, selector: "kendo-chat-hero-card", inputs: { imageUrl: "imageUrl", title: "title", subtitle: "subtitle", actions: "actions" }, outputs: { executeAction: "executeAction" }, host: { properties: { "class.k-card": "this.cssClass" } }, ngImport: i0, template: `
|
|
10772
10843
|
@if (imageUrl) {
|
|
10773
10844
|
<img class="k-card-image" [src]="imageUrl" />
|
|
10774
10845
|
}
|
|
@@ -10799,7 +10870,7 @@ class HeroCardComponent {
|
|
|
10799
10870
|
</div>
|
|
10800
10871
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
10801
10872
|
}
|
|
10802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: HeroCardComponent, decorators: [{
|
|
10803
10874
|
type: Component,
|
|
10804
10875
|
args: [{
|
|
10805
10876
|
selector: 'kendo-chat-hero-card',
|
|
@@ -10867,10 +10938,10 @@ class Messages extends ComponentMessages {
|
|
|
10867
10938
|
* The title for the Speech to Text button.
|
|
10868
10939
|
*/
|
|
10869
10940
|
speechToTextButtonTitle;
|
|
10870
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10871
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
10941
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
10942
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: Messages, isStandalone: true, inputs: { commandsButtonTitle: "commandsButtonTitle", generateButtonTitle: "generateButtonTitle", speechToTextButtonTitle: "speechToTextButtonTitle" }, usesInheritance: true, ngImport: i0 });
|
|
10872
10943
|
}
|
|
10873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: Messages, decorators: [{
|
|
10874
10945
|
type: Directive
|
|
10875
10946
|
}], propDecorators: { commandsButtonTitle: [{
|
|
10876
10947
|
type: Input
|
|
@@ -10889,15 +10960,15 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
10889
10960
|
super();
|
|
10890
10961
|
this.service = service;
|
|
10891
10962
|
}
|
|
10892
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10893
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
10963
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10964
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoInlineAIPromptLocalizedMessages]", providers: [
|
|
10894
10965
|
{
|
|
10895
10966
|
provide: Messages,
|
|
10896
10967
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
10897
10968
|
}
|
|
10898
10969
|
], usesInheritance: true, ngImport: i0 });
|
|
10899
10970
|
}
|
|
10900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10971
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
10901
10972
|
type: Directive,
|
|
10902
10973
|
args: [{
|
|
10903
10974
|
providers: [
|
|
@@ -11025,6 +11096,9 @@ class InlineAIPromptContentComponent {
|
|
|
11025
11096
|
contextMenu;
|
|
11026
11097
|
calculateMeasurement = calculateMeasurement;
|
|
11027
11098
|
commandMenuIcon = menuIcon;
|
|
11099
|
+
get textareaAriaAttributes() {
|
|
11100
|
+
return this.placeholder ? { 'aria-label': this.placeholder } : null;
|
|
11101
|
+
}
|
|
11028
11102
|
sendIcon = paperPlaneIcon;
|
|
11029
11103
|
stopGenerationIcon = stopIcon;
|
|
11030
11104
|
isListening = false;
|
|
@@ -11183,8 +11257,8 @@ class InlineAIPromptContentComponent {
|
|
|
11183
11257
|
});
|
|
11184
11258
|
}
|
|
11185
11259
|
}
|
|
11186
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11187
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
11260
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptContentComponent, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
11261
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: InlineAIPromptContentComponent, isStandalone: true, selector: "kendo-inlineaiprompt-content", inputs: { popupElement: "popupElement", promptValue: "promptValue", placeholder: "placeholder", promptOutput: "promptOutput", enableSpeechToText: "enableSpeechToText", streaming: "streaming", width: "width", maxHeight: "maxHeight", appendTo: "appendTo", outputActions: "outputActions", promptCommands: "promptCommands", outputTemplate: "outputTemplate" }, outputs: { promptRequest: "promptRequest", commandExecute: "commandExecute", outputActionClick: "outputActionClick", promptRequestCancel: "promptRequestCancel", close: "close", promptValueChange: "promptValueChange" }, host: { listeners: { "keydown": "onEscapeKey($event)" }, properties: { "class.k-prompt": "this.className", "attr.dir": "this.dirAttr", "style.max-height": "this.maxHeightStyle", "style.width": "this.widthStyle" } }, providers: [
|
|
11188
11262
|
LocalizationService,
|
|
11189
11263
|
{
|
|
11190
11264
|
provide: L10N_PREFIX,
|
|
@@ -11248,6 +11322,7 @@ class InlineAIPromptContentComponent {
|
|
|
11248
11322
|
[showPrefixSeparator]="true"
|
|
11249
11323
|
[selectOnFocus]="true"
|
|
11250
11324
|
[maxResizableRows]="maxRows"
|
|
11325
|
+
[inputAttributes]="textareaAriaAttributes"
|
|
11251
11326
|
(keydown)="handleTextAreaKeydown($event)"
|
|
11252
11327
|
>
|
|
11253
11328
|
<kendo-textarea-prefix>
|
|
@@ -11255,6 +11330,7 @@ class InlineAIPromptContentComponent {
|
|
|
11255
11330
|
<button
|
|
11256
11331
|
kendoButton
|
|
11257
11332
|
#commandMenuButton
|
|
11333
|
+
[attr.aria-label]="messageFor('commandsButtonTitle')"
|
|
11258
11334
|
[attr.title]="messageFor('commandsButtonTitle')"
|
|
11259
11335
|
fillMode="flat"
|
|
11260
11336
|
icon="menu"
|
|
@@ -11265,6 +11341,7 @@ class InlineAIPromptContentComponent {
|
|
|
11265
11341
|
@if (enableSpeechToText) {
|
|
11266
11342
|
<button
|
|
11267
11343
|
kendoSpeechToTextButton
|
|
11344
|
+
[attr.aria-label]="messageFor('speechToTextButtonTitle')"
|
|
11268
11345
|
[attr.title]="messageFor('speechToTextButtonTitle')"
|
|
11269
11346
|
fillMode="flat"
|
|
11270
11347
|
(result)="handleSpeechResult($event)"
|
|
@@ -11276,6 +11353,7 @@ class InlineAIPromptContentComponent {
|
|
|
11276
11353
|
<kendo-textarea-suffix>
|
|
11277
11354
|
<button
|
|
11278
11355
|
kendoButton
|
|
11356
|
+
[attr.aria-label]="messageFor('generateButtonTitle')"
|
|
11279
11357
|
[attr.title]="messageFor('generateButtonTitle')"
|
|
11280
11358
|
fillMode="flat"
|
|
11281
11359
|
class="k-prompt-send"
|
|
@@ -11299,7 +11377,7 @@ class InlineAIPromptContentComponent {
|
|
|
11299
11377
|
</kendo-contextmenu>
|
|
11300
11378
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoInlineAIPromptLocalizedMessages]" }, { kind: "component", type: i2.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i2.SpeechToTextButtonComponent, selector: "button[kendoSpeechToTextButton]", inputs: ["disabled", "size", "rounded", "fillMode", "themeColor", "integrationMode", "lang", "continuous", "interimResults", "maxAlternatives"], outputs: ["start", "end", "result", "error", "click"], exportAs: ["kendoSpeechToTextButton"] }, { kind: "component", type: i3.TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "maxResizableRows", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }, { kind: "component", type: i3.TextAreaPrefixComponent, selector: "kendo-textarea-prefix", inputs: ["flow", "orientation"], exportAs: ["kendoTextAreaPrefix"] }, { kind: "component", type: i3.TextAreaSuffixComponent, selector: "kendo-textarea-suffix", inputs: ["flow", "orientation"], exportAs: ["kendoTextAreaSuffix"] }, { kind: "component", type: i4.ContextMenuComponent, selector: "kendo-contextmenu", inputs: ["showOn", "target", "filter", "alignToAnchor", "vertical", "popupAnimate", "popupAlign", "anchorAlign", "collision", "appendTo", "ariaLabel"], outputs: ["popupOpen", "popupClose", "select", "open", "close"], exportAs: ["kendoContextMenu"] }, { kind: "component", type: i5.CardComponent, selector: "kendo-card", inputs: ["orientation", "width"] }, { kind: "component", type: i5.CardActionsComponent, selector: "kendo-card-actions", inputs: ["orientation", "layout", "actions"], outputs: ["action"] }, { kind: "component", type: i5.CardBodyComponent, selector: "kendo-card-body" }] });
|
|
11301
11379
|
}
|
|
11302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptContentComponent, decorators: [{
|
|
11303
11381
|
type: Component,
|
|
11304
11382
|
args: [{
|
|
11305
11383
|
exportAs: 'kendoInlineAIPromptContent',
|
|
@@ -11369,6 +11447,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
11369
11447
|
[showPrefixSeparator]="true"
|
|
11370
11448
|
[selectOnFocus]="true"
|
|
11371
11449
|
[maxResizableRows]="maxRows"
|
|
11450
|
+
[inputAttributes]="textareaAriaAttributes"
|
|
11372
11451
|
(keydown)="handleTextAreaKeydown($event)"
|
|
11373
11452
|
>
|
|
11374
11453
|
<kendo-textarea-prefix>
|
|
@@ -11376,6 +11455,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
11376
11455
|
<button
|
|
11377
11456
|
kendoButton
|
|
11378
11457
|
#commandMenuButton
|
|
11458
|
+
[attr.aria-label]="messageFor('commandsButtonTitle')"
|
|
11379
11459
|
[attr.title]="messageFor('commandsButtonTitle')"
|
|
11380
11460
|
fillMode="flat"
|
|
11381
11461
|
icon="menu"
|
|
@@ -11386,6 +11466,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
11386
11466
|
@if (enableSpeechToText) {
|
|
11387
11467
|
<button
|
|
11388
11468
|
kendoSpeechToTextButton
|
|
11469
|
+
[attr.aria-label]="messageFor('speechToTextButtonTitle')"
|
|
11389
11470
|
[attr.title]="messageFor('speechToTextButtonTitle')"
|
|
11390
11471
|
fillMode="flat"
|
|
11391
11472
|
(result)="handleSpeechResult($event)"
|
|
@@ -11397,6 +11478,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
11397
11478
|
<kendo-textarea-suffix>
|
|
11398
11479
|
<button
|
|
11399
11480
|
kendoButton
|
|
11481
|
+
[attr.aria-label]="messageFor('generateButtonTitle')"
|
|
11400
11482
|
[attr.title]="messageFor('generateButtonTitle')"
|
|
11401
11483
|
fillMode="flat"
|
|
11402
11484
|
class="k-prompt-send"
|
|
@@ -11505,10 +11587,10 @@ class InlineAIPromptOutputTemplateDirective {
|
|
|
11505
11587
|
constructor(templateRef) {
|
|
11506
11588
|
this.templateRef = templateRef;
|
|
11507
11589
|
}
|
|
11508
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11509
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
11590
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptOutputTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11591
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: InlineAIPromptOutputTemplateDirective, isStandalone: true, selector: "[kendoInlineAIPromptOutputTemplate]", ngImport: i0 });
|
|
11510
11592
|
}
|
|
11511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptOutputTemplateDirective, decorators: [{
|
|
11512
11594
|
type: Directive,
|
|
11513
11595
|
args: [{
|
|
11514
11596
|
selector: '[kendoInlineAIPromptOutputTemplate]',
|
|
@@ -11698,8 +11780,8 @@ class InlineAIPromptComponent {
|
|
|
11698
11780
|
onPromptValueChange(value) {
|
|
11699
11781
|
this.promptValueChange.emit(value);
|
|
11700
11782
|
}
|
|
11701
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11702
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
11783
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
11784
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: InlineAIPromptComponent, isStandalone: true, selector: "kendo-inlineaiprompt", inputs: { promptValue: "promptValue", placeholder: "placeholder", promptOutput: "promptOutput", enableSpeechToText: "enableSpeechToText", streaming: "streaming", width: "width", maxHeight: "maxHeight", outputActions: "outputActions", promptCommands: "promptCommands", popupSettings: "popupSettings" }, outputs: { promptRequest: "promptRequest", commandExecute: "commandExecute", outputActionClick: "outputActionClick", promptRequestCancel: "promptRequestCancel", close: "close", promptValueChange: "promptValueChange" }, providers: [
|
|
11703
11785
|
LocalizationService,
|
|
11704
11786
|
{
|
|
11705
11787
|
provide: L10N_PREFIX,
|
|
@@ -11749,7 +11831,7 @@ class InlineAIPromptComponent {
|
|
|
11749
11831
|
</kendo-popup>
|
|
11750
11832
|
`, isInline: true, dependencies: [{ kind: "component", type: i1$2.PopupComponent, selector: "kendo-popup", inputs: ["animate", "anchor", "anchorAlign", "collision", "popupAlign", "copyAnchorStyles", "popupClass", "positionMode", "offset", "margin"], outputs: ["anchorViewportLeave", "close", "open", "positionChange"], exportAs: ["kendo-popup"] }, { kind: "component", type: InlineAIPromptContentComponent, selector: "kendo-inlineaiprompt-content", inputs: ["popupElement", "promptValue", "placeholder", "promptOutput", "enableSpeechToText", "streaming", "width", "maxHeight", "appendTo", "outputActions", "promptCommands", "outputTemplate"], outputs: ["promptRequest", "commandExecute", "outputActionClick", "promptRequestCancel", "close", "promptValueChange"], exportAs: ["kendoInlineAIPromptContent"] }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoInlineAIPromptLocalizedMessages]" }] });
|
|
11751
11833
|
}
|
|
11752
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptComponent, decorators: [{
|
|
11753
11835
|
type: Component,
|
|
11754
11836
|
args: [{
|
|
11755
11837
|
exportAs: 'kendoInlineAIPrompt',
|
|
@@ -11873,15 +11955,15 @@ class InlineAIPromptCustomMessagesComponent extends Messages {
|
|
|
11873
11955
|
get override() {
|
|
11874
11956
|
return true;
|
|
11875
11957
|
}
|
|
11876
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11877
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
11958
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11959
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: InlineAIPromptCustomMessagesComponent, isStandalone: true, selector: "kendo-inlineaiprompt-messages", providers: [
|
|
11878
11960
|
{
|
|
11879
11961
|
provide: Messages,
|
|
11880
11962
|
useExisting: forwardRef(() => InlineAIPromptCustomMessagesComponent)
|
|
11881
11963
|
}
|
|
11882
11964
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
11883
11965
|
}
|
|
11884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptCustomMessagesComponent, decorators: [{
|
|
11885
11967
|
type: Component,
|
|
11886
11968
|
args: [{
|
|
11887
11969
|
providers: [
|
|
@@ -12061,11 +12143,11 @@ const KENDO_CONVERSATIONALUI = [
|
|
|
12061
12143
|
* ```
|
|
12062
12144
|
*/
|
|
12063
12145
|
class AIPromptModule {
|
|
12064
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12065
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12066
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12146
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12147
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: AIPromptModule, imports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent, CustomViewComponent, AIPromptCustomMessagesComponent, AIPromptToolbarActionsDirective, AIPromptToolbarFocusableDirective, AIPromptOutputTemplateDirective, AIPromptOutputBodyTemplateDirective], exports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent, CustomViewComponent, AIPromptCustomMessagesComponent, AIPromptToolbarActionsDirective, AIPromptToolbarFocusableDirective, AIPromptOutputTemplateDirective, AIPromptOutputBodyTemplateDirective] });
|
|
12148
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent] });
|
|
12067
12149
|
}
|
|
12068
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AIPromptModule, decorators: [{
|
|
12069
12151
|
type: NgModule,
|
|
12070
12152
|
args: [{
|
|
12071
12153
|
exports: [...KENDO_AIPROMPT],
|
|
@@ -12097,11 +12179,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
12097
12179
|
* ```
|
|
12098
12180
|
*/
|
|
12099
12181
|
class ChatModule {
|
|
12100
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12101
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12102
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12182
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12183
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: ChatModule, imports: [ChatComponent, CustomMessagesComponent, AttachmentTemplateDirective, AuthorMessageContentTemplateDirective, ReceiverMessageContentTemplateDirective, MessageContentTemplateDirective, AuthorMessageTemplateDirective, ReceiverMessageTemplateDirective, MessageTemplateDirective, HeroCardComponent, ChatMessageBoxTemplateDirective, ChatMessageBoxStartAffixTemplateDirective, ChatMessageBoxEndAffixTemplateDirective, ChatMessageBoxTopAffixTemplateDirective, ChatHeaderTemplateDirective, NoDataTemplateDirective, ChatTimestampTemplateDirective, ChatStatusTemplateDirective, ChatSuggestionTemplateDirective, ChatUserStatusTemplateDirective], exports: [ChatComponent, CustomMessagesComponent, AttachmentTemplateDirective, AuthorMessageContentTemplateDirective, ReceiverMessageContentTemplateDirective, MessageContentTemplateDirective, AuthorMessageTemplateDirective, ReceiverMessageTemplateDirective, MessageTemplateDirective, HeroCardComponent, ChatMessageBoxTemplateDirective, ChatMessageBoxStartAffixTemplateDirective, ChatMessageBoxEndAffixTemplateDirective, ChatMessageBoxTopAffixTemplateDirective, ChatHeaderTemplateDirective, NoDataTemplateDirective, ChatTimestampTemplateDirective, ChatStatusTemplateDirective, ChatSuggestionTemplateDirective, ChatUserStatusTemplateDirective] });
|
|
12184
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatModule, providers: [IconsService, ResizeBatchService], imports: [ChatComponent, HeroCardComponent] });
|
|
12103
12185
|
}
|
|
12104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ChatModule, decorators: [{
|
|
12105
12187
|
type: NgModule,
|
|
12106
12188
|
args: [{
|
|
12107
12189
|
exports: [...KENDO_CHAT],
|
|
@@ -12130,11 +12212,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
12130
12212
|
* ```
|
|
12131
12213
|
*/
|
|
12132
12214
|
class ConversationalUIModule {
|
|
12133
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12134
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12135
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12215
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ConversationalUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12216
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: ConversationalUIModule, imports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent, CustomViewComponent, AIPromptCustomMessagesComponent, AIPromptToolbarActionsDirective, AIPromptToolbarFocusableDirective, AIPromptOutputTemplateDirective, AIPromptOutputBodyTemplateDirective, ChatComponent, CustomMessagesComponent, AttachmentTemplateDirective, AuthorMessageContentTemplateDirective, ReceiverMessageContentTemplateDirective, MessageContentTemplateDirective, AuthorMessageTemplateDirective, ReceiverMessageTemplateDirective, MessageTemplateDirective, HeroCardComponent, ChatMessageBoxTemplateDirective, ChatMessageBoxStartAffixTemplateDirective, ChatMessageBoxEndAffixTemplateDirective, ChatMessageBoxTopAffixTemplateDirective, ChatHeaderTemplateDirective, NoDataTemplateDirective, ChatTimestampTemplateDirective, ChatStatusTemplateDirective, ChatSuggestionTemplateDirective, ChatUserStatusTemplateDirective, InlineAIPromptComponent, InlineAIPromptOutputTemplateDirective, InlineAIPromptCustomMessagesComponent, PromptBoxComponent, PromptBoxCustomMessagesComponent, PromptBoxStartAffixComponent, PromptBoxEndAffixComponent, PromptBoxTopAffixComponent, PromptBoxSpeechToTextButtonComponent, PromptBoxActionButtonComponent, PromptBoxFileSelectButtonComponent, PromptBoxHeaderTemplateDirective], exports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent, CustomViewComponent, AIPromptCustomMessagesComponent, AIPromptToolbarActionsDirective, AIPromptToolbarFocusableDirective, AIPromptOutputTemplateDirective, AIPromptOutputBodyTemplateDirective, ChatComponent, CustomMessagesComponent, AttachmentTemplateDirective, AuthorMessageContentTemplateDirective, ReceiverMessageContentTemplateDirective, MessageContentTemplateDirective, AuthorMessageTemplateDirective, ReceiverMessageTemplateDirective, MessageTemplateDirective, HeroCardComponent, ChatMessageBoxTemplateDirective, ChatMessageBoxStartAffixTemplateDirective, ChatMessageBoxEndAffixTemplateDirective, ChatMessageBoxTopAffixTemplateDirective, ChatHeaderTemplateDirective, NoDataTemplateDirective, ChatTimestampTemplateDirective, ChatStatusTemplateDirective, ChatSuggestionTemplateDirective, ChatUserStatusTemplateDirective, InlineAIPromptComponent, InlineAIPromptOutputTemplateDirective, InlineAIPromptCustomMessagesComponent, PromptBoxComponent, PromptBoxCustomMessagesComponent, PromptBoxStartAffixComponent, PromptBoxEndAffixComponent, PromptBoxTopAffixComponent, PromptBoxSpeechToTextButtonComponent, PromptBoxActionButtonComponent, PromptBoxFileSelectButtonComponent, PromptBoxHeaderTemplateDirective] });
|
|
12217
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ConversationalUIModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent, ChatComponent, HeroCardComponent, InlineAIPromptComponent, PromptBoxComponent, PromptBoxSpeechToTextButtonComponent, PromptBoxActionButtonComponent, PromptBoxFileSelectButtonComponent] });
|
|
12136
12218
|
}
|
|
12137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ConversationalUIModule, decorators: [{
|
|
12138
12220
|
type: NgModule,
|
|
12139
12221
|
args: [{
|
|
12140
12222
|
exports: [...KENDO_CONVERSATIONALUI],
|
|
@@ -12163,11 +12245,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
12163
12245
|
* ```
|
|
12164
12246
|
*/
|
|
12165
12247
|
class InlineAIPromptModule {
|
|
12166
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12167
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12168
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12248
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12249
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptModule, imports: [InlineAIPromptComponent, InlineAIPromptOutputTemplateDirective, InlineAIPromptCustomMessagesComponent], exports: [InlineAIPromptComponent, InlineAIPromptOutputTemplateDirective, InlineAIPromptCustomMessagesComponent] });
|
|
12250
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [InlineAIPromptComponent] });
|
|
12169
12251
|
}
|
|
12170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptModule, decorators: [{
|
|
12171
12253
|
type: NgModule,
|
|
12172
12254
|
args: [{
|
|
12173
12255
|
exports: [...KENDO_INLINEAIPROMPT],
|
|
@@ -12249,10 +12331,10 @@ class InlineAIPromptService {
|
|
|
12249
12331
|
});
|
|
12250
12332
|
return component;
|
|
12251
12333
|
}
|
|
12252
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12253
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
12334
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptService, deps: [{ token: i1$2.PopupService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12335
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptService, providedIn: 'root' });
|
|
12254
12336
|
}
|
|
12255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: InlineAIPromptService, decorators: [{
|
|
12256
12338
|
type: Injectable,
|
|
12257
12339
|
args: [{
|
|
12258
12340
|
providedIn: 'root'
|