@progress/kendo-react-conversational-ui 9.2.0-develop.8 → 9.2.0-develop.9
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/index.d.mts +24 -24
- package/index.d.ts +24 -24
- package/package-metadata.mjs +1 -1
- package/package.json +6 -6
package/index.d.mts
CHANGED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
import { BaseEvent } from '@progress/kendo-react-common';
|
|
9
9
|
import { ButtonProps } from '@progress/kendo-react-buttons';
|
|
10
10
|
import { CustomComponent } from '@progress/kendo-react-common';
|
|
11
|
+
import { default as default_2 } from 'prop-types';
|
|
12
|
+
import { default as default_3 } from 'react';
|
|
11
13
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
12
|
-
import PropTypes from 'prop-types';
|
|
13
14
|
import * as React_2 from 'react';
|
|
14
|
-
import { default as React_3 } from 'react';
|
|
15
15
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
16
16
|
import { SVGIcon as SVGIcon_2 } from '@progress/kendo-react-common';
|
|
17
17
|
import { TextAreaProps } from '@progress/kendo-react-inputs';
|
|
@@ -61,15 +61,15 @@ declare interface AIPromptCardInterface {
|
|
|
61
61
|
/**
|
|
62
62
|
* Custom template for AIPromptCard header.
|
|
63
63
|
*/
|
|
64
|
-
header?: (props: AIPromptOutputInterface) =>
|
|
64
|
+
header?: (props: AIPromptOutputInterface) => default_3.ReactNode;
|
|
65
65
|
/**
|
|
66
66
|
* Custom template for AIPromptCard body.
|
|
67
67
|
*/
|
|
68
|
-
body?: (props: AIPromptOutputInterface) =>
|
|
68
|
+
body?: (props: AIPromptOutputInterface) => default_3.ReactNode;
|
|
69
69
|
/**
|
|
70
70
|
* Custom template for AIPromptCard actions.
|
|
71
71
|
*/
|
|
72
|
-
actions?: (props: AIPromptOutputInterface) =>
|
|
72
|
+
actions?: (props: AIPromptOutputInterface) => default_3.ReactNode;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/**
|
|
@@ -94,7 +94,7 @@ declare interface AIPromptCommandsViewProps {
|
|
|
94
94
|
/**
|
|
95
95
|
* Represents the KendoReact AIPromptContent component.
|
|
96
96
|
*/
|
|
97
|
-
export declare const AIPromptContent:
|
|
97
|
+
export declare const AIPromptContent: default_3.ForwardRefExoticComponent<AIPromptContentProps & default_3.RefAttributes<HTMLDivElement>>;
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
* The props of the AIPromptContent component.
|
|
@@ -103,7 +103,7 @@ declare interface AIPromptContentProps {
|
|
|
103
103
|
/**
|
|
104
104
|
* Specifies the AIPromptContent children elements.
|
|
105
105
|
*/
|
|
106
|
-
children?:
|
|
106
|
+
children?: default_3.ReactNode;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
/**
|
|
@@ -118,7 +118,7 @@ declare interface AIPromptFooterProps {
|
|
|
118
118
|
/**
|
|
119
119
|
* Specifies the AIPromptFooter children elements.
|
|
120
120
|
*/
|
|
121
|
-
children?:
|
|
121
|
+
children?: default_3.ReactNode;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
/**
|
|
@@ -126,7 +126,7 @@ declare interface AIPromptFooterProps {
|
|
|
126
126
|
*/
|
|
127
127
|
declare interface AIPromptHeaderProps {
|
|
128
128
|
activeView: string;
|
|
129
|
-
toolbarItems: (AIPromptToolbarItemInterface |
|
|
129
|
+
toolbarItems: (AIPromptToolbarItemInterface | default_3.ReactNode)[];
|
|
130
130
|
activeViewChange?: (viewName: string) => void;
|
|
131
131
|
}
|
|
132
132
|
|
|
@@ -207,11 +207,11 @@ declare interface AIPromptOutputViewProps {
|
|
|
207
207
|
/**
|
|
208
208
|
* The props of the AIPrompt component.
|
|
209
209
|
*/
|
|
210
|
-
export declare interface AIPromptProps extends
|
|
210
|
+
export declare interface AIPromptProps extends default_3.HTMLAttributes<HTMLElement> {
|
|
211
211
|
/**
|
|
212
212
|
* The styles that are applied to the component.
|
|
213
213
|
*/
|
|
214
|
-
style?:
|
|
214
|
+
style?: default_3.CSSProperties;
|
|
215
215
|
/**
|
|
216
216
|
* Name of the active view.
|
|
217
217
|
*/
|
|
@@ -219,7 +219,7 @@ export declare interface AIPromptProps extends React_3.HTMLAttributes<HTMLElemen
|
|
|
219
219
|
/**
|
|
220
220
|
* Collection with items that will override the default Toolbar items.
|
|
221
221
|
*/
|
|
222
|
-
toolbarItems?: (AIPromptToolbarItemInterface |
|
|
222
|
+
toolbarItems?: (AIPromptToolbarItemInterface | default_3.ReactNode)[];
|
|
223
223
|
/**
|
|
224
224
|
* The collection of generated prompt outputs that will be rendered in the Output view.
|
|
225
225
|
*/
|
|
@@ -227,7 +227,7 @@ export declare interface AIPromptProps extends React_3.HTMLAttributes<HTMLElemen
|
|
|
227
227
|
/**
|
|
228
228
|
* Specifies the AIPrompt children elements.
|
|
229
229
|
*/
|
|
230
|
-
children?:
|
|
230
|
+
children?: default_3.ReactNode;
|
|
231
231
|
/**
|
|
232
232
|
* The placeholder text for the Prompt view textarea.
|
|
233
233
|
*/
|
|
@@ -301,7 +301,7 @@ export declare interface AIPromptViewProps {
|
|
|
301
301
|
/**
|
|
302
302
|
* Represents the KendoReact AIPromptViewRender component.
|
|
303
303
|
*/
|
|
304
|
-
export declare const AIPromptViewRender: (props: AIPromptViewRenderProps) =>
|
|
304
|
+
export declare const AIPromptViewRender: (props: AIPromptViewRenderProps) => default_3.ReactNode;
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
307
|
* The props of the AIPromptViewRender component.
|
|
@@ -314,7 +314,7 @@ declare interface AIPromptViewRenderProps {
|
|
|
314
314
|
/**
|
|
315
315
|
* Specifies the AIPromptViewRender children elements.
|
|
316
316
|
*/
|
|
317
|
-
children:
|
|
317
|
+
children: default_3.ReactNode;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
/**
|
|
@@ -359,15 +359,15 @@ export declare class Chat extends React_2.Component<ChatProps, ChatState> {
|
|
|
359
359
|
* @hidden
|
|
360
360
|
*/
|
|
361
361
|
static propTypes: {
|
|
362
|
-
messages:
|
|
363
|
-
user:
|
|
364
|
-
messageTemplate:
|
|
365
|
-
attachmentTemplate:
|
|
366
|
-
width:
|
|
367
|
-
onMessageSend:
|
|
368
|
-
onActionExecute:
|
|
369
|
-
dir:
|
|
370
|
-
messageBox:
|
|
362
|
+
messages: default_2.Requireable<(object | null | undefined)[]>;
|
|
363
|
+
user: default_2.Requireable<object>;
|
|
364
|
+
messageTemplate: default_2.Requireable<any>;
|
|
365
|
+
attachmentTemplate: default_2.Requireable<any>;
|
|
366
|
+
width: default_2.Requireable<NonNullable<string | number | null | undefined>>;
|
|
367
|
+
onMessageSend: default_2.Requireable<(...args: any[]) => any>;
|
|
368
|
+
onActionExecute: default_2.Requireable<(...args: any[]) => any>;
|
|
369
|
+
dir: default_2.Requireable<string>;
|
|
370
|
+
messageBox: default_2.Requireable<any>;
|
|
371
371
|
};
|
|
372
372
|
/**
|
|
373
373
|
* @hidden
|
package/index.d.ts
CHANGED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
import { BaseEvent } from '@progress/kendo-react-common';
|
|
9
9
|
import { ButtonProps } from '@progress/kendo-react-buttons';
|
|
10
10
|
import { CustomComponent } from '@progress/kendo-react-common';
|
|
11
|
+
import { default as default_2 } from 'prop-types';
|
|
12
|
+
import { default as default_3 } from 'react';
|
|
11
13
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
12
|
-
import PropTypes from 'prop-types';
|
|
13
14
|
import * as React_2 from 'react';
|
|
14
|
-
import { default as React_3 } from 'react';
|
|
15
15
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
16
16
|
import { SVGIcon as SVGIcon_2 } from '@progress/kendo-react-common';
|
|
17
17
|
import { TextAreaProps } from '@progress/kendo-react-inputs';
|
|
@@ -61,15 +61,15 @@ declare interface AIPromptCardInterface {
|
|
|
61
61
|
/**
|
|
62
62
|
* Custom template for AIPromptCard header.
|
|
63
63
|
*/
|
|
64
|
-
header?: (props: AIPromptOutputInterface) =>
|
|
64
|
+
header?: (props: AIPromptOutputInterface) => default_3.ReactNode;
|
|
65
65
|
/**
|
|
66
66
|
* Custom template for AIPromptCard body.
|
|
67
67
|
*/
|
|
68
|
-
body?: (props: AIPromptOutputInterface) =>
|
|
68
|
+
body?: (props: AIPromptOutputInterface) => default_3.ReactNode;
|
|
69
69
|
/**
|
|
70
70
|
* Custom template for AIPromptCard actions.
|
|
71
71
|
*/
|
|
72
|
-
actions?: (props: AIPromptOutputInterface) =>
|
|
72
|
+
actions?: (props: AIPromptOutputInterface) => default_3.ReactNode;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/**
|
|
@@ -94,7 +94,7 @@ declare interface AIPromptCommandsViewProps {
|
|
|
94
94
|
/**
|
|
95
95
|
* Represents the KendoReact AIPromptContent component.
|
|
96
96
|
*/
|
|
97
|
-
export declare const AIPromptContent:
|
|
97
|
+
export declare const AIPromptContent: default_3.ForwardRefExoticComponent<AIPromptContentProps & default_3.RefAttributes<HTMLDivElement>>;
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
* The props of the AIPromptContent component.
|
|
@@ -103,7 +103,7 @@ declare interface AIPromptContentProps {
|
|
|
103
103
|
/**
|
|
104
104
|
* Specifies the AIPromptContent children elements.
|
|
105
105
|
*/
|
|
106
|
-
children?:
|
|
106
|
+
children?: default_3.ReactNode;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
/**
|
|
@@ -118,7 +118,7 @@ declare interface AIPromptFooterProps {
|
|
|
118
118
|
/**
|
|
119
119
|
* Specifies the AIPromptFooter children elements.
|
|
120
120
|
*/
|
|
121
|
-
children?:
|
|
121
|
+
children?: default_3.ReactNode;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
/**
|
|
@@ -126,7 +126,7 @@ declare interface AIPromptFooterProps {
|
|
|
126
126
|
*/
|
|
127
127
|
declare interface AIPromptHeaderProps {
|
|
128
128
|
activeView: string;
|
|
129
|
-
toolbarItems: (AIPromptToolbarItemInterface |
|
|
129
|
+
toolbarItems: (AIPromptToolbarItemInterface | default_3.ReactNode)[];
|
|
130
130
|
activeViewChange?: (viewName: string) => void;
|
|
131
131
|
}
|
|
132
132
|
|
|
@@ -207,11 +207,11 @@ declare interface AIPromptOutputViewProps {
|
|
|
207
207
|
/**
|
|
208
208
|
* The props of the AIPrompt component.
|
|
209
209
|
*/
|
|
210
|
-
export declare interface AIPromptProps extends
|
|
210
|
+
export declare interface AIPromptProps extends default_3.HTMLAttributes<HTMLElement> {
|
|
211
211
|
/**
|
|
212
212
|
* The styles that are applied to the component.
|
|
213
213
|
*/
|
|
214
|
-
style?:
|
|
214
|
+
style?: default_3.CSSProperties;
|
|
215
215
|
/**
|
|
216
216
|
* Name of the active view.
|
|
217
217
|
*/
|
|
@@ -219,7 +219,7 @@ export declare interface AIPromptProps extends React_3.HTMLAttributes<HTMLElemen
|
|
|
219
219
|
/**
|
|
220
220
|
* Collection with items that will override the default Toolbar items.
|
|
221
221
|
*/
|
|
222
|
-
toolbarItems?: (AIPromptToolbarItemInterface |
|
|
222
|
+
toolbarItems?: (AIPromptToolbarItemInterface | default_3.ReactNode)[];
|
|
223
223
|
/**
|
|
224
224
|
* The collection of generated prompt outputs that will be rendered in the Output view.
|
|
225
225
|
*/
|
|
@@ -227,7 +227,7 @@ export declare interface AIPromptProps extends React_3.HTMLAttributes<HTMLElemen
|
|
|
227
227
|
/**
|
|
228
228
|
* Specifies the AIPrompt children elements.
|
|
229
229
|
*/
|
|
230
|
-
children?:
|
|
230
|
+
children?: default_3.ReactNode;
|
|
231
231
|
/**
|
|
232
232
|
* The placeholder text for the Prompt view textarea.
|
|
233
233
|
*/
|
|
@@ -301,7 +301,7 @@ export declare interface AIPromptViewProps {
|
|
|
301
301
|
/**
|
|
302
302
|
* Represents the KendoReact AIPromptViewRender component.
|
|
303
303
|
*/
|
|
304
|
-
export declare const AIPromptViewRender: (props: AIPromptViewRenderProps) =>
|
|
304
|
+
export declare const AIPromptViewRender: (props: AIPromptViewRenderProps) => default_3.ReactNode;
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
307
|
* The props of the AIPromptViewRender component.
|
|
@@ -314,7 +314,7 @@ declare interface AIPromptViewRenderProps {
|
|
|
314
314
|
/**
|
|
315
315
|
* Specifies the AIPromptViewRender children elements.
|
|
316
316
|
*/
|
|
317
|
-
children:
|
|
317
|
+
children: default_3.ReactNode;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
/**
|
|
@@ -359,15 +359,15 @@ export declare class Chat extends React_2.Component<ChatProps, ChatState> {
|
|
|
359
359
|
* @hidden
|
|
360
360
|
*/
|
|
361
361
|
static propTypes: {
|
|
362
|
-
messages:
|
|
363
|
-
user:
|
|
364
|
-
messageTemplate:
|
|
365
|
-
attachmentTemplate:
|
|
366
|
-
width:
|
|
367
|
-
onMessageSend:
|
|
368
|
-
onActionExecute:
|
|
369
|
-
dir:
|
|
370
|
-
messageBox:
|
|
362
|
+
messages: default_2.Requireable<(object | null | undefined)[]>;
|
|
363
|
+
user: default_2.Requireable<object>;
|
|
364
|
+
messageTemplate: default_2.Requireable<any>;
|
|
365
|
+
attachmentTemplate: default_2.Requireable<any>;
|
|
366
|
+
width: default_2.Requireable<NonNullable<string | number | null | undefined>>;
|
|
367
|
+
onMessageSend: default_2.Requireable<(...args: any[]) => any>;
|
|
368
|
+
onActionExecute: default_2.Requireable<(...args: any[]) => any>;
|
|
369
|
+
dir: default_2.Requireable<string>;
|
|
370
|
+
messageBox: default_2.Requireable<any>;
|
|
371
371
|
};
|
|
372
372
|
/**
|
|
373
373
|
* @hidden
|
package/package-metadata.mjs
CHANGED
|
@@ -10,7 +10,7 @@ const e = {
|
|
|
10
10
|
name: "@progress/kendo-react-conversational-ui",
|
|
11
11
|
productName: "KendoReact",
|
|
12
12
|
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
13
|
-
publishDate:
|
|
13
|
+
publishDate: 1737042737,
|
|
14
14
|
version: "",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
16
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-conversational-ui",
|
|
3
|
-
"version": "9.2.0-develop.
|
|
3
|
+
"version": "9.2.0-develop.9",
|
|
4
4
|
"description": "React Chat component allows the user to participate in chat sessions with users or chat bots. KendoReact Conversational UI components",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@progress/kendo-licensing": "^1.3.4",
|
|
26
|
-
"@progress/kendo-react-buttons": "9.2.0-develop.
|
|
27
|
-
"@progress/kendo-react-common": "9.2.0-develop.
|
|
28
|
-
"@progress/kendo-react-intl": "9.2.0-develop.
|
|
29
|
-
"@progress/kendo-react-inputs": "9.2.0-develop.
|
|
30
|
-
"@progress/kendo-react-layout": "9.2.0-develop.
|
|
26
|
+
"@progress/kendo-react-buttons": "9.2.0-develop.9",
|
|
27
|
+
"@progress/kendo-react-common": "9.2.0-develop.9",
|
|
28
|
+
"@progress/kendo-react-intl": "9.2.0-develop.9",
|
|
29
|
+
"@progress/kendo-react-inputs": "9.2.0-develop.9",
|
|
30
|
+
"@progress/kendo-react-layout": "9.2.0-develop.9",
|
|
31
31
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
32
32
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
33
33
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|