@progress/kendo-angular-conversational-ui 20.1.2-develop.1 → 21.0.0-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/codemods/template-transformer/index.js +1 -2
- package/codemods/utils.js +2 -2
- package/codemods/v20/chat-user.js +1 -1
- package/esm2022/ai-prompt/aiprompt.component.mjs +13 -11
- package/esm2022/ai-prompt/aiprompt.module.mjs +4 -4
- package/esm2022/ai-prompt/common/aiprompt.service.mjs +3 -3
- package/esm2022/ai-prompt/common/output-card.component.mjs +4 -4
- package/esm2022/ai-prompt/common/toolbar-focusable.directive.mjs +4 -4
- package/esm2022/ai-prompt/common/toolbar-navigation.service.mjs +4 -4
- package/esm2022/ai-prompt/localization/custom-messages.component.mjs +4 -4
- package/esm2022/ai-prompt/localization/localized-messages.directive.mjs +4 -4
- package/esm2022/ai-prompt/localization/messages.mjs +3 -3
- package/esm2022/ai-prompt/templates/aiprompt-output-body-template.directive.mjs +4 -4
- package/esm2022/ai-prompt/templates/aiprompt-output-template.directive.mjs +4 -4
- package/esm2022/ai-prompt/templates/toolbar-actions.template.mjs +5 -5
- package/esm2022/ai-prompt/views/base-view.mjs +5 -5
- package/esm2022/ai-prompt/views/command-view.component.mjs +4 -4
- package/esm2022/ai-prompt/views/custom-view.component.mjs +4 -4
- package/esm2022/ai-prompt/views/output-view.component.mjs +4 -4
- package/esm2022/ai-prompt/views/prompt-view.component.mjs +4 -4
- package/esm2022/chat/attachment.component.mjs +3 -3
- package/esm2022/chat/cards/hero-card.component.mjs +3 -3
- package/esm2022/chat/chat-file.component.mjs +4 -4
- package/esm2022/chat/chat.component.mjs +4 -4
- package/esm2022/chat/chat.module.mjs +4 -4
- package/esm2022/chat/common/chat.service.mjs +3 -3
- package/esm2022/chat/common/scroll-anchor.directive.mjs +4 -4
- package/esm2022/chat/l10n/custom-messages.component.mjs +4 -4
- package/esm2022/chat/l10n/localized-messages.directive.mjs +4 -4
- package/esm2022/chat/l10n/messages.mjs +3 -3
- package/esm2022/chat/message-attachments.component.mjs +4 -4
- package/esm2022/chat/message-box.component.mjs +7 -5
- package/esm2022/chat/message-list.component.mjs +4 -4
- package/esm2022/chat/message-reference-content.component.mjs +4 -4
- package/esm2022/chat/message.component.mjs +15 -13
- package/esm2022/chat/suggested-actions.component.mjs +3 -3
- package/esm2022/chat/templates/attachment-template.directive.mjs +5 -5
- package/esm2022/chat/templates/header-template.directive.mjs +4 -4
- package/esm2022/chat/templates/message-box.directive.mjs +4 -4
- package/esm2022/chat/templates/message-template.directive.mjs +5 -5
- package/esm2022/chat/templates/status-template.directive.mjs +4 -4
- package/esm2022/chat/templates/suggestion-template.directive.mjs +4 -4
- package/esm2022/chat/templates/timestamp-template.directive.mjs +5 -5
- package/esm2022/conversational-ui.module.mjs +4 -4
- package/esm2022/inline-ai-prompt/inlineaiprompt-content.component.mjs +5 -5
- package/esm2022/inline-ai-prompt/inlineaiprompt.component.mjs +4 -4
- package/esm2022/inline-ai-prompt/inlineaiprompt.module.mjs +4 -4
- package/esm2022/inline-ai-prompt/inlineaiprompt.service.mjs +4 -4
- package/esm2022/inline-ai-prompt/localization/custom-messages.component.mjs +4 -4
- package/esm2022/inline-ai-prompt/localization/localized-messages.directive.mjs +4 -4
- package/esm2022/inline-ai-prompt/localization/messages.mjs +3 -3
- package/esm2022/inline-ai-prompt/output-template.directive.mjs +5 -5
- package/esm2022/package-metadata.mjs +2 -2
- package/fesm2022/progress-kendo-angular-conversational-ui.mjs +220 -214
- package/package.json +18 -18
- package/schematics/ngAdd/index.js +1 -1
|
@@ -186,15 +186,15 @@ class BaseView {
|
|
|
186
186
|
_buttonText;
|
|
187
187
|
_icon;
|
|
188
188
|
_svgIcon;
|
|
189
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
190
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
189
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BaseView, deps: [{ token: MY_TOKEN }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
190
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: BaseView, 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 });
|
|
191
191
|
}
|
|
192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BaseView, decorators: [{
|
|
193
193
|
type: Directive
|
|
194
|
-
}], ctorParameters:
|
|
194
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
195
195
|
type: Inject,
|
|
196
196
|
args: [MY_TOKEN]
|
|
197
|
-
}] }, { type: i1.LocalizationService }]
|
|
197
|
+
}] }, { type: i1.LocalizationService }], propDecorators: { hostClasses: [{
|
|
198
198
|
type: HostBinding,
|
|
199
199
|
args: ['class.k-prompt-view']
|
|
200
200
|
}], template: [{
|
|
@@ -216,8 +216,8 @@ const packageMetadata = {
|
|
|
216
216
|
productName: 'Kendo UI for Angular',
|
|
217
217
|
productCode: 'KENDOUIANGULAR',
|
|
218
218
|
productCodes: ['KENDOUIANGULAR'],
|
|
219
|
-
publishDate:
|
|
220
|
-
version: '
|
|
219
|
+
publishDate: 1761752891,
|
|
220
|
+
version: '21.0.0-develop.2',
|
|
221
221
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
222
222
|
};
|
|
223
223
|
|
|
@@ -283,10 +283,10 @@ class AIPromptService {
|
|
|
283
283
|
});
|
|
284
284
|
return newArr.concat(this.promptCommands);
|
|
285
285
|
}
|
|
286
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
287
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
286
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
287
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptService });
|
|
288
288
|
}
|
|
289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptService, decorators: [{
|
|
290
290
|
type: Injectable
|
|
291
291
|
}] });
|
|
292
292
|
|
|
@@ -311,18 +311,18 @@ class AIPromptToolbarActionsDirective {
|
|
|
311
311
|
constructor(templateRef) {
|
|
312
312
|
this.templateRef = templateRef;
|
|
313
313
|
}
|
|
314
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
315
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
314
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptToolbarActionsDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
315
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: AIPromptToolbarActionsDirective, isStandalone: true, selector: "[kendoAIPromptToolbarActionsTemplate]", ngImport: i0 });
|
|
316
316
|
}
|
|
317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptToolbarActionsDirective, decorators: [{
|
|
318
318
|
type: Directive,
|
|
319
319
|
args: [{
|
|
320
320
|
selector: '[kendoAIPromptToolbarActionsTemplate]',
|
|
321
321
|
standalone: true
|
|
322
322
|
}]
|
|
323
|
-
}], ctorParameters:
|
|
323
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
324
324
|
type: Optional
|
|
325
|
-
}] }]
|
|
325
|
+
}] }] });
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
328
|
* @hidden
|
|
@@ -366,12 +366,12 @@ class ToolbarNavigationService {
|
|
|
366
366
|
focusFirst() {
|
|
367
367
|
this.focusableElements[this.currentFocusedIndex].activate();
|
|
368
368
|
}
|
|
369
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
370
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
369
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarNavigationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
370
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarNavigationService });
|
|
371
371
|
}
|
|
372
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolbarNavigationService, decorators: [{
|
|
373
373
|
type: Injectable
|
|
374
|
-
}], ctorParameters:
|
|
374
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
375
375
|
|
|
376
376
|
/**
|
|
377
377
|
* @hidden
|
|
@@ -426,16 +426,16 @@ class AIPromptToolbarFocusableDirective {
|
|
|
426
426
|
clickHandler = () => {
|
|
427
427
|
this.navigationService.setActiveIndex(this);
|
|
428
428
|
};
|
|
429
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
430
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
429
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: ToolbarNavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
430
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: AIPromptToolbarFocusableDirective, isStandalone: true, selector: "[kendoAIPromptToolbarFocusable]", ngImport: i0 });
|
|
431
431
|
}
|
|
432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptToolbarFocusableDirective, decorators: [{
|
|
433
433
|
type: Directive,
|
|
434
434
|
args: [{
|
|
435
435
|
selector: '[kendoAIPromptToolbarFocusable]',
|
|
436
436
|
standalone: true
|
|
437
437
|
}]
|
|
438
|
-
}], ctorParameters:
|
|
438
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: ToolbarNavigationService }, { type: i0.Renderer2 }] });
|
|
439
439
|
|
|
440
440
|
/**
|
|
441
441
|
* @hidden
|
|
@@ -481,10 +481,10 @@ let Messages$2 = class Messages extends ComponentMessages {
|
|
|
481
481
|
* Sets the aria-label for the **Speech to Text** button.
|
|
482
482
|
*/
|
|
483
483
|
speechToTextButton;
|
|
484
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
485
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
484
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
485
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: Messages, inputs: { promptView: "promptView", outputView: "outputView", generateOutput: "generateOutput", promptPlaceholder: "promptPlaceholder", copyOutput: "copyOutput", retryGeneration: "retryGeneration", outputTitle: "outputTitle", outputRetryTitle: "outputRetryTitle", promptSuggestions: "promptSuggestions", speechToTextButton: "speechToTextButton" }, usesInheritance: true, ngImport: i0 });
|
|
486
486
|
};
|
|
487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages$2, decorators: [{
|
|
488
488
|
type: Directive
|
|
489
489
|
}], propDecorators: { promptView: [{
|
|
490
490
|
type: Input
|
|
@@ -517,15 +517,15 @@ let LocalizedMessagesDirective$2 = class LocalizedMessagesDirective extends Mess
|
|
|
517
517
|
super();
|
|
518
518
|
this.service = service;
|
|
519
519
|
}
|
|
520
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
521
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
520
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
521
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoAIPromptLocalizedMessages]", providers: [
|
|
522
522
|
{
|
|
523
523
|
provide: Messages$2,
|
|
524
524
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
525
525
|
}
|
|
526
526
|
], usesInheritance: true, ngImport: i0 });
|
|
527
527
|
};
|
|
528
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective$2, decorators: [{
|
|
529
529
|
type: Directive,
|
|
530
530
|
args: [{
|
|
531
531
|
providers: [
|
|
@@ -537,7 +537,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
537
537
|
selector: '[kendoAIPromptLocalizedMessages]',
|
|
538
538
|
standalone: true
|
|
539
539
|
}]
|
|
540
|
-
}], ctorParameters:
|
|
540
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
541
541
|
|
|
542
542
|
/**
|
|
543
543
|
* Represents the template for the response in the AIPrompt component. The template context is set to the current output object.
|
|
@@ -556,16 +556,16 @@ class AIPromptOutputTemplateDirective {
|
|
|
556
556
|
constructor(templateRef) {
|
|
557
557
|
this.templateRef = templateRef;
|
|
558
558
|
}
|
|
559
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
560
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
559
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptOutputTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
560
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: AIPromptOutputTemplateDirective, isStandalone: true, selector: "[kendoAIPromptOutputTemplate]", ngImport: i0 });
|
|
561
561
|
}
|
|
562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptOutputTemplateDirective, decorators: [{
|
|
563
563
|
type: Directive,
|
|
564
564
|
args: [{
|
|
565
565
|
selector: '[kendoAIPromptOutputTemplate]',
|
|
566
566
|
standalone: true
|
|
567
567
|
}]
|
|
568
|
-
}], ctorParameters:
|
|
568
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
569
569
|
|
|
570
570
|
/**
|
|
571
571
|
* Represents the template for the body of the response in the AIPrompt component. The template context is set to the current output object.
|
|
@@ -584,16 +584,16 @@ class AIPromptOutputBodyTemplateDirective {
|
|
|
584
584
|
constructor(templateRef) {
|
|
585
585
|
this.templateRef = templateRef;
|
|
586
586
|
}
|
|
587
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
588
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
587
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptOutputBodyTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
588
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: AIPromptOutputBodyTemplateDirective, isStandalone: true, selector: "[kendoAIPromptOutputBodyTemplate]", ngImport: i0 });
|
|
589
589
|
}
|
|
590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptOutputBodyTemplateDirective, decorators: [{
|
|
591
591
|
type: Directive,
|
|
592
592
|
args: [{
|
|
593
593
|
selector: '[kendoAIPromptOutputBodyTemplate]',
|
|
594
594
|
standalone: true
|
|
595
595
|
}]
|
|
596
|
-
}], ctorParameters:
|
|
596
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
597
597
|
|
|
598
598
|
/**
|
|
599
599
|
* Represents the [Kendo UI AIPrompt component for Angular](slug:overview_aiprompt).
|
|
@@ -662,7 +662,9 @@ class AIPromptComponent {
|
|
|
662
662
|
set activeView(idx) {
|
|
663
663
|
if (this._activeView !== idx) {
|
|
664
664
|
this._activeView = idx;
|
|
665
|
-
|
|
665
|
+
if (this.service.promptValue) {
|
|
666
|
+
this.service.promptValue = '';
|
|
667
|
+
}
|
|
666
668
|
}
|
|
667
669
|
}
|
|
668
670
|
get activeView() {
|
|
@@ -869,8 +871,8 @@ class AIPromptComponent {
|
|
|
869
871
|
};
|
|
870
872
|
this.promptRequest.emit(eventArgs);
|
|
871
873
|
}
|
|
872
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
873
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
874
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", 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 });
|
|
875
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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: [
|
|
874
876
|
LocalizationService,
|
|
875
877
|
AIPromptService,
|
|
876
878
|
ToolbarNavigationService,
|
|
@@ -924,10 +926,10 @@ class AIPromptComponent {
|
|
|
924
926
|
</div>
|
|
925
927
|
</div>
|
|
926
928
|
<div class="k-prompt-content">
|
|
927
|
-
<kendo-floatingactionbutton #fabButton *ngIf="streaming && selectedView?.viewType === 'output'"
|
|
929
|
+
<kendo-floatingactionbutton #fabButton *ngIf="streaming && selectedView?.viewType === 'output'"
|
|
928
930
|
class="k-prompt-stop-fab"
|
|
929
|
-
buttonClass="k-generating k-active"
|
|
930
|
-
[positionMode]="fabPositionMode"
|
|
931
|
+
buttonClass="k-generating k-active"
|
|
932
|
+
[positionMode]="fabPositionMode"
|
|
931
933
|
[align]="fabAlignment"
|
|
932
934
|
[svgIcon]="fabStopGenerationSVGIcon"
|
|
933
935
|
icon="stop"
|
|
@@ -957,7 +959,7 @@ class AIPromptComponent {
|
|
|
957
959
|
</div>
|
|
958
960
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective$2, selector: "[kendoAIPromptLocalizedMessages]" }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: AIPromptToolbarFocusableDirective, selector: "[kendoAIPromptToolbarFocusable]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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"] }] });
|
|
959
961
|
}
|
|
960
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptComponent, decorators: [{
|
|
961
963
|
type: Component,
|
|
962
964
|
args: [{
|
|
963
965
|
exportAs: 'kendoAIPrompt',
|
|
@@ -1017,10 +1019,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1017
1019
|
</div>
|
|
1018
1020
|
</div>
|
|
1019
1021
|
<div class="k-prompt-content">
|
|
1020
|
-
<kendo-floatingactionbutton #fabButton *ngIf="streaming && selectedView?.viewType === 'output'"
|
|
1022
|
+
<kendo-floatingactionbutton #fabButton *ngIf="streaming && selectedView?.viewType === 'output'"
|
|
1021
1023
|
class="k-prompt-stop-fab"
|
|
1022
|
-
buttonClass="k-generating k-active"
|
|
1023
|
-
[positionMode]="fabPositionMode"
|
|
1024
|
+
buttonClass="k-generating k-active"
|
|
1025
|
+
[positionMode]="fabPositionMode"
|
|
1024
1026
|
[align]="fabAlignment"
|
|
1025
1027
|
[svgIcon]="fabStopGenerationSVGIcon"
|
|
1026
1028
|
icon="stop"
|
|
@@ -1052,7 +1054,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1052
1054
|
standalone: true,
|
|
1053
1055
|
imports: [LocalizedMessagesDirective$2, NgFor, ButtonComponent, AIPromptToolbarFocusableDirective, NgIf, NgTemplateOutlet, FloatingActionButtonComponent]
|
|
1054
1056
|
}]
|
|
1055
|
-
}], ctorParameters:
|
|
1057
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: AIPromptService }, { type: ToolbarNavigationService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { hostClasses: [{
|
|
1056
1058
|
type: HostBinding,
|
|
1057
1059
|
args: ['class.k-prompt']
|
|
1058
1060
|
}], dirAttr: [{
|
|
@@ -1160,8 +1162,8 @@ class CommandViewComponent extends BaseView {
|
|
|
1160
1162
|
children: c.children ? this.getPanelBarItems(c.children) : null
|
|
1161
1163
|
}));
|
|
1162
1164
|
}
|
|
1163
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1164
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1165
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CommandViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1166
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CommandViewComponent, isStandalone: true, selector: "kendo-aiprompt-command-view", providers: [{
|
|
1165
1167
|
provide: BaseView,
|
|
1166
1168
|
useExisting: forwardRef(() => CommandViewComponent)
|
|
1167
1169
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -1175,7 +1177,7 @@ class CommandViewComponent extends BaseView {
|
|
|
1175
1177
|
</ng-template>
|
|
1176
1178
|
`, 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"] }] });
|
|
1177
1179
|
}
|
|
1178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CommandViewComponent, decorators: [{
|
|
1179
1181
|
type: Component,
|
|
1180
1182
|
args: [{
|
|
1181
1183
|
selector: 'kendo-aiprompt-command-view',
|
|
@@ -1196,7 +1198,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1196
1198
|
standalone: true,
|
|
1197
1199
|
imports: [PanelBarComponent]
|
|
1198
1200
|
}]
|
|
1199
|
-
}], ctorParameters:
|
|
1201
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: AIPromptService }] });
|
|
1200
1202
|
|
|
1201
1203
|
/**
|
|
1202
1204
|
* Represents the custom messages component of the AIPrompt.
|
|
@@ -1221,15 +1223,15 @@ class AIPromptCustomMessagesComponent extends Messages$2 {
|
|
|
1221
1223
|
get override() {
|
|
1222
1224
|
return true;
|
|
1223
1225
|
}
|
|
1224
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1225
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1226
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1227
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AIPromptCustomMessagesComponent, isStandalone: true, selector: "kendo-aiprompt-messages", providers: [
|
|
1226
1228
|
{
|
|
1227
1229
|
provide: Messages$2,
|
|
1228
1230
|
useExisting: forwardRef(() => AIPromptCustomMessagesComponent)
|
|
1229
1231
|
}
|
|
1230
1232
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
1231
1233
|
}
|
|
1232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptCustomMessagesComponent, decorators: [{
|
|
1233
1235
|
type: Component,
|
|
1234
1236
|
args: [{
|
|
1235
1237
|
providers: [
|
|
@@ -1242,7 +1244,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1242
1244
|
template: ``,
|
|
1243
1245
|
standalone: true
|
|
1244
1246
|
}]
|
|
1245
|
-
}], ctorParameters:
|
|
1247
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
1246
1248
|
|
|
1247
1249
|
/**
|
|
1248
1250
|
* Represents the component that renders a **Custom** view in the AIPrompt.
|
|
@@ -1265,13 +1267,13 @@ class CustomViewComponent extends BaseView {
|
|
|
1265
1267
|
* Sets the content of the Custom view as a template reference.
|
|
1266
1268
|
*/
|
|
1267
1269
|
viewTemplate;
|
|
1268
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1269
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1270
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CustomViewComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1271
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CustomViewComponent, isStandalone: true, selector: "kendo-aiprompt-custom-view", inputs: { viewTemplate: "viewTemplate" }, providers: [{
|
|
1270
1272
|
provide: BaseView,
|
|
1271
1273
|
useExisting: forwardRef(() => CustomViewComponent)
|
|
1272
1274
|
}], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
1273
1275
|
}
|
|
1274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CustomViewComponent, decorators: [{
|
|
1275
1277
|
type: Component,
|
|
1276
1278
|
args: [{
|
|
1277
1279
|
selector: 'kendo-aiprompt-custom-view',
|
|
@@ -1282,7 +1284,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1282
1284
|
template: ``,
|
|
1283
1285
|
standalone: true
|
|
1284
1286
|
}]
|
|
1285
|
-
}], ctorParameters:
|
|
1287
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }], propDecorators: { viewTemplate: [{
|
|
1286
1288
|
type: Input
|
|
1287
1289
|
}] } });
|
|
1288
1290
|
|
|
@@ -1377,8 +1379,8 @@ class AIPromptOutputCardComponent {
|
|
|
1377
1379
|
get customBodyTemplate() {
|
|
1378
1380
|
return this.service.outputBodyTemplate?.templateRef;
|
|
1379
1381
|
}
|
|
1380
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1381
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1382
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptOutputCardComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1383
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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: `
|
|
1382
1384
|
<div class="k-card-header">
|
|
1383
1385
|
<div
|
|
1384
1386
|
class="k-card-title"
|
|
@@ -1429,7 +1431,7 @@ class AIPromptOutputCardComponent {
|
|
|
1429
1431
|
</div>
|
|
1430
1432
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
1431
1433
|
}
|
|
1432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptOutputCardComponent, decorators: [{
|
|
1433
1435
|
type: Component,
|
|
1434
1436
|
args: [{
|
|
1435
1437
|
selector: '[kendoAIPromptOutputCard]',
|
|
@@ -1486,7 +1488,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1486
1488
|
standalone: true,
|
|
1487
1489
|
imports: [ButtonComponent, NgIf, NgTemplateOutlet]
|
|
1488
1490
|
}]
|
|
1489
|
-
}], ctorParameters:
|
|
1491
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: AIPromptService }], propDecorators: { hostClass: [{
|
|
1490
1492
|
type: HostBinding,
|
|
1491
1493
|
args: ['class.k-card']
|
|
1492
1494
|
}], listItemRole: [{
|
|
@@ -1533,8 +1535,8 @@ class OutputViewComponent extends BaseView {
|
|
|
1533
1535
|
get customTemplate() {
|
|
1534
1536
|
return this.service.outputTemplate?.templateRef;
|
|
1535
1537
|
}
|
|
1536
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1537
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1538
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OutputViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1539
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: OutputViewComponent, isStandalone: true, selector: "kendo-aiprompt-output-view", providers: [{
|
|
1538
1540
|
provide: BaseView,
|
|
1539
1541
|
useExisting: forwardRef(() => OutputViewComponent)
|
|
1540
1542
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -1555,7 +1557,7 @@ class OutputViewComponent extends BaseView {
|
|
|
1555
1557
|
</ng-template>
|
|
1556
1558
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: ["promptOutput"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
1557
1559
|
}
|
|
1558
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1560
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OutputViewComponent, decorators: [{
|
|
1559
1561
|
type: Component,
|
|
1560
1562
|
args: [{
|
|
1561
1563
|
selector: 'kendo-aiprompt-output-view',
|
|
@@ -1583,7 +1585,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1583
1585
|
standalone: true,
|
|
1584
1586
|
imports: [NgFor, AIPromptOutputCardComponent, NgIf, NgTemplateOutlet]
|
|
1585
1587
|
}]
|
|
1586
|
-
}], ctorParameters:
|
|
1588
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: AIPromptService }] });
|
|
1587
1589
|
|
|
1588
1590
|
/**
|
|
1589
1591
|
* Represents the component that renders the **Prompt** view of the AIPrompt.
|
|
@@ -1675,8 +1677,8 @@ class PromptViewComponent extends BaseView {
|
|
|
1675
1677
|
console.error('Speech to Text error:', event.errorMessage);
|
|
1676
1678
|
}
|
|
1677
1679
|
}
|
|
1678
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1679
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1680
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PromptViewComponent, deps: [{ token: i1.LocalizationService }, { token: AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1681
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PromptViewComponent, isStandalone: true, selector: "kendo-aiprompt-prompt-view", providers: [
|
|
1680
1682
|
{
|
|
1681
1683
|
provide: BaseView,
|
|
1682
1684
|
useExisting: forwardRef(() => PromptViewComponent)
|
|
@@ -1755,7 +1757,7 @@ class PromptViewComponent extends BaseView {
|
|
|
1755
1757
|
</ng-template>
|
|
1756
1758
|
`, 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: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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"] }] });
|
|
1757
1759
|
}
|
|
1758
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PromptViewComponent, decorators: [{
|
|
1759
1761
|
type: Component,
|
|
1760
1762
|
args: [{
|
|
1761
1763
|
selector: 'kendo-aiprompt-prompt-view',
|
|
@@ -1841,7 +1843,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1841
1843
|
standalone: true,
|
|
1842
1844
|
imports: [TextAreaComponent, NgIf, ButtonComponent, NgFor, TextAreaSuffixComponent, SpeechToTextButtonComponent]
|
|
1843
1845
|
}]
|
|
1844
|
-
}], ctorParameters:
|
|
1846
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: AIPromptService }] });
|
|
1845
1847
|
|
|
1846
1848
|
/**
|
|
1847
1849
|
* Defines a template for displaying message attachments.
|
|
@@ -1868,18 +1870,18 @@ class AttachmentTemplateDirective {
|
|
|
1868
1870
|
constructor(templateRef) {
|
|
1869
1871
|
this.templateRef = templateRef;
|
|
1870
1872
|
}
|
|
1871
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1872
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1873
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AttachmentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1874
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: AttachmentTemplateDirective, isStandalone: true, selector: "[kendoChatAttachmentTemplate]", ngImport: i0 });
|
|
1873
1875
|
}
|
|
1874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AttachmentTemplateDirective, decorators: [{
|
|
1875
1877
|
type: Directive,
|
|
1876
1878
|
args: [{
|
|
1877
1879
|
selector: '[kendoChatAttachmentTemplate]',
|
|
1878
1880
|
standalone: true
|
|
1879
1881
|
}]
|
|
1880
|
-
}], ctorParameters:
|
|
1882
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
1881
1883
|
type: Optional
|
|
1882
|
-
}] }]
|
|
1884
|
+
}] }] });
|
|
1883
1885
|
|
|
1884
1886
|
const noop = () => { };
|
|
1885
1887
|
const handlers = {
|
|
@@ -1923,18 +1925,18 @@ class MessageTemplateDirective {
|
|
|
1923
1925
|
constructor(templateRef) {
|
|
1924
1926
|
this.templateRef = templateRef;
|
|
1925
1927
|
}
|
|
1926
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1927
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1928
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1929
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: MessageTemplateDirective, isStandalone: true, selector: "[kendoChatMessageTemplate]", ngImport: i0 });
|
|
1928
1930
|
}
|
|
1929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1931
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageTemplateDirective, decorators: [{
|
|
1930
1932
|
type: Directive,
|
|
1931
1933
|
args: [{
|
|
1932
1934
|
selector: '[kendoChatMessageTemplate]',
|
|
1933
1935
|
standalone: true
|
|
1934
1936
|
}]
|
|
1935
|
-
}], ctorParameters:
|
|
1937
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
1936
1938
|
type: Optional
|
|
1937
|
-
}] }]
|
|
1939
|
+
}] }] });
|
|
1938
1940
|
|
|
1939
1941
|
/**
|
|
1940
1942
|
* Creates a message box area that overrides the default message box of the Chat component.
|
|
@@ -1956,16 +1958,16 @@ class ChatMessageBoxTemplateDirective {
|
|
|
1956
1958
|
constructor(templateRef) {
|
|
1957
1959
|
this.templateRef = templateRef;
|
|
1958
1960
|
}
|
|
1959
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1960
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1961
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatMessageBoxTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1962
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ChatMessageBoxTemplateDirective, isStandalone: true, selector: "[kendoChatMessageBoxTemplate]", ngImport: i0 });
|
|
1961
1963
|
}
|
|
1962
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1964
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatMessageBoxTemplateDirective, decorators: [{
|
|
1963
1965
|
type: Directive,
|
|
1964
1966
|
args: [{
|
|
1965
1967
|
selector: '[kendoChatMessageBoxTemplate]',
|
|
1966
1968
|
standalone: true
|
|
1967
1969
|
}]
|
|
1968
|
-
}], ctorParameters:
|
|
1970
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
1969
1971
|
|
|
1970
1972
|
/**
|
|
1971
1973
|
* @hidden
|
|
@@ -2206,10 +2208,10 @@ class ChatService {
|
|
|
2206
2208
|
this[property] = { ...defaultSettings, ...settings };
|
|
2207
2209
|
}
|
|
2208
2210
|
}
|
|
2209
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2210
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2211
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2212
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatService });
|
|
2211
2213
|
}
|
|
2212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatService, decorators: [{
|
|
2213
2215
|
type: Injectable
|
|
2214
2216
|
}] });
|
|
2215
2217
|
|
|
@@ -2240,16 +2242,16 @@ class ChatSuggestionTemplateDirective {
|
|
|
2240
2242
|
constructor(templateRef) {
|
|
2241
2243
|
this.templateRef = templateRef;
|
|
2242
2244
|
}
|
|
2243
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2244
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2245
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatSuggestionTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2246
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ChatSuggestionTemplateDirective, isStandalone: true, selector: "[kendoChatSuggestionTemplate]", ngImport: i0 });
|
|
2245
2247
|
}
|
|
2246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatSuggestionTemplateDirective, decorators: [{
|
|
2247
2249
|
type: Directive,
|
|
2248
2250
|
args: [{
|
|
2249
2251
|
selector: '[kendoChatSuggestionTemplate]',
|
|
2250
2252
|
standalone: true
|
|
2251
2253
|
}]
|
|
2252
|
-
}], ctorParameters:
|
|
2254
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
2253
2255
|
|
|
2254
2256
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2255
2257
|
/* eslint-disable @typescript-eslint/no-empty-function */
|
|
@@ -2318,8 +2320,8 @@ class SuggestedActionsComponent extends ChatItem {
|
|
|
2318
2320
|
const prevIndex = this.selectedIndex;
|
|
2319
2321
|
this.selectedIndex = Math.max(0, Math.min(prevIndex + offset, this.items.length - 1));
|
|
2320
2322
|
}
|
|
2321
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2322
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2323
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SuggestedActionsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2324
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: SuggestedActionsComponent, isStandalone: true, selector: "kendo-chat-suggested-actions", inputs: { actions: "actions", suggestions: "suggestions", tabbable: "tabbable", suggestionTemplate: "suggestionTemplate" }, outputs: { dispatchAction: "dispatchAction", dispatchSuggestion: "dispatchSuggestion" }, host: { properties: { "class.k-suggestion-group": "this.defaultClass", "attr.role": "this.role" } }, providers: [{
|
|
2323
2325
|
provide: ChatItem,
|
|
2324
2326
|
useExisting: forwardRef(() => SuggestedActionsComponent)
|
|
2325
2327
|
}], viewQueries: [{ propertyName: "items", predicate: ["item"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -2374,7 +2376,7 @@ class SuggestedActionsComponent extends ChatItem {
|
|
|
2374
2376
|
</ng-container>
|
|
2375
2377
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
2376
2378
|
}
|
|
2377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SuggestedActionsComponent, decorators: [{
|
|
2378
2380
|
type: Component,
|
|
2379
2381
|
args: [{
|
|
2380
2382
|
selector: 'kendo-chat-suggested-actions',
|
|
@@ -2491,8 +2493,8 @@ class ChatFileComponent extends ChatItem {
|
|
|
2491
2493
|
return this.localization.get(key);
|
|
2492
2494
|
}
|
|
2493
2495
|
focus() { }
|
|
2494
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2495
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2496
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatFileComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2497
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ChatFileComponent, isStandalone: true, selector: "li[chatFile]", inputs: { chatFile: "chatFile", removable: "removable", fileActions: "fileActions" }, outputs: { remove: "remove", actionClick: "actionClick", actionsToggle: "actionsToggle", actionButtonClick: "actionButtonClick" }, providers: [{
|
|
2496
2498
|
provide: ChatItem,
|
|
2497
2499
|
useExisting: forwardRef(() => ChatFileComponent)
|
|
2498
2500
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -2528,7 +2530,7 @@ class ChatFileComponent extends ChatItem {
|
|
|
2528
2530
|
></kendo-dropdownbutton>
|
|
2529
2531
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], 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"] }] });
|
|
2530
2532
|
}
|
|
2531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatFileComponent, decorators: [{
|
|
2532
2534
|
type: Component,
|
|
2533
2535
|
args: [{
|
|
2534
2536
|
selector: 'li[chatFile]',
|
|
@@ -2571,7 +2573,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2571
2573
|
standalone: true,
|
|
2572
2574
|
imports: [NgIf, IconWrapperComponent, ButtonComponent, DropDownButtonComponent]
|
|
2573
2575
|
}]
|
|
2574
|
-
}], ctorParameters:
|
|
2576
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }], propDecorators: { chatFile: [{
|
|
2575
2577
|
type: Input
|
|
2576
2578
|
}], removable: [{
|
|
2577
2579
|
type: Input
|
|
@@ -2684,8 +2686,8 @@ class MessageReferenceComponent extends ChatItem {
|
|
|
2684
2686
|
return this.localization.get(key);
|
|
2685
2687
|
}
|
|
2686
2688
|
focus() { }
|
|
2687
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2688
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2689
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageReferenceComponent, deps: [{ token: i1.LocalizationService }, { token: ChatService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2690
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: MessageReferenceComponent, isStandalone: true, selector: "chat-message-reference-content", inputs: { message: "message" }, host: { properties: { "class.k-message-reference-content": "this.hostClass" } }, providers: [{
|
|
2689
2691
|
provide: ChatItem,
|
|
2690
2692
|
useExisting: forwardRef(() => MessageReferenceComponent)
|
|
2691
2693
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -2698,7 +2700,7 @@ class MessageReferenceComponent extends ChatItem {
|
|
|
2698
2700
|
<ng-container *ngIf="message.isDeleted && !isOwnMessage(message)">{{ textFor('deletedMessageReceiverText') }}</ng-container>
|
|
2699
2701
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ChatFileComponent, selector: "li[chatFile]", inputs: ["chatFile", "removable", "fileActions"], outputs: ["remove", "actionClick", "actionsToggle", "actionButtonClick"] }] });
|
|
2700
2702
|
}
|
|
2701
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageReferenceComponent, decorators: [{
|
|
2702
2704
|
type: Component,
|
|
2703
2705
|
args: [{
|
|
2704
2706
|
selector: 'chat-message-reference-content',
|
|
@@ -2718,7 +2720,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2718
2720
|
standalone: true,
|
|
2719
2721
|
imports: [NgIf, ChatFileComponent]
|
|
2720
2722
|
}]
|
|
2721
|
-
}], ctorParameters:
|
|
2723
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: ChatService }], propDecorators: { hostClass: [{
|
|
2722
2724
|
type: HostBinding,
|
|
2723
2725
|
args: ['class.k-message-reference-content']
|
|
2724
2726
|
}], message: [{
|
|
@@ -2771,7 +2773,9 @@ class MessageBoxComponent {
|
|
|
2771
2773
|
const elRef = this.element.nativeElement;
|
|
2772
2774
|
this.subs.add(this.renderer.listen(elRef, 'focusout', event => this.onBlur(event)));
|
|
2773
2775
|
this.subs.add(this.chatService.contextMenuAction$.subscribe((action) => {
|
|
2774
|
-
action.action.id === 'reply'
|
|
2776
|
+
if (action.action.id === 'reply') {
|
|
2777
|
+
this.messageBoxInput.focus();
|
|
2778
|
+
}
|
|
2775
2779
|
}));
|
|
2776
2780
|
}
|
|
2777
2781
|
ngOnDestroy() {
|
|
@@ -2917,8 +2921,8 @@ class MessageBoxComponent {
|
|
|
2917
2921
|
dispatchSuggestion(suggestion) {
|
|
2918
2922
|
this.executeSuggestion.emit(suggestion);
|
|
2919
2923
|
}
|
|
2920
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2921
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2924
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageBoxComponent, deps: [{ token: ChatService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2925
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: MessageBoxComponent, isStandalone: true, selector: "kendo-message-box", inputs: { authorId: "authorId", autoScroll: "autoScroll", suggestions: "suggestions", placeholder: "placeholder", inputValue: "inputValue", localization: "localization", messageBoxTemplate: "messageBoxTemplate", suggestionTemplate: "suggestionTemplate" }, 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: "fileSelectComponent", first: true, predicate: ["fileSelect"], descendants: true }, { propertyName: "suggestedActionsComponent", first: true, predicate: SuggestedActionsComponent, descendants: true }], ngImport: i0, template: `
|
|
2922
2926
|
<kendo-chat-suggested-actions
|
|
2923
2927
|
*ngIf="suggestions?.length > 0"
|
|
2924
2928
|
#suggestedActions
|
|
@@ -3025,7 +3029,7 @@ class MessageBoxComponent {
|
|
|
3025
3029
|
></kendo-fileselect>
|
|
3026
3030
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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: MessageReferenceComponent, selector: "chat-message-reference-content", inputs: ["message"] }, { kind: "component", type: TextAreaSuffixComponent, selector: "kendo-textarea-suffix", inputs: ["flow", "orientation"], exportAs: ["kendoTextAreaSuffix"] }, { kind: "component", type: TextAreaPrefixComponent, selector: "kendo-textarea-prefix", inputs: ["flow", "orientation"], exportAs: ["kendoTextAreaPrefix"] }, { 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"] }, { kind: "component", type: InputSpacerComponent, selector: "kendo-input-spacer, kendo-textbox-spacer", inputs: ["width"] }, { kind: "component", type: FileSelectComponent, selector: "kendo-fileselect", inputs: ["name"], outputs: ["valueChange"], exportAs: ["kendoFileSelect"] }, { kind: "component", type: SuggestedActionsComponent, selector: "kendo-chat-suggested-actions", inputs: ["actions", "suggestions", "tabbable", "suggestionTemplate"], outputs: ["dispatchAction", "dispatchSuggestion"] }, { kind: "component", type: ChatFileComponent, selector: "li[chatFile]", inputs: ["chatFile", "removable", "fileActions"], outputs: ["remove", "actionClick", "actionsToggle", "actionButtonClick"] }] });
|
|
3027
3031
|
}
|
|
3028
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageBoxComponent, decorators: [{
|
|
3029
3033
|
type: Component,
|
|
3030
3034
|
args: [{
|
|
3031
3035
|
selector: 'kendo-message-box',
|
|
@@ -3138,7 +3142,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3138
3142
|
standalone: true,
|
|
3139
3143
|
imports: [NgIf, NgFor, ButtonComponent, FormsModule, NgTemplateOutlet, TextAreaComponent, MessageReferenceComponent, TextAreaSuffixComponent, TextAreaPrefixComponent, SpeechToTextButtonComponent, InputSpacerComponent, FileSelectComponent, SuggestedActionsComponent, ChatFileComponent]
|
|
3140
3144
|
}]
|
|
3141
|
-
}], ctorParameters:
|
|
3145
|
+
}], ctorParameters: () => [{ type: ChatService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { borderColor: [{
|
|
3142
3146
|
type: HostBinding,
|
|
3143
3147
|
args: ['style.border-color']
|
|
3144
3148
|
}], messageBoxWrapperClass: [{
|
|
@@ -3203,18 +3207,18 @@ class ChatTimestampTemplateDirective {
|
|
|
3203
3207
|
constructor(templateRef) {
|
|
3204
3208
|
this.templateRef = templateRef;
|
|
3205
3209
|
}
|
|
3206
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3207
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3210
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatTimestampTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3211
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ChatTimestampTemplateDirective, isStandalone: true, selector: "[kendoChatTimestampTemplate]", ngImport: i0 });
|
|
3208
3212
|
}
|
|
3209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatTimestampTemplateDirective, decorators: [{
|
|
3210
3214
|
type: Directive,
|
|
3211
3215
|
args: [{
|
|
3212
3216
|
selector: '[kendoChatTimestampTemplate]',
|
|
3213
3217
|
standalone: true
|
|
3214
3218
|
}]
|
|
3215
|
-
}], ctorParameters:
|
|
3219
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
3216
3220
|
type: Optional
|
|
3217
|
-
}] }]
|
|
3221
|
+
}] }] });
|
|
3218
3222
|
|
|
3219
3223
|
/**
|
|
3220
3224
|
* Represents the template for the status of a message.
|
|
@@ -3233,16 +3237,16 @@ class ChatStatusTemplateDirective {
|
|
|
3233
3237
|
constructor(templateRef) {
|
|
3234
3238
|
this.templateRef = templateRef;
|
|
3235
3239
|
}
|
|
3236
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3237
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3240
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatStatusTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3241
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ChatStatusTemplateDirective, isStandalone: true, selector: "[kendoChatStatusTemplate]", ngImport: i0 });
|
|
3238
3242
|
}
|
|
3239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatStatusTemplateDirective, decorators: [{
|
|
3240
3244
|
type: Directive,
|
|
3241
3245
|
args: [{
|
|
3242
3246
|
selector: '[kendoChatStatusTemplate]',
|
|
3243
3247
|
standalone: true
|
|
3244
3248
|
}]
|
|
3245
|
-
}], ctorParameters:
|
|
3249
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
3246
3250
|
|
|
3247
3251
|
// eslint-disable no-forward-ref
|
|
3248
3252
|
/**
|
|
@@ -3406,7 +3410,9 @@ class MessageComponent extends ChatItem {
|
|
|
3406
3410
|
handleMenuClose(event) {
|
|
3407
3411
|
if (event) {
|
|
3408
3412
|
const originalEvent = event.originalEvent;
|
|
3409
|
-
|
|
3413
|
+
if (originalEvent) {
|
|
3414
|
+
this.onActionButtonClick(originalEvent);
|
|
3415
|
+
}
|
|
3410
3416
|
}
|
|
3411
3417
|
this.active = false;
|
|
3412
3418
|
this.contextMenuVisibilityChange.emit(false);
|
|
@@ -3438,8 +3444,8 @@ class MessageComponent extends ChatItem {
|
|
|
3438
3444
|
isOwnMessage(msg) {
|
|
3439
3445
|
return isAuthor(this.authorId, msg);
|
|
3440
3446
|
}
|
|
3441
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3442
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3447
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.IntlService }, { token: ChatService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3448
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: MessageComponent, isStandalone: true, selector: "kendo-chat-message", inputs: { message: "message", tabbable: "tabbable", template: "template", statusTemplate: "statusTemplate", showMessageTime: "showMessageTime", authorId: "authorId" }, outputs: { contextMenuVisibilityChange: "contextMenuVisibilityChange" }, host: { listeners: { "keydown": "onKeyDown($event)", "contextmenu": "onContextMenu($event)" }, properties: { "class.k-message": "this.cssClass", "class.k-message-removed": "this.removedClass", "attr.tabIndex": "this.tabIndex" } }, providers: [
|
|
3443
3449
|
{
|
|
3444
3450
|
provide: ChatItem,
|
|
3445
3451
|
useExisting: forwardRef(() => MessageComponent)
|
|
@@ -3459,7 +3465,7 @@ class MessageComponent extends ChatItem {
|
|
|
3459
3465
|
*ngIf="template"
|
|
3460
3466
|
[attr.tabindex]="0"
|
|
3461
3467
|
[ngClass]="{
|
|
3462
|
-
'k-selected': selected,
|
|
3468
|
+
'k-selected': selected,
|
|
3463
3469
|
'k-focus': selected,
|
|
3464
3470
|
'k-active': active
|
|
3465
3471
|
}"
|
|
@@ -3477,9 +3483,9 @@ class MessageComponent extends ChatItem {
|
|
|
3477
3483
|
*ngIf="!template && (message.text || message.files)"
|
|
3478
3484
|
[attr.tabindex]="0"
|
|
3479
3485
|
[ngClass]="{
|
|
3480
|
-
'k-bubble-expandable': chatService.allowMessageCollapse,
|
|
3481
|
-
'k-expanded': isMessageExpanded,
|
|
3482
|
-
'k-selected': selected,
|
|
3486
|
+
'k-bubble-expandable': chatService.allowMessageCollapse,
|
|
3487
|
+
'k-expanded': isMessageExpanded,
|
|
3488
|
+
'k-selected': selected,
|
|
3483
3489
|
'k-focus': selected,
|
|
3484
3490
|
'k-active': active
|
|
3485
3491
|
}"
|
|
@@ -3588,7 +3594,7 @@ class MessageComponent extends ChatItem {
|
|
|
3588
3594
|
></kendo-contextmenu>
|
|
3589
3595
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ChatFileComponent, selector: "li[chatFile]", inputs: ["chatFile", "removable", "fileActions"], outputs: ["remove", "actionClick", "actionsToggle", "actionButtonClick"] }, { 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: 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"] }] });
|
|
3590
3596
|
}
|
|
3591
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageComponent, decorators: [{
|
|
3592
3598
|
type: Component,
|
|
3593
3599
|
args: [{
|
|
3594
3600
|
selector: 'kendo-chat-message',
|
|
@@ -3613,7 +3619,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3613
3619
|
*ngIf="template"
|
|
3614
3620
|
[attr.tabindex]="0"
|
|
3615
3621
|
[ngClass]="{
|
|
3616
|
-
'k-selected': selected,
|
|
3622
|
+
'k-selected': selected,
|
|
3617
3623
|
'k-focus': selected,
|
|
3618
3624
|
'k-active': active
|
|
3619
3625
|
}"
|
|
@@ -3631,9 +3637,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3631
3637
|
*ngIf="!template && (message.text || message.files)"
|
|
3632
3638
|
[attr.tabindex]="0"
|
|
3633
3639
|
[ngClass]="{
|
|
3634
|
-
'k-bubble-expandable': chatService.allowMessageCollapse,
|
|
3635
|
-
'k-expanded': isMessageExpanded,
|
|
3636
|
-
'k-selected': selected,
|
|
3640
|
+
'k-bubble-expandable': chatService.allowMessageCollapse,
|
|
3641
|
+
'k-expanded': isMessageExpanded,
|
|
3642
|
+
'k-selected': selected,
|
|
3637
3643
|
'k-focus': selected,
|
|
3638
3644
|
'k-active': active
|
|
3639
3645
|
}"
|
|
@@ -3744,7 +3750,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3744
3750
|
standalone: true,
|
|
3745
3751
|
imports: [NgIf, NgClass, NgFor, NgTemplateOutlet, IconWrapperComponent, KENDO_BUTTONS, ChatFileComponent, ContextMenuComponent, ToolBarComponent, ToolBarButtonComponent, MessageReferenceComponent],
|
|
3746
3752
|
}]
|
|
3747
|
-
}], ctorParameters:
|
|
3753
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1$1.IntlService }, { type: ChatService }, { type: i1.LocalizationService }], propDecorators: { message: [{
|
|
3748
3754
|
type: Input
|
|
3749
3755
|
}], tabbable: [{
|
|
3750
3756
|
type: Input
|
|
@@ -3800,8 +3806,8 @@ class AttachmentComponent {
|
|
|
3800
3806
|
return this.attachment.contentType || '';
|
|
3801
3807
|
}
|
|
3802
3808
|
_attachment;
|
|
3803
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3804
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3809
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AttachmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3810
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AttachmentComponent, isStandalone: true, selector: "kendo-chat-attachment", inputs: { attachment: "attachment", template: "template" }, ngImport: i0, template: `
|
|
3805
3811
|
<ng-container *ngIf="template">
|
|
3806
3812
|
<ng-container *ngTemplateOutlet="template.templateRef; context: context;">
|
|
3807
3813
|
</ng-container>
|
|
@@ -3823,7 +3829,7 @@ class AttachmentComponent {
|
|
|
3823
3829
|
</div>
|
|
3824
3830
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
3825
3831
|
}
|
|
3826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AttachmentComponent, decorators: [{
|
|
3827
3833
|
type: Component,
|
|
3828
3834
|
args: [{
|
|
3829
3835
|
selector: 'kendo-chat-attachment',
|
|
@@ -3973,8 +3979,8 @@ class MessageAttachmentsComponent extends ChatItem {
|
|
|
3973
3979
|
textFor(key) {
|
|
3974
3980
|
return this.localization.get(key);
|
|
3975
3981
|
}
|
|
3976
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3977
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3982
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageAttachmentsComponent, deps: [{ token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3983
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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: [{
|
|
3978
3984
|
provide: ChatItem,
|
|
3979
3985
|
useExisting: forwardRef(() => MessageAttachmentsComponent)
|
|
3980
3986
|
}], 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: `
|
|
@@ -4020,7 +4026,7 @@ class MessageAttachmentsComponent extends ChatItem {
|
|
|
4020
4026
|
</button>
|
|
4021
4027
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: ["attachment", "template"] }] });
|
|
4022
4028
|
}
|
|
4023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageAttachmentsComponent, decorators: [{
|
|
4024
4030
|
type: Component,
|
|
4025
4031
|
args: [{
|
|
4026
4032
|
providers: [{
|
|
@@ -4073,7 +4079,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4073
4079
|
standalone: true,
|
|
4074
4080
|
imports: [NgIf, ButtonComponent, NgFor, AttachmentComponent]
|
|
4075
4081
|
}]
|
|
4076
|
-
}], ctorParameters:
|
|
4082
|
+
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i1.LocalizationService }], propDecorators: { attachments: [{
|
|
4077
4083
|
type: Input
|
|
4078
4084
|
}], layout: [{
|
|
4079
4085
|
type: Input
|
|
@@ -4273,8 +4279,8 @@ class MessageListComponent {
|
|
|
4273
4279
|
textFor(key) {
|
|
4274
4280
|
return this.localization.get(key);
|
|
4275
4281
|
}
|
|
4276
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4277
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4282
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageListComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.IntlService }, { token: i0.Renderer2 }, { token: ChatService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4283
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: MessageListComponent, isStandalone: true, selector: "kendo-chat-message-list", inputs: { messages: "messages", attachmentTemplate: "attachmentTemplate", messageTemplate: "messageTemplate", timestampTemplate: "timestampTemplate", statusTemplate: "statusTemplate", 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: `
|
|
4278
4284
|
<ng-container *ngFor="let group of view; last as lastGroup; trackBy: trackGroup">
|
|
4279
4285
|
<ng-container [ngSwitch]="group.type">
|
|
4280
4286
|
<div
|
|
@@ -4371,7 +4377,7 @@ class MessageListComponent {
|
|
|
4371
4377
|
</kendo-resize-sensor>
|
|
4372
4378
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: MessageComponent, selector: "kendo-chat-message", inputs: ["message", "tabbable", "template", "statusTemplate", "showMessageTime", "authorId"], outputs: ["contextMenuVisibilityChange"] }, { 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", "suggestionTemplate"], outputs: ["dispatchAction", "dispatchSuggestion"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
|
|
4373
4379
|
}
|
|
4374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MessageListComponent, decorators: [{
|
|
4375
4381
|
type: Component,
|
|
4376
4382
|
args: [{
|
|
4377
4383
|
selector: 'kendo-chat-message-list',
|
|
@@ -4474,7 +4480,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4474
4480
|
standalone: true,
|
|
4475
4481
|
imports: [NgFor, NgSwitch, NgSwitchCase, NgIf, NgTemplateOutlet, MessageComponent, AttachmentComponent, MessageAttachmentsComponent, SuggestedActionsComponent, ResizeSensorComponent]
|
|
4476
4482
|
}]
|
|
4477
|
-
}], ctorParameters:
|
|
4483
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1$1.IntlService }, { type: i0.Renderer2 }, { type: ChatService }, { type: i0.ChangeDetectorRef }], propDecorators: { messages: [{
|
|
4478
4484
|
type: Input
|
|
4479
4485
|
}], attachmentTemplate: [{
|
|
4480
4486
|
type: Input
|
|
@@ -4558,17 +4564,17 @@ class ScrollAnchorDirective {
|
|
|
4558
4564
|
this.scrolling = true;
|
|
4559
4565
|
this.zone.runOutsideAngular(() => setTimeout(() => this.scrolling = false, 1000));
|
|
4560
4566
|
}
|
|
4561
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4562
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4567
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ScrollAnchorDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4568
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ScrollAnchorDirective, isStandalone: true, selector: "[kendoChatScrollAnchor]", inputs: { autoScroll: "autoScroll" }, outputs: { autoScrollChange: "autoScrollChange" }, host: { properties: { "style.overflow-anchor": "this.overflowAnchor" } }, exportAs: ["scrollAnchor"], ngImport: i0 });
|
|
4563
4569
|
}
|
|
4564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4570
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ScrollAnchorDirective, decorators: [{
|
|
4565
4571
|
type: Directive,
|
|
4566
4572
|
args: [{
|
|
4567
4573
|
selector: '[kendoChatScrollAnchor]',
|
|
4568
4574
|
exportAs: 'scrollAnchor',
|
|
4569
4575
|
standalone: true
|
|
4570
4576
|
}]
|
|
4571
|
-
}], ctorParameters:
|
|
4577
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }], propDecorators: { autoScroll: [{
|
|
4572
4578
|
type: Input
|
|
4573
4579
|
}], autoScrollChange: [{
|
|
4574
4580
|
type: Output
|
|
@@ -4646,10 +4652,10 @@ let Messages$1 = class Messages extends ComponentMessages {
|
|
|
4646
4652
|
* Sets the title of the DropDownButton that opens the File actions.
|
|
4647
4653
|
*/
|
|
4648
4654
|
fileActionsTitle;
|
|
4649
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4650
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4655
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4656
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: Messages, selector: "kendoConversationalUIMessages", inputs: { deletedMessageSenderText: "deletedMessageSenderText", deletedMessageReceiverText: "deletedMessageReceiverText", downloadAllFilesText: "downloadAllFilesText", messagePlaceholder: "messagePlaceholder", send: "send", messageListLabel: "messageListLabel", messageBoxInputLabel: "messageBoxInputLabel", messageAttachmentLeftArrow: "messageAttachmentLeftArrow", messageAttachmentRightArrow: "messageAttachmentRightArrow", speechToTextButtonTitle: "speechToTextButtonTitle", fileSelectButtonTitle: "fileSelectButtonTitle", removeReplyTitle: "removeReplyTitle", removeFileTitle: "removeFileTitle", expandTitle: "expandTitle", collapseTitle: "collapseTitle", fileActionsTitle: "fileActionsTitle" }, usesInheritance: true, ngImport: i0 });
|
|
4651
4657
|
};
|
|
4652
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages$1, decorators: [{
|
|
4653
4659
|
type: Directive,
|
|
4654
4660
|
args: [{
|
|
4655
4661
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -4699,15 +4705,15 @@ let LocalizedMessagesDirective$1 = class LocalizedMessagesDirective extends Mess
|
|
|
4699
4705
|
super();
|
|
4700
4706
|
this.service = service;
|
|
4701
4707
|
}
|
|
4702
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4703
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4708
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4709
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoChatLocalizedMessages]", providers: [
|
|
4704
4710
|
{
|
|
4705
4711
|
provide: Messages$1,
|
|
4706
4712
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
4707
4713
|
}
|
|
4708
4714
|
], usesInheritance: true, ngImport: i0 });
|
|
4709
4715
|
};
|
|
4710
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective$1, decorators: [{
|
|
4711
4717
|
type: Directive,
|
|
4712
4718
|
args: [{
|
|
4713
4719
|
providers: [
|
|
@@ -4719,7 +4725,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4719
4725
|
selector: '[kendoChatLocalizedMessages]',
|
|
4720
4726
|
standalone: true
|
|
4721
4727
|
}]
|
|
4722
|
-
}], ctorParameters:
|
|
4728
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
4723
4729
|
|
|
4724
4730
|
/**
|
|
4725
4731
|
* Represents the template for the header of the Chat component.
|
|
@@ -4738,16 +4744,16 @@ class ChatHeaderTemplateDirective {
|
|
|
4738
4744
|
constructor(templateRef) {
|
|
4739
4745
|
this.templateRef = templateRef;
|
|
4740
4746
|
}
|
|
4741
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4742
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4747
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatHeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4748
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ChatHeaderTemplateDirective, isStandalone: true, selector: "[kendoChatHeaderTemplate]", ngImport: i0 });
|
|
4743
4749
|
}
|
|
4744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatHeaderTemplateDirective, decorators: [{
|
|
4745
4751
|
type: Directive,
|
|
4746
4752
|
args: [{
|
|
4747
4753
|
selector: '[kendoChatHeaderTemplate]',
|
|
4748
4754
|
standalone: true
|
|
4749
4755
|
}]
|
|
4750
|
-
}], ctorParameters:
|
|
4756
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
4751
4757
|
|
|
4752
4758
|
/**
|
|
4753
4759
|
* Represents the [Kendo UI Chat component for Angular](slug:overview_convui).
|
|
@@ -5156,8 +5162,8 @@ class ChatComponent {
|
|
|
5156
5162
|
return userAction;
|
|
5157
5163
|
});
|
|
5158
5164
|
}
|
|
5159
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5160
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5165
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: ChatService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5166
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ChatComponent, isStandalone: true, selector: "kendo-chat", inputs: { messages: "messages", authorId: "authorId", messageBoxType: "messageBoxType", height: "height", width: "width", placeholder: "placeholder", messageWidthMode: "messageWidthMode", allowMessageCollapse: "allowMessageCollapse", enableSpeechToText: "enableSpeechToText", enableFileSelect: "enableFileSelect", messageToolbarActions: "messageToolbarActions", inputValue: "inputValue", messageContextMenuActions: "messageContextMenuActions", fileActions: "fileActions", suggestions: "suggestions", messageToolbarVisibility: "messageToolbarVisibility", sendButtonSettings: "sendButtonSettings", modelFields: "modelFields" }, outputs: { sendMessage: "sendMessage", toolbarActionClick: "toolbarActionClick", contextMenuActionClick: "contextMenuActionClick", fileActionClick: "fileActionClick", download: "download", executeAction: "executeAction", suggestionExecute: "suggestionExecute", fileSelect: "fileSelect", fileRemove: "fileRemove", unpin: "unpin", inputValueChange: "inputValueChange" }, host: { properties: { "class": "this.className", "attr.dir": "this.dirAttr" } }, providers: [
|
|
5161
5167
|
LocalizationService,
|
|
5162
5168
|
ChatService,
|
|
5163
5169
|
{
|
|
@@ -5272,7 +5278,7 @@ class ChatComponent {
|
|
|
5272
5278
|
</kendo-message-box>
|
|
5273
5279
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective$1, selector: "[kendoChatLocalizedMessages]" }, { kind: "directive", type: ScrollAnchorDirective, selector: "[kendoChatScrollAnchor]", inputs: ["autoScroll"], outputs: ["autoScrollChange"], exportAs: ["scrollAnchor"] }, { kind: "component", type: MessageListComponent, selector: "kendo-chat-message-list", inputs: ["messages", "attachmentTemplate", "messageTemplate", "timestampTemplate", "statusTemplate", "localization", "authorId"], outputs: ["executeAction", "navigate", "resize"] }, { kind: "component", type: MessageBoxComponent, selector: "kendo-message-box", inputs: ["authorId", "autoScroll", "suggestions", "placeholder", "inputValue", "localization", "messageBoxTemplate", "suggestionTemplate"], outputs: ["sendMessage", "executeSuggestion", "fileSelect", "fileRemove"] }, { kind: "component", type: MessageReferenceComponent, selector: "chat-message-reference-content", inputs: ["message"] }, { kind: "component", type: AppBarComponent, selector: "kendo-appbar", inputs: ["position", "positionMode", "themeColor"], exportAs: ["kendoAppBar"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
5274
5280
|
}
|
|
5275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatComponent, decorators: [{
|
|
5276
5282
|
type: Component,
|
|
5277
5283
|
args: [{
|
|
5278
5284
|
providers: [
|
|
@@ -5394,7 +5400,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5394
5400
|
standalone: true,
|
|
5395
5401
|
imports: [LocalizedMessagesDirective$1, ScrollAnchorDirective, MessageListComponent, MessageBoxComponent, MessageReferenceComponent, AppBarComponent, NgTemplateOutlet, NgIf, IconWrapperComponent, KENDO_BUTTON]
|
|
5396
5402
|
}]
|
|
5397
|
-
}], ctorParameters:
|
|
5403
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: ChatService }], propDecorators: { messages: [{
|
|
5398
5404
|
type: Input
|
|
5399
5405
|
}], authorId: [{
|
|
5400
5406
|
type: Input
|
|
@@ -5511,15 +5517,15 @@ class CustomMessagesComponent extends Messages$1 {
|
|
|
5511
5517
|
get override() {
|
|
5512
5518
|
return true;
|
|
5513
5519
|
}
|
|
5514
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5515
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5520
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5521
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-chat-messages", providers: [
|
|
5516
5522
|
{
|
|
5517
5523
|
provide: Messages$1,
|
|
5518
5524
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
5519
5525
|
}
|
|
5520
5526
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
5521
5527
|
}
|
|
5522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
5523
5529
|
type: Component,
|
|
5524
5530
|
args: [{
|
|
5525
5531
|
providers: [
|
|
@@ -5532,7 +5538,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5532
5538
|
template: ``,
|
|
5533
5539
|
standalone: true
|
|
5534
5540
|
}]
|
|
5535
|
-
}], ctorParameters:
|
|
5541
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
5536
5542
|
|
|
5537
5543
|
/**
|
|
5538
5544
|
* Represents a Hero Card component.
|
|
@@ -5575,8 +5581,8 @@ class HeroCardComponent {
|
|
|
5575
5581
|
onClick(action) {
|
|
5576
5582
|
this.executeAction.next(action);
|
|
5577
5583
|
}
|
|
5578
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5579
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5584
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HeroCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5585
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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: `
|
|
5580
5586
|
<img class="k-card-image" [src]="imageUrl" *ngIf="imageUrl" />
|
|
5581
5587
|
<div class="k-card-body">
|
|
5582
5588
|
<h5 class="k-card-title" *ngIf="title">
|
|
@@ -5600,7 +5606,7 @@ class HeroCardComponent {
|
|
|
5600
5606
|
</div>
|
|
5601
5607
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
5602
5608
|
}
|
|
5603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HeroCardComponent, decorators: [{
|
|
5604
5610
|
type: Component,
|
|
5605
5611
|
args: [{
|
|
5606
5612
|
selector: 'kendo-chat-hero-card',
|
|
@@ -5661,10 +5667,10 @@ class Messages extends ComponentMessages {
|
|
|
5661
5667
|
* The title for the Speech to Text button.
|
|
5662
5668
|
*/
|
|
5663
5669
|
speechToTextButtonTitle;
|
|
5664
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5665
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5670
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5671
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: Messages, inputs: { commandsButtonTitle: "commandsButtonTitle", generateButtonTitle: "generateButtonTitle", speechToTextButtonTitle: "speechToTextButtonTitle" }, usesInheritance: true, ngImport: i0 });
|
|
5666
5672
|
}
|
|
5667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, decorators: [{
|
|
5668
5674
|
type: Directive
|
|
5669
5675
|
}], propDecorators: { commandsButtonTitle: [{
|
|
5670
5676
|
type: Input
|
|
@@ -5683,15 +5689,15 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
5683
5689
|
super();
|
|
5684
5690
|
this.service = service;
|
|
5685
5691
|
}
|
|
5686
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5687
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5692
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5693
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoInlineAIPromptLocalizedMessages]", providers: [
|
|
5688
5694
|
{
|
|
5689
5695
|
provide: Messages,
|
|
5690
5696
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
5691
5697
|
}
|
|
5692
5698
|
], usesInheritance: true, ngImport: i0 });
|
|
5693
5699
|
}
|
|
5694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
5695
5701
|
type: Directive,
|
|
5696
5702
|
args: [{
|
|
5697
5703
|
providers: [
|
|
@@ -5703,7 +5709,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5703
5709
|
selector: '[kendoInlineAIPromptLocalizedMessages]',
|
|
5704
5710
|
standalone: true
|
|
5705
5711
|
}]
|
|
5706
|
-
}], ctorParameters:
|
|
5712
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
5707
5713
|
|
|
5708
5714
|
/**
|
|
5709
5715
|
* @hidden
|
|
@@ -5981,8 +5987,8 @@ class InlineAIPromptContentComponent {
|
|
|
5981
5987
|
});
|
|
5982
5988
|
}
|
|
5983
5989
|
}
|
|
5984
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5985
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5990
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", 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 });
|
|
5991
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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: [
|
|
5986
5992
|
LocalizationService,
|
|
5987
5993
|
{
|
|
5988
5994
|
provide: L10N_PREFIX,
|
|
@@ -6084,7 +6090,7 @@ class InlineAIPromptContentComponent {
|
|
|
6084
6090
|
</kendo-contextmenu>
|
|
6085
6091
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], 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" }] });
|
|
6086
6092
|
}
|
|
6087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6093
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InlineAIPromptContentComponent, decorators: [{
|
|
6088
6094
|
type: Component,
|
|
6089
6095
|
args: [{
|
|
6090
6096
|
exportAs: 'kendoInlineAIPromptContent',
|
|
@@ -6194,11 +6200,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6194
6200
|
standalone: true,
|
|
6195
6201
|
imports: [NgClass, NgIf, NgFor, NgTemplateOutlet, LocalizedMessagesDirective, KENDO_BUTTONS, KENDO_TEXTAREA, KENDO_CONTEXTMENU, KENDO_CARD],
|
|
6196
6202
|
}]
|
|
6197
|
-
}], ctorParameters:
|
|
6203
|
+
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i1.LocalizationService, decorators: [{
|
|
6198
6204
|
type: Optional
|
|
6199
6205
|
}, {
|
|
6200
6206
|
type: SkipSelf
|
|
6201
|
-
}] }]
|
|
6207
|
+
}] }], propDecorators: { className: [{
|
|
6202
6208
|
type: HostBinding,
|
|
6203
6209
|
args: ['class.k-prompt']
|
|
6204
6210
|
}], dirAttr: [{
|
|
@@ -6277,18 +6283,18 @@ class InlineAIPromptOutputTemplateDirective {
|
|
|
6277
6283
|
constructor(templateRef) {
|
|
6278
6284
|
this.templateRef = templateRef;
|
|
6279
6285
|
}
|
|
6280
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6281
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6286
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InlineAIPromptOutputTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6287
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: InlineAIPromptOutputTemplateDirective, isStandalone: true, selector: "[kendoInlineAIPromptOutputTemplate]", ngImport: i0 });
|
|
6282
6288
|
}
|
|
6283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InlineAIPromptOutputTemplateDirective, decorators: [{
|
|
6284
6290
|
type: Directive,
|
|
6285
6291
|
args: [{
|
|
6286
6292
|
selector: '[kendoInlineAIPromptOutputTemplate]',
|
|
6287
6293
|
standalone: true
|
|
6288
6294
|
}]
|
|
6289
|
-
}], ctorParameters:
|
|
6295
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
6290
6296
|
type: Optional
|
|
6291
|
-
}] }]
|
|
6297
|
+
}] }] });
|
|
6292
6298
|
|
|
6293
6299
|
/**
|
|
6294
6300
|
* Represents the Kendo UI InlineAIPrompt component for Angular.
|
|
@@ -6470,8 +6476,8 @@ class InlineAIPromptComponent {
|
|
|
6470
6476
|
onPromptValueChange(value) {
|
|
6471
6477
|
this.promptValueChange.emit(value);
|
|
6472
6478
|
}
|
|
6473
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6474
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
6479
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InlineAIPromptComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6480
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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: [
|
|
6475
6481
|
LocalizationService,
|
|
6476
6482
|
{
|
|
6477
6483
|
provide: L10N_PREFIX,
|
|
@@ -6521,7 +6527,7 @@ class InlineAIPromptComponent {
|
|
|
6521
6527
|
</kendo-popup>
|
|
6522
6528
|
`, 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]" }] });
|
|
6523
6529
|
}
|
|
6524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InlineAIPromptComponent, decorators: [{
|
|
6525
6531
|
type: Component,
|
|
6526
6532
|
args: [{
|
|
6527
6533
|
exportAs: 'kendoInlineAIPrompt',
|
|
@@ -6579,7 +6585,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6579
6585
|
standalone: true,
|
|
6580
6586
|
imports: [KENDO_POPUP, InlineAIPromptContentComponent, LocalizedMessagesDirective],
|
|
6581
6587
|
}]
|
|
6582
|
-
}], ctorParameters:
|
|
6588
|
+
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.ElementRef }], propDecorators: { promptValue: [{
|
|
6583
6589
|
type: Input
|
|
6584
6590
|
}], placeholder: [{
|
|
6585
6591
|
type: Input
|
|
@@ -6645,15 +6651,15 @@ class InlineAIPromptCustomMessagesComponent extends Messages {
|
|
|
6645
6651
|
get override() {
|
|
6646
6652
|
return true;
|
|
6647
6653
|
}
|
|
6648
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6649
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
6654
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InlineAIPromptCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6655
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: InlineAIPromptCustomMessagesComponent, isStandalone: true, selector: "kendo-inlineaiprompt-messages", providers: [
|
|
6650
6656
|
{
|
|
6651
6657
|
provide: Messages,
|
|
6652
6658
|
useExisting: forwardRef(() => InlineAIPromptCustomMessagesComponent)
|
|
6653
6659
|
}
|
|
6654
6660
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
6655
6661
|
}
|
|
6656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6662
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InlineAIPromptCustomMessagesComponent, decorators: [{
|
|
6657
6663
|
type: Component,
|
|
6658
6664
|
args: [{
|
|
6659
6665
|
providers: [
|
|
@@ -6666,7 +6672,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6666
6672
|
template: ``,
|
|
6667
6673
|
standalone: true
|
|
6668
6674
|
}]
|
|
6669
|
-
}], ctorParameters:
|
|
6675
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
6670
6676
|
|
|
6671
6677
|
/**
|
|
6672
6678
|
* Utility array that contains all AIPrompt related components and directives.
|
|
@@ -6794,11 +6800,11 @@ const KENDO_CONVERSATIONALUI = [
|
|
|
6794
6800
|
* ```
|
|
6795
6801
|
*/
|
|
6796
6802
|
class AIPromptModule {
|
|
6797
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6798
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6799
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6803
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6804
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", 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] });
|
|
6805
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent] });
|
|
6800
6806
|
}
|
|
6801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AIPromptModule, decorators: [{
|
|
6802
6808
|
type: NgModule,
|
|
6803
6809
|
args: [{
|
|
6804
6810
|
exports: [...KENDO_AIPROMPT],
|
|
@@ -6830,11 +6836,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6830
6836
|
* ```
|
|
6831
6837
|
*/
|
|
6832
6838
|
class ChatModule {
|
|
6833
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6834
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6835
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6839
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6840
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: ChatModule, imports: [ChatComponent, CustomMessagesComponent, AttachmentTemplateDirective, MessageTemplateDirective, HeroCardComponent, ChatMessageBoxTemplateDirective, ChatHeaderTemplateDirective, ChatTimestampTemplateDirective, ChatStatusTemplateDirective, ChatSuggestionTemplateDirective], exports: [ChatComponent, CustomMessagesComponent, AttachmentTemplateDirective, MessageTemplateDirective, HeroCardComponent, ChatMessageBoxTemplateDirective, ChatHeaderTemplateDirective, ChatTimestampTemplateDirective, ChatStatusTemplateDirective, ChatSuggestionTemplateDirective] });
|
|
6841
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatModule, providers: [IconsService, ResizeBatchService], imports: [ChatComponent, HeroCardComponent] });
|
|
6836
6842
|
}
|
|
6837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChatModule, decorators: [{
|
|
6838
6844
|
type: NgModule,
|
|
6839
6845
|
args: [{
|
|
6840
6846
|
exports: [...KENDO_CHAT],
|
|
@@ -6863,11 +6869,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6863
6869
|
* ```
|
|
6864
6870
|
*/
|
|
6865
6871
|
class ConversationalUIModule {
|
|
6866
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6867
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6868
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6872
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConversationalUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6873
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: ConversationalUIModule, imports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent, CustomViewComponent, AIPromptCustomMessagesComponent, AIPromptToolbarActionsDirective, AIPromptToolbarFocusableDirective, AIPromptOutputTemplateDirective, AIPromptOutputBodyTemplateDirective, ChatComponent, CustomMessagesComponent, AttachmentTemplateDirective, MessageTemplateDirective, HeroCardComponent, ChatMessageBoxTemplateDirective, ChatHeaderTemplateDirective, ChatTimestampTemplateDirective, ChatStatusTemplateDirective, ChatSuggestionTemplateDirective, InlineAIPromptComponent, InlineAIPromptOutputTemplateDirective, InlineAIPromptCustomMessagesComponent], exports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent, CustomViewComponent, AIPromptCustomMessagesComponent, AIPromptToolbarActionsDirective, AIPromptToolbarFocusableDirective, AIPromptOutputTemplateDirective, AIPromptOutputBodyTemplateDirective, ChatComponent, CustomMessagesComponent, AttachmentTemplateDirective, MessageTemplateDirective, HeroCardComponent, ChatMessageBoxTemplateDirective, ChatHeaderTemplateDirective, ChatTimestampTemplateDirective, ChatStatusTemplateDirective, ChatSuggestionTemplateDirective, InlineAIPromptComponent, InlineAIPromptOutputTemplateDirective, InlineAIPromptCustomMessagesComponent] });
|
|
6874
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConversationalUIModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [AIPromptComponent, PromptViewComponent, OutputViewComponent, CommandViewComponent, ChatComponent, HeroCardComponent, InlineAIPromptComponent] });
|
|
6869
6875
|
}
|
|
6870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConversationalUIModule, decorators: [{
|
|
6871
6877
|
type: NgModule,
|
|
6872
6878
|
args: [{
|
|
6873
6879
|
exports: [...KENDO_CONVERSATIONALUI],
|
|
@@ -6896,11 +6902,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6896
6902
|
* ```
|
|
6897
6903
|
*/
|
|
6898
6904
|
class InlineAIPromptModule {
|
|
6899
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6900
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6901
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6905
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InlineAIPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6906
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: InlineAIPromptModule, imports: [InlineAIPromptComponent, InlineAIPromptOutputTemplateDirective, InlineAIPromptCustomMessagesComponent], exports: [InlineAIPromptComponent, InlineAIPromptOutputTemplateDirective, InlineAIPromptCustomMessagesComponent] });
|
|
6907
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InlineAIPromptModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [InlineAIPromptComponent] });
|
|
6902
6908
|
}
|
|
6903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6909
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InlineAIPromptModule, decorators: [{
|
|
6904
6910
|
type: NgModule,
|
|
6905
6911
|
args: [{
|
|
6906
6912
|
exports: [...KENDO_INLINEAIPROMPT],
|
|
@@ -6982,15 +6988,15 @@ class InlineAIPromptService {
|
|
|
6982
6988
|
});
|
|
6983
6989
|
return component;
|
|
6984
6990
|
}
|
|
6985
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6986
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6991
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InlineAIPromptService, deps: [{ token: i1$2.PopupService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6992
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InlineAIPromptService, providedIn: 'root' });
|
|
6987
6993
|
}
|
|
6988
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6994
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InlineAIPromptService, decorators: [{
|
|
6989
6995
|
type: Injectable,
|
|
6990
6996
|
args: [{
|
|
6991
6997
|
providedIn: 'root'
|
|
6992
6998
|
}]
|
|
6993
|
-
}], ctorParameters:
|
|
6999
|
+
}], ctorParameters: () => [{ type: i1$2.PopupService }] });
|
|
6994
7000
|
|
|
6995
7001
|
/**
|
|
6996
7002
|
* Defines the settings for opening an Inline AI Prompt through the `InlineAIPromptService`.
|