@progress/kendo-angular-conversational-ui 5.0.2 → 11.0.0-develop.101
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/LICENSE.md +1 -1
- package/NOTICE.txt +4 -4
- package/README.md +1 -1
- package/api/action.interface.d.ts +1 -1
- package/api/attachment.interface.d.ts +1 -1
- package/api/execute-action-event.d.ts +1 -1
- package/api/index.d.ts +1 -1
- package/api/message.interface.d.ts +1 -1
- package/api/post-message-event.d.ts +1 -1
- package/api/preventable-event.d.ts +1 -1
- package/api/user.interface.d.ts +1 -1
- package/cards/hero-card.component.d.ts +1 -1
- package/chat/attachment-template.directive.d.ts +1 -1
- package/chat/attachment.component.d.ts +1 -1
- package/chat/builtin-actions.d.ts +1 -1
- package/chat/chat-item.d.ts +1 -1
- package/chat/chat-view.d.ts +1 -1
- package/chat/chat.component.d.ts +1 -1
- package/chat/chat.directives.d.ts +1 -1
- package/chat/chat.module.d.ts +1 -1
- package/chat/l10n/custom-messages.component.d.ts +1 -1
- package/chat/l10n/localized-messages.directive.d.ts +1 -1
- package/chat/l10n/messages.d.ts +1 -1
- package/chat/message-attachments.component.d.ts +10 -1
- package/chat/message-box.component.d.ts +1 -1
- package/chat/message-box.directive.d.ts +1 -1
- package/chat/message-list.component.d.ts +1 -1
- package/chat/message-template.directive.d.ts +1 -1
- package/chat/message.component.d.ts +1 -1
- package/chat/suggested-actions.component.d.ts +1 -1
- package/common/focused-state.directive.d.ts +1 -1
- package/common/keys.enum.d.ts +1 -1
- package/common/models/message-box-options.d.ts +1 -1
- package/common/scroll-anchor.directive.d.ts +1 -1
- package/common/utils.d.ts +1 -1
- package/{esm2015/api/action.interface.js → esm2020/api/action.interface.mjs} +1 -1
- package/{esm2015/api/user.interface.js → esm2020/api/attachment.interface.mjs} +1 -1
- package/{esm2015/api/execute-action-event.js → esm2020/api/execute-action-event.mjs} +1 -1
- package/{esm2015/api/index.js → esm2020/api/index.mjs} +1 -1
- package/{esm2015/common/keys.enum.js → esm2020/api/message.interface.mjs} +1 -1
- package/{esm2015/api/post-message-event.js → esm2020/api/post-message-event.mjs} +1 -1
- package/{esm2015/api/preventable-event.js → esm2020/api/preventable-event.mjs} +1 -1
- package/{esm2015/api/attachment.interface.js → esm2020/api/user.interface.mjs} +1 -1
- package/{esm2015/cards/hero-card.component.js → esm2020/cards/hero-card.component.mjs} +7 -7
- package/{esm2015/chat/attachment-template.directive.js → esm2020/chat/attachment-template.directive.mjs} +5 -5
- package/{esm2015/chat/attachment.component.js → esm2020/chat/attachment.component.mjs} +5 -4
- package/{esm2015/chat/builtin-actions.js → esm2020/chat/builtin-actions.mjs} +1 -1
- package/{esm2015/chat/chat-item.js → esm2020/chat/chat-item.mjs} +1 -1
- package/{esm2015/chat/chat-view.js → esm2020/chat/chat-view.mjs} +1 -1
- package/{esm2015/chat/chat.component.js → esm2020/chat/chat.component.mjs} +6 -5
- package/{esm2015/chat/chat.directives.js → esm2020/chat/chat.directives.mjs} +1 -1
- package/{esm2015/chat/chat.module.js → esm2020/chat/chat.module.mjs} +5 -5
- package/{esm2015/chat/l10n/custom-messages.component.js → esm2020/chat/l10n/custom-messages.component.mjs} +5 -4
- package/{esm2015/chat/l10n/localized-messages.directive.js → esm2020/chat/l10n/localized-messages.directive.mjs} +5 -4
- package/{esm2015/chat/l10n/messages.js → esm2020/chat/l10n/messages.mjs} +4 -4
- package/{esm2015/chat/message-attachments.component.js → esm2020/chat/message-attachments.component.mjs} +47 -28
- package/{esm2015/chat/message-box.component.js → esm2020/chat/message-box.component.mjs} +10 -8
- package/{esm2015/chat/message-box.directive.js → esm2020/chat/message-box.directive.mjs} +5 -5
- package/{esm2015/chat/message-list.component.js → esm2020/chat/message-list.component.mjs} +8 -5
- package/{esm2015/chat/message-template.directive.js → esm2020/chat/message-template.directive.mjs} +5 -5
- package/{esm2015/chat/message.component.js → esm2020/chat/message.component.mjs} +7 -5
- package/{esm2015/chat/suggested-actions.component.js → esm2020/chat/suggested-actions.component.mjs} +5 -5
- package/{esm2015/common/focused-state.directive.js → esm2020/common/focused-state.directive.mjs} +4 -4
- package/{esm2015/api/message.interface.js → esm2020/common/keys.enum.mjs} +1 -1
- package/esm2020/common/models/message-box-options.mjs +5 -0
- package/{esm2015/common/scroll-anchor.directive.js → esm2020/common/scroll-anchor.directive.mjs} +5 -5
- package/{esm2015/common/utils.js → esm2020/common/utils.mjs} +1 -1
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-conversational-ui.js → esm2020/progress-kendo-angular-conversational-ui.mjs} +2 -2
- package/fesm2015/{kendo-angular-conversational-ui.js → progress-kendo-angular-conversational-ui.mjs} +111 -92
- package/fesm2020/progress-kendo-angular-conversational-ui.mjs +1774 -0
- package/{main.d.ts → index.d.ts} +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +30 -57
- package/{kendo-angular-conversational-ui.d.ts → progress-kendo-angular-conversational-ui.d.ts} +2 -2
- package/schematics/ngAdd/index.js +1 -5
- package/bundles/kendo-angular-conversational-ui.umd.js +0 -5
- package/esm2015/common/models/message-box-options.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
package/fesm2015/{kendo-angular-conversational-ui.js → progress-kendo-angular-conversational-ui.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
@@ -8,14 +8,15 @@ import * as i1$2 from '@progress/kendo-angular-l10n';
|
|
|
8
8
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
10
|
import * as i1 from '@progress/kendo-angular-intl';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i2 from '@angular/common';
|
|
12
12
|
import { CommonModule } from '@angular/common';
|
|
13
13
|
import { fromEvent } from 'rxjs';
|
|
14
14
|
import { debounceTime } from 'rxjs/operators';
|
|
15
|
+
import { chevronLeftIcon, chevronRightIcon } from '@progress/kendo-svg-icons';
|
|
16
|
+
import * as i1$1 from '@progress/kendo-angular-buttons';
|
|
17
|
+
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
15
18
|
import * as i6 from '@progress/kendo-angular-common';
|
|
16
19
|
import { Keys, ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
17
|
-
import * as i3 from '@progress/kendo-angular-buttons';
|
|
18
|
-
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
19
20
|
|
|
20
21
|
/**
|
|
21
22
|
* Defines a template that will be used for displaying message attachments. To define an attachment
|
|
@@ -34,16 +35,18 @@ class AttachmentTemplateDirective {
|
|
|
34
35
|
this.templateRef = templateRef;
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
|
-
AttachmentTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
38
|
-
AttachmentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
38
|
+
AttachmentTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AttachmentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
+
AttachmentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: AttachmentTemplateDirective, selector: "[kendoChatAttachmentTemplate]", ngImport: i0 });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AttachmentTemplateDirective, decorators: [{
|
|
40
41
|
type: Directive,
|
|
41
42
|
args: [{
|
|
42
43
|
selector: '[kendoChatAttachmentTemplate]'
|
|
43
44
|
}]
|
|
44
|
-
}], ctorParameters: function () {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
}], ctorParameters: function () {
|
|
46
|
+
return [{ type: i0.TemplateRef, decorators: [{
|
|
47
|
+
type: Optional
|
|
48
|
+
}] }];
|
|
49
|
+
} });
|
|
47
50
|
|
|
48
51
|
/**
|
|
49
52
|
* Arguments for the `SendMessage` event.
|
|
@@ -96,16 +99,18 @@ class MessageTemplateDirective {
|
|
|
96
99
|
this.templateRef = templateRef;
|
|
97
100
|
}
|
|
98
101
|
}
|
|
99
|
-
MessageTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
100
|
-
MessageTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
102
|
+
MessageTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MessageTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
103
|
+
MessageTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MessageTemplateDirective, selector: "[kendoChatMessageTemplate]", ngImport: i0 });
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MessageTemplateDirective, decorators: [{
|
|
102
105
|
type: Directive,
|
|
103
106
|
args: [{
|
|
104
107
|
selector: '[kendoChatMessageTemplate]'
|
|
105
108
|
}]
|
|
106
|
-
}], ctorParameters: function () {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
+
}], ctorParameters: function () {
|
|
110
|
+
return [{ type: i0.TemplateRef, decorators: [{
|
|
111
|
+
type: Optional
|
|
112
|
+
}] }];
|
|
113
|
+
} });
|
|
109
114
|
|
|
110
115
|
/**
|
|
111
116
|
* @hidden
|
|
@@ -114,9 +119,9 @@ const packageMetadata = {
|
|
|
114
119
|
name: '@progress/kendo-angular-conversational-ui',
|
|
115
120
|
productName: 'Kendo UI for Angular',
|
|
116
121
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
117
|
-
publishDate:
|
|
122
|
+
publishDate: 1673510527,
|
|
118
123
|
version: '',
|
|
119
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
124
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
120
125
|
};
|
|
121
126
|
|
|
122
127
|
/**
|
|
@@ -129,17 +134,15 @@ class ChatMessageBoxTemplateDirective {
|
|
|
129
134
|
this.templateRef = templateRef;
|
|
130
135
|
}
|
|
131
136
|
}
|
|
132
|
-
ChatMessageBoxTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
133
|
-
ChatMessageBoxTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
137
|
+
ChatMessageBoxTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChatMessageBoxTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
138
|
+
ChatMessageBoxTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ChatMessageBoxTemplateDirective, selector: "[kendoChatMessageBoxTemplate]", ngImport: i0 });
|
|
139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChatMessageBoxTemplateDirective, decorators: [{
|
|
135
140
|
type: Directive,
|
|
136
141
|
args: [{
|
|
137
142
|
selector: '[kendoChatMessageBoxTemplate]'
|
|
138
143
|
}]
|
|
139
144
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
140
145
|
|
|
141
|
-
// eslint-disable max-line-length
|
|
142
|
-
|
|
143
146
|
/**
|
|
144
147
|
* @hidden
|
|
145
148
|
*/
|
|
@@ -295,8 +298,8 @@ class MessageComponent extends ChatItem {
|
|
|
295
298
|
this.element.nativeElement.focus();
|
|
296
299
|
}
|
|
297
300
|
}
|
|
298
|
-
MessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
299
|
-
MessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
301
|
+
MessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MessageComponent, deps: [{ token: i0.ElementRef }, { token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
302
|
+
MessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MessageComponent, selector: "kendo-chat-message", inputs: { message: "message", tabbable: "tabbable", template: "template" }, host: { properties: { "class.k-message": "this.cssClass", "class.k-selected": "this.selected", "class.k-focus": "this.selected", "attr.tabIndex": "this.tabIndex" } }, providers: [{
|
|
300
303
|
provide: ChatItem,
|
|
301
304
|
useExisting: forwardRef(() => MessageComponent)
|
|
302
305
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -337,8 +340,8 @@ MessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
337
340
|
</div>
|
|
338
341
|
</div>
|
|
339
342
|
</ng-template>
|
|
340
|
-
`, isInline: true, directives: [{ type:
|
|
341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
343
|
+
`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MessageComponent, decorators: [{
|
|
342
345
|
type: Component,
|
|
343
346
|
args: [{
|
|
344
347
|
selector: 'kendo-chat-message',
|
|
@@ -429,8 +432,8 @@ class AttachmentComponent {
|
|
|
429
432
|
return this.attachment.contentType || '';
|
|
430
433
|
}
|
|
431
434
|
}
|
|
432
|
-
AttachmentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
433
|
-
AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
435
|
+
AttachmentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AttachmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
436
|
+
AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: { attachment: "attachment", template: "template" }, ngImport: i0, template: `
|
|
434
437
|
<ng-container *ngIf="template">
|
|
435
438
|
<ng-container *ngTemplateOutlet="template.templateRef; context: context;">
|
|
436
439
|
</ng-container>
|
|
@@ -450,8 +453,8 @@ AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
450
453
|
</ng-container>
|
|
451
454
|
</div>
|
|
452
455
|
</div>
|
|
453
|
-
`, isInline: true, directives: [{ type:
|
|
454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
456
|
+
`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AttachmentComponent, decorators: [{
|
|
455
458
|
type: Component,
|
|
456
459
|
args: [{
|
|
457
460
|
selector: 'kendo-chat-attachment',
|
|
@@ -491,6 +494,14 @@ class MessageAttachmentsComponent extends ChatItem {
|
|
|
491
494
|
constructor(zone) {
|
|
492
495
|
super();
|
|
493
496
|
this.zone = zone;
|
|
497
|
+
/**
|
|
498
|
+
* @hidden
|
|
499
|
+
*/
|
|
500
|
+
this.chevronLeftIcon = chevronLeftIcon;
|
|
501
|
+
/**
|
|
502
|
+
* @hidden
|
|
503
|
+
*/
|
|
504
|
+
this.chevronRightIcon = chevronRightIcon;
|
|
494
505
|
this.scrollPosition = 0;
|
|
495
506
|
this.selectedIndex = 0;
|
|
496
507
|
this.carouselKeyHandlers = {
|
|
@@ -568,17 +579,19 @@ class MessageAttachmentsComponent extends ChatItem {
|
|
|
568
579
|
}
|
|
569
580
|
}
|
|
570
581
|
}
|
|
571
|
-
MessageAttachmentsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
572
|
-
MessageAttachmentsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
582
|
+
MessageAttachmentsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MessageAttachmentsComponent, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
583
|
+
MessageAttachmentsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MessageAttachmentsComponent, selector: "kendo-chat-message-attachments", inputs: { attachments: "attachments", layout: "layout", tabbable: "tabbable", template: "template" }, host: { properties: { "class.k-card-deck-scrollwrap": "this.carousel" } }, providers: [{
|
|
573
584
|
provide: ChatItem,
|
|
574
585
|
useExisting: forwardRef(() => MessageAttachmentsComponent)
|
|
575
586
|
}], 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: `
|
|
576
587
|
<button
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
588
|
+
*ngIf="carousel && scrollPosition > 0"
|
|
589
|
+
(click)="scrollTo(-1)"
|
|
590
|
+
kendoButton
|
|
591
|
+
tabindex="-1"
|
|
592
|
+
[svgIcon]="chevronLeftIcon"
|
|
593
|
+
icon="chevron-left"
|
|
594
|
+
>
|
|
582
595
|
</button>
|
|
583
596
|
<div #deck [class.k-card-deck]="carousel">
|
|
584
597
|
<kendo-chat-attachment #item
|
|
@@ -597,14 +610,16 @@ MessageAttachmentsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
597
610
|
</kendo-chat-attachment>
|
|
598
611
|
</div>
|
|
599
612
|
<button
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
613
|
+
*ngIf="carousel && scrollPosition < 1"
|
|
614
|
+
(click)="scrollTo(1)"
|
|
615
|
+
kendoButton
|
|
616
|
+
tabindex="-1"
|
|
617
|
+
[svgIcon]="chevronRightIcon"
|
|
618
|
+
icon="chevron-right"
|
|
619
|
+
>
|
|
605
620
|
</button>
|
|
606
|
-
`, isInline: true, components: [{ type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: ["attachment", "template"] }], directives: [{ type:
|
|
607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
621
|
+
`, isInline: true, components: [{ type: i1$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: ["attachment", "template"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MessageAttachmentsComponent, decorators: [{
|
|
608
623
|
type: Component,
|
|
609
624
|
args: [{
|
|
610
625
|
providers: [{
|
|
@@ -614,11 +629,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
614
629
|
selector: 'kendo-chat-message-attachments',
|
|
615
630
|
template: `
|
|
616
631
|
<button
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
632
|
+
*ngIf="carousel && scrollPosition > 0"
|
|
633
|
+
(click)="scrollTo(-1)"
|
|
634
|
+
kendoButton
|
|
635
|
+
tabindex="-1"
|
|
636
|
+
[svgIcon]="chevronLeftIcon"
|
|
637
|
+
icon="chevron-left"
|
|
638
|
+
>
|
|
622
639
|
</button>
|
|
623
640
|
<div #deck [class.k-card-deck]="carousel">
|
|
624
641
|
<kendo-chat-attachment #item
|
|
@@ -637,11 +654,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
637
654
|
</kendo-chat-attachment>
|
|
638
655
|
</div>
|
|
639
656
|
<button
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
657
|
+
*ngIf="carousel && scrollPosition < 1"
|
|
658
|
+
(click)="scrollTo(1)"
|
|
659
|
+
kendoButton
|
|
660
|
+
tabindex="-1"
|
|
661
|
+
[svgIcon]="chevronRightIcon"
|
|
662
|
+
icon="chevron-right"
|
|
663
|
+
>
|
|
645
664
|
</button>
|
|
646
665
|
`
|
|
647
666
|
}]
|
|
@@ -711,8 +730,8 @@ class SuggestedActionsComponent extends ChatItem {
|
|
|
711
730
|
}
|
|
712
731
|
}
|
|
713
732
|
}
|
|
714
|
-
SuggestedActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
715
|
-
SuggestedActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
733
|
+
SuggestedActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SuggestedActionsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
734
|
+
SuggestedActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SuggestedActionsComponent, selector: "kendo-chat-suggested-actions", inputs: { actions: "actions", tabbable: "tabbable" }, outputs: { dispatch: "dispatch" }, host: { properties: { "class.k-quick-replies": "this.defaultClass" } }, providers: [{
|
|
716
735
|
provide: ChatItem,
|
|
717
736
|
useExisting: forwardRef(() => SuggestedActionsComponent)
|
|
718
737
|
}], viewQueries: [{ propertyName: "items", predicate: ["item"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -730,8 +749,8 @@ SuggestedActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
730
749
|
>
|
|
731
750
|
{{ action.title || action.value }}
|
|
732
751
|
</span>
|
|
733
|
-
`, isInline: true, directives: [{ type:
|
|
734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
752
|
+
`, isInline: true, directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SuggestedActionsComponent, decorators: [{
|
|
735
754
|
type: Component,
|
|
736
755
|
args: [{
|
|
737
756
|
selector: 'kendo-chat-suggested-actions',
|
|
@@ -857,8 +876,8 @@ class MessageListComponent {
|
|
|
857
876
|
}
|
|
858
877
|
}
|
|
859
878
|
}
|
|
860
|
-
MessageListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
861
|
-
MessageListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
879
|
+
MessageListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MessageListComponent, deps: [{ token: i0.ElementRef }, { token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
880
|
+
MessageListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MessageListComponent, selector: "kendo-chat-message-list", inputs: { messages: "messages", attachmentTemplate: "attachmentTemplate", messageTemplate: "messageTemplate", user: "user" }, outputs: { executeAction: "executeAction", navigate: "navigate", resize: "resize" }, host: { listeners: { "keydown": "onKeydown($event)", "focusout": "onBlur($event)" }, properties: { "class.k-message-list-content": "this.cssClass" } }, viewQueries: [{ propertyName: "items", predicate: ChatItem, descendants: true }], ngImport: i0, template: `
|
|
862
881
|
<ng-container *ngFor="let group of view; last as lastGroup; trackBy: trackGroup">
|
|
863
882
|
<ng-container [ngSwitch]="group.type">
|
|
864
883
|
<div
|
|
@@ -928,8 +947,8 @@ MessageListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
928
947
|
</ng-container>
|
|
929
948
|
<kendo-resize-sensor (resize)="onResize()">
|
|
930
949
|
</kendo-resize-sensor>
|
|
931
|
-
`, isInline: true, components: [{ type: MessageComponent, selector: "kendo-chat-message", inputs: ["message", "tabbable", "template"] }, { type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: ["attachment", "template"] }, { type: MessageAttachmentsComponent, selector: "kendo-chat-message-attachments", inputs: ["attachments", "layout", "tabbable", "template"] }, { type: SuggestedActionsComponent, selector: "kendo-chat-suggested-actions", inputs: ["actions", "tabbable"], outputs: ["dispatch"] }, { type: i6.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type:
|
|
932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
950
|
+
`, isInline: true, components: [{ type: MessageComponent, selector: "kendo-chat-message", inputs: ["message", "tabbable", "template"] }, { type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: ["attachment", "template"] }, { type: MessageAttachmentsComponent, selector: "kendo-chat-message-attachments", inputs: ["attachments", "layout", "tabbable", "template"] }, { type: SuggestedActionsComponent, selector: "kendo-chat-suggested-actions", inputs: ["actions", "tabbable"], outputs: ["dispatch"] }, { type: i6.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
951
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MessageListComponent, decorators: [{
|
|
933
952
|
type: Component,
|
|
934
953
|
args: [{
|
|
935
954
|
selector: 'kendo-chat-message-list',
|
|
@@ -1047,9 +1066,9 @@ class FocusedStateDirective {
|
|
|
1047
1066
|
this.focused = false;
|
|
1048
1067
|
}
|
|
1049
1068
|
}
|
|
1050
|
-
FocusedStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1051
|
-
FocusedStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1052
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1069
|
+
FocusedStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FocusedStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1070
|
+
FocusedStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FocusedStateDirective, selector: "[kendoChatFocusedState]", host: { listeners: { "focusin": "onFocus()", "focusout": "onBlur()" }, properties: { "class.k-focus": "this.focused" } }, ngImport: i0 });
|
|
1071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FocusedStateDirective, decorators: [{
|
|
1053
1072
|
type: Directive,
|
|
1054
1073
|
args: [{
|
|
1055
1074
|
selector: '[kendoChatFocusedState]'
|
|
@@ -1130,9 +1149,9 @@ class MessageBoxComponent {
|
|
|
1130
1149
|
return this.localization.get(key);
|
|
1131
1150
|
}
|
|
1132
1151
|
}
|
|
1133
|
-
MessageBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1134
|
-
MessageBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1152
|
+
MessageBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MessageBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1153
|
+
MessageBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MessageBoxComponent, selector: "kendo-message-box", inputs: { user: "user", autoScroll: "autoScroll", type: "type", localization: "localization", messageBoxTemplate: "messageBoxTemplate" }, outputs: { sendMessage: "sendMessage" }, host: { properties: { "class": "this.hostClasses", "class.!k-align-items-end": "this.messageBoxValue" } }, viewQueries: [{ propertyName: "messageBoxInput", first: true, predicate: ["messageBoxInput"], descendants: true }], ngImport: i0, template: "\n <ng-container *ngIf=\"!messageBoxTemplate\">\n <input\n *ngIf=\"type === 'textbox'\"\n #messageBoxInput\n kendoChatFocusedState\n type=\"text\"\n class=\"k-textbox k-input k-input-md k-input-solid\"\n [placeholder]=\"textFor('messagePlaceholder')\"\n (keydown)=\"inputKeydown($event)\"\n />\n\n <textarea\n *ngIf=\"type === 'textarea'\"\n #messageBoxInput\n kendoChatFocusedState\n [rows]=\"3\"\n class=\"k-textarea k-input k-input-md k-input-solid !k-overflow-y-auto k-resize-none\"\n [placeholder]=\"textFor('messagePlaceholder')\"\n (keydown)=\"textAreaKeydown($event)\"\n ></textarea>\n\n <button\n kendoButton\n fillMode=\"flat\"\n class=\"k-button-send\"\n [tabindex]=\"0\"\n [attr.title]=\"textFor('send')\"\n (click)=\"sendClick()\"\n >\n <svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><path d=\"M0,14.3c-0.1,0.6,0.3,0.8,0.8,0.6l14.8-6.5c0.5-0.2,0.5-0.6,0-0.8L0.8,1.1C0.3,0.9-0.1,1.1,0,1.7l0.7,4.2C0.8,6.5,1.4,7,1.9,7.1l8.8,0.8c0.6,0.1,0.6,0.1,0,0.2L1.9,8.9C1.4,9,0.8,9.5,0.7,10.1L0,14.3z\"/></svg>\n </button>\n </ng-container>\n\n <ng-template *ngIf=\"messageBoxTemplate\" [ngTemplateOutlet]=\"messageBoxTemplate?.templateRef\"></ng-template>\n", isInline: true, components: [{ type: i1$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: FocusedStateDirective, selector: "[kendoChatFocusedState]" }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
1154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MessageBoxComponent, decorators: [{
|
|
1136
1155
|
type: Component,
|
|
1137
1156
|
args: [{
|
|
1138
1157
|
selector: 'kendo-message-box',
|
|
@@ -1201,9 +1220,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1201
1220
|
*/
|
|
1202
1221
|
class Messages extends ComponentMessages {
|
|
1203
1222
|
}
|
|
1204
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1205
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1223
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1224
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: Messages, selector: "kendoConversationalUIMessages", inputs: { messagePlaceholder: "messagePlaceholder", send: "send" }, usesInheritance: true, ngImport: i0 });
|
|
1225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, decorators: [{
|
|
1207
1226
|
type: Directive,
|
|
1208
1227
|
args: [{
|
|
1209
1228
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1225,14 +1244,14 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
1225
1244
|
this.service = service;
|
|
1226
1245
|
}
|
|
1227
1246
|
}
|
|
1228
|
-
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1229
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1247
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1$2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1248
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedMessagesDirective, selector: "[kendoChatLocalizedMessages]", providers: [
|
|
1230
1249
|
{
|
|
1231
1250
|
provide: Messages,
|
|
1232
1251
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
1233
1252
|
}
|
|
1234
1253
|
], usesInheritance: true, ngImport: i0 });
|
|
1235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
1236
1255
|
type: Directive,
|
|
1237
1256
|
args: [{
|
|
1238
1257
|
providers: [
|
|
@@ -1298,9 +1317,9 @@ class ScrollAnchorDirective {
|
|
|
1298
1317
|
this.zone.runOutsideAngular(() => setTimeout(() => this.scrolling = false, 1000));
|
|
1299
1318
|
}
|
|
1300
1319
|
}
|
|
1301
|
-
ScrollAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1302
|
-
ScrollAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1320
|
+
ScrollAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollAnchorDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1321
|
+
ScrollAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ScrollAnchorDirective, selector: "[kendoChatScrollAnchor]", inputs: { autoScroll: "autoScroll" }, outputs: { autoScrollChange: "autoScrollChange" }, host: { properties: { "style.overflow-anchor": "this.overflowAnchor" } }, exportAs: ["scrollAnchor"], ngImport: i0 });
|
|
1322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollAnchorDirective, decorators: [{
|
|
1304
1323
|
type: Directive,
|
|
1305
1324
|
args: [{
|
|
1306
1325
|
selector: '[kendoChatScrollAnchor]',
|
|
@@ -1410,8 +1429,8 @@ class ChatComponent {
|
|
|
1410
1429
|
return this.localization.get(key);
|
|
1411
1430
|
}
|
|
1412
1431
|
}
|
|
1413
|
-
ChatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1414
|
-
ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1432
|
+
ChatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChatComponent, deps: [{ token: i1$2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1433
|
+
ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ChatComponent, selector: "kendo-chat", inputs: { messages: "messages", user: "user", messageBoxType: "messageBoxType" }, outputs: { sendMessage: "sendMessage", executeAction: "executeAction" }, host: { properties: { "class": "this.className", "attr.dir": "this.dirAttr" } }, providers: [
|
|
1415
1434
|
LocalizationService,
|
|
1416
1435
|
{
|
|
1417
1436
|
provide: L10N_PREFIX,
|
|
@@ -1458,7 +1477,7 @@ ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
1458
1477
|
>
|
|
1459
1478
|
</kendo-message-box>
|
|
1460
1479
|
`, isInline: true, components: [{ type: MessageListComponent, selector: "kendo-chat-message-list", inputs: ["messages", "attachmentTemplate", "messageTemplate", "user"], outputs: ["executeAction", "navigate", "resize"] }, { type: MessageBoxComponent, selector: "kendo-message-box", inputs: ["user", "autoScroll", "type", "localization", "messageBoxTemplate"], outputs: ["sendMessage"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoChatLocalizedMessages]" }, { type: ScrollAnchorDirective, selector: "[kendoChatScrollAnchor]", inputs: ["autoScroll"], outputs: ["autoScrollChange"], exportAs: ["scrollAnchor"] }] });
|
|
1461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChatComponent, decorators: [{
|
|
1462
1481
|
type: Component,
|
|
1463
1482
|
args: [{
|
|
1464
1483
|
providers: [
|
|
@@ -1558,14 +1577,14 @@ class CustomMessagesComponent extends Messages {
|
|
|
1558
1577
|
return true;
|
|
1559
1578
|
}
|
|
1560
1579
|
}
|
|
1561
|
-
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1562
|
-
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1580
|
+
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1$2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1581
|
+
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CustomMessagesComponent, selector: "kendo-chat-messages", providers: [
|
|
1563
1582
|
{
|
|
1564
1583
|
provide: Messages,
|
|
1565
1584
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
1566
1585
|
}
|
|
1567
1586
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
1568
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
1569
1588
|
type: Component,
|
|
1570
1589
|
args: [{
|
|
1571
1590
|
providers: [
|
|
@@ -1595,8 +1614,8 @@ class HeroCardComponent {
|
|
|
1595
1614
|
this.executeAction.next(action);
|
|
1596
1615
|
}
|
|
1597
1616
|
}
|
|
1598
|
-
HeroCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1599
|
-
HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1617
|
+
HeroCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeroCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1618
|
+
HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: HeroCardComponent, 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: `
|
|
1600
1619
|
<img class="k-card-image" [src]="imageUrl" *ngIf="imageUrl" />
|
|
1601
1620
|
<div class="k-card-body">
|
|
1602
1621
|
<h5 class="k-card-title" *ngIf="title">
|
|
@@ -1618,8 +1637,8 @@ HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
1618
1637
|
</button>
|
|
1619
1638
|
</span>
|
|
1620
1639
|
</div>
|
|
1621
|
-
`, isInline: true,
|
|
1622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1640
|
+
`, isInline: true, components: [{ type: i1$1.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeroCardComponent, decorators: [{
|
|
1623
1642
|
type: Component,
|
|
1624
1643
|
args: [{
|
|
1625
1644
|
selector: 'kendo-chat-hero-card',
|
|
@@ -1705,8 +1724,8 @@ const PRIVATE_DIRECTIVES = [
|
|
|
1705
1724
|
*/
|
|
1706
1725
|
class ChatModule {
|
|
1707
1726
|
}
|
|
1708
|
-
ChatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1709
|
-
ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1727
|
+
ChatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1728
|
+
ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChatModule, declarations: [ChatComponent,
|
|
1710
1729
|
CustomMessagesComponent,
|
|
1711
1730
|
AttachmentTemplateDirective,
|
|
1712
1731
|
MessageTemplateDirective,
|
|
@@ -1728,12 +1747,12 @@ ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12
|
|
|
1728
1747
|
MessageTemplateDirective,
|
|
1729
1748
|
HeroCardComponent,
|
|
1730
1749
|
ChatMessageBoxTemplateDirective] });
|
|
1731
|
-
ChatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1750
|
+
ChatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChatModule, imports: [[
|
|
1732
1751
|
ButtonModule,
|
|
1733
1752
|
CommonModule,
|
|
1734
1753
|
ResizeSensorModule
|
|
1735
1754
|
]] });
|
|
1736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ChatModule, decorators: [{
|
|
1737
1756
|
type: NgModule,
|
|
1738
1757
|
args: [{
|
|
1739
1758
|
declarations: [
|