@progress/kendo-react-conversational-ui 13.3.0 → 13.4.0-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 (66) hide show
  1. package/ai-prompt/AIPrompt.d.ts +176 -0
  2. package/ai-prompt/AIPromptContent.d.ts +30 -0
  3. package/ai-prompt/AIPromptContext.d.ts +32 -0
  4. package/ai-prompt/AIPromptExpander.d.ts +23 -0
  5. package/ai-prompt/AIPromptFooter.d.ts +22 -0
  6. package/ai-prompt/AIPromptHeader.d.ts +39 -0
  7. package/ai-prompt/views/AIPromptCommandsView.d.ts +58 -0
  8. package/ai-prompt/views/AIPromptOutputView.d.ts +63 -0
  9. package/ai-prompt/views/AIPromptView.d.ts +43 -0
  10. package/ai-prompt/views/AIPromptView.mjs +5 -5
  11. package/ai-prompt/views/AIPromptViewRender.d.ts +26 -0
  12. package/ai-prompt/views/constants.d.ts +20 -0
  13. package/api/action.interface.d.ts +36 -0
  14. package/api/attachment.interface.d.ts +37 -0
  15. package/api/message.interface.d.ts +99 -0
  16. package/api/user.interface.d.ts +29 -0
  17. package/chat/ChatPropsAndState.d.ts +498 -0
  18. package/chat/Events.d.ts +50 -0
  19. package/chat/ViewItem.d.ts +64 -0
  20. package/chat/components/Action.d.ts +25 -0
  21. package/chat/components/ActionGroup.d.ts +26 -0
  22. package/chat/components/Attachment.d.ts +27 -0
  23. package/chat/components/AttachmentGroup.d.ts +24 -0
  24. package/chat/components/Chat.d.ts +13 -0
  25. package/chat/components/ChatContext.d.ts +45 -0
  26. package/chat/components/ChatMessage.d.ts +110 -0
  27. package/chat/components/ChatMessage.mjs +6 -6
  28. package/chat/components/DateMarker.d.ts +23 -0
  29. package/chat/components/Header.d.ts +13 -0
  30. package/chat/components/MessageGroup.d.ts +37 -0
  31. package/chat/components/NewMessage.d.ts +52 -0
  32. package/chat/components/Notification.d.ts +26 -0
  33. package/chat/components/ScrollButtonsWrapper.d.ts +47 -0
  34. package/chat/components/SuggestionsGroup.d.ts +63 -0
  35. package/chat/components/elements/FileBox.d.ts +37 -0
  36. package/chat/components/elements/FileBox.mjs +3 -3
  37. package/chat/components/elements/PinnedMessage.d.ts +22 -0
  38. package/chat/components/templates/HeroCard.d.ts +43 -0
  39. package/chat/hooks/useScrollWithButtons.d.ts +57 -0
  40. package/chat/utils/fieldMapping.d.ts +56 -0
  41. package/chat/utils/messageSettings.d.ts +82 -0
  42. package/chat/utils/scroll.d.ts +32 -0
  43. package/chat/utils.d.ts +41 -0
  44. package/codemods/v12/author-id.js +1 -8
  45. package/codemods/v12/chat-send-message.js +2 -9
  46. package/codemods/v12/index.js +0 -7
  47. package/codemods/v12/message-template.js +1 -8
  48. package/codemods/v12/send-message.js +1 -8
  49. package/codemods/v12/show-toolbar.js +1 -8
  50. package/codemods/v12/toolbar-action-execute.js +1 -8
  51. package/codemods/v12/toolbar.js +1 -8
  52. package/codemods/v12/utils.js +2 -9
  53. package/dist/cdn/js/kendo-react-conversational-ui.js +1 -1
  54. package/index.d.mts +23 -1627
  55. package/index.d.ts +23 -1627
  56. package/inline-ai-prompt/InlineAIPrompt.d.ts +163 -0
  57. package/inline-ai-prompt/InlineAIPrompt.mjs +4 -4
  58. package/inline-ai-prompt/InlineAIPromptInput.d.ts +62 -0
  59. package/inline-ai-prompt/InlineAIPromptInput.js +2 -2
  60. package/inline-ai-prompt/InlineAIPromptInput.mjs +45 -44
  61. package/inline-ai-prompt/InlineAIPromptPopup.d.ts +57 -0
  62. package/messages/index.d.ts +112 -0
  63. package/package-metadata.d.ts +12 -0
  64. package/package-metadata.js +1 -1
  65. package/package-metadata.mjs +11 -16
  66. package/package.json +11 -11
