@plaisolutions/react 0.2.0 → 0.5.0
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 +116 -1
- package/dist/components/index.d.ts +326 -17
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2095 -214
- package/dist/components/index.js.map +1 -1
- package/dist/index.d.ts +346 -29
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2117 -230
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { ChatStatus, ChatStatus as ChatStatus$1, ChatTransport, PlaiChatError, PlaiChatError as PlaiChatError$1, PlaiSseEvent, PlaiSseEvent as PlaiSseEvent$1, SendMessageInput, SendMessageInput as SendMessageInput$1, UIMessage, UIMessage as UIMessage$1, UIToolCallPart, Usage, Usage as Usage$1 } from "@plaisolutions/client";
|
|
2
|
-
import * as
|
|
3
|
-
import { ButtonHTMLAttributes, ReactNode, SVGProps } from "react";
|
|
1
|
+
import { ChatStatus, ChatStatus as ChatStatus$1, ChatTransport, DatasourceReadModel, DatasourceToolResultMetadata, DocumentMetadata, FileUploadState, FileUploadState as FileUploadState$1, FileUploadStatus, FolderReadModel, MediaFile, MessageRating, PlaiChatError, PlaiChatError as PlaiChatError$1, PlaiSseEvent, PlaiSseEvent as PlaiSseEvent$1, RateMessageInput, RateMessageInput as RateMessageInput$1, ResourceReadModel, ResourceReadModel as ResourceReadModel$1, SendMessageDocument, SendMessageInput, SendMessageInput as SendMessageInput$1, TranscribeAudioFn, TranscribeAudioFn as TranscribeAudioFn$1, UIAgentInvocationToolCallPart, UIBrowserToolCallPart, UIExternalDatasourceToolCallPart, UIFirecrawlSearchToolCallPart, UIHttpRequestToolCallPart, UIMcpToolCallPart, UIMessage, UIMessage as UIMessage$1, UIMessagePart, UIOfficeDocumentsToolCallPart, UIPerplexityToolCallPart, UIToolCallPart, UIWorkflowDispatchToolCallPart, UploadFileFn, UploadFileFn as UploadFileFn$1, UploadFileOptions, UploadFileProgress, Usage, Usage as Usage$1 } from "@plaisolutions/client";
|
|
2
|
+
import * as react5 from "react";
|
|
3
|
+
import { ButtonHTMLAttributes, DialogHTMLAttributes, HTMLAttributes, PropsWithChildren, ReactNode, SVGProps } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/use-chat.d.ts
|
|
6
6
|
type UseChatOptions = {
|
|
7
7
|
transport: ChatTransport;
|
|
8
|
+
/** Changes identity when the host switches to a different persisted thread. */
|
|
9
|
+
conversationId?: string;
|
|
8
10
|
initialMessages?: UIMessage$1[];
|
|
9
11
|
generateId?: () => string;
|
|
10
12
|
onEvent?: (event: PlaiSseEvent$1) => void;
|
|
@@ -15,43 +17,261 @@ type UseChatResult = {
|
|
|
15
17
|
status: ChatStatus$1;
|
|
16
18
|
error: PlaiChatError$1 | null;
|
|
17
19
|
usage: Usage$1 | null;
|
|
20
|
+
uploadState: FileUploadState$1;
|
|
18
21
|
sendMessage: (input: SendMessageInput$1) => Promise<void>;
|
|
22
|
+
rateMessage: (input: RateMessageInput$1) => Promise<void>;
|
|
23
|
+
transcribeAudio: TranscribeAudioFn$1;
|
|
24
|
+
uploadFile: UploadFileFn$1;
|
|
19
25
|
stop: () => void;
|
|
20
26
|
reset: () => void;
|
|
27
|
+
hydrate: (messages: UIMessage$1[]) => void;
|
|
28
|
+
clearError: () => void;
|
|
21
29
|
};
|
|
22
30
|
declare function useChat(options: UseChatOptions): UseChatResult;
|
|
23
31
|
//#endregion
|
|
24
32
|
//#region src/components/message.d.ts
|
|
25
|
-
type MessageProps = {
|
|
33
|
+
type MessageProps = HTMLAttributes<HTMLElement> & {
|
|
34
|
+
align?: "start" | "end";
|
|
35
|
+
};
|
|
36
|
+
declare function Message({
|
|
37
|
+
align,
|
|
38
|
+
className,
|
|
39
|
+
...props
|
|
40
|
+
}: MessageProps): react5.JSX.Element;
|
|
41
|
+
type MessageAvatarProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
42
|
+
src: string;
|
|
43
|
+
fallback: string;
|
|
44
|
+
alt?: string;
|
|
45
|
+
imageClassName?: string;
|
|
46
|
+
};
|
|
47
|
+
declare function MessageAvatar({
|
|
48
|
+
src,
|
|
49
|
+
fallback,
|
|
50
|
+
alt,
|
|
51
|
+
className,
|
|
52
|
+
imageClassName,
|
|
53
|
+
...props
|
|
54
|
+
}: MessageAvatarProps): react5.JSX.Element;
|
|
55
|
+
type MessageContentProps = HTMLAttributes<HTMLDivElement>;
|
|
56
|
+
declare function MessageContent({
|
|
57
|
+
className,
|
|
58
|
+
...props
|
|
59
|
+
}: MessageContentProps): react5.JSX.Element;
|
|
60
|
+
type MessageHeaderProps = HTMLAttributes<HTMLElement>;
|
|
61
|
+
declare function MessageHeader({
|
|
62
|
+
className,
|
|
63
|
+
...props
|
|
64
|
+
}: MessageHeaderProps): react5.JSX.Element;
|
|
65
|
+
type MessageFooterProps = HTMLAttributes<HTMLElement>;
|
|
66
|
+
declare function MessageFooter({
|
|
67
|
+
className,
|
|
68
|
+
...props
|
|
69
|
+
}: MessageFooterProps): react5.JSX.Element;
|
|
70
|
+
type MessagePartsProps = HTMLAttributes<HTMLDivElement> & {
|
|
26
71
|
message: UIMessage$1;
|
|
27
|
-
className?: string;
|
|
28
|
-
showRole?: boolean;
|
|
29
72
|
collapseThreshold?: number;
|
|
73
|
+
datasourceToolResultsPosition?: "inline" | "before-content";
|
|
74
|
+
onOpenAgentThread?: (threadId: string) => void;
|
|
75
|
+
locale?: string | null;
|
|
76
|
+
renderText?: (part: Extract<UIMessagePart, {
|
|
77
|
+
type: "text";
|
|
78
|
+
}>, context: {
|
|
79
|
+
message: UIMessage$1;
|
|
80
|
+
isStreaming: boolean;
|
|
81
|
+
}) => ReactNode;
|
|
82
|
+
renderToolCall?: (part: UIToolCallPart, context: {
|
|
83
|
+
message: UIMessage$1;
|
|
84
|
+
}) => ReactNode;
|
|
85
|
+
isStreaming?: boolean;
|
|
86
|
+
readMoreLabel?: string;
|
|
87
|
+
readLessLabel?: string;
|
|
30
88
|
};
|
|
31
|
-
declare function
|
|
89
|
+
declare function MessageParts({
|
|
32
90
|
message,
|
|
91
|
+
collapseThreshold,
|
|
92
|
+
datasourceToolResultsPosition,
|
|
93
|
+
onOpenAgentThread,
|
|
94
|
+
locale,
|
|
95
|
+
renderText,
|
|
96
|
+
renderToolCall,
|
|
97
|
+
isStreaming,
|
|
98
|
+
readMoreLabel,
|
|
99
|
+
readLessLabel,
|
|
33
100
|
className,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
101
|
+
...props
|
|
102
|
+
}: MessagePartsProps): react5.JSX.Element;
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region src/components/datasource-tool-result-card.d.ts
|
|
105
|
+
type DatasourceToolResultCardProps = {
|
|
106
|
+
title: string;
|
|
107
|
+
description: string;
|
|
108
|
+
type: string;
|
|
109
|
+
};
|
|
110
|
+
declare function DatasourceToolResultCard(props: DatasourceToolResultCardProps): react5.JSX.Element;
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region src/components/clipboard.d.ts
|
|
113
|
+
type ClipboardState = {
|
|
114
|
+
isCopied: boolean;
|
|
115
|
+
isCopying: boolean;
|
|
116
|
+
};
|
|
117
|
+
type ClipboardProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "onCopy"> & {
|
|
118
|
+
text: string;
|
|
119
|
+
onCopy?: (text: string) => void | Promise<void>;
|
|
120
|
+
copiedDuration?: number;
|
|
121
|
+
copyLabel?: string;
|
|
122
|
+
copiedLabel?: string;
|
|
123
|
+
children?: ReactNode | ((state: ClipboardState) => ReactNode);
|
|
124
|
+
};
|
|
125
|
+
declare function Clipboard({
|
|
126
|
+
text,
|
|
127
|
+
onCopy,
|
|
128
|
+
copiedDuration,
|
|
129
|
+
copyLabel,
|
|
130
|
+
copiedLabel,
|
|
131
|
+
children,
|
|
132
|
+
className,
|
|
133
|
+
disabled,
|
|
134
|
+
onClick,
|
|
135
|
+
type,
|
|
136
|
+
...props
|
|
137
|
+
}: ClipboardProps): react5.JSX.Element;
|
|
138
|
+
//#endregion
|
|
139
|
+
//#region src/components/thumbs.d.ts
|
|
140
|
+
type ThumbButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
141
|
+
label: string;
|
|
142
|
+
icon: ReactNode;
|
|
143
|
+
};
|
|
144
|
+
type ThumbClickHandler = NonNullable<ButtonHTMLAttributes<HTMLButtonElement>["onClick"]>;
|
|
145
|
+
type ThumbUpProps = Omit<ThumbButtonProps, "icon" | "label" | "onClick"> & {
|
|
146
|
+
label?: string;
|
|
147
|
+
onClick: ThumbClickHandler;
|
|
148
|
+
};
|
|
149
|
+
declare function ThumbUp({
|
|
150
|
+
label,
|
|
151
|
+
...props
|
|
152
|
+
}: ThumbUpProps): react5.JSX.Element;
|
|
153
|
+
type ThumbDownProps = Omit<ThumbButtonProps, "icon" | "label" | "onClick"> & {
|
|
154
|
+
label?: string;
|
|
155
|
+
onClick: ThumbClickHandler;
|
|
156
|
+
};
|
|
157
|
+
declare function ThumbDown({
|
|
158
|
+
label,
|
|
159
|
+
...props
|
|
160
|
+
}: ThumbDownProps): react5.JSX.Element;
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region src/components/resource-card.d.ts
|
|
163
|
+
type ResourceCardProps = {
|
|
164
|
+
icon?: string;
|
|
165
|
+
type?: string;
|
|
166
|
+
title: string;
|
|
167
|
+
description?: string;
|
|
168
|
+
url: string | null;
|
|
169
|
+
};
|
|
170
|
+
declare function ResourceCard(props: ResourceCardProps): react5.JSX.Element;
|
|
171
|
+
//#endregion
|
|
172
|
+
//#region src/components/datasource-folder-card.d.ts
|
|
173
|
+
type DatasourceFolderCardProps = {
|
|
174
|
+
icon?: string;
|
|
175
|
+
title: string;
|
|
176
|
+
description: string;
|
|
177
|
+
type: string;
|
|
178
|
+
url?: string | null;
|
|
179
|
+
resources: ResourceCardProps[];
|
|
180
|
+
};
|
|
181
|
+
declare function DatasourceFolderCard({
|
|
182
|
+
icon,
|
|
183
|
+
title,
|
|
184
|
+
description,
|
|
185
|
+
type,
|
|
186
|
+
url,
|
|
187
|
+
resources
|
|
188
|
+
}: DatasourceFolderCardProps): react5.JSX.Element;
|
|
189
|
+
//#endregion
|
|
190
|
+
//#region src/components/datasource-tool-resources.d.ts
|
|
191
|
+
type DatasourceToolResourcesProps = {
|
|
192
|
+
resources: ResourceReadModel$1[];
|
|
193
|
+
locale?: string | null;
|
|
194
|
+
className?: string;
|
|
195
|
+
};
|
|
196
|
+
declare function DatasourceToolResources({
|
|
197
|
+
resources,
|
|
198
|
+
locale,
|
|
199
|
+
className
|
|
200
|
+
}: DatasourceToolResourcesProps): react5.JSX.Element;
|
|
201
|
+
//#endregion
|
|
202
|
+
//#region src/components/opengraph.d.ts
|
|
203
|
+
type OpenGraphField = "title" | "description" | "url" | "image" | "type";
|
|
204
|
+
type OpenGraphTranslation = Partial<Record<OpenGraphField, string>>;
|
|
205
|
+
type LocalizedOpenGraph = OpenGraphTranslation & {
|
|
206
|
+
defaultLocale?: string;
|
|
207
|
+
translations?: Record<string, OpenGraphTranslation>;
|
|
208
|
+
};
|
|
209
|
+
type OpenGraphContainer = {
|
|
210
|
+
extra_info?: (Record<string, unknown> & {
|
|
211
|
+
opengraph?: LocalizedOpenGraph;
|
|
212
|
+
}) | null;
|
|
213
|
+
};
|
|
214
|
+
declare function getLocalizedOpenGraphValue(container: OpenGraphContainer, field: OpenGraphField, locale?: string | null): string | undefined;
|
|
215
|
+
declare function getResourceTitle(resource: ResourceReadModel$1, locale?: string | null): string;
|
|
216
|
+
declare function getResourceDescription(resource: ResourceReadModel$1, locale?: string | null): string | undefined;
|
|
217
|
+
declare function getResourceOpenGraphImage(resource: ResourceReadModel$1, locale?: string | null): string | undefined;
|
|
218
|
+
declare function getResourceOpenGraphType(resource: ResourceReadModel$1, locale?: string | null): string | undefined;
|
|
219
|
+
declare function getResourceUrl(resource: ResourceReadModel$1, locale?: string | null): string | null;
|
|
220
|
+
declare function getResourceType(resource: ResourceReadModel$1, locale?: string | null): string;
|
|
221
|
+
declare function getResourceIcon(resource: ResourceReadModel$1, locale?: string | null): string | undefined;
|
|
222
|
+
//#endregion
|
|
223
|
+
//#region src/components/sheet/sheet.d.ts
|
|
224
|
+
type SheetProps = PropsWithChildren<{
|
|
225
|
+
open?: boolean;
|
|
226
|
+
defaultOpen?: boolean;
|
|
227
|
+
onOpenChange?: (open: boolean) => void;
|
|
228
|
+
}>;
|
|
229
|
+
type SheetTriggerProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
230
|
+
type SheetCloseProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
231
|
+
type SheetContentProps = Omit<DialogHTMLAttributes<HTMLDialogElement>, "open"> & {
|
|
232
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
233
|
+
showCloseButton?: boolean;
|
|
234
|
+
closeLabel?: string;
|
|
235
|
+
};
|
|
236
|
+
type SheetHeaderProps = HTMLAttributes<HTMLDivElement>;
|
|
237
|
+
type SheetFooterProps = HTMLAttributes<HTMLDivElement>;
|
|
238
|
+
type SheetTitleProps = HTMLAttributes<HTMLHeadingElement>;
|
|
239
|
+
type SheetDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
|
|
240
|
+
declare function Sheet({
|
|
241
|
+
children,
|
|
242
|
+
open: controlledOpen,
|
|
243
|
+
defaultOpen,
|
|
244
|
+
onOpenChange
|
|
245
|
+
}: SheetProps): react5.JSX.Element;
|
|
246
|
+
declare const SheetTrigger: react5.ForwardRefExoticComponent<SheetTriggerProps & react5.RefAttributes<HTMLButtonElement>>;
|
|
247
|
+
declare const SheetClose: react5.ForwardRefExoticComponent<SheetCloseProps & react5.RefAttributes<HTMLButtonElement>>;
|
|
248
|
+
declare const SheetContent: react5.ForwardRefExoticComponent<Omit<DialogHTMLAttributes<HTMLDialogElement>, "open"> & {
|
|
249
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
250
|
+
showCloseButton?: boolean;
|
|
251
|
+
closeLabel?: string;
|
|
252
|
+
} & react5.RefAttributes<HTMLDialogElement>>;
|
|
253
|
+
declare const SheetHeader: react5.ForwardRefExoticComponent<SheetHeaderProps & react5.RefAttributes<HTMLDivElement>>;
|
|
254
|
+
declare const SheetFooter: react5.ForwardRefExoticComponent<SheetFooterProps & react5.RefAttributes<HTMLDivElement>>;
|
|
255
|
+
declare const SheetTitle: react5.ForwardRefExoticComponent<SheetTitleProps & react5.RefAttributes<HTMLHeadingElement>>;
|
|
256
|
+
declare const SheetDescription: react5.ForwardRefExoticComponent<SheetDescriptionProps & react5.RefAttributes<HTMLParagraphElement>>;
|
|
37
257
|
//#endregion
|
|
38
258
|
//#region src/components/icons/arrow.d.ts
|
|
39
|
-
declare function ArrowUp(props: SVGProps<SVGSVGElement>):
|
|
259
|
+
declare function ArrowUp(props: SVGProps<SVGSVGElement>): react5.JSX.Element;
|
|
40
260
|
//#endregion
|
|
41
261
|
//#region src/components/icons/loader.d.ts
|
|
42
|
-
declare function Loader(props: SVGProps<SVGSVGElement>):
|
|
262
|
+
declare function Loader(props: SVGProps<SVGSVGElement>): react5.JSX.Element;
|
|
43
263
|
//#endregion
|
|
44
264
|
//#region src/components/icons/microphone.d.ts
|
|
45
|
-
declare function Microphone(props: SVGProps<SVGSVGElement>):
|
|
265
|
+
declare function Microphone(props: SVGProps<SVGSVGElement>): react5.JSX.Element;
|
|
46
266
|
//#endregion
|
|
47
267
|
//#region src/components/icons/paperclip.d.ts
|
|
48
|
-
declare function Paperclip(props: SVGProps<SVGSVGElement>):
|
|
268
|
+
declare function Paperclip(props: SVGProps<SVGSVGElement>): react5.JSX.Element;
|
|
49
269
|
//#endregion
|
|
50
270
|
//#region src/components/icons/stop.d.ts
|
|
51
|
-
declare function Stop(props: SVGProps<SVGSVGElement>):
|
|
271
|
+
declare function Stop(props: SVGProps<SVGSVGElement>): react5.JSX.Element;
|
|
52
272
|
//#endregion
|
|
53
273
|
//#region src/components/icons/x.d.ts
|
|
54
|
-
declare function X(props: SVGProps<SVGSVGElement>):
|
|
274
|
+
declare function X(props: SVGProps<SVGSVGElement>): react5.JSX.Element;
|
|
55
275
|
//#endregion
|
|
56
276
|
//#region src/components/prompt-form/file-attachments.d.ts
|
|
57
277
|
declare const PROMPT_FORM_FILE_ACCEPT = "image/*,.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx";
|
|
@@ -71,7 +291,7 @@ declare function PromptFormIconButton({
|
|
|
71
291
|
className,
|
|
72
292
|
type,
|
|
73
293
|
...props
|
|
74
|
-
}: PromptFormIconButtonProps):
|
|
294
|
+
}: PromptFormIconButtonProps): react5.JSX.Element;
|
|
75
295
|
type PromptFormSubmitInput = {
|
|
76
296
|
text: string;
|
|
77
297
|
enabledTools?: string[];
|
|
@@ -82,6 +302,7 @@ type PromptFormProps = {
|
|
|
82
302
|
onValueChange: (value: string) => void;
|
|
83
303
|
onSubmit: (input: PromptFormSubmitInput) => void | Promise<void>;
|
|
84
304
|
status?: ChatStatus$1;
|
|
305
|
+
uploadState?: FileUploadState$1;
|
|
85
306
|
onStop?: () => void;
|
|
86
307
|
disabled?: boolean;
|
|
87
308
|
clearOnSubmit?: boolean;
|
|
@@ -91,6 +312,9 @@ type PromptFormProps = {
|
|
|
91
312
|
stopLabel?: string;
|
|
92
313
|
attachLabel?: string;
|
|
93
314
|
removeFileLabel?: string;
|
|
315
|
+
uploadingLabel?: string;
|
|
316
|
+
processingUploadLabel?: string;
|
|
317
|
+
uploadErrorLabel?: string;
|
|
94
318
|
enableAttachments?: boolean;
|
|
95
319
|
files?: File[];
|
|
96
320
|
onFilesChange?: (files: File[]) => void;
|
|
@@ -99,17 +323,22 @@ type PromptFormProps = {
|
|
|
99
323
|
className?: string;
|
|
100
324
|
textareaClassName?: string;
|
|
101
325
|
attachmentsClassName?: string;
|
|
326
|
+
uploadProgressClassName?: string;
|
|
102
327
|
maxRows?: number;
|
|
103
328
|
submitButtonClassName?: string;
|
|
104
329
|
stopButtonClassName?: string;
|
|
105
330
|
leftSlot?: ReactNode;
|
|
106
331
|
rightSlot?: ReactNode;
|
|
332
|
+
/** Submit on Enter while preserving Shift+Enter for a newline. */
|
|
333
|
+
submitOnEnter?: boolean;
|
|
334
|
+
onTextareaKeyDown?: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void;
|
|
107
335
|
};
|
|
108
336
|
declare function PromptForm({
|
|
109
337
|
value,
|
|
110
338
|
onValueChange,
|
|
111
339
|
onSubmit,
|
|
112
340
|
status,
|
|
341
|
+
uploadState,
|
|
113
342
|
onStop,
|
|
114
343
|
disabled,
|
|
115
344
|
clearOnSubmit,
|
|
@@ -119,6 +348,9 @@ declare function PromptForm({
|
|
|
119
348
|
stopLabel,
|
|
120
349
|
attachLabel,
|
|
121
350
|
removeFileLabel,
|
|
351
|
+
uploadingLabel,
|
|
352
|
+
processingUploadLabel,
|
|
353
|
+
uploadErrorLabel,
|
|
122
354
|
enableAttachments,
|
|
123
355
|
files: filesProp,
|
|
124
356
|
onFilesChange,
|
|
@@ -127,12 +359,15 @@ declare function PromptForm({
|
|
|
127
359
|
className,
|
|
128
360
|
textareaClassName,
|
|
129
361
|
attachmentsClassName,
|
|
362
|
+
uploadProgressClassName,
|
|
130
363
|
maxRows,
|
|
131
364
|
submitButtonClassName,
|
|
132
365
|
stopButtonClassName,
|
|
133
366
|
leftSlot,
|
|
134
|
-
rightSlot
|
|
135
|
-
|
|
367
|
+
rightSlot,
|
|
368
|
+
submitOnEnter,
|
|
369
|
+
onTextareaKeyDown
|
|
370
|
+
}: PromptFormProps): react5.JSX.Element;
|
|
136
371
|
//#endregion
|
|
137
372
|
//#region src/components/prompt-form/prompt-form-attach-button.d.ts
|
|
138
373
|
type PromptFormAttachButtonProps = {
|
|
@@ -148,19 +383,16 @@ declare function PromptFormAttachButton({
|
|
|
148
383
|
disabled,
|
|
149
384
|
label,
|
|
150
385
|
...props
|
|
151
|
-
}: PromptFormAttachButtonProps):
|
|
386
|
+
}: PromptFormAttachButtonProps): react5.JSX.Element;
|
|
152
387
|
//#endregion
|
|
153
388
|
//#region src/components/speech-to-text-toggle/transcribe-audio.d.ts
|
|
154
|
-
type TranscribeAudioFn = (audio: Blob, signal?: AbortSignal) => Promise<string>;
|
|
155
389
|
declare function dummyTranscribeAudio(_audio: Blob, signal?: AbortSignal): Promise<string>;
|
|
156
|
-
declare function transcribeAudioViaEndpoint(audio: Blob, endpoint: string, signal?: AbortSignal): Promise<string>;
|
|
157
390
|
//#endregion
|
|
158
391
|
//#region src/components/speech-to-text-toggle/speech-to-text-toggle.d.ts
|
|
159
392
|
type SpeechToTextToggleProps = {
|
|
160
393
|
onTranscriptionComplete: (text: string) => void;
|
|
161
394
|
onTranscriptionError?: (error: Error) => void;
|
|
162
|
-
transcribe
|
|
163
|
-
transcriptionEndpoint?: string;
|
|
395
|
+
transcribe: TranscribeAudioFn;
|
|
164
396
|
label?: string;
|
|
165
397
|
listeningLabel?: string;
|
|
166
398
|
loadingLabel?: string;
|
|
@@ -169,26 +401,111 @@ declare function SpeechToTextToggle({
|
|
|
169
401
|
onTranscriptionComplete,
|
|
170
402
|
onTranscriptionError,
|
|
171
403
|
transcribe,
|
|
172
|
-
transcriptionEndpoint,
|
|
173
404
|
disabled,
|
|
174
405
|
label,
|
|
175
406
|
listeningLabel,
|
|
176
407
|
loadingLabel,
|
|
177
408
|
className,
|
|
178
409
|
...props
|
|
179
|
-
}: SpeechToTextToggleProps):
|
|
410
|
+
}: SpeechToTextToggleProps): react5.JSX.Element;
|
|
180
411
|
//#endregion
|
|
181
412
|
//#region src/components/tool-result-card.d.ts
|
|
182
413
|
type ToolResultCardProps = {
|
|
183
414
|
part: UIToolCallPart;
|
|
184
415
|
className?: string;
|
|
185
416
|
detailsOpen?: boolean;
|
|
417
|
+
locale?: string | null;
|
|
418
|
+
onOpenAgentThread?: (threadId: string) => void;
|
|
186
419
|
};
|
|
187
420
|
declare function ToolResultCard({
|
|
188
421
|
part,
|
|
189
422
|
className,
|
|
190
|
-
detailsOpen
|
|
191
|
-
|
|
423
|
+
detailsOpen,
|
|
424
|
+
locale,
|
|
425
|
+
onOpenAgentThread
|
|
426
|
+
}: ToolResultCardProps): react5.JSX.Element;
|
|
427
|
+
//#endregion
|
|
428
|
+
//#region src/components/tool-result-agent-invocation-card.d.ts
|
|
429
|
+
type ToolResultAgentInvocationCardProps = {
|
|
430
|
+
part: UIAgentInvocationToolCallPart;
|
|
431
|
+
className?: string;
|
|
432
|
+
onOpenThread?: (threadId: string) => void;
|
|
433
|
+
};
|
|
434
|
+
declare function ToolResultAgentInvocationCard({
|
|
435
|
+
part,
|
|
436
|
+
className,
|
|
437
|
+
onOpenThread
|
|
438
|
+
}: ToolResultAgentInvocationCardProps): react5.JSX.Element;
|
|
439
|
+
//#endregion
|
|
440
|
+
//#region src/components/tool-result-browser-card.d.ts
|
|
441
|
+
type ToolResultBrowserCardProps = {
|
|
442
|
+
part: UIBrowserToolCallPart;
|
|
443
|
+
className?: string;
|
|
444
|
+
};
|
|
445
|
+
declare function ToolResultBrowserCard({
|
|
446
|
+
part,
|
|
447
|
+
className
|
|
448
|
+
}: ToolResultBrowserCardProps): react5.JSX.Element;
|
|
449
|
+
//#endregion
|
|
450
|
+
//#region src/components/tool-result-external-datasource-card.d.ts
|
|
451
|
+
type ToolResultExternalDatasourceCardProps = {
|
|
452
|
+
part: UIExternalDatasourceToolCallPart;
|
|
453
|
+
className?: string;
|
|
454
|
+
};
|
|
455
|
+
declare function ToolResultExternalDatasourceCard({
|
|
456
|
+
part,
|
|
457
|
+
className
|
|
458
|
+
}: ToolResultExternalDatasourceCardProps): react5.JSX.Element;
|
|
459
|
+
//#endregion
|
|
460
|
+
//#region src/components/tool-result-http-request-card.d.ts
|
|
461
|
+
type ToolResultHttpRequestCardProps = {
|
|
462
|
+
part: UIHttpRequestToolCallPart;
|
|
463
|
+
className?: string;
|
|
464
|
+
};
|
|
465
|
+
declare function ToolResultHttpRequestCard({
|
|
466
|
+
part,
|
|
467
|
+
className
|
|
468
|
+
}: ToolResultHttpRequestCardProps): react5.JSX.Element;
|
|
469
|
+
//#endregion
|
|
470
|
+
//#region src/components/tool-result-mcp-card.d.ts
|
|
471
|
+
type ToolResultMcpCardProps = {
|
|
472
|
+
part: UIMcpToolCallPart;
|
|
473
|
+
className?: string;
|
|
474
|
+
};
|
|
475
|
+
declare function ToolResultMcpCard({
|
|
476
|
+
part,
|
|
477
|
+
className
|
|
478
|
+
}: ToolResultMcpCardProps): react5.JSX.Element;
|
|
479
|
+
//#endregion
|
|
480
|
+
//#region src/components/tool-result-office-documents-card.d.ts
|
|
481
|
+
type ToolResultOfficeDocumentsCardProps = {
|
|
482
|
+
part: UIOfficeDocumentsToolCallPart;
|
|
483
|
+
className?: string;
|
|
484
|
+
};
|
|
485
|
+
declare function ToolResultOfficeDocumentsCard({
|
|
486
|
+
part,
|
|
487
|
+
className
|
|
488
|
+
}: ToolResultOfficeDocumentsCardProps): react5.JSX.Element;
|
|
489
|
+
//#endregion
|
|
490
|
+
//#region src/components/tool-result-web-search-card.d.ts
|
|
491
|
+
type ToolResultWebSearchCardProps = {
|
|
492
|
+
part: UIPerplexityToolCallPart | UIFirecrawlSearchToolCallPart;
|
|
493
|
+
className?: string;
|
|
494
|
+
};
|
|
495
|
+
declare function ToolResultWebSearchCard({
|
|
496
|
+
part,
|
|
497
|
+
className
|
|
498
|
+
}: ToolResultWebSearchCardProps): react5.JSX.Element;
|
|
499
|
+
//#endregion
|
|
500
|
+
//#region src/components/tool-result-workflow-dispatch-card.d.ts
|
|
501
|
+
type ToolResultWorkflowDispatchCardProps = {
|
|
502
|
+
part: UIWorkflowDispatchToolCallPart;
|
|
503
|
+
className?: string;
|
|
504
|
+
};
|
|
505
|
+
declare function ToolResultWorkflowDispatchCard({
|
|
506
|
+
part,
|
|
507
|
+
className
|
|
508
|
+
}: ToolResultWorkflowDispatchCardProps): react5.JSX.Element;
|
|
192
509
|
//#endregion
|
|
193
|
-
export { ArrowUp, type ChatStatus, type InvalidPromptFormFile, Loader, Message, type MessageProps, Microphone, PROMPT_FORM_FILE_ACCEPT, Paperclip, type PlaiChatError, type PlaiSseEvent, PromptForm, PromptFormAttachButton, type PromptFormAttachButtonProps, PromptFormIconButton, type PromptFormIconButtonProps, type PromptFormProps, type PromptFormSubmitInput, type SendMessageInput, SpeechToTextToggle, type SpeechToTextToggleProps, Stop, ToolResultCard, type ToolResultCardProps, type TranscribeAudioFn, type UIMessage, type Usage, type UseChatOptions, type UseChatResult, X, dummyTranscribeAudio, isAllowedPromptFormFile, partitionPromptFormFiles,
|
|
510
|
+
export { ArrowUp, type ChatStatus, Clipboard, type ClipboardProps, type ClipboardState, DatasourceFolderCard, type DatasourceFolderCardProps, type DatasourceReadModel, DatasourceToolResources, type DatasourceToolResourcesProps, DatasourceToolResultCard, type DatasourceToolResultCardProps, type DatasourceToolResultMetadata, type DocumentMetadata, type FileUploadState, type FileUploadStatus, type FolderReadModel, type InvalidPromptFormFile, Loader, type LocalizedOpenGraph, type MediaFile, Message, MessageAvatar, type MessageAvatarProps, MessageContent, type MessageContentProps, MessageFooter, type MessageFooterProps, MessageHeader, type MessageHeaderProps, MessageParts, type MessagePartsProps, type MessageProps, type MessageRating, Microphone, type OpenGraphContainer, type OpenGraphField, type OpenGraphTranslation, PROMPT_FORM_FILE_ACCEPT, Paperclip, type PlaiChatError, type PlaiSseEvent, PromptForm, PromptFormAttachButton, type PromptFormAttachButtonProps, PromptFormIconButton, type PromptFormIconButtonProps, type PromptFormProps, type PromptFormSubmitInput, type RateMessageInput, ResourceCard, type ResourceCardProps, type ResourceReadModel, type SendMessageDocument, type SendMessageInput, Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, SpeechToTextToggle, type SpeechToTextToggleProps, Stop, ThumbDown, type ThumbDownProps, ThumbUp, type ThumbUpProps, ToolResultAgentInvocationCard, type ToolResultAgentInvocationCardProps, ToolResultBrowserCard, type ToolResultBrowserCardProps, ToolResultCard, type ToolResultCardProps, ToolResultExternalDatasourceCard, type ToolResultExternalDatasourceCardProps, ToolResultHttpRequestCard, type ToolResultHttpRequestCardProps, ToolResultMcpCard, type ToolResultMcpCardProps, ToolResultOfficeDocumentsCard, type ToolResultOfficeDocumentsCardProps, ToolResultWebSearchCard, type ToolResultWebSearchCardProps, ToolResultWorkflowDispatchCard, type ToolResultWorkflowDispatchCardProps, type TranscribeAudioFn, type UIMessage, type UploadFileFn, type UploadFileOptions, type UploadFileProgress, type Usage, type UseChatOptions, type UseChatResult, X, dummyTranscribeAudio, getLocalizedOpenGraphValue, getResourceDescription, getResourceIcon, getResourceOpenGraphImage, getResourceOpenGraphType, getResourceTitle, getResourceType, getResourceUrl, isAllowedPromptFormFile, partitionPromptFormFiles, useChat };
|
|
194
511
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/use-chat.ts","../src/components/message.tsx","../src/components/icons/arrow.tsx","../src/components/icons/loader.tsx","../src/components/icons/microphone.tsx","../src/components/icons/paperclip.tsx","../src/components/icons/stop.tsx","../src/components/icons/x.tsx","../src/components/prompt-form/file-attachments.ts","../src/components/prompt-form/prompt-form.tsx","../src/components/prompt-form/prompt-form-attach-button.tsx","../src/components/speech-to-text-toggle/transcribe-audio.ts","../src/components/speech-to-text-toggle/speech-to-text-toggle.tsx","../src/components/tool-result-card.tsx"],"sourcesContent":[],"mappings":";;;;;KAYY,cAAA;aACC;oBACO;;EAFR,OAAA,CAAA,EAAA,CAAA,KAAA,EAIQ,cAJM,EAAA,GAAA,IAAA;EACb,OAAA,CAAA,EAAA,CAAA,KAAA,EAIO,eAJP,EAAA,GAAA,IAAA;CACO;AAEA,KAIR,aAAA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AA,Ea8BV,mBb9BU,CAAA,Ea8BS,MAAA,CAAA,GAAA,CAAA,Ob9BT"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/use-chat.ts","../src/components/message.tsx","../src/components/datasource-tool-result-card.tsx","../src/components/clipboard.tsx","../src/components/thumbs.tsx","../src/components/resource-card.tsx","../src/components/datasource-folder-card.tsx","../src/components/datasource-tool-resources.tsx","../src/components/opengraph.ts","../src/components/sheet/sheet.tsx","../src/components/icons/arrow.tsx","../src/components/icons/loader.tsx","../src/components/icons/microphone.tsx","../src/components/icons/paperclip.tsx","../src/components/icons/stop.tsx","../src/components/icons/x.tsx","../src/components/prompt-form/file-attachments.ts","../src/components/prompt-form/prompt-form.tsx","../src/components/prompt-form/prompt-form-attach-button.tsx","../src/components/speech-to-text-toggle/transcribe-audio.ts","../src/components/speech-to-text-toggle/speech-to-text-toggle.tsx","../src/components/tool-result-card.tsx","../src/components/tool-result-agent-invocation-card.tsx","../src/components/tool-result-browser-card.tsx","../src/components/tool-result-external-datasource-card.tsx","../src/components/tool-result-http-request-card.tsx","../src/components/tool-result-mcp-card.tsx","../src/components/tool-result-office-documents-card.tsx","../src/components/tool-result-web-search-card.tsx","../src/components/tool-result-workflow-dispatch-card.tsx"],"sourcesContent":[],"mappings":";;;;;KAgBY,cAAA;aACC;;;EADD,eAAA,CAAA,EAIQ,WAJM,EAAA;EACb,UAAA,CAAA,EAAA,GAAA,GAAA,MAAA;EAGO,OAAA,CAAA,EAAA,CAAA,KAAA,EAEA,cAFA,EAAA,GAAA,IAAA;EAEA,OAAA,CAAA,EAAA,CAAA,KAAA,EACA,eADA,EAAA,GAAA,IAAA;CACA;AAAa,KAGrB,aAAA,GAHqB;EAGrB,QAAA,EACA,WADa,EAAA;EACb,MAAA,EACF,YADE;EACF,KAAA,EACD,eADC,GAAA,IAAA;EACD,KAAA,EACA,OADA,GAAA,IAAA;EACA,WAAA,EACM,iBADN;EACM,WAAA,EAAA,CAAA,KAAA,EAC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