@progress/kendo-angular-conversational-ui 16.5.0 → 16.6.0-develop.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/ai-prompt/aiprompt.component.d.ts +1 -1
  2. package/ai-prompt/aiprompt.module.d.ts +1 -8
  3. package/ai-prompt/common/output-card.component.d.ts +1 -1
  4. package/ai-prompt/common/toolbar-focusable.directive.d.ts +1 -1
  5. package/ai-prompt/localization/custom-messages.component.d.ts +1 -1
  6. package/ai-prompt/localization/localized-messages.directive.d.ts +1 -1
  7. package/ai-prompt/templates/toolbar-actions.template.d.ts +1 -1
  8. package/ai-prompt/views/command-view.component.d.ts +2 -2
  9. package/ai-prompt/views/custom-view.component.d.ts +1 -1
  10. package/ai-prompt/views/output-view.component.d.ts +1 -1
  11. package/ai-prompt/views/prompt-view.component.d.ts +1 -1
  12. package/chat/api/message.interface.d.ts +1 -1
  13. package/chat/api/user.interface.d.ts +1 -1
  14. package/chat/attachment-template.directive.d.ts +1 -1
  15. package/chat/attachment.component.d.ts +1 -1
  16. package/chat/cards/hero-card.component.d.ts +1 -1
  17. package/chat/chat.component.d.ts +1 -1
  18. package/chat/chat.module.d.ts +1 -13
  19. package/chat/common/focused-state.directive.d.ts +1 -1
  20. package/chat/common/scroll-anchor.directive.d.ts +1 -1
  21. package/chat/l10n/custom-messages.component.d.ts +1 -1
  22. package/chat/l10n/localized-messages.directive.d.ts +1 -1
  23. package/chat/message-attachments.component.d.ts +3 -3
  24. package/chat/message-box.component.d.ts +3 -3
  25. package/chat/message-box.directive.d.ts +1 -1
  26. package/chat/message-list.component.d.ts +3 -3
  27. package/chat/message-template.directive.d.ts +1 -1
  28. package/chat/message.component.d.ts +1 -1
  29. package/chat/suggested-actions.component.d.ts +1 -1
  30. package/conversational-ui.module.d.ts +15 -3
  31. package/directives.d.ts +29 -0
  32. package/esm2020/ai-prompt/aiprompt.component.mjs +10 -8
  33. package/esm2020/ai-prompt/aiprompt.module.mjs +19 -63
  34. package/esm2020/ai-prompt/common/output-card.component.mjs +7 -5
  35. package/esm2020/ai-prompt/common/toolbar-focusable.directive.mjs +3 -2
  36. package/esm2020/ai-prompt/localization/custom-messages.component.mjs +3 -2
  37. package/esm2020/ai-prompt/localization/localized-messages.directive.mjs +3 -2
  38. package/esm2020/ai-prompt/templates/toolbar-actions.template.mjs +3 -2
  39. package/esm2020/ai-prompt/views/command-view.component.mjs +6 -4
  40. package/esm2020/ai-prompt/views/custom-view.component.mjs +3 -2
  41. package/esm2020/ai-prompt/views/output-view.component.mjs +7 -5
  42. package/esm2020/ai-prompt/views/prompt-view.component.mjs +8 -6
  43. package/esm2020/chat/attachment-template.directive.mjs +3 -2
  44. package/esm2020/chat/attachment.component.mjs +6 -4
  45. package/esm2020/chat/cards/hero-card.component.mjs +7 -5
  46. package/esm2020/chat/chat.component.mjs +8 -7
  47. package/esm2020/chat/chat.module.mjs +15 -71
  48. package/esm2020/chat/common/focused-state.directive.mjs +3 -2
  49. package/esm2020/chat/common/scroll-anchor.directive.mjs +3 -2
  50. package/esm2020/chat/l10n/custom-messages.component.mjs +3 -2
  51. package/esm2020/chat/l10n/localized-messages.directive.mjs +3 -2
  52. package/esm2020/chat/message-attachments.component.mjs +10 -8
  53. package/esm2020/chat/message-box.component.mjs +10 -8
  54. package/esm2020/chat/message-box.directive.mjs +3 -2
  55. package/esm2020/chat/message-list.component.mjs +11 -12
  56. package/esm2020/chat/message-template.directive.mjs +3 -2
  57. package/esm2020/chat/message.component.mjs +6 -4
  58. package/esm2020/chat/suggested-actions.component.mjs +6 -4
  59. package/esm2020/conversational-ui.module.mjs +25 -5
  60. package/esm2020/directives.mjs +48 -0
  61. package/esm2020/index.mjs +1 -0
  62. package/esm2020/package-metadata.mjs +2 -2
  63. package/fesm2015/progress-kendo-angular-conversational-ui.mjs +1285 -1306
  64. package/fesm2020/progress-kendo-angular-conversational-ui.mjs +649 -670
  65. package/index.d.ts +1 -0
  66. package/package.json +10 -10