@@ -0,0 +1,176 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as React } from 'react';
9
+ import { AIPromptToolbarItemInterface } from './AIPromptHeader.js';
10
+ import { promptViewDefaults, outputViewDefaults, commandsViewDefaults } from './views/constants.js';
11
+ import { CommandInterface } from './views/AIPromptCommandsView.js';
12
+ import { SuggestionsView } from '../chat/components/SuggestionsGroup.js';
13
+ /**
14
+ * Props of the AIPrompt component.
15
+ */
16
+ export interface AIPromptProps extends React.HTMLAttributes<HTMLElement> {
17
+ /**
18
+ * Inline styles for the root element.
19
+ * ```jsx
20
+ * <AIPrompt style={{ backgroundColor: 'lightblue' }} />
21
+ * ```
22
+ */
23
+ style?: React.CSSProperties;
24
+ /**
25
+ * Sets the name of the `activeView` property:
26
+ * ```jsx
27
+ * <AIPrompt activeView="promptView" />
28
+ * ```
29
+ */
30
+ activeView: typeof promptViewDefaults.name | typeof outputViewDefaults.name | typeof commandsViewDefaults.name | string;
31
+ /**
32
+ * Items rendered in the toolbar.
33
+ * The items rendered in the toolbar. the `toolbarItems` property:
34
+ * ```jsx
35
+ * <AIPrompt toolbarItems={[<CustomToolbarItem />]} />
36
+ * ```
37
+ */
38
+ toolbarItems?: (AIPromptToolbarItemInterface | React.ReactNode)[];
39
+ /**
40
+ * Output items generated from prompts.
41
+ *
42
+ * @hidden
43
+ */
44
+ outputs?: AIPromptOutputInterface[];
45
+ /**
46
+ * Custom content rendered inside the component.
47
+ * ```jsx
48
+ * <AIPrompt>
49
+ * <div>Custom content</div>
50
+ * </AIPrompt>
51
+ * ```
52
+ */
53
+ children?: React.ReactNode;
54
+ /**
55
+ * Placeholder text for the prompt input.
56
+ * ```jsx
57
+ * <AIPrompt promptPlaceholder="Type your prompt here..." />
58
+ * ```
59
+ */
60
+ promptPlaceholder?: string;
61
+ /**
62
+ * Text direction of the component.
63
+ * ```jsx
64
+ * <AIPrompt dir="rtl" />
65
+ * ```
66
+ */
67
+ dir?: string;
68
+ /**
69
+ * Fires when the active view changes. Provides the new view name.
70
+ * ```jsx
71
+ * <AIPrompt onActiveViewChange={(name) => console.log('Active view changed to:', name)} />
72
+ * ```
73
+ */
74
+ onActiveViewChange?: (name: string) => void;
75
+ /**
76
+ * Fires when a command is executed.
77
+ * ```jsx
78
+ * <AIPrompt onCommandExecute={(command) => console.log('Command executed:', command)} />
79
+ * ```
80
+ */
81
+ onCommandExecute?: (command: CommandInterface) => void;
82
+ /**
83
+ * Fires when a prompt is requested. Provides the prompt and optional target output.
84
+ * ```jsx
85
+ * <AIPrompt onPromptRequest={(prompt) => console.log('Prompt requested:', prompt)} />
86
+ * ```
87
+ */
88
+ onPromptRequest?: (prompt?: string, outputItem?: AIPromptOutputInterface) => void;
89
+ /**
90
+ * Fires when the prompt is canceled.
91
+ * ```jsx
92
+ * <AIPrompt onCancel={() => console.log('Prompt cancelled')} />
93
+ * ```
94
+ */
95
+ onCancel?: () => void;
96
+ /**
97
+ * Indicates streaming state of the prompt.
98
+ * ```jsx
99
+ * <AIPrompt streaming={true} />
100
+ * ```
101
+ */
102
+ streaming?: boolean;
103
+ /**
104
+ * Indicates loading state of the prompt.
105
+ * ```jsx
106
+ * <AIPrompt loading={true} />
107
+ * ```
108
+ */
109
+ loading?: boolean;
110
+ /**
111
+ * Optionally specifies the rendering for the suggestions displayed in the AI Prompt component.
112
+ */
113
+ suggestionsView?: SuggestionsView;
114
+ }
115
+ export interface AIPromptOutputInterface {
116
+ /**
117
+ * EUnique identifier of the output item.
118
+ * ```jsx
119
+ * const output = { id: 1, responseContent: 'Generated content' };
120
+ * ```
121
+ */
122
+ id: string | number;
123
+ /**
124
+ * Example usage of the `title` property:
125
+ * ```jsx
126
+ * const output = { title: 'Generated Title', responseContent: 'Generated content' };
127
+ * ```
128
+ */
129
+ title?: React.ReactNode;
130
+ /**
131
+ * Optional `subTitle` content.
132
+ * ```jsx
133
+ * const output = { subTitle: 'Generated Subtitle', responseContent: 'Generated content' };
134
+ * ```
135
+ */
136
+ subTitle?: React.ReactNode;
137
+ /**
138
+ * Prompt that produced this output.
139
+ * ```jsx
140
+ * const output = { prompt: 'User prompt', responseContent: 'Generated content' };
141
+ * ```
142
+ */
143
+ prompt?: string;
144
+ /**
145
+ * Generated response content.
146
+ * ```jsx
147
+ * const output = { responseContent: 'Generated content' };
148
+ * ```
149
+ */
150
+ responseContent: string;
151
+ /**
152
+ * Indicates if this output is a retry.
153
+ * ```jsx
154
+ * const output = { isRetry: true, responseContent: 'Generated content' };
155
+ * ```
156
+ */
157
+ isRetry?: boolean;
158
+ /**
159
+ * Rating type applied to the output.
160
+ * ```jsx
161
+ * const output = { ratingType: 'positive', responseContent: 'Generated content' };
162
+ * ```
163
+ */
164
+ ratingType?: string;
165
+ /**
166
+ * Command that triggered the prompt generation.
167
+ * ```jsx
168
+ * const output = { command: { name: 'Retry' }, responseContent: 'Generated content' };
169
+ * ```
170
+ */
171
+ command?: CommandInterface;
172
+ }
173
+ /**
174
+ * Represents the KendoReact AIPrompt component.
175
+ */
176
+ export declare const AIPrompt: (props: AIPromptProps) => React.JSX.Element;
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as React } from 'react';
9
+ /**
10
+ * The props of the AIPromptContent component.
11
+ */
12
+ interface AIPromptContentProps {
13
+ /**
14
+ * Specifies the AIPromptContent children elements.
15
+ */
16
+ children?: React.ReactNode;
17
+ /**
18
+ * Specifies the callback for cancel action.
19
+ */
20
+ onCancel?: () => void;
21
+ /**
22
+ * Specifies if the streaming indicator should be shown.
23
+ */
24
+ streaming?: boolean;
25
+ }
26
+ /**
27
+ * Represents the KendoReact AIPromptContent component.
28
+ */
29
+ export declare const AIPromptContent: React.ForwardRefExoticComponent<AIPromptContentProps & React.RefAttributes<HTMLDivElement>>;
30
+ export {};
@@ -0,0 +1,32 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as React } from 'react';
9
+ import { AIPromptOutputInterface } from './AIPrompt.js';
10
+ import { CommandInterface } from './views/AIPromptCommandsView.js';
11
+ import { SuggestionsView } from '../chat/components/SuggestionsGroup.js';
12
+ /**
13
+ * @hidden
14
+ */
15
+ interface AIPromptContextInterface {
16
+ activeView?: string;
17
+ streaming?: boolean;
18
+ loading?: boolean;
19
+ suggestionsView?: SuggestionsView;
20
+ onCancel?: () => void;
21
+ onPromptRequest?: (prompt?: string, outputItem?: AIPromptOutputInterface) => void;
22
+ onCommandExecute?: (command: CommandInterface) => void;
23
+ }
24
+ /**
25
+ * @hidden
26
+ */
27
+ export declare const AIPromptContext: React.Context<[AIPromptContextInterface, any]>;
28
+ /**
29
+ * @hidden
30
+ */
31
+ export declare const useAIPromptContext: () => [AIPromptContextInterface, any];
32
+ export {};
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as React } from 'react';
9
+ export interface AIPromptExpanderProps {
10
+ /**
11
+ * The content to be displayed inside the expander when it is expanded.
12
+ */
13
+ children?: React.ReactNode;
14
+ /**
15
+ * The title text displayed on the expander button.
16
+ */
17
+ title: string;
18
+ /**
19
+ * The id attribute that will be applied to the expandable content element.
20
+ */
21
+ id?: string;
22
+ }
23
+ export declare const AIPromptExpander: (props: AIPromptExpanderProps) => React.JSX.Element;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as React } from 'react';
9
+ /**
10
+ * The props of the AIPromptFooter component.
11
+ */
12
+ interface AIPromptFooterProps {
13
+ /**
14
+ * Specifies the AIPromptFooter children elements.
15
+ */
16
+ children?: React.ReactNode;
17
+ }
18
+ /**
19
+ * Represents the KendoReact AIPromptFooter component.
20
+ */
21
+ export declare const AIPromptFooter: (props: AIPromptFooterProps) => React.JSX.Element;
22
+ export {};
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as React } from 'react';
9
+ import { SVGIcon } from '@progress/kendo-svg-icons';
10
+ /**
11
+ * An interface for the AIPromptToolbarItem.
12
+ */
13
+ export interface AIPromptToolbarItemInterface {
14
+ /**
15
+ * Defines the name of the view witch is related to.
16
+ */
17
+ name: string;
18
+ /**
19
+ * Defines the svgIcon used in the Toolbar button.
20
+ */
21
+ buttonIcon?: SVGIcon;
22
+ /**
23
+ * Defines the text used in the Toolbar button.
24
+ */
25
+ buttonText?: string;
26
+ }
27
+ /**
28
+ * @hidden
29
+ */
30
+ interface AIPromptHeaderProps {
31
+ activeView: string;
32
+ toolbarItems: (AIPromptToolbarItemInterface | React.ReactNode)[];
33
+ activeViewChange?: (viewName: string) => void;
34
+ }
35
+ /**
36
+ * @hidden
37
+ */
38
+ export declare const PromptHeader: (props: AIPromptHeaderProps) => React.JSX.Element;
39
+ export {};
@@ -0,0 +1,58 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as React } from 'react';
9
+ import { SVGIcon } from '@progress/kendo-react-common';
10
+ /**
11
+ * The props of the AIPromptCommandsView component.
12
+ */
13
+ interface AIPromptCommandsViewProps {
14
+ /**
15
+ * The collection of commands that will be rendered in the Command view.
16
+ */
17
+ commands?: CommandInterface[];
18
+ /**
19
+ * Fires each time the user clicks over a Command view command. Exposes the selected command as event data.
20
+ */
21
+ onCommandExecute?: (command: CommandItemInterface) => void;
22
+ }
23
+ /**
24
+ * An interface for the command in the Command view.
25
+ */
26
+ export interface CommandInterface extends CommandItemInterface {
27
+ /**
28
+ * Collection with nested commands.
29
+ */
30
+ children?: CommandItemInterface[];
31
+ }
32
+ /**
33
+ * An interface for the command item.
34
+ */
35
+ export interface CommandItemInterface {
36
+ /**
37
+ * The unique identifier of the command.
38
+ */
39
+ id: string;
40
+ /**
41
+ * Specifies the command text.
42
+ */
43
+ text: string;
44
+ /**
45
+ * Specifies the name of the SVG icon that will be rendered for the command.
46
+ */
47
+ svgIcon?: SVGIcon;
48
+ /**
49
+ * Optional prompt function that takes selected text and returns a formatted prompt.
50
+ * This is used by default commands and can be used by custom commands.
51
+ */
52
+ prompt?: (selection: string) => string;
53
+ }
54
+ /**
55
+ * The props of the AIPromptCommandsView component.
56
+ */
57
+ export declare const AIPromptCommandsView: (props: AIPromptCommandsViewProps) => React.JSX.Element;
58
+ export {};
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as React } from 'react';
9
+ import { AIPromptOutputInterface } from '../AIPrompt.js';
10
+ /**
11
+ * The fields of the AIPromptOutputView card prop.
12
+ */
13
+ export interface AIPromptCardInterface {
14
+ /**
15
+ * Custom template for AIPromptCard header.
16
+ */
17
+ header?: (props: AIPromptOutputInterface) => React.ReactNode;
18
+ /**
19
+ * Custom template for AIPromptCard body.
20
+ */
21
+ body?: (props: AIPromptOutputInterface) => React.ReactNode;
22
+ /**
23
+ * Custom template for AIPromptCard actions.
24
+ */
25
+ actions?: (props: AIPromptOutputInterface) => React.ReactNode;
26
+ }
27
+ /**
28
+ * The props of the AIPromptOutputView component.
29
+ */
30
+ interface AIPromptOutputViewProps {
31
+ /**
32
+ * The collection of generated prompt outputs that will be rendered in the Output view.
33
+ */
34
+ outputs?: AIPromptOutputInterface[];
35
+ /**
36
+ * Represents a template that allows you to define custom Card fields for:
37
+ * header
38
+ * body
39
+ * actions
40
+ * The custom fields will override the default one.
41
+ */
42
+ outputCard?: AIPromptCardInterface;
43
+ /**
44
+ * Specifies if the rating buttons in each card will be rendered.
45
+ * By default, rating buttons are not rendered.
46
+ *
47
+ * @default false
48
+ */
49
+ showOutputRating?: boolean;
50
+ /**
51
+ * Fires each time the user clicks Copy button in the card.
52
+ */
53
+ onCopy?: () => void;
54
+ /**
55
+ * Fires each time the user clicks a rating button in the card.
56
+ */
57
+ onOutputRating?: () => void;
58
+ }
59
+ /**
60
+ * Represents the KendoReact AIPromptOutputView component.
61
+ */
62
+ export declare const AIPromptOutputView: (props: AIPromptOutputViewProps) => React.JSX.Element;
63
+ export {};
@@ -0,0 +1,43 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as React } from 'react';
9
+ import { ButtonProps, SpeechToTextButtonProps } from '@progress/kendo-react-buttons';
10
+ import { TextAreaProps } from '@progress/kendo-react-inputs';
11
+ import { CustomComponent } from '@progress/kendo-react-common';
12
+ /**
13
+ * The properties of the AIPromptView component.
14
+ */
15
+ export interface AIPromptViewProps {
16
+ /**
17
+ * Accepts a custom component that can be used to render the prompt input. See example [here](https://www.telerik.com/kendo-react-ui/components/conversational-ui/ai-prompt/customization).
18
+ */
19
+ promptInput?: CustomComponent<TextAreaProps>;
20
+ /**
21
+ * Accepts a custom component that can be used to render the generate button. See example [here](https://www.telerik.com/kendo-react-ui/components/conversational-ui/ai-prompt/customization).
22
+ */
23
+ generateButton?: CustomComponent<ButtonProps>;
24
+ /**
25
+ * The value of the prompt input.
26
+ */
27
+ promptValue?: string;
28
+ /**
29
+ * The suggestions that will be displayed in the prompt view. See example [here](https://www.telerik.com/kendo-react-ui/components/conversational-ui/ai-prompt/suggestions).
30
+ */
31
+ promptSuggestions?: string[];
32
+ /**
33
+ * Show speech to text button in input. When true, shows the button with default settings.
34
+ * When an object is provided, passes those props directly to the SpeechToTextButton component.
35
+ *
36
+ * @default false
37
+ */
38
+ enableSpeechToText?: boolean | SpeechToTextButtonProps;
39
+ }
40
+ /**
41
+ * The props of the AIPromptCommandsView component.
42
+ */
43
+ export declare const AIPromptView: (props: AIPromptViewProps) => React.JSX.Element;
@@ -8,8 +8,8 @@
8
8
  import e from "react";
