@progress/kendo-angular-conversational-ui 19.3.0-develop.9 → 19.3.1-develop.1

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 (72) hide show
  1. package/ai-prompt/aiprompt.component.d.ts +80 -13
  2. package/ai-prompt/aiprompt.module.d.ts +3 -1
  3. package/ai-prompt/common/aiprompt.service.d.ts +10 -0
  4. package/ai-prompt/common/output-card.component.d.ts +4 -0
  5. package/ai-prompt/localization/messages.d.ts +5 -1
  6. package/ai-prompt/models/ai-prompt-settings.d.ts +60 -0
  7. package/ai-prompt/models/index.d.ts +1 -0
  8. package/ai-prompt/templates/aiprompt-output-body-template.directive.d.ts +24 -0
  9. package/ai-prompt/templates/aiprompt-output-template.directive.d.ts +24 -0
  10. package/ai-prompt/views/output-view.component.d.ts +4 -0
  11. package/ai-prompt/views/prompt-view.component.d.ts +23 -1
  12. package/chat/message-attachments.component.d.ts +1 -1
  13. package/conversational-ui.module.d.ts +12 -7
  14. package/directives.d.ts +25 -2
  15. package/esm2022/ai-prompt/aiprompt.component.mjs +177 -25
  16. package/esm2022/ai-prompt/aiprompt.module.mjs +3 -1
  17. package/esm2022/ai-prompt/common/aiprompt.service.mjs +35 -0
  18. package/esm2022/ai-prompt/common/output-card.component.mjs +23 -5
  19. package/esm2022/ai-prompt/common/toolbar-focusable.directive.mjs +4 -3
  20. package/esm2022/ai-prompt/localization/messages.mjs +7 -1
  21. package/esm2022/ai-prompt/models/ai-prompt-settings.mjs +5 -0
  22. package/esm2022/ai-prompt/templates/aiprompt-output-body-template.directive.mjs +33 -0
  23. package/esm2022/ai-prompt/templates/aiprompt-output-template.directive.mjs +33 -0
  24. package/esm2022/ai-prompt/views/output-view.component.mjs +27 -11
  25. package/esm2022/ai-prompt/views/prompt-view.component.mjs +139 -21
  26. package/esm2022/chat/message-attachments.component.mjs +3 -2
  27. package/esm2022/chat/message-box.component.mjs +3 -3
  28. package/esm2022/chat/message-list.component.mjs +4 -2
  29. package/esm2022/chat/suggested-actions.component.mjs +2 -2
  30. package/esm2022/conversational-ui.module.mjs +13 -8
  31. package/esm2022/directives.mjs +32 -2
  32. package/esm2022/index.mjs +8 -0
  33. package/esm2022/inline-ai-prompt/inlineaiprompt-content.component.mjs +522 -0
  34. package/esm2022/inline-ai-prompt/inlineaiprompt.component.mjs +349 -0
  35. package/esm2022/inline-ai-prompt/inlineaiprompt.module.mjs +46 -0
  36. package/esm2022/inline-ai-prompt/inlineaiprompt.service.mjs +85 -0
  37. package/esm2022/inline-ai-prompt/localization/custom-messages.component.mjs +53 -0
  38. package/esm2022/inline-ai-prompt/localization/localized-messages.directive.mjs +39 -0
  39. package/esm2022/inline-ai-prompt/localization/messages.mjs +35 -0
  40. package/esm2022/inline-ai-prompt/models/command.interface.mjs +5 -0
  41. package/esm2022/inline-ai-prompt/models/index.mjs +5 -0
  42. package/esm2022/inline-ai-prompt/models/inlineaiprompt-popupsettings.mjs +5 -0
  43. package/esm2022/inline-ai-prompt/models/inlineaiprompt-settings.mjs +59 -0
  44. package/esm2022/inline-ai-prompt/models/messages.mjs +8 -0
  45. package/esm2022/inline-ai-prompt/models/output-action-click-event.mjs +5 -0
  46. package/esm2022/inline-ai-prompt/models/output-action.interface.mjs +5 -0
  47. package/esm2022/inline-ai-prompt/models/prompt-output.interface.mjs +5 -0
  48. package/esm2022/inline-ai-prompt/models/prompt-request-event.mjs +5 -0
  49. package/esm2022/inline-ai-prompt/output-template.directive.mjs +38 -0
  50. package/esm2022/inline-ai-prompt/utils.mjs +57 -0
  51. package/esm2022/package-metadata.mjs +2 -2
  52. package/fesm2022/progress-kendo-angular-conversational-ui.mjs +1768 -147
  53. package/index.d.ts +8 -0
  54. package/inline-ai-prompt/inlineaiprompt-content.component.d.ts +82 -0
  55. package/inline-ai-prompt/inlineaiprompt.component.d.ts +157 -0
  56. package/inline-ai-prompt/inlineaiprompt.module.d.ts +31 -0
  57. package/inline-ai-prompt/inlineaiprompt.service.d.ts +41 -0
  58. package/inline-ai-prompt/localization/custom-messages.component.d.ts +27 -0
  59. package/inline-ai-prompt/localization/localized-messages.directive.d.ts +16 -0
  60. package/inline-ai-prompt/localization/messages.d.ts +25 -0
  61. package/inline-ai-prompt/models/command.interface.d.ts +38 -0
  62. package/inline-ai-prompt/models/index.d.ts +12 -0
  63. package/inline-ai-prompt/models/inlineaiprompt-popupsettings.d.ts +10 -0
  64. package/inline-ai-prompt/models/inlineaiprompt-settings.d.ts +66 -0
  65. package/inline-ai-prompt/models/messages.d.ts +21 -0
  66. package/inline-ai-prompt/models/output-action-click-event.d.ts +19 -0
  67. package/inline-ai-prompt/models/output-action.interface.d.ts +52 -0
  68. package/inline-ai-prompt/models/prompt-output.interface.d.ts +25 -0
  69. package/inline-ai-prompt/models/prompt-request-event.d.ts +17 -0
  70. package/inline-ai-prompt/output-template.directive.d.ts +27 -0
  71. package/inline-ai-prompt/utils.d.ts +17 -0
  72. package/package.json +13 -12