@@ -3,15 +3,15 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, HostBinding, Input } from '@angular/core';
6
+ import { NgIf } from '@angular/common';
6
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
8
  import { guid, isPresent } from '@progress/kendo-angular-common';
9
+ import { ButtonComponent } from "@progress/kendo-angular-buttons";
8
10
  import { arrowRotateCwIcon, copyIcon, thumbDownIcon, thumbDownOutlineIcon, thumbUpIcon, thumbUpOutlineIcon } from '@progress/kendo-svg-icons';
9
11
  import { AIPromptService } from './aiprompt.service';
10
12
  import * as i0 from "@angular/core";
11
13
  import * as i1 from "@progress/kendo-angular-l10n";
12
14
  import * as i2 from "./aiprompt.service";
13
- import * as i3 from "@angular/common";
14
- import * as i4 from "@progress/kendo-angular-buttons";
15
15
  /**
16
16
  * @hidden
17
17
  */
@@ -96,7 +96,7 @@ export class AIPromptOutputCardComponent {
96
96
  }
97
97
  }
98
98
  AIPromptOutputCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptOutputCardComponent, deps: [{ token: i1.LocalizationService }, { token: i2.AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
99
- AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptOutputCardComponent, 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: `
99
+ AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: `
100
100
  <div class="k-card-header">
101
101
  <div
102
102
  class="k-card-title"
@@ -139,7 +139,7 @@ AIPromptOutputCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
139
139
  </button>
140
140
  </ng-container>
141
141
  </div>
142
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
142
+ `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
143
143
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptOutputCardComponent, decorators: [{
144
144
  type: Component,
145
145
  args: [{
@@ -187,7 +187,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
187
187
  </button>
188
188
  </ng-container>
189
189
  </div>
190
- `
190
+ `,
191
+ standalone: true,
192
+ imports: [ButtonComponent, NgIf]
191
193
  }]
192
194
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.AIPromptService }]; }, propDecorators: { hostClass: [{
193
195
  type: HostBinding,
@@ -58,10 +58,11 @@ export class AIPromptToolbarFocusableDirective {
58
58
  }
59
59
  }
60
60
  AIPromptToolbarFocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: i1.ToolbarNavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
61
- AIPromptToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptToolbarFocusableDirective, selector: "[kendoAIPromptToolbarFocusable]", ngImport: i0 });
61
+ AIPromptToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptToolbarFocusableDirective, isStandalone: true, selector: "[kendoAIPromptToolbarFocusable]", ngImport: i0 });
62
62
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptToolbarFocusableDirective, decorators: [{
63
63
  type: Directive,
64
64
  args: [{
65
- selector: '[kendoAIPromptToolbarFocusable]'
65
+ selector: '[kendoAIPromptToolbarFocusable]',
66
+ standalone: true
66
67
  }]
67
68
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.ToolbarNavigationService }, { type: i0.Renderer2 }]; } });
@@ -21,7 +21,7 @@ export class AIPromptCustomMessagesComponent extends Messages {
21
21
  }
22
22
  }
23
23
  AIPromptCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
24
- AIPromptCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptCustomMessagesComponent, selector: "kendo-aiprompt-messages", providers: [
24
+ AIPromptCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptCustomMessagesComponent, isStandalone: true, selector: "kendo-aiprompt-messages", providers: [
25
25
  {
26
26
  provide: Messages,
27
27
  useExisting: forwardRef(() => AIPromptCustomMessagesComponent)
@@ -37,6 +37,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
37
37
  }
38
38
  ],
39
39
  selector: 'kendo-aiprompt-messages',
40
- template: ``
40
+ template: ``,
41
+ standalone: true
41
42
  }]
42
43
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -17,7 +17,7 @@ export class LocalizedMessagesDirective extends Messages {
17
17
  }
18
18
  }
19
19
  LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoAIPromptLocalizedMessages]", providers: [
20
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoAIPromptLocalizedMessages]", providers: [
21
21
  {
22
22
  provide: Messages,
23
23
  useExisting: forwardRef(() => LocalizedMessagesDirective)
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
32
32
  useExisting: forwardRef(() => LocalizedMessagesDirective)
33
33
  }
34
34
  ],
35
- selector: '[kendoAIPromptLocalizedMessages]'
35
+ selector: '[kendoAIPromptLocalizedMessages]',
36
+ standalone: true
36
37
  }]
37
38
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -16,11 +16,12 @@ export class AIPromptToolbarActionsDirective {
16
16
  }
17
17
  }
18
18
  AIPromptToolbarActionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptToolbarActionsDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
19
- AIPromptToolbarActionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptToolbarActionsDirective, selector: "[kendoAIPromptToolbarActionsTemplate]", ngImport: i0 });
19
+ AIPromptToolbarActionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AIPromptToolbarActionsDirective, isStandalone: true, selector: "[kendoAIPromptToolbarActionsTemplate]", ngImport: i0 });
20
20
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AIPromptToolbarActionsDirective, decorators: [{
21
21
  type: Directive,
22
22
  args: [{
23
- selector: '[kendoAIPromptToolbarActionsTemplate]'
23
+ selector: '[kendoAIPromptToolbarActionsTemplate]',
24
+ standalone: true
24
25
  }]
25
26
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
26
27
  type: Optional
@@ -4,12 +4,12 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
6
6
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
+ import { PanelBarComponent } from '@progress/kendo-angular-layout';
7
8
  import { BaseView } from './base-view';
8
9
  import { AIPromptService } from '../common/aiprompt.service';
9
10
  import * as i0 from "@angular/core";
10
11
  import * as i1 from "@progress/kendo-angular-l10n";
11
12
  import * as i2 from "../common/aiprompt.service";
12
- import * as i3 from "@progress/kendo-angular-layout";
13
13
  /**
14
14
  * The component for rendering the AIPrompt Command View.
15
15
  */
@@ -55,7 +55,7 @@ export class CommandViewComponent extends BaseView {
55
55
  }
56
56
  }
57
57
  CommandViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommandViewComponent, deps: [{ token: i1.LocalizationService }, { token: i2.AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
58
- CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CommandViewComponent, selector: "kendo-aiprompt-command-view", providers: [{
58
+ CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CommandViewComponent, isStandalone: true, selector: "kendo-aiprompt-command-view", providers: [{
59
59
  provide: BaseView,
60
60
  useExisting: forwardRef(() => CommandViewComponent)
61
61
  }], usesInheritance: true, ngImport: i0, template: `
@@ -67,7 +67,7 @@ CommandViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
67
67
  (itemClick)="itemClickHandler($event)"
68
68
  ></kendo-panelbar>
69
69
  </ng-template>
70
- `, isInline: true, dependencies: [{ kind: "component", type: i3.PanelBarComponent, selector: "kendo-panelbar", inputs: ["expandMode", "selectable", "animate", "height", "keepItemContent", "items"], outputs: ["stateChange", "select", "expand", "collapse", "itemClick"], exportAs: ["kendoPanelbar"] }] });
70
+ `, 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"] }] });
71
71
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommandViewComponent, decorators: [{
72
72
  type: Component,
73
73
  args: [{
@@ -85,6 +85,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
85
85
  (itemClick)="itemClickHandler($event)"
86
86
  ></kendo-panelbar>
87
87
  </ng-template>
88
- `
88
+ `,
89
+ standalone: true,
90
+ imports: [PanelBarComponent]
89
91
  }]
90
92
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.AIPromptService }]; } });
@@ -16,7 +16,7 @@ export class CustomViewComponent extends BaseView {
16
16
  }