9
9
  import { AIPromptContent as B } from "../AIPromptContent.mjs";
10
10
  import { AIPromptFooter as q } from "../AIPromptFooter.mjs";
11
- import { SpeechToTextButton as z, Button as F } from "@progress/kendo-react-buttons";
12
- import { InputSeparator as j, InputSuffix as G, TextArea as O } from "@progress/kendo-react-inputs";
11
+ import { Button as z, SpeechToTextButton as F } from "@progress/kendo-react-buttons";
12
+ import { TextArea as j, InputSeparator as G, InputSuffix as O } from "@progress/kendo-react-inputs";
13
13
  import { sparklesIcon as $ } from "@progress/kendo-svg-icons";
14
14
  import { useCustomComponent as P } from "@progress/kendo-react-common";
15
15
  import { AIPromptViewRender as H } from "./AIPromptViewRender.mjs";
@@ -19,8 +19,8 @@ import { SuggestionGroup as _ } from "../../chat/components/SuggestionsGroup.mjs
19
19
  import { promptViewDefaults as D } from "./constants.mjs";
20
20
  const ne = (S) => {
21
21
  const {
22
- promptInput: A = O,
23
- generateButton: E = F,
22
+ promptInput: A = j,
23
+ generateButton: E = z,
24
24
  enableSpeechToText: n = !1,
25
25
  promptValue: I,
26
26
  promptSuggestions: p
@@ -73,7 +73,7 @@ const ne = (S) => {
73
73
  flow: "vertical",
74
74
  textareaStyle: { maxHeight: "110px" },
75
75
  autoSize: !0,
76
- suffix: n ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(j, { orientation: "horizontal" }), /* @__PURE__ */ e.createElement(G, { orientation: "horizontal" }, /* @__PURE__ */ e.createElement(z, { fillMode: "flat", ...f }))) : void 0,
76
+ suffix: n ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(G, { orientation: "horizontal" }), /* @__PURE__ */ e.createElement(O, { orientation: "horizontal" }, /* @__PURE__ */ e.createElement(F, { fillMode: "flat", ...f }))) : void 0,
77
77
  onChange: V,
78
78
  ...k
79
79
  }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as React } from 'react';
