@progress/kendo-vue-conversational-ui 5.3.0-dev.202409130647 → 5.3.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.
- package/README.md +27 -34
- package/ai-prompt/AIPrompt.js +8 -0
- package/ai-prompt/AIPrompt.mjs +83 -0
- package/ai-prompt/AIPromptContent.js +8 -0
- package/ai-prompt/AIPromptContent.mjs +23 -0
- package/ai-prompt/AIPromptExpander.js +8 -0
- package/ai-prompt/AIPromptExpander.mjs +51 -0
- package/ai-prompt/AIPromptFooter.js +8 -0
- package/ai-prompt/AIPromptFooter.mjs +23 -0
- package/ai-prompt/AIPromptHeader.js +8 -0
- package/ai-prompt/AIPromptHeader.mjs +70 -0
- package/ai-prompt/views/AIPromptCommandsView.js +8 -0
- package/ai-prompt/views/AIPromptCommandsView.mjs +51 -0
- package/ai-prompt/views/AIPromptOutputView.js +8 -0
- package/ai-prompt/views/AIPromptOutputView.mjs +170 -0
- package/ai-prompt/views/AIPromptView.js +8 -0
- package/ai-prompt/views/AIPromptView.mjs +112 -0
- package/ai-prompt/views/AIPromptViewRender.js +8 -0
- package/ai-prompt/views/AIPromptViewRender.mjs +28 -0
- package/dist/cdn/js/kendo-vue-conversational-ui.js +8 -1
- package/index.d.mts +378 -0
- package/index.d.ts +378 -0
- package/index.js +8 -0
- package/index.mjs +29 -0
- package/messages/main.js +8 -0
- package/messages/main.mjs +18 -0
- package/package.json +24 -50
- package/dist/es/additionalTypes.ts +0 -21
- package/dist/es/ai-prompt/AIPrompt.d.ts +0 -122
- package/dist/es/ai-prompt/AIPrompt.js +0 -117
- package/dist/es/ai-prompt/AIPromptContent.d.ts +0 -47
- package/dist/es/ai-prompt/AIPromptContent.js +0 -33
- package/dist/es/ai-prompt/AIPromptExpander.d.ts +0 -45
- package/dist/es/ai-prompt/AIPromptExpander.js +0 -68
- package/dist/es/ai-prompt/AIPromptFooter.d.ts +0 -44
- package/dist/es/ai-prompt/AIPromptFooter.js +0 -33
- package/dist/es/ai-prompt/AIPromptHeader.d.ts +0 -71
- package/dist/es/ai-prompt/AIPromptHeader.js +0 -146
- package/dist/es/ai-prompt/views/AIPromptCommandsView.d.ts +0 -86
- package/dist/es/ai-prompt/views/AIPromptCommandsView.js +0 -117
- package/dist/es/ai-prompt/views/AIPromptOutputView.d.ts +0 -93
- package/dist/es/ai-prompt/views/AIPromptOutputView.js +0 -2206
- package/dist/es/ai-prompt/views/AIPromptView.d.ts +0 -56
- package/dist/es/ai-prompt/views/AIPromptView.js +0 -299
- package/dist/es/ai-prompt/views/AIPromptViewRender.d.ts +0 -51
- package/dist/es/ai-prompt/views/AIPromptViewRender.js +0 -39
- package/dist/es/main.d.ts +0 -8
- package/dist/es/main.js +0 -8
- package/dist/es/messages/main.d.ts +0 -20
- package/dist/es/messages/main.js +0 -21
- package/dist/esm/additionalTypes.ts +0 -21
- package/dist/esm/ai-prompt/AIPrompt.d.ts +0 -122
- package/dist/esm/ai-prompt/AIPrompt.js +0 -117
- package/dist/esm/ai-prompt/AIPromptContent.d.ts +0 -47
- package/dist/esm/ai-prompt/AIPromptContent.js +0 -33
- package/dist/esm/ai-prompt/AIPromptExpander.d.ts +0 -45
- package/dist/esm/ai-prompt/AIPromptExpander.js +0 -68
- package/dist/esm/ai-prompt/AIPromptFooter.d.ts +0 -44
- package/dist/esm/ai-prompt/AIPromptFooter.js +0 -33
- package/dist/esm/ai-prompt/AIPromptHeader.d.ts +0 -71
- package/dist/esm/ai-prompt/AIPromptHeader.js +0 -146
- package/dist/esm/ai-prompt/views/AIPromptCommandsView.d.ts +0 -86
- package/dist/esm/ai-prompt/views/AIPromptCommandsView.js +0 -117
- package/dist/esm/ai-prompt/views/AIPromptOutputView.d.ts +0 -93
- package/dist/esm/ai-prompt/views/AIPromptOutputView.js +0 -2206
- package/dist/esm/ai-prompt/views/AIPromptView.d.ts +0 -56
- package/dist/esm/ai-prompt/views/AIPromptView.js +0 -299
- package/dist/esm/ai-prompt/views/AIPromptViewRender.d.ts +0 -51
- package/dist/esm/ai-prompt/views/AIPromptViewRender.js +0 -39
- package/dist/esm/main.d.ts +0 -8
- package/dist/esm/main.js +0 -8
- package/dist/esm/messages/main.d.ts +0 -20
- package/dist/esm/messages/main.js +0 -21
- package/dist/esm/package.json +0 -3
- package/dist/npm/additionalTypes.ts +0 -21
- package/dist/npm/ai-prompt/AIPrompt.d.ts +0 -122
- package/dist/npm/ai-prompt/AIPrompt.js +0 -124
- package/dist/npm/ai-prompt/AIPromptContent.d.ts +0 -47
- package/dist/npm/ai-prompt/AIPromptContent.js +0 -40
- package/dist/npm/ai-prompt/AIPromptExpander.d.ts +0 -45
- package/dist/npm/ai-prompt/AIPromptExpander.js +0 -75
- package/dist/npm/ai-prompt/AIPromptFooter.d.ts +0 -44
- package/dist/npm/ai-prompt/AIPromptFooter.js +0 -40
- package/dist/npm/ai-prompt/AIPromptHeader.d.ts +0 -71
- package/dist/npm/ai-prompt/AIPromptHeader.js +0 -153
- package/dist/npm/ai-prompt/views/AIPromptCommandsView.d.ts +0 -86
- package/dist/npm/ai-prompt/views/AIPromptCommandsView.js +0 -124
- package/dist/npm/ai-prompt/views/AIPromptOutputView.d.ts +0 -93
- package/dist/npm/ai-prompt/views/AIPromptOutputView.js +0 -2213
- package/dist/npm/ai-prompt/views/AIPromptView.d.ts +0 -56
- package/dist/npm/ai-prompt/views/AIPromptView.js +0 -306
- package/dist/npm/ai-prompt/views/AIPromptViewRender.d.ts +0 -51
- package/dist/npm/ai-prompt/views/AIPromptViewRender.js +0 -46
- package/dist/npm/main.d.ts +0 -8
- package/dist/npm/main.js +0 -24
- package/dist/npm/messages/main.d.ts +0 -20
- package/dist/npm/messages/main.js +0 -24
package/index.d.mts
ADDED
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 { ComponentOptionsMixin } from 'vue';
|
|
9
|
+
import { ComponentProvideOptions } from 'vue';
|
|
10
|
+
import { DefineComponent } from 'vue';
|
|
11
|
+
import { ExtractPropTypes } from 'vue';
|
|
12
|
+
import { PropType } from 'vue';
|
|
13
|
+
import { PublicProps } from 'vue';
|
|
14
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
15
|
+
import { SVGIcon as SVGIcon_2 } from '@progress/kendo-vue-common';
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
export declare const AIPrompt: DefineComponent<ExtractPropTypes< {
|
|
21
|
+
activeView: {
|
|
22
|
+
type: PropType<string>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
dir: PropType<string>;
|
|
26
|
+
toolbarItems: PropType<AIPromptToolbarItemInterface[]>;
|
|
27
|
+
outputs: PropType<AIPromptOutputInterface[]>;
|
|
28
|
+
promptPlaceholder: PropType<string>;
|
|
29
|
+
}>, {}, {
|
|
30
|
+
contextState: AIPromptContextInterface;
|
|
31
|
+
}, {}, {
|
|
32
|
+
onStateAction(action: StateActionInterface): void;
|
|
33
|
+
onActiveViewChange(event: string): void;
|
|
34
|
+
onPromptRequest(prompt?: string, outputItem?: AIPromptOutputInterface): void;
|
|
35
|
+
onCommandExecute(event: AIPromptCommandInterface): void;
|
|
36
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
37
|
+
activeView: {
|
|
38
|
+
type: PropType<string>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
dir: PropType<string>;
|
|
42
|
+
toolbarItems: PropType<AIPromptToolbarItemInterface[]>;
|
|
43
|
+
outputs: PropType<AIPromptOutputInterface[]>;
|
|
44
|
+
promptPlaceholder: PropType<string>;
|
|
45
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, () => {
|
|
46
|
+
kendoAIPrompt: any;
|
|
47
|
+
}, true, {}, any>;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* An interface for the Command view command.
|
|
51
|
+
*/
|
|
52
|
+
export declare interface AIPromptCommandInterface extends CommandItemInterface {
|
|
53
|
+
/**
|
|
54
|
+
* Collection with nested commands.
|
|
55
|
+
*/
|
|
56
|
+
children?: CommandItemInterface[];
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @hidden
|
|
61
|
+
*/
|
|
62
|
+
export declare const AIPromptCommandsView: DefineComponent<ExtractPropTypes< {
|
|
63
|
+
commands: PropType<AIPromptCommandInterface[]>;
|
|
64
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
65
|
+
commands: PropType<AIPromptCommandInterface[]>;
|
|
66
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* The props of the AIPromptCommandsView component.
|
|
70
|
+
*/
|
|
71
|
+
export declare interface AIPromptCommandsViewProps {
|
|
72
|
+
/**
|
|
73
|
+
* The collection of commands that will be rendered in the Command view.
|
|
74
|
+
*/
|
|
75
|
+
commands?: AIPromptCommandInterface[];
|
|
76
|
+
/**
|
|
77
|
+
* Fires each time the user clicks over a Command view command. Exposes the selected command as event data.
|
|
78
|
+
*/
|
|
79
|
+
onCommandexecute?: (command: CommandItemInterface) => void;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @hidden
|
|
84
|
+
*/
|
|
85
|
+
export declare const AIPromptContent: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* The AIPrompt context that is passed to the view.
|
|
89
|
+
*/
|
|
90
|
+
declare interface AIPromptContextInterface {
|
|
91
|
+
activeView?: string;
|
|
92
|
+
onPromptRequest?: (prompt?: string, outputItem?: AIPromptOutputInterface) => void;
|
|
93
|
+
onCommandExecute?: (command: AIPromptCommandInterface) => void;
|
|
94
|
+
onActiveViewChange?: (view: string) => void;
|
|
95
|
+
onStateAction?: (action: StateActionInterface) => void;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @hidden
|
|
100
|
+
*/
|
|
101
|
+
export declare const AIPromptFooter: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @hidden
|
|
105
|
+
*/
|
|
106
|
+
export declare const AIPromptHeader: DefineComponent<ExtractPropTypes< {
|
|
107
|
+
activeView: PropType<string>;
|
|
108
|
+
toolbarItems: PropType<AIPromptToolbarItemInterface[]>;
|
|
109
|
+
onActiveviewchange: PropType<(event: any) => void>;
|
|
110
|
+
}>, {}, {}, {}, {
|
|
111
|
+
handleClick(viewName: string): void;
|
|
112
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
113
|
+
activeView: PropType<string>;
|
|
114
|
+
toolbarItems: PropType<AIPromptToolbarItemInterface[]>;
|
|
115
|
+
onActiveviewchange: PropType<(event: any) => void>;
|
|
116
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
117
|
+
|
|
118
|
+
export declare interface AIPromptOutputInterface {
|
|
119
|
+
/**
|
|
120
|
+
* The unique identifier of the command.
|
|
121
|
+
*/
|
|
122
|
+
id: string | number;
|
|
123
|
+
/**
|
|
124
|
+
* An optional custom title for the prompt output.
|
|
125
|
+
*/
|
|
126
|
+
title?: string;
|
|
127
|
+
/**
|
|
128
|
+
* An optional custom sub title for the prompt output.
|
|
129
|
+
*/
|
|
130
|
+
subTitle?: string;
|
|
131
|
+
/**
|
|
132
|
+
* The prompt that initiated the output generation.
|
|
133
|
+
*/
|
|
134
|
+
prompt?: string;
|
|
135
|
+
/**
|
|
136
|
+
* The class of the prompt that is rendered on the output card.
|
|
137
|
+
*/
|
|
138
|
+
class?: string;
|
|
139
|
+
/**
|
|
140
|
+
* The text content of the prompt output.
|
|
141
|
+
*/
|
|
142
|
+
responseContent: string;
|
|
143
|
+
/**
|
|
144
|
+
* Specifies if the prompt generation was initiated via the retry button.
|
|
145
|
+
*/
|
|
146
|
+
isRetry?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* The prompt output rating.
|
|
149
|
+
*/
|
|
150
|
+
ratingType?: AIPromptOutputRating;
|
|
151
|
+
/**
|
|
152
|
+
* Optionally specifies a command, if the prompt generation was triggered via a command.
|
|
153
|
+
*/
|
|
154
|
+
command?: AIPromptCommandInterface;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Enum option for the output rating
|
|
159
|
+
*/
|
|
160
|
+
export declare enum AIPromptOutputRating {
|
|
161
|
+
/**
|
|
162
|
+
* Positive output rating
|
|
163
|
+
*/
|
|
164
|
+
positive = "positive",
|
|
165
|
+
/**
|
|
166
|
+
* Negative output rating
|
|
167
|
+
*/
|
|
168
|
+
negative = "negative"
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* @hidden
|
|
173
|
+
*/
|
|
174
|
+
export declare const AIPromptOutputView: DefineComponent<ExtractPropTypes< {
|
|
175
|
+
outputs: PropType<AIPromptOutputInterface[]>;
|
|
176
|
+
outputCard: PropType<string | Function>;
|
|
177
|
+
showOutputRating: PropType<boolean>;
|
|
178
|
+
}>, {}, {
|
|
179
|
+
copiedIndex: number;
|
|
180
|
+
copyButtonIcon: SVGIcon;
|
|
181
|
+
}, {}, {
|
|
182
|
+
retryPrompt(output: AIPromptOutputInterface): void;
|
|
183
|
+
copyToClipboard(output: AIPromptOutputInterface, index: number): void;
|
|
184
|
+
outputRating(output: AIPromptOutputInterface, ratingType: AIPromptOutputRating): void;
|
|
185
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
186
|
+
copy: any;
|
|
187
|
+
retry: any;
|
|
188
|
+
rating: any;
|
|
189
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
190
|
+
outputs: PropType<AIPromptOutputInterface[]>;
|
|
191
|
+
outputCard: PropType<string | Function>;
|
|
192
|
+
showOutputRating: PropType<boolean>;
|
|
193
|
+
}>> & Readonly<{
|
|
194
|
+
onCopy?: (...args: any[] | unknown[]) => any;
|
|
195
|
+
onRating?: (...args: any[] | unknown[]) => any;
|
|
196
|
+
onRetry?: (...args: any[] | unknown[]) => any;
|
|
197
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* The props of the AIPromptOutputView component.
|
|
201
|
+
*/
|
|
202
|
+
export declare interface AIPromptOutputViewProps {
|
|
203
|
+
/**
|
|
204
|
+
* The collection of generated prompt outputs that will be rendered in the Output view.
|
|
205
|
+
*/
|
|
206
|
+
outputs?: AIPromptOutputInterface[];
|
|
207
|
+
/**
|
|
208
|
+
* Represents a template that allows you to define custom Card .It accepts string of a named slot or a render function.
|
|
209
|
+
* The custom fields will override the default one.
|
|
210
|
+
*/
|
|
211
|
+
outputCard?: string | Function;
|
|
212
|
+
/**
|
|
213
|
+
* Specifies if the rating buttons in each card will be rendered.
|
|
214
|
+
* By default, rating buttons are not rendered.
|
|
215
|
+
*
|
|
216
|
+
* @default false
|
|
217
|
+
*/
|
|
218
|
+
showOutputRating?: boolean;
|
|
219
|
+
/**
|
|
220
|
+
* Fires each time the user clicks Retry button in the card.
|
|
221
|
+
*/
|
|
222
|
+
onRetry?: (output: AIPromptOutputInterface) => void;
|
|
223
|
+
/**
|
|
224
|
+
* Fires each time the user clicks Copy button in the card.
|
|
225
|
+
*/
|
|
226
|
+
onCopy?: (content: string) => void;
|
|
227
|
+
/**
|
|
228
|
+
* Fires each time the user clicks a rating button in the card.
|
|
229
|
+
*/
|
|
230
|
+
onRating?: (output: AIPromptOutputInterface, ratingType: AIPromptOutputRating) => void;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* The props of the AIPrompt component.
|
|
235
|
+
*/
|
|
236
|
+
export declare interface AIPromptProps {
|
|
237
|
+
/**
|
|
238
|
+
* Name of the active view.
|
|
239
|
+
*/
|
|
240
|
+
activeView: string;
|
|
241
|
+
/**
|
|
242
|
+
* Collection with items that will override the default Toolbar items.
|
|
243
|
+
*/
|
|
244
|
+
toolbarItems?: AIPromptToolbarItemInterface[];
|
|
245
|
+
/**
|
|
246
|
+
* The collection of generated prompt outputs that will be rendered in the Output view.
|
|
247
|
+
*/
|
|
248
|
+
outputs?: AIPromptOutputInterface[];
|
|
249
|
+
/**
|
|
250
|
+
* The placeholder text for the Prompt view textarea.
|
|
251
|
+
*/
|
|
252
|
+
promptPlaceholder?: string;
|
|
253
|
+
/**
|
|
254
|
+
* The direction of the Prompt.
|
|
255
|
+
*/
|
|
256
|
+
dir?: string;
|
|
257
|
+
/**
|
|
258
|
+
* The onActiveViewChange event handler of the Kendo UI for Vue AIPrompt component.
|
|
259
|
+
* Fires when active view is changed. Exposes the name of the new active view as event data.
|
|
260
|
+
*/
|
|
261
|
+
onActiveviewchange?: (name: string) => void;
|
|
262
|
+
/**
|
|
263
|
+
* The onCommandExecute event handler of the Kendo UI for Vue AIPrompt component.
|
|
264
|
+
* Fires each time the user clicks a command in the Command view. Exposes the selected command as event data.
|
|
265
|
+
*/
|
|
266
|
+
onCommandexecute?: (command: AIPromptCommandInterface) => void;
|
|
267
|
+
/**
|
|
268
|
+
* The onPromptRequest event handler of the Kendo UI for Vue AIPrompt component.
|
|
269
|
+
* Fires when user clicks the `Generate` button in the Prompt view.
|
|
270
|
+
*/
|
|
271
|
+
onPromptrequest?: (prompt?: string, outputItem?: AIPromptOutputInterface) => void;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* An interface for the AIPromptToolbarItem.
|
|
276
|
+
*/
|
|
277
|
+
export declare interface AIPromptToolbarItemInterface {
|
|
278
|
+
/**
|
|
279
|
+
* Defines the name of the view witch is related to.
|
|
280
|
+
*/
|
|
281
|
+
name: string;
|
|
282
|
+
/**
|
|
283
|
+
* Defines the svgIcon used in the Toolbar button.
|
|
284
|
+
*/
|
|
285
|
+
buttonIcon?: SVGIcon;
|
|
286
|
+
/**
|
|
287
|
+
* Defines the text used in the Toolbar button.
|
|
288
|
+
*/
|
|
289
|
+
buttonText?: string;
|
|
290
|
+
/**
|
|
291
|
+
* Defines custom content for the item. It can be either a name of a named slot or a rendered function.
|
|
292
|
+
*/
|
|
293
|
+
content?: string | Function | Object;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* @hidden
|
|
298
|
+
*/
|
|
299
|
+
export declare const AIPromptView: DefineComponent<ExtractPropTypes< {
|
|
300
|
+
promptInput: PropType<any>;
|
|
301
|
+
generateButton: PropType<any>;
|
|
302
|
+
promptValue: PropType<string>;
|
|
303
|
+
promptSuggestions: PropType<string[]>;
|
|
304
|
+
}>, {}, {
|
|
305
|
+
value: string;
|
|
306
|
+
}, {
|
|
307
|
+
computedValue(): any;
|
|
308
|
+
}, {
|
|
309
|
+
handleOnRequest(): void;
|
|
310
|
+
handleSuggestionSelect(suggestion: string): void;
|
|
311
|
+
onTextChange(event: any): void;
|
|
312
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
313
|
+
promptInput: PropType<any>;
|
|
314
|
+
generateButton: PropType<any>;
|
|
315
|
+
promptValue: PropType<string>;
|
|
316
|
+
promptSuggestions: PropType<string[]>;
|
|
317
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* @hidden
|
|
321
|
+
*/
|
|
322
|
+
export declare const AIPromptViewRender: DefineComponent<ExtractPropTypes< {
|
|
323
|
+
name: PropType<string>;
|
|
324
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
325
|
+
name: PropType<string>;
|
|
326
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* The props of the AIPromptViewRender component.
|
|
330
|
+
*/
|
|
331
|
+
export declare interface AIPromptViewRenderProps {
|
|
332
|
+
/**
|
|
333
|
+
* Specifies the name of the view.
|
|
334
|
+
*/
|
|
335
|
+
name: string;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* @hidden
|
|
340
|
+
*/
|
|
341
|
+
declare interface CommandItemInterface {
|
|
342
|
+
/**
|
|
343
|
+
* The unique identifier of the command.
|
|
344
|
+
*/
|
|
345
|
+
id: string;
|
|
346
|
+
/**
|
|
347
|
+
* Specifies the command text.
|
|
348
|
+
*/
|
|
349
|
+
text: string;
|
|
350
|
+
/**
|
|
351
|
+
* Specifies the name of the SVG icon that will be rendered for the command.
|
|
352
|
+
*/
|
|
353
|
+
svgIcon?: SVGIcon_2;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* Specifies the default values for Commands view Toolbar.
|
|
358
|
+
*/
|
|
359
|
+
export declare const commandsViewDefaults: AIPromptToolbarItemInterface;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Specifies the default values for Output view Toolbar.
|
|
363
|
+
*/
|
|
364
|
+
export declare const outputViewDefaults: AIPromptToolbarItemInterface;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Specifies the default values for Prompt view Toolbar.
|
|
368
|
+
*/
|
|
369
|
+
export declare const promptViewDefaults: AIPromptToolbarItemInterface;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* @hidden
|
|
373
|
+
*/
|
|
374
|
+
declare interface StateActionInterface {
|
|
375
|
+
activeView: string;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export { }
|