@@ -0,0 +1,17 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * Represents the arguments for the `promptRequest` event of the Inline AI Prompt.
7
+ */
8
+ export interface InlineAIPromptRequestEvent {
9
+ /**
10
+ * Represents the user prompt input.
11
+ */
12
+ prompt: string;
13
+ /**
14
+ * Specifies whether the event is triggered by the built-in **Retry** action button.
15
+ */
16
+ isRetry?: boolean;
17
+ }
@@ -0,0 +1,27 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { TemplateRef } from "@angular/core";
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Defines a template for displaying the output of the Inline AI Prompt.
9
+ *
10
+ * @example
11
+ * ```html
12
+ * <kendo-inlineaiprompt>
13
+ * <ng-template kendoInlineAIPromptOutputTemplate let-output>
14
+ * <div class="custom-output">
15
+ * <h4>AI Response:</h4>
16
+ * <p>{{ output.output }}</p>
17
+ * </div>
18
+ * </ng-template>
19
+ * </kendo-inlineaiprompt>
20
+ * ```
21
+ */
22
+ export declare class InlineAIPromptOutputTemplateDirective {
23
+ templateRef: TemplateRef<any>;
24
+ constructor(templateRef: TemplateRef<any>);
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<InlineAIPromptOutputTemplateDirective, [{ optional: true; }]>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InlineAIPromptOutputTemplateDirective, "[kendoInlineAIPromptOutputTemplate]", never, {}, {}, never, never, true, never>;
27
+ }
@@ -0,0 +1,17 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { InlineAIPromptOutputAction, InlineAIPromptPopupSettings } from "./models";
6
+ /**
7
+ * @hidden
8
+ */
9
+ export declare const defaultPopupSettings: InlineAIPromptPopupSettings;
10
+ /**
11
+ * @hidden
12
+ */
13
+ export declare const calculateMeasurement: (value: string | number) => string;
14
+ /**
15
+ * @hidden
16
+ */
17
+ export declare const defaultOutputActions: InlineAIPromptOutputAction[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-conversational-ui",
3
- "version": "19.3.0-develop.9",
3
+ "version": "19.3.1-develop.1",
4
4
  "description": "Kendo UI for Angular Conversational UI components",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -20,7 +20,7 @@
20
20
  "package": {
21
21
  "productName": "Kendo UI for Angular",
22
22
  "productCode": "KENDOUIANGULAR",
23
- "publishDate": 1752672481,
23
+ "publishDate": 1755502649,
24
24
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
25
25
  }
26
26
  },
@@ -29,20 +29,21 @@
29
29
  "@angular/common": "16 - 20",
30
30
  "@angular/core": "16 - 20",
31
31
  "@angular/platform-browser": "16 - 20",
32
- "@progress/kendo-licensing": "^1.5.0",
33
- "@progress/kendo-angular-buttons": "19.3.0-develop.9",
34
- "@progress/kendo-angular-inputs": "19.3.0-develop.9",
35
- "@progress/kendo-angular-layout": "19.3.0-develop.9",
36
- "@progress/kendo-angular-icons": "19.3.0-develop.9",
37
- "@progress/kendo-angular-common": "19.3.0-develop.9",
38
- "@progress/kendo-angular-intl": "19.3.0-develop.9",
39
- "@progress/kendo-angular-l10n": "19.3.0-develop.9",
40
- "@progress/kendo-angular-popup": "19.3.0-develop.9",
32
+ "@progress/kendo-licensing": "^1.7.0",
33
+ "@progress/kendo-angular-buttons": "19.3.1-develop.1",
34
+ "@progress/kendo-angular-inputs": "19.3.1-develop.1",
35
+ "@progress/kendo-angular-layout": "19.3.1-develop.1",
36
+ "@progress/kendo-angular-icons": "19.3.1-develop.1",
37
+ "@progress/kendo-angular-common": "19.3.1-develop.1",
38
+ "@progress/kendo-angular-intl": "19.3.1-develop.1",
39
+ "@progress/kendo-angular-l10n": "19.3.1-develop.1",
40
+ "@progress/kendo-angular-menu": "19.3.1-develop.1",
41
+ "@progress/kendo-angular-popup": "19.3.1-develop.1",
41
42
  "rxjs": "^6.5.3 || ^7.0.0"
42
43
  },
43
44
  "dependencies": {
44
45
  "tslib": "^2.3.1",
45
- "@progress/kendo-angular-schematics": "19.3.0-develop.9"
46
+ "@progress/kendo-angular-schematics": "19.3.1-develop.1"
46
47
  },
47
48
  "schematics": "./schematics/collection.json",
48
49
  "module": "fesm2022/progress-kendo-angular-conversational-ui.mjs",