17
17
  }
18
18
  CustomViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomViewComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
19
- CustomViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomViewComponent, selector: "kendo-aiprompt-custom-view", inputs: { viewTemplate: "viewTemplate" }, providers: [{
19
+ CustomViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomViewComponent, isStandalone: true, selector: "kendo-aiprompt-custom-view", inputs: { viewTemplate: "viewTemplate" }, providers: [{
20
20
  provide: BaseView,
21
21
  useExisting: forwardRef(() => CustomViewComponent)
22
22
  }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
@@ -28,7 +28,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
28
28
  provide: BaseView,
29
29
  useExisting: forwardRef(() => CustomViewComponent)
30
30
  }],
31
- template: ``
31
+ template: ``,
32
+ standalone: true
32
33
  }]
33
34
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { viewTemplate: [{
34
35
  type: Input
@@ -6,11 +6,11 @@ import { Component, forwardRef } from '@angular/core';
6
6
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import { BaseView } from './base-view';
8
8
  import { AIPromptService } from '../common/aiprompt.service';
9
+ import { AIPromptOutputCardComponent } from '../common/output-card.component';
10
+ import { NgFor } from '@angular/common';
9
11
  import * as i0 from "@angular/core";
10
12
  import * as i1 from "@progress/kendo-angular-l10n";
11
13
  import * as i2 from "../common/aiprompt.service";
12
- import * as i3 from "@angular/common";
13
- import * as i4 from "../common/output-card.component";
14
14
  /**
15
15
  * The component for rendering the AIPrompt Output View.
16
16
  */
@@ -27,7 +27,7 @@ export class OutputViewComponent extends BaseView {
27
27
  }
28
28
  }
29
29
  OutputViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OutputViewComponent, deps: [{ token: i1.LocalizationService }, { token: i2.AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
30
- OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: OutputViewComponent, selector: "kendo-aiprompt-output-view", providers: [{
30
+ OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: OutputViewComponent, isStandalone: true, selector: "kendo-aiprompt-output-view", providers: [{
31
31
  provide: BaseView,
32
32
  useExisting: forwardRef(() => OutputViewComponent)
33
33
  }], usesInheritance: true, ngImport: i0, template: `
@@ -41,7 +41,7 @@ OutputViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
41
41
  </div>
42
42
  </div>
43
43
  </ng-template>
44
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i4.AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: ["promptOutput"] }] });
44
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: AIPromptOutputCardComponent, selector: "[kendoAIPromptOutputCard]", inputs: ["promptOutput"] }] });
45
45
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OutputViewComponent, decorators: [{
46
46
  type: Component,
47
47
  args: [{
@@ -61,6 +61,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
61
61
  </div>
62
62
  </div>
63
63
  </ng-template>
64
- `
64
+ `,
65
+ standalone: true,
66
+ imports: [NgFor, AIPromptOutputCardComponent]
65
67
  }]
66
68
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.AIPromptService }]; } });
@@ -3,17 +3,17 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
6
+ import { NgIf, NgFor } from '@angular/common';
6
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
8
  import { guid } from '@progress/kendo-angular-common';
8
9
  import { chevronDownIcon, chevronUpIcon } from '@progress/kendo-svg-icons';
10
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
11
+ import { TextAreaComponent } from '@progress/kendo-angular-inputs';
9
12
  import { BaseView } from './base-view';
10
13
  import { AIPromptService } from '../common/aiprompt.service';
11
14
  import * as i0 from "@angular/core";
12
15
  import * as i1 from "@progress/kendo-angular-l10n";
13
16
  import * as i2 from "../common/aiprompt.service";
14
- import * as i3 from "@angular/common";
15
- import * as i4 from "@progress/kendo-angular-buttons";
16
- import * as i5 from "@progress/kendo-angular-inputs";
17
17
  /**
18
18
  * The component for rendering the AIPrompt Prompt View.
19
19
  */
@@ -62,7 +62,7 @@ export class PromptViewComponent extends BaseView {
62
62
  }
63
63
  }
64
64
  PromptViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptViewComponent, deps: [{ token: i1.LocalizationService }, { token: i2.AIPromptService }], target: i0.ɵɵFactoryTarget.Component });
65
- PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PromptViewComponent, selector: "kendo-aiprompt-prompt-view", providers: [
65
+ PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PromptViewComponent, isStandalone: true, selector: "kendo-aiprompt-prompt-view", providers: [
66
66
  {
67
67
  provide: BaseView,
68
68
  useExisting: forwardRef(() => PromptViewComponent)
@@ -99,7 +99,7 @@ PromptViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
99
99
  </div>
100
100
  </div>
101
101
  </ng-template>
102
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i5.TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }] });
102
+ `, isInline: true, dependencies: [{ kind: "component", type: TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "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], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
103
103
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptViewComponent, decorators: [{
104
104
  type: Component,
105
105
  args: [{
@@ -142,6 +142,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
142
142
  </div>
143
143
  </div>
144
144
  </ng-template>
145
- `
145
+ `,
146
+ standalone: true,
147
+ imports: [TextAreaComponent, NgIf, ButtonComponent, NgFor]
146
148
  }]
147
149
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.AIPromptService }]; } });
@@ -22,11 +22,12 @@ export class AttachmentTemplateDirective {
22
22
  }
23
23
  }
24
24
  AttachmentTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AttachmentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
25
- AttachmentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AttachmentTemplateDirective, selector: "[kendoChatAttachmentTemplate]", ngImport: i0 });
25
+ AttachmentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AttachmentTemplateDirective, isStandalone: true, selector: "[kendoChatAttachmentTemplate]", ngImport: i0 });
26
26
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AttachmentTemplateDirective, decorators: [{
27
27
  type: Directive,
28
28
  args: [{
29
- selector: '[kendoChatAttachmentTemplate]'
29
+ selector: '[kendoChatAttachmentTemplate]',
30
+ standalone: true
30
31
  }]
31
32
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
32
33
  type: Optional
@@ -3,9 +3,9 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, Input } from '@angular/core';
6
+ import { NgIf, NgTemplateOutlet } from '@angular/common';
6
7
  import { AttachmentTemplateDirective } from './attachment-template.directive';
7
8
  import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/common";
9
9
  /**
10
10
  * @hidden
11
11
  */
@@ -30,7 +30,7 @@ export class AttachmentComponent {
30
30
  }
31
31
  }