9
+ /**
10
+ * The props of the AIPromptViewRender component.
11
+ */
12
+ interface AIPromptViewRenderProps {
13
+ /**
14
+ * Specifies the name of the view.
15
+ */
16
+ name: string;
17
+ /**
18
+ * Specifies the AIPromptViewRender children elements.
19
+ */
20
+ children: React.ReactNode;
21
+ }
22
+ /**
23
+ * Represents the KendoReact AIPromptViewRender component.
24
+ */
25
+ export declare const AIPromptViewRender: (props: AIPromptViewRenderProps) => React.ReactNode;
26
+ export {};
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { AIPromptToolbarItemInterface } from '../AIPromptHeader.js';
9
+ /**
10
+ * Specifies the default values for Output view Toolbar.
11
+ */
12
+ export declare const outputViewDefaults: AIPromptToolbarItemInterface;
13
+ /**
14
+ * Specifies the default values for Commands view Toolbar.
15
+ */
16
+ export declare const commandsViewDefaults: AIPromptToolbarItemInterface;
17
+ /**
18
+ * Specifies the default values for Prompt view Toolbar.
19
+ */
20
+ export declare const promptViewDefaults: AIPromptToolbarItemInterface;
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * Specifies the button type of a quick action ([see examples](https://www.telerik.com/kendo-react-ui/components/conversational-ui/chat/quick-actions/suggested-actions)).
10
+ *
11
+ * * `openUrl`&mdash;Opens a new browser window with the specified URL.
12
+ * * `reply`&mdash;Sends the action value as a reply in the Chat.
13
+ * * `call`&mdash;Treats a value as a phone number.
14
+ * Similar to clicking a [telephone link](https://css-tricks.com/the-current-state-of-telephone-links/).
15
+ * * other&mdash;Handled in your code in the [`ExecuteActionEvent`](https://www.telerik.com/kendo-react-ui/components/conversational-ui/api/chatactionexecuteevent).
16
+ */
17
+ export type ActionType = 'openUrl' | 'reply' | 'call' | any;
18
+ /**
19
+ * Defines a quick action for a message.
20
+ * The `value` is interpreted by the action `type`.
21
+ */
22
+ export interface Action {
23
+ /**
24
+ * A predefined or custom `string` type for the action.
25
+ */
26
+ type: ActionType;
27
+ /**
28
+ * The value associated with the action.
29
+ */
30
+ value: any;
31
+ /**
32
+ * Optional title for the quick action.
33
+ * If not set, the Chat displays `value`.
34
+ */
35
+ title?: string;
36
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * Represents a message attachment ([see examples](https://www.telerik.com/kendo-react-ui/components/conversational-ui/chat/file-uploads-and-media/attachments)).
10
+ */
11
+ export interface Attachment {
12
+ /**
13
+ * Content type identifier for the attachment.
14
+ * Typically a MIME type. Can be any string.
15
+ */
16
+ contentType: string;
17
+ /**
18
+ * Content of the attachment.
19
+ */
20
+ content: any;
21
+ /**
22
+ * Optional title of the attachment.
23
+ */
24
+ title?: string;
25
+ /**
26
+ * Optional subtitle of the attachment.
27
+ */
28
+ subtitle?: string;
29
+ }
30
+ /**
31
+ * Specifies the layout for message attachments.
32
+ *
33
+ * The supported values are:
34
+ * * `"list"`&mdash;A vertical list.
35
+ * * `"carousel"`&mdash;A horizontal, scrollable list. Also called a card deck.
36
+ */
37
+ export type AttachmentLayout = 'list' | 'carousel';