32
32
  AttachmentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AttachmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
- AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AttachmentComponent, selector: "kendo-chat-attachment", inputs: { attachment: "attachment", template: "template" }, ngImport: i0, template: `
33
+ AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AttachmentComponent, isStandalone: true, selector: "kendo-chat-attachment", inputs: { attachment: "attachment", template: "template" }, ngImport: i0, template: `
34
34
  <ng-container *ngIf="template">
35
35
  <ng-container *ngTemplateOutlet="template.templateRef; context: context;">
36
36
  </ng-container>
@@ -50,7 +50,7 @@ AttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
50
50
  </ng-container>
51
51
  </div>
52
52
  </div>
53
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
53
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
54
54
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AttachmentComponent, decorators: [{
55
55
  type: Component,
56
56
  args: [{
@@ -75,7 +75,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
75
75
  </ng-container>
76
76
  </div>
77
77
  </div>
78
- `
78
+ `,
79
+ standalone: true,
80
+ imports: [NgIf, NgTemplateOutlet]
79
81
  }]
80
82
  }], propDecorators: { attachment: [{
81
83
  type: Input
@@ -3,9 +3,9 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';
6
+ import { NgIf, NgFor } from '@angular/common';
7
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
6
8
  import * as i0 from "@angular/core";
7
- import * as i1 from "@progress/kendo-angular-buttons";
8
- import * as i2 from "@angular/common";
9
9
  /**
10
10
  * Represents a Hero Card component ([see example]({% slug dialogflow_chat %})).
11
11
  * Hero cards host a single large image and action buttons with text content.
@@ -23,7 +23,7 @@ export class HeroCardComponent {
23
23
  }
24
24
  }
25
25
  HeroCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeroCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
26
- HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: `
26
+ HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: `
27
27
  <img class="k-card-image" [src]="imageUrl" *ngIf="imageUrl" />
28
28
  <div class="k-card-body">
29
29
  <h5 class="k-card-title" *ngIf="title">
@@ -45,7 +45,7 @@ HeroCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
45
45
  </button>
46
46
  </span>
47
47
  </div>
48
- `, isInline: true, dependencies: [{ kind: "component", type: i1.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
48
+ `, 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], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
49
49
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeroCardComponent, decorators: [{
50
50
  type: Component,
51
51
  args: [{
@@ -72,7 +72,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
72
72
  </button>
73
73
  </span>
74
74
  </div>
75
- `
75
+ `,
76
+ standalone: true,
77
+ imports: [NgIf, NgFor, ButtonComponent]
76
78
  }]
77
79
  }], propDecorators: { imageUrl: [{
78
80
  type: Input
@@ -11,12 +11,11 @@ import { validatePackage } from '@progress/kendo-licensing';
11
11
  import { packageMetadata } from '../package-metadata';
12
12
  import { ChatMessageBoxTemplateDirective } from './message-box.directive';
13
13
  import { MessageBoxComponent } from './message-box.component';
14
+ import { MessageListComponent } from './message-list.component';
15
+ import { ScrollAnchorDirective } from './common/scroll-anchor.directive';
16
+ import { LocalizedMessagesDirective } from './l10n/localized-messages.directive';
14
17
  import * as i0 from "@angular/core";
15
18
  import * as i1 from "@progress/kendo-angular-l10n";
16
- import * as i2 from "./l10n/localized-messages.directive";
17
- import * as i3 from "./message-list.component";
18
- import * as i4 from "./common/scroll-anchor.directive";
19
- import * as i5 from "./message-box.component";
20
19
  /**
21
20
  * Represents the Kendo UI Chat component for Angular.
22
21
  *
@@ -113,7 +112,7 @@ export class ChatComponent {
113
112
  }
114
113
  }
115
114
  ChatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
116
- ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: [
115
+ ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChatComponent, isStandalone: true, 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: [
117
116
  LocalizationService,
118
117
  {
119
118
  provide: L10N_PREFIX,
@@ -176,7 +175,7 @@ ChatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
176
175
  (sendMessage)="sendMessage.emit($event)"
177
176
  >
178
177
  </kendo-message-box>
179
- `, isInline: true, dependencies: [{ kind: "directive", type: i2.LocalizedMessagesDirective, selector: "[kendoChatLocalizedMessages]" }, { kind: "component", type: i3.MessageListComponent, selector: "kendo-chat-message-list", inputs: ["messages", "attachmentTemplate", "messageTemplate", "localization", "user"], outputs: ["executeAction", "navigate", "resize"] }, { kind: "directive", type: i4.ScrollAnchorDirective, selector: "[kendoChatScrollAnchor]", inputs: ["autoScroll"], outputs: ["autoScrollChange"], exportAs: ["scrollAnchor"] }, { kind: "component", type: i5.MessageBoxComponent, selector: "kendo-message-box", inputs: ["user", "autoScroll", "type", "localization", "messageBoxTemplate"], outputs: ["sendMessage"] }] });
178
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, 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", "localization", "user"], outputs: ["executeAction", "navigate", "resize"] }, { kind: "component", type: MessageBoxComponent, selector: "kendo-message-box", inputs: ["user", "autoScroll", "type", "localization", "messageBoxTemplate"], outputs: ["sendMessage"] }] });
180
179
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatComponent, decorators: [{
181
180
  type: Component,
182
181
  args: [{
@@ -245,7 +244,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
245
244
  (sendMessage)="sendMessage.emit($event)"
246
245
  >
247
246
  </kendo-message-box>
248
- `
247
+ `,
248
+ standalone: true,
249
+ imports: [LocalizedMessagesDirective, ScrollAnchorDirective, MessageListComponent, MessageBoxComponent]
249
250
  }]
250
251
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { messages: [{
251
252
  type: Input
@@ -2,44 +2,18 @@
2
2
  * Copyright © 2024 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
- import { AttachmentComponent } from './attachment.component';
6
- import { AttachmentTemplateDirective, ChatComponent, MessageTemplateDirective } from './chat.directives';
7
- import { ButtonModule } from '@progress/kendo-angular-buttons';
8
- import { CommonModule } from '@angular/common';
9
- import { ResizeSensorModule } from '@progress/kendo-angular-common';
10
- import { CustomMessagesComponent } from './l10n/custom-messages.component';
11
- import { FocusedStateDirective } from './common/focused-state.directive';
12
- import { HeroCardComponent } from './cards/hero-card.component';
13
- import { LocalizedMessagesDirective } from './l10n/localized-messages.directive';
14
- import { MessageAttachmentsComponent } from './message-attachments.component';
15
- import { MessageComponent } from './message.component';
16
- import { MessageListComponent } from './message-list.component';
5
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
17
6
  import { NgModule } from '@angular/core';
18
- import { ScrollAnchorDirective } from './common/scroll-anchor.directive';
19
- import { SuggestedActionsComponent } from './suggested-actions.component';
20
- import { MessageBoxComponent } from './message-box.component';
21
- import { ChatMessageBoxTemplateDirective } from './message-box.directive';
7
+ import { IconsService } from '@progress/kendo-angular-icons';
8
+ import { KENDO_CHAT } from '../directives';
22
9
  import * as i0 from "@angular/core";
23
- const PUBLIC_DIRECTIVES = [
24
- ChatComponent,
25
- CustomMessagesComponent,
26
- AttachmentTemplateDirective,
27
- MessageTemplateDirective,
28
- HeroCardComponent,
29
- ChatMessageBoxTemplateDirective
30
- ];
31
- const PRIVATE_DIRECTIVES = [
32
- AttachmentComponent,
33
- FocusedStateDirective,
34
- LocalizedMessagesDirective,
35
- MessageAttachmentsComponent,
36
- MessageComponent,
37
- MessageListComponent,
38
- MessageTemplateDirective,
39
- ScrollAnchorDirective,
40
- SuggestedActionsComponent,
41
- MessageBoxComponent
42
- ];
10
+ import * as i1 from "./chat.component";
11
+ import * as i2 from "./l10n/custom-messages.component";
12
+ import * as i3 from "./attachment-template.directive";
13
+ import * as i4 from "./message-template.directive";
14
+ import * as i5 from "./cards/hero-card.component";
15
+ import * as i6 from "./message-box.directive";
16
+ // IMPORTANT: NgModule export kept for backwards compatibility
43
17
  /**
44
18
  * The [NgModule](link:site.data.urls.angular['ngmodules']) for the Chat component.
45
19
  *
@@ -64,43 +38,13 @@ const PRIVATE_DIRECTIVES = [
64
38
  export class ChatModule {
65
39
  }
66
40
  ChatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
67
- ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ChatModule, declarations: [ChatComponent,
68
- CustomMessagesComponent,
69
- AttachmentTemplateDirective,
70
- MessageTemplateDirective,
71
- HeroCardComponent,
72
- ChatMessageBoxTemplateDirective, AttachmentComponent,
73
- FocusedStateDirective,
74
- LocalizedMessagesDirective,
75
- MessageAttachmentsComponent,
76
- MessageComponent,
77
- MessageListComponent,
78
- MessageTemplateDirective,
79
- ScrollAnchorDirective,
80
- SuggestedActionsComponent,
81
- MessageBoxComponent], imports: [ButtonModule,
82
- CommonModule,
83
- ResizeSensorModule], exports: [ChatComponent,
84
- CustomMessagesComponent,
85
- AttachmentTemplateDirective,
86
- MessageTemplateDirective,
87
- HeroCardComponent,
88
- ChatMessageBoxTemplateDirective] });
89
- ChatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatModule, imports: [ButtonModule,
90
- CommonModule,
91
- ResizeSensorModule] });
41
+ ChatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ChatModule, imports: [i1.ChatComponent, i2.CustomMessagesComponent, i3.AttachmentTemplateDirective, i4.MessageTemplateDirective, i5.HeroCardComponent, i6.ChatMessageBoxTemplateDirective], exports: [i1.ChatComponent, i2.CustomMessagesComponent, i3.AttachmentTemplateDirective, i4.MessageTemplateDirective, i5.HeroCardComponent, i6.ChatMessageBoxTemplateDirective] });
42
+ ChatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatModule, providers: [IconsService, ResizeBatchService], imports: [i1.ChatComponent, i2.CustomMessagesComponent, i5.HeroCardComponent] });
92
43
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatModule, decorators: [{
93
44
  type: NgModule,
94
45
  args: [{
95
- declarations: [
96
- ...PUBLIC_DIRECTIVES,
97
- ...PRIVATE_DIRECTIVES
98
- ],
99
- exports: [PUBLIC_DIRECTIVES],
100
- imports: [
101
- ButtonModule,
102
- CommonModule,
103
- ResizeSensorModule
104
- ]
46
+ exports: [...KENDO_CHAT],
47
+ imports: [...KENDO_CHAT],
48
+ providers: [IconsService, ResizeBatchService]
105
49
  }]
106
50
  }] });
@@ -19,11 +19,12 @@ export class FocusedStateDirective {
19
19
  }
20
20
  }
21
21
  FocusedStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusedStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
22
- FocusedStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FocusedStateDirective, selector: "[kendoChatFocusedState]", host: { listeners: { "focusin": "onFocus()", "focusout": "onBlur()" }, properties: { "class.k-focus": "this.focused" } }, ngImport: i0 });
22
+ FocusedStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FocusedStateDirective, isStandalone: true, selector: "[kendoChatFocusedState]", host: { listeners: { "focusin": "onFocus()", "focusout": "onBlur()" }, properties: { "class.k-focus": "this.focused" } }, ngImport: i0 });
23
23
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusedStateDirective, decorators: [{
24
24
  type: Directive,
25
25
  args: [{
26
- selector: '[kendoChatFocusedState]'
26
+ selector: '[kendoChatFocusedState]',
27
+ standalone: true
27
28
  }]
28
29
  }], propDecorators: { focused: [{
29
30
  type: HostBinding,
@@ -58,12 +58,13 @@ export class ScrollAnchorDirective {
58
58
  }
59
59
  }
60
60
  ScrollAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollAnchorDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
61
- ScrollAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ScrollAnchorDirective, selector: "[kendoChatScrollAnchor]", inputs: { autoScroll: "autoScroll" }, outputs: { autoScrollChange: "autoScrollChange" }, host: { properties: { "style.overflow-anchor": "this.overflowAnchor" } }, exportAs: ["scrollAnchor"], ngImport: i0 });
61
+ ScrollAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ScrollAnchorDirective, isStandalone: true, selector: "[kendoChatScrollAnchor]", inputs: { autoScroll: "autoScroll" }, outputs: { autoScrollChange: "autoScrollChange" }, host: { properties: { "style.overflow-anchor": "this.overflowAnchor" } }, exportAs: ["scrollAnchor"], ngImport: i0 });
62
62
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollAnchorDirective, decorators: [{
63
63
  type: Directive,
64
64
  args: [{
65
65
  selector: '[kendoChatScrollAnchor]',
66
- exportAs: 'scrollAnchor'
66
+ exportAs: 'scrollAnchor',
67
+ standalone: true
67
68
  }]
68
69
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { autoScroll: [{
69
70
  type: Input
@@ -22,7 +22,7 @@ export class CustomMessagesComponent extends Messages {
22
22
  }
23
23
  }
24
24
  CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
25
- CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, selector: "kendo-chat-messages", providers: [
25
+ CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-chat-messages", providers: [
26
26
  {
27
27
  provide: Messages,
28
28
  useExisting: forwardRef(() => CustomMessagesComponent)
@@ -38,6 +38,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
38
38
  }
39
39
  ],
40
40
  selector: 'kendo-chat-messages',
41
- template: ``
41
+ template: ``,
42
+ standalone: true
42
43
  }]
43
44
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -18,7 +18,7 @@ export class LocalizedMessagesDirective extends Messages {
18
18
  }
19
19
  }
20
20
  LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
21
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoChatLocalizedMessages]", providers: [
21
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoChatLocalizedMessages]", providers: [
22
22
  {
23
23
  provide: Messages,
24
24
  useExisting: forwardRef(() => LocalizedMessagesDirective)
@@ -33,6 +33,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
33
33
  useExisting: forwardRef(() => LocalizedMessagesDirective)
34
34
  }
35
35
  ],
36
- selector: '[kendoChatLocalizedMessages]'
36
+ selector: '[kendoChatLocalizedMessages]',
37
+ standalone: true
37
38
  }]
38
39
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });