@rodrigocoliveira/agno-react 2.1.1 → 2.3.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/dist/context/AgnoContext.d.ts +1 -1
- package/dist/context/AgnoContext.d.ts.map +1 -1
- package/dist/context/ToolHandlerContext.d.ts +1 -1
- package/dist/context/ToolHandlerContext.d.ts.map +1 -1
- package/dist/hooks/useAgnoChat.d.ts +1 -0
- package/dist/hooks/useAgnoChat.d.ts.map +1 -1
- package/dist/hooks/useAgnoSessionState.d.ts +11 -0
- package/dist/hooks/useAgnoSessionState.d.ts.map +1 -1
- package/dist/index.js +20 -19
- package/dist/index.js.map +7 -7
- package/dist/index.mjs +20 -19
- package/dist/index.mjs.map +7 -7
- package/dist/ui/components/artifact.d.ts +8 -8
- package/dist/ui/components/artifact.d.ts.map +1 -1
- package/dist/ui/components/audio-recorder.d.ts +1 -1
- package/dist/ui/components/audio-recorder.d.ts.map +1 -1
- package/dist/ui/components/chart.d.ts +1 -1
- package/dist/ui/components/chart.d.ts.map +1 -1
- package/dist/ui/components/code-block.d.ts +2 -2
- package/dist/ui/components/code-block.d.ts.map +1 -1
- package/dist/ui/components/conversation.d.ts +4 -4
- package/dist/ui/components/conversation.d.ts.map +1 -1
- package/dist/ui/components/file-preview-card.d.ts +1 -1
- package/dist/ui/components/file-preview-card.d.ts.map +1 -1
- package/dist/ui/components/file-preview-modal.d.ts +1 -1
- package/dist/ui/components/file-preview-modal.d.ts.map +1 -1
- package/dist/ui/components/image-lightbox.d.ts +1 -1
- package/dist/ui/components/image-lightbox.d.ts.map +1 -1
- package/dist/ui/components/message.d.ts +3 -3
- package/dist/ui/components/message.d.ts.map +1 -1
- package/dist/ui/components/prompt-input/attachments.d.ts +3 -3
- package/dist/ui/components/prompt-input/attachments.d.ts.map +1 -1
- package/dist/ui/components/prompt-input/buttons.d.ts +6 -6
- package/dist/ui/components/prompt-input/buttons.d.ts.map +1 -1
- package/dist/ui/components/prompt-input/command.d.ts +7 -7
- package/dist/ui/components/prompt-input/command.d.ts.map +1 -1
- package/dist/ui/components/prompt-input/drop-zone.d.ts +1 -1
- package/dist/ui/components/prompt-input/drop-zone.d.ts.map +1 -1
- package/dist/ui/components/prompt-input/footer.d.ts +4 -4
- package/dist/ui/components/prompt-input/footer.d.ts.map +1 -1
- package/dist/ui/components/prompt-input/model-select.d.ts +5 -5
- package/dist/ui/components/prompt-input/model-select.d.ts.map +1 -1
- package/dist/ui/components/prompt-input/prompt-input.d.ts +1 -1
- package/dist/ui/components/prompt-input/prompt-input.d.ts.map +1 -1
- package/dist/ui/components/prompt-input/provider.d.ts +1 -1
- package/dist/ui/components/prompt-input/provider.d.ts.map +1 -1
- package/dist/ui/components/prompt-input/speech.d.ts +1 -1
- package/dist/ui/components/prompt-input/speech.d.ts.map +1 -1
- package/dist/ui/components/prompt-input/tabs.d.ts +5 -5
- package/dist/ui/components/prompt-input/tabs.d.ts.map +1 -1
- package/dist/ui/components/prompt-input/textarea.d.ts +1 -1
- package/dist/ui/components/prompt-input/textarea.d.ts.map +1 -1
- package/dist/ui/components/response.d.ts +1 -1
- package/dist/ui/components/response.d.ts.map +1 -1
- package/dist/ui/components/smart-timestamp.d.ts +1 -1
- package/dist/ui/components/smart-timestamp.d.ts.map +1 -1
- package/dist/ui/components/streaming-indicator.d.ts +1 -1
- package/dist/ui/components/streaming-indicator.d.ts.map +1 -1
- package/dist/ui/components/tool.d.ts +5 -5
- package/dist/ui/components/tool.d.ts.map +1 -1
- package/dist/ui/composed/AgnoChatInput.d.ts +1 -1
- package/dist/ui/composed/AgnoChatInput.d.ts.map +1 -1
- package/dist/ui/composed/AgnoMessageItem.d.ts +3 -1
- package/dist/ui/composed/AgnoMessageItem.d.ts.map +1 -1
- package/dist/ui/composed/agno-chat/agno-chat.d.ts +18 -1
- package/dist/ui/composed/agno-chat/agno-chat.d.ts.map +1 -1
- package/dist/ui/composed/agno-chat/empty-state.d.ts +1 -1
- package/dist/ui/composed/agno-chat/empty-state.d.ts.map +1 -1
- package/dist/ui/composed/agno-chat/error-bar.d.ts +1 -1
- package/dist/ui/composed/agno-chat/error-bar.d.ts.map +1 -1
- package/dist/ui/composed/agno-chat/input.d.ts +1 -1
- package/dist/ui/composed/agno-chat/input.d.ts.map +1 -1
- package/dist/ui/composed/agno-chat/messages.d.ts +1 -1
- package/dist/ui/composed/agno-chat/messages.d.ts.map +1 -1
- package/dist/ui/composed/agno-chat/suggested-prompts.d.ts +1 -1
- package/dist/ui/composed/agno-chat/suggested-prompts.d.ts.map +1 -1
- package/dist/ui/composed/agno-chat/tool-building-blocks.d.ts +1 -1
- package/dist/ui/composed/agno-chat/tool-building-blocks.d.ts.map +1 -1
- package/dist/ui/composed/agno-message/content.d.ts +1 -1
- package/dist/ui/composed/agno-message/content.d.ts.map +1 -1
- package/dist/ui/composed/agno-message/context.d.ts +7 -0
- package/dist/ui/composed/agno-message/context.d.ts.map +1 -1
- package/dist/ui/composed/agno-message/footer.d.ts +1 -1
- package/dist/ui/composed/agno-message/footer.d.ts.map +1 -1
- package/dist/ui/composed/agno-message/media.d.ts +1 -1
- package/dist/ui/composed/agno-message/media.d.ts.map +1 -1
- package/dist/ui/composed/agno-message/message.d.ts +8 -1
- package/dist/ui/composed/agno-message/message.d.ts.map +1 -1
- package/dist/ui/composed/agno-message/reasoning.d.ts +1 -1
- package/dist/ui/composed/agno-message/reasoning.d.ts.map +1 -1
- package/dist/ui/composed/agno-message/references.d.ts +1 -1
- package/dist/ui/composed/agno-message/references.d.ts.map +1 -1
- package/dist/ui/composed/agno-message/tools.d.ts +1 -1
- package/dist/ui/composed/agno-message/tools.d.ts.map +1 -1
- package/dist/ui/composed/generative-components/card-grid.d.ts +1 -1
- package/dist/ui/composed/generative-components/card-grid.d.ts.map +1 -1
- package/dist/ui/composed/generative-components/charts.d.ts +4 -4
- package/dist/ui/composed/generative-components/charts.d.ts.map +1 -1
- package/dist/ui/primitives/badge.d.ts +1 -1
- package/dist/ui/primitives/badge.d.ts.map +1 -1
- package/dist/ui/primitives/command.d.ts +1 -1
- package/dist/ui/primitives/dialog.d.ts +2 -2
- package/dist/ui/primitives/dropdown-menu.d.ts +1 -1
- package/dist/ui/primitives/input-group.d.ts +6 -6
- package/dist/ui/primitives/input-group.d.ts.map +1 -1
- package/dist/ui.js +27 -15
- package/dist/ui.js.map +8 -8
- package/dist/ui.mjs +27 -15
- package/dist/ui.mjs.map +8 -8
- package/package.json +3 -3
|
@@ -2,23 +2,23 @@ import { Button } from '../primitives/button';
|
|
|
2
2
|
import { type LucideIcon } from 'lucide-react';
|
|
3
3
|
import type { ComponentProps, HTMLAttributes } from 'react';
|
|
4
4
|
export type ArtifactProps = HTMLAttributes<HTMLDivElement>;
|
|
5
|
-
export declare const Artifact: ({ className, ...props }: ArtifactProps) => import("react
|
|
5
|
+
export declare const Artifact: ({ className, ...props }: ArtifactProps) => import("react").JSX.Element;
|
|
6
6
|
export type ArtifactHeaderProps = HTMLAttributes<HTMLDivElement>;
|
|
7
|
-
export declare const ArtifactHeader: ({ className, ...props }: ArtifactHeaderProps) => import("react
|
|
7
|
+
export declare const ArtifactHeader: ({ className, ...props }: ArtifactHeaderProps) => import("react").JSX.Element;
|
|
8
8
|
export type ArtifactCloseProps = ComponentProps<typeof Button>;
|
|
9
|
-
export declare const ArtifactClose: ({ className, children, size, variant, ...props }: ArtifactCloseProps) => import("react
|
|
9
|
+
export declare const ArtifactClose: ({ className, children, size, variant, ...props }: ArtifactCloseProps) => import("react").JSX.Element;
|
|
10
10
|
export type ArtifactTitleProps = HTMLAttributes<HTMLParagraphElement>;
|
|
11
|
-
export declare const ArtifactTitle: ({ className, ...props }: ArtifactTitleProps) => import("react
|
|
11
|
+
export declare const ArtifactTitle: ({ className, ...props }: ArtifactTitleProps) => import("react").JSX.Element;
|
|
12
12
|
export type ArtifactDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
|
|
13
|
-
export declare const ArtifactDescription: ({ className, ...props }: ArtifactDescriptionProps) => import("react
|
|
13
|
+
export declare const ArtifactDescription: ({ className, ...props }: ArtifactDescriptionProps) => import("react").JSX.Element;
|
|
14
14
|
export type ArtifactActionsProps = HTMLAttributes<HTMLDivElement>;
|
|
15
|
-
export declare const ArtifactActions: ({ className, ...props }: ArtifactActionsProps) => import("react
|
|
15
|
+
export declare const ArtifactActions: ({ className, ...props }: ArtifactActionsProps) => import("react").JSX.Element;
|
|
16
16
|
export type ArtifactActionProps = ComponentProps<typeof Button> & {
|
|
17
17
|
tooltip?: string;
|
|
18
18
|
label?: string;
|
|
19
19
|
icon?: LucideIcon;
|
|
20
20
|
};
|
|
21
|
-
export declare const ArtifactAction: ({ tooltip, label, icon: Icon, children, className, size, variant, ...props }: ArtifactActionProps) => import("react
|
|
21
|
+
export declare const ArtifactAction: ({ tooltip, label, icon: Icon, children, className, size, variant, ...props }: ArtifactActionProps) => import("react").JSX.Element;
|
|
22
22
|
export type ArtifactContentProps = HTMLAttributes<HTMLDivElement>;
|
|
23
|
-
export declare const ArtifactContent: ({ className, ...props }: ArtifactContentProps) => import("react
|
|
23
|
+
export declare const ArtifactContent: ({ className, ...props }: ArtifactContentProps) => import("react").JSX.Element;
|
|
24
24
|
//# sourceMappingURL=artifact.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact.d.ts","sourceRoot":"","sources":["../../../src/ui/components/artifact.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,OAAO,EAAE,KAAK,UAAU,EAAS,MAAM,cAAc,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5D,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAE3D,eAAO,MAAM,QAAQ,GAAI,yBAAyB,aAAa,
|
|
1
|
+
{"version":3,"file":"artifact.d.ts","sourceRoot":"","sources":["../../../src/ui/components/artifact.tsx"],"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CAAC,cAAc,CAAC,CAAC;AAElE,eAAO,MAAM,eAAe,GAAI,yBAAyB,oBAAoB,gCAE5E,CAAC"}
|
|
@@ -28,5 +28,5 @@ export interface AudioRecorderProps {
|
|
|
28
28
|
/** Custom labels for the audio recorder button (useful for i18n) */
|
|
29
29
|
labels?: AudioRecorderLabels;
|
|
30
30
|
}
|
|
31
|
-
export declare function AudioRecorder({ onRecordingComplete, disabled, className, mode, transcriptionEndpoint, transcriptionHeaders, onTranscriptionComplete, transcriptionFieldName, parseTranscriptionResponse, onRequestPermission, labels, }: AudioRecorderProps): import("react
|
|
31
|
+
export declare function AudioRecorder({ onRecordingComplete, disabled, className, mode, transcriptionEndpoint, transcriptionHeaders, onTranscriptionComplete, transcriptionFieldName, parseTranscriptionResponse, onRequestPermission, labels, }: AudioRecorderProps): import("react").JSX.Element | null;
|
|
32
32
|
//# sourceMappingURL=audio-recorder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio-recorder.d.ts","sourceRoot":"","sources":["../../../src/ui/components/audio-recorder.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,mEAAmE;IACnE,mBAAmB,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iGAAiG;IACjG,IAAI,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IAC7B,mEAAmE;IACnE,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,oEAAoE;IACpE,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9C,gEAAgE;IAChE,uBAAuB,C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AAsE;IACtE,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;gFAC4E;IAC5E,0BAA0B,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,MAAM,CAAC;IACvD;;2FAEuF;IACvF,mBAAmB,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAC7C,oEAAoE;IACpE,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B;AAkED,wBAAgB,aAAa,CAAC,EAC5B,mBAAmB,EACnB,QAAQ,EACR,SAAS,EACT,IAAa,EACb,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,sBAA+B,EAC/B,0BAA0B,EAC1B,mBAAmB,EACnB,MAAM,GACP,EAAE,kBAAkB,sCAgMpB"}
|
|
@@ -23,7 +23,7 @@ declare const ChartContainer: React.ForwardRefExoticComponent<Omit<React.ClassAt
|
|
|
23
23
|
declare const ChartStyle: ({ id, config }: {
|
|
24
24
|
id: string;
|
|
25
25
|
config: ChartConfig;
|
|
26
|
-
}) =>
|
|
26
|
+
}) => React.JSX.Element | null;
|
|
27
27
|
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
28
28
|
declare const ChartTooltipContent: React.ForwardRefExoticComponent<Omit<RechartsPrimitive.DefaultTooltipContentProps<import("recharts/types/component/DefaultTooltipContent").ValueType, import("recharts/types/component/DefaultTooltipContent").NameType> & {
|
|
29
29
|
accessibilityLayer?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../../src/ui/components/chart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,iBAAiB,MAAM,UAAU,CAAA;AAI7C,QAAA,MAAM,MAAM;;;CAAwC,CAAA;AAEpD,MAAM,MAAM,WAAW,GAAG;KACvB,CAAC,IAAI,MAAM,GAAG;QACb,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS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C7C,CAAC,UAAU,CAAC;gDAwBf,CAAA;AAGF,QAAA,MAAM,UAAU,GAAI,gBAAgB;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,WAAW,CAAA;CAAE,6BA+BtE,CAAA;AAED,QAAA,MAAM,YAAY,kCAA4B,CAAA;AAE9C,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;gBAIP,OAAO;oBACH,OAAO;gBACX,MAAM,GAAG,KAAK,GAAG,QAAQ;cAC3B,MAAM;eACL,MAAM;gDAiJtB,CAAA;AAGD,QAAA,MAAM,WAAW,iCAA2B,CAAA;AAE5C,QAAA,MAAM,kBAAkB;eAIP,OAAO;cACR,MAAM;gDAoDrB,CAAA;AAyCD,OAAO,EACL,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EAClB,UAAU,GACX,CAAA"}
|
|
@@ -5,11 +5,11 @@ export type CodeBlockProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
5
5
|
language: string;
|
|
6
6
|
showLineNumbers?: boolean;
|
|
7
7
|
};
|
|
8
|
-
export declare const CodeBlock: ({ code, language, showLineNumbers, className, children, ...props }: CodeBlockProps) => import("react
|
|
8
|
+
export declare const CodeBlock: ({ code, language, showLineNumbers, className, children, ...props }: CodeBlockProps) => import("react").JSX.Element;
|
|
9
9
|
export type CodeBlockCopyButtonProps = ComponentProps<typeof Button> & {
|
|
10
10
|
onCopy?: () => void;
|
|
11
11
|
onError?: (error: Error) => void;
|
|
12
12
|
timeout?: number;
|
|
13
13
|
};
|
|
14
|
-
export declare const CodeBlockCopyButton: ({ onCopy, onError, timeout, children, className, ...props }: CodeBlockCopyButtonProps) => import("react
|
|
14
|
+
export declare const CodeBlockCopyButton: ({ onCopy, onError, timeout, children, className, ...props }: CodeBlockCopyButtonProps) => import("react").JSX.Element;
|
|
15
15
|
//# sourceMappingURL=code-block.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-block.d.ts","sourceRoot":"","sources":["../../../src/ui/components/code-block.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,OAAO,EACL,KAAK,cAAc,EAEnB,KAAK,cAAc,EAKpB,MAAM,OAAO,CAAC;AAEf,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AA6CF,eAAO,MAAM,SAAS,GAAI,oEAOvB,cAAc,
|
|
1
|
+
{"version":3,"file":"code-block.d.ts","sourceRoot":"","sources":["../../../src/ui/components/code-block.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,OAAO,EACL,KAAK,cAAc,EAEnB,KAAK,cAAc,EAKpB,MAAM,OAAO,CAAC;AAEf,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AA6CF,eAAO,MAAM,SAAS,GAAI,oEAOvB,cAAc,gCAgDhB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG;IACrE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,6DAOjC,wBAAwB,gCA2B1B,CAAC"}
|
|
@@ -5,16 +5,16 @@ import type { ScrollBehaviorConfig } from '../types';
|
|
|
5
5
|
export type ConversationProps = ComponentProps<typeof StickToBottom> & {
|
|
6
6
|
scrollBehavior?: ScrollBehaviorConfig;
|
|
7
7
|
};
|
|
8
|
-
export declare const Conversation: ({ className, scrollBehavior, ...props }: ConversationProps) => import("react
|
|
8
|
+
export declare const Conversation: ({ className, scrollBehavior, ...props }: ConversationProps) => import("react").JSX.Element;
|
|
9
9
|
export type ConversationContentProps = ComponentProps<typeof StickToBottom.Content>;
|
|
10
|
-
export declare const ConversationContent: ({ className, ...props }: ConversationContentProps) => import("react
|
|
10
|
+
export declare const ConversationContent: ({ className, ...props }: ConversationContentProps) => import("react").JSX.Element;
|
|
11
11
|
export type ConversationEmptyStateProps = ComponentProps<'div'> & {
|
|
12
12
|
title?: string;
|
|
13
13
|
description?: string;
|
|
14
14
|
icon?: ReactNode;
|
|
15
15
|
};
|
|
16
|
-
export declare const ConversationEmptyState: ({ className, title, description, icon, children, ...props }: ConversationEmptyStateProps) => import("react
|
|
16
|
+
export declare const ConversationEmptyState: ({ className, title, description, icon, children, ...props }: ConversationEmptyStateProps) => import("react").JSX.Element;
|
|
17
17
|
export { useStickToBottomContext } from 'use-stick-to-bottom';
|
|
18
18
|
export type ConversationScrollButtonProps = ComponentProps<typeof Button>;
|
|
19
|
-
export declare const ConversationScrollButton: ({ className, ...props }: ConversationScrollButtonProps) => false | import("react
|
|
19
|
+
export declare const ConversationScrollButton: ({ className, ...props }: ConversationScrollButtonProps) => false | import("react").JSX.Element;
|
|
20
20
|
//# sourceMappingURL=conversation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../src/ui/components/conversation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAE,aAAa,EAA2B,MAAM,qBAAqB,CAAC;AAC7E,OAAO,KAAK,EAAE,oBAAoB,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AI,yBAAyB,6BAA6B,wCAqB9F,CAAC"}
|
|
@@ -9,5 +9,5 @@ export interface FilePreviewCardProps {
|
|
|
9
9
|
onClick?: () => void;
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare function FilePreviewCard({ file, onClick, className }: FilePreviewCardProps): import("react
|
|
12
|
+
export declare function FilePreviewCard({ file, onClick, className }: FilePreviewCardProps): import("react").JSX.Element;
|
|
13
13
|
//# sourceMappingURL=file-preview-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-preview-card.d.ts","sourceRoot":"","sources":["../../../src/ui/components/file-preview-card.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAYD,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,oBAAoB
|
|
1
|
+
{"version":3,"file":"file-preview-card.d.ts","sourceRoot":"","sources":["../../../src/ui/components/file-preview-card.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAYD,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,oBAAoB,+BA2EjF"}
|
|
@@ -4,5 +4,5 @@ export interface FilePreviewModalProps {
|
|
|
4
4
|
onOpenChange: (open: boolean) => void;
|
|
5
5
|
file: FilePreviewFile | null;
|
|
6
6
|
}
|
|
7
|
-
export declare function FilePreviewModal({ open, onOpenChange, file }: FilePreviewModalProps): import("react
|
|
7
|
+
export declare function FilePreviewModal({ open, onOpenChange, file }: FilePreviewModalProps): import("react").JSX.Element | null;
|
|
8
8
|
//# sourceMappingURL=file-preview-modal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-preview-modal.d.ts","sourceRoot":"","sources":["../../../src/ui/components/file-preview-modal.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;CAC9B;AAED,wBAAgB,gBAAgB,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"file-preview-modal.d.ts","sourceRoot":"","sources":["../../../src/ui/components/file-preview-modal.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;CAC9B;AAED,wBAAgB,gBAAgB,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,qBAAqB,sCAsEnF"}
|
|
@@ -8,5 +8,5 @@ export interface ImageLightboxProps {
|
|
|
8
8
|
images: LightboxImage[];
|
|
9
9
|
initialIndex?: number;
|
|
10
10
|
}
|
|
11
|
-
export declare function ImageLightbox({ open, onOpenChange, images, initialIndex }: ImageLightboxProps): import("react
|
|
11
|
+
export declare function ImageLightbox({ open, onOpenChange, images, initialIndex }: ImageLightboxProps): import("react").JSX.Element | null;
|
|
12
12
|
//# sourceMappingURL=image-lightbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-lightbox.d.ts","sourceRoot":"","sources":["../../../src/ui/components/image-lightbox.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,YAAgB,EAAE,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"image-lightbox.d.ts","sourceRoot":"","sources":["../../../src/ui/components/image-lightbox.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,YAAgB,EAAE,EAAE,kBAAkB,sCA4EjG"}
|
|
@@ -4,16 +4,16 @@ import type { ComponentProps, HTMLAttributes } from 'react';
|
|
|
4
4
|
export type MessageProps = HTMLAttributes<HTMLDivElement> & {
|
|
5
5
|
from: 'user' | 'assistant' | 'system' | 'tool';
|
|
6
6
|
};
|
|
7
|
-
export declare const Message: ({ className, from, ...props }: MessageProps) => import("react
|
|
7
|
+
export declare const Message: ({ className, from, ...props }: MessageProps) => import("react").JSX.Element;
|
|
8
8
|
declare const messageContentVariants: (props?: ({
|
|
9
9
|
variant?: "flat" | "contained" | null | undefined;
|
|
10
10
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
11
|
export type MessageContentProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof messageContentVariants>;
|
|
12
|
-
export declare const MessageContent: ({ children, className, variant, ...props }: MessageContentProps) => import("react
|
|
12
|
+
export declare const MessageContent: ({ children, className, variant, ...props }: MessageContentProps) => import("react").JSX.Element;
|
|
13
13
|
export type MessageAvatarProps = ComponentProps<typeof Avatar> & {
|
|
14
14
|
src: string;
|
|
15
15
|
name?: string;
|
|
16
16
|
};
|
|
17
|
-
export declare const MessageAvatar: ({ src, name, className, ...props }: MessageAvatarProps) => import("react
|
|
17
|
+
export declare const MessageAvatar: ({ src, name, className, ...props }: MessageAvatarProps) => import("react").JSX.Element;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=message.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/ui/components/message.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA+B,MAAM,sBAAsB,CAAC;AAE3E,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5D,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC1D,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,+BAA+B,YAAY,
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/ui/components/message.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA+B,MAAM,sBAAsB,CAAC;AAE3E,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5D,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC1D,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,+BAA+B,YAAY,gCASlE,CAAC;AAEF,QAAA,MAAM,sBAAsB;;8EAoB3B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE/G,eAAO,MAAM,cAAc,GAAI,4CAA4C,mBAAmB,gCAI7F,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG;IAC/D,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,oCAAoC,kBAAkB,gCAKnF,CAAC"}
|
|
@@ -7,15 +7,15 @@ export type PromptInputAttachmentProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
7
7
|
};
|
|
8
8
|
className?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare function PromptInputAttachment({ data, className, ...props }: PromptInputAttachmentProps): import("react
|
|
10
|
+
export declare function PromptInputAttachment({ data, className, ...props }: PromptInputAttachmentProps): import("react").JSX.Element;
|
|
11
11
|
export type PromptInputAttachmentsProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
12
12
|
children: (attachment: FileAttachment & {
|
|
13
13
|
id: string;
|
|
14
14
|
}) => ReactNode;
|
|
15
15
|
};
|
|
16
|
-
export declare function PromptInputAttachments({ children }: PromptInputAttachmentsProps): import("react
|
|
16
|
+
export declare function PromptInputAttachments({ children }: PromptInputAttachmentsProps): import("react").JSX.Element[] | null;
|
|
17
17
|
export type PromptInputActionAddAttachmentsProps = ComponentProps<typeof DropdownMenuItem> & {
|
|
18
18
|
label?: string;
|
|
19
19
|
};
|
|
20
|
-
export declare const PromptInputActionAddAttachments: ({ label, ...props }: PromptInputActionAddAttachmentsProps) => import("react
|
|
20
|
+
export declare const PromptInputActionAddAttachments: ({ label, ...props }: PromptInputActionAddAttachmentsProps) => import("react").JSX.Element;
|
|
21
21
|
//# sourceMappingURL=attachments.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attachments.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/attachments.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,MAAM,MAAM,0BAA0B,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACxE,IAAI,EAAE,cAAc,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,0BAA0B
|
|
1
|
+
{"version":3,"file":"attachments.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/attachments.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,MAAM,MAAM,0BAA0B,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACxE,IAAI,EAAE,cAAc,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,0BAA0B,+BAwE9F;AAED,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,GAAG;IAC3F,QAAQ,EAAE,CAAC,UAAU,EAAE,cAAc,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,KAAK,SAAS,CAAC;CACtE,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,EAAE,QAAQ,EAAE,EAAE,2BAA2B,wCAI/E;AAED,MAAM,MAAM,oCAAoC,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,GAAG;IAC3F,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAAI,qBAG7C,oCAAoC,gCAatC,CAAC"}
|
|
@@ -3,17 +3,17 @@ import { DropdownMenu, DropdownMenuContent, DropdownMenuItem } from '../../primi
|
|
|
3
3
|
import { type ComponentProps } from 'react';
|
|
4
4
|
import type { ChatStatus } from '../../types';
|
|
5
5
|
export type PromptInputButtonProps = ComponentProps<typeof InputGroupButton>;
|
|
6
|
-
export declare const PromptInputButton: ({ variant, className, size, ...props }: PromptInputButtonProps) => import("react
|
|
6
|
+
export declare const PromptInputButton: ({ variant, className, size, ...props }: PromptInputButtonProps) => import("react").JSX.Element;
|
|
7
7
|
export type PromptInputSubmitProps = ComponentProps<typeof InputGroupButton> & {
|
|
8
8
|
status?: ChatStatus;
|
|
9
9
|
};
|
|
10
|
-
export declare const PromptInputSubmit: ({ className, variant, size, status, children, ...props }: PromptInputSubmitProps) => import("react
|
|
10
|
+
export declare const PromptInputSubmit: ({ className, variant, size, status, children, ...props }: PromptInputSubmitProps) => import("react").JSX.Element;
|
|
11
11
|
export type PromptInputActionMenuProps = ComponentProps<typeof DropdownMenu>;
|
|
12
|
-
export declare const PromptInputActionMenu: (props: PromptInputActionMenuProps) => import("react
|
|
12
|
+
export declare const PromptInputActionMenu: (props: PromptInputActionMenuProps) => import("react").JSX.Element;
|
|
13
13
|
export type PromptInputActionMenuTriggerProps = PromptInputButtonProps;
|
|
14
|
-
export declare const PromptInputActionMenuTrigger: ({ className, children, ...props }: PromptInputActionMenuTriggerProps) => import("react
|
|
14
|
+
export declare const PromptInputActionMenuTrigger: ({ className, children, ...props }: PromptInputActionMenuTriggerProps) => import("react").JSX.Element;
|
|
15
15
|
export type PromptInputActionMenuContentProps = ComponentProps<typeof DropdownMenuContent>;
|
|
16
|
-
export declare const PromptInputActionMenuContent: ({ className, ...props }: PromptInputActionMenuContentProps) => import("react
|
|
16
|
+
export declare const PromptInputActionMenuContent: ({ className, ...props }: PromptInputActionMenuContentProps) => import("react").JSX.Element;
|
|
17
17
|
export type PromptInputActionMenuItemProps = ComponentProps<typeof DropdownMenuItem>;
|
|
18
|
-
export declare const PromptInputActionMenuItem: ({ className, ...props }: PromptInputActionMenuItemProps) => import("react
|
|
18
|
+
export declare const PromptInputActionMenuItem: ({ className, ...props }: PromptInputActionMenuItemProps) => import("react").JSX.Element;
|
|
19
19
|
//# sourceMappingURL=buttons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/buttons.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAEjB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE7E,eAAO,MAAM,iBAAiB,GAAI,wCAK/B,sBAAsB,
|
|
1
|
+
{"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/buttons.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAEjB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE7E,eAAO,MAAM,iBAAiB,GAAI,wCAK/B,sBAAsB,gCAIxB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,GAAG;IAC7E,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,0DAO/B,sBAAsB,gCAgBxB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAC7E,eAAO,MAAM,qBAAqB,GAAI,OAAO,0BAA0B,gCAAgC,CAAC;AAExG,MAAM,MAAM,iCAAiC,GAAG,sBAAsB,CAAC;AAEvE,eAAO,MAAM,4BAA4B,GAAI,mCAI1C,iCAAiC,gCAMnC,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG,cAAc,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAC3F,eAAO,MAAM,4BAA4B,GAAI,yBAG1C,iCAAiC,gCAA+E,CAAC;AAEpH,MAAM,MAAM,8BAA8B,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACrF,eAAO,MAAM,yBAAyB,GAAI,yBAGvC,8BAA8B,gCAA8D,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from '../../primitives/command';
|
|
2
2
|
import type { ComponentProps } from 'react';
|
|
3
3
|
export type PromptInputCommandProps = ComponentProps<typeof Command>;
|
|
4
|
-
export declare const PromptInputCommand: ({ className, ...props }: PromptInputCommandProps) => import("react
|
|
4
|
+
export declare const PromptInputCommand: ({ className, ...props }: PromptInputCommandProps) => import("react").JSX.Element;
|
|
5
5
|
export type PromptInputCommandInputProps = ComponentProps<typeof CommandInput>;
|
|
6
|
-
export declare const PromptInputCommandInput: ({ className, ...props }: PromptInputCommandInputProps) => import("react
|
|
6
|
+
export declare const PromptInputCommandInput: ({ className, ...props }: PromptInputCommandInputProps) => import("react").JSX.Element;
|
|
7
7
|
export type PromptInputCommandListProps = ComponentProps<typeof CommandList>;
|
|
8
|
-
export declare const PromptInputCommandList: ({ className, ...props }: PromptInputCommandListProps) => import("react
|
|
8
|
+
export declare const PromptInputCommandList: ({ className, ...props }: PromptInputCommandListProps) => import("react").JSX.Element;
|
|
9
9
|
export type PromptInputCommandEmptyProps = ComponentProps<typeof CommandEmpty>;
|
|
10
|
-
export declare const PromptInputCommandEmpty: ({ className, ...props }: PromptInputCommandEmptyProps) => import("react
|
|
10
|
+
export declare const PromptInputCommandEmpty: ({ className, ...props }: PromptInputCommandEmptyProps) => import("react").JSX.Element;
|
|
11
11
|
export type PromptInputCommandGroupProps = ComponentProps<typeof CommandGroup>;
|
|
12
|
-
export declare const PromptInputCommandGroup: ({ className, ...props }: PromptInputCommandGroupProps) => import("react
|
|
12
|
+
export declare const PromptInputCommandGroup: ({ className, ...props }: PromptInputCommandGroupProps) => import("react").JSX.Element;
|
|
13
13
|
export type PromptInputCommandItemProps = ComponentProps<typeof CommandItem>;
|
|
14
|
-
export declare const PromptInputCommandItem: ({ className, ...props }: PromptInputCommandItemProps) => import("react
|
|
14
|
+
export declare const PromptInputCommandItem: ({ className, ...props }: PromptInputCommandItemProps) => import("react").JSX.Element;
|
|
15
15
|
export type PromptInputCommandSeparatorProps = ComponentProps<typeof CommandSeparator>;
|
|
16
|
-
export declare const PromptInputCommandSeparator: ({ className, ...props }: PromptInputCommandSeparatorProps) => import("react
|
|
16
|
+
export declare const PromptInputCommandSeparator: ({ className, ...props }: PromptInputCommandSeparatorProps) => import("react").JSX.Element;
|
|
17
17
|
//# sourceMappingURL=command.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/command.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,WAAW,EACX,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC;AACrE,eAAO,MAAM,kBAAkB,GAAI,yBAAyB,uBAAuB,
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/command.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,WAAW,EACX,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC;AACrE,eAAO,MAAM,kBAAkB,GAAI,yBAAyB,uBAAuB,gCAElF,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAC/E,eAAO,MAAM,uBAAuB,GAAI,yBAAyB,4BAA4B,gCAE5F,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAC7E,eAAO,MAAM,sBAAsB,GAAI,yBAAyB,2BAA2B,gCAE1F,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAC/E,eAAO,MAAM,uBAAuB,GAAI,yBAAyB,4BAA4B,gCAE5F,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAC/E,eAAO,MAAM,uBAAuB,GAAI,yBAAyB,4BAA4B,gCAE5F,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAC7E,eAAO,MAAM,sBAAsB,GAAI,yBAAyB,2BAA2B,gCAE1F,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACvF,eAAO,MAAM,2BAA2B,GAAI,yBAAyB,gCAAgC,gCAEpG,CAAC"}
|
|
@@ -3,5 +3,5 @@ export type PromptInputDropZoneProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
3
3
|
label?: string;
|
|
4
4
|
container?: RefObject<HTMLElement | null>;
|
|
5
5
|
};
|
|
6
|
-
export declare const PromptInputDropZone: ({ label, className, container, ...props }: PromptInputDropZoneProps) => import("react
|
|
6
|
+
export declare const PromptInputDropZone: ({ label, className, container, ...props }: PromptInputDropZoneProps) => import("react").JSX.Element;
|
|
7
7
|
//# sourceMappingURL=drop-zone.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drop-zone.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/drop-zone.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACtE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,2CAKjC,wBAAwB,
|
|
1
|
+
{"version":3,"file":"drop-zone.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/drop-zone.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACtE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,2CAKjC,wBAAwB,gCA2B1B,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { InputGroupAddon } from '../../primitives/input-group';
|
|
2
2
|
import type { ComponentProps, HTMLAttributes } from 'react';
|
|
3
3
|
export type PromptInputBodyProps = HTMLAttributes<HTMLDivElement>;
|
|
4
|
-
export declare const PromptInputBody: ({ className, ...props }: PromptInputBodyProps) => import("react
|
|
4
|
+
export declare const PromptInputBody: ({ className, ...props }: PromptInputBodyProps) => import("react").JSX.Element;
|
|
5
5
|
export type PromptInputHeaderProps = Omit<ComponentProps<typeof InputGroupAddon>, 'align'>;
|
|
6
|
-
export declare const PromptInputHeader: ({ className, ...props }: PromptInputHeaderProps) => import("react
|
|
6
|
+
export declare const PromptInputHeader: ({ className, ...props }: PromptInputHeaderProps) => import("react").JSX.Element;
|
|
7
7
|
export type PromptInputFooterProps = Omit<ComponentProps<typeof InputGroupAddon>, 'align'>;
|
|
8
|
-
export declare const PromptInputFooter: ({ className, ...props }: PromptInputFooterProps) => import("react
|
|
8
|
+
export declare const PromptInputFooter: ({ className, ...props }: PromptInputFooterProps) => import("react").JSX.Element;
|
|
9
9
|
export type PromptInputToolsProps = HTMLAttributes<HTMLDivElement>;
|
|
10
|
-
export declare const PromptInputTools: ({ className, ...props }: PromptInputToolsProps) => import("react
|
|
10
|
+
export declare const PromptInputTools: ({ className, ...props }: PromptInputToolsProps) => import("react").JSX.Element;
|
|
11
11
|
//# sourceMappingURL=footer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/footer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5D,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAElE,eAAO,MAAM,eAAe,GAAI,yBAAyB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/footer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5D,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAElE,eAAO,MAAM,eAAe,GAAI,yBAAyB,oBAAoB,gCAE5E,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,EAAE,OAAO,CAAC,CAAC;AAE3F,eAAO,MAAM,iBAAiB,GAAI,yBAAyB,sBAAsB,gCAEhF,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,EAAE,OAAO,CAAC,CAAC;AAE3F,eAAO,MAAM,iBAAiB,GAAI,yBAAyB,sBAAsB,gCAEhF,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnE,eAAO,MAAM,gBAAgB,GAAI,yBAAyB,qBAAqB,gCAE9E,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '../../primitives/select';
|
|
2
2
|
import type { ComponentProps } from 'react';
|
|
3
3
|
export type PromptInputModelSelectProps = ComponentProps<typeof Select>;
|
|
4
|
-
export declare const PromptInputModelSelect: (props: PromptInputModelSelectProps) => import("react
|
|
4
|
+
export declare const PromptInputModelSelect: (props: PromptInputModelSelectProps) => import("react").JSX.Element;
|
|
5
5
|
export type PromptInputModelSelectTriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
6
|
-
export declare const PromptInputModelSelectTrigger: ({ className, ...props }: PromptInputModelSelectTriggerProps) => import("react
|
|
6
|
+
export declare const PromptInputModelSelectTrigger: ({ className, ...props }: PromptInputModelSelectTriggerProps) => import("react").JSX.Element;
|
|
7
7
|
export type PromptInputModelSelectContentProps = ComponentProps<typeof SelectContent>;
|
|
8
|
-
export declare const PromptInputModelSelectContent: ({ className, ...props }: PromptInputModelSelectContentProps) => import("react
|
|
8
|
+
export declare const PromptInputModelSelectContent: ({ className, ...props }: PromptInputModelSelectContentProps) => import("react").JSX.Element;
|
|
9
9
|
export type PromptInputModelSelectItemProps = ComponentProps<typeof SelectItem>;
|
|
10
|
-
export declare const PromptInputModelSelectItem: ({ className, ...props }: PromptInputModelSelectItemProps) => import("react
|
|
10
|
+
export declare const PromptInputModelSelectItem: ({ className, ...props }: PromptInputModelSelectItemProps) => import("react").JSX.Element;
|
|
11
11
|
export type PromptInputModelSelectValueProps = ComponentProps<typeof SelectValue>;
|
|
12
|
-
export declare const PromptInputModelSelectValue: ({ className, ...props }: PromptInputModelSelectValueProps) => import("react
|
|
12
|
+
export declare const PromptInputModelSelectValue: ({ className, ...props }: PromptInputModelSelectValueProps) => import("react").JSX.Element;
|
|
13
13
|
//# sourceMappingURL=model-select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-select.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/model-select.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACxG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AACxE,eAAO,MAAM,sBAAsB,GAAI,OAAO,2BAA2B,
|
|
1
|
+
{"version":3,"file":"model-select.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/model-select.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACxG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AACxE,eAAO,MAAM,sBAAsB,GAAI,OAAO,2BAA2B,gCAA0B,CAAC;AAEpG,MAAM,MAAM,kCAAkC,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;AAEtF,eAAO,MAAM,6BAA6B,GAAI,yBAG3C,kCAAkC,gCASpC,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;AACtF,eAAO,MAAM,6BAA6B,GAAI,yBAAyB,kCAAkC,gCAExG,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAChF,eAAO,MAAM,0BAA0B,GAAI,yBAAyB,+BAA+B,gCAElG,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAClF,eAAO,MAAM,2BAA2B,GAAI,yBAAyB,gCAAgC,gCAEpG,CAAC"}
|
|
@@ -18,5 +18,5 @@ export type PromptInputProps = Omit<HTMLAttributes<HTMLFormElement>, 'onSubmit'
|
|
|
18
18
|
}) => void;
|
|
19
19
|
onSubmit: (message: PromptInputMessage, event: FormEvent<HTMLFormElement>) => void | Promise<void>;
|
|
20
20
|
};
|
|
21
|
-
export declare const PromptInput: ({ className, accept, multiple, globalDrop, syncHiddenInput, maxFiles, maxFileSize, dragListenerTarget, onError, onSubmit, children, ...props }: PromptInputProps) => import("react
|
|
21
|
+
export declare const PromptInput: ({ className, accept, multiple, globalDrop, syncHiddenInput, maxFiles, maxFileSize, dragListenerTarget, onError, onSubmit, children, ...props }: PromptInputProps) => import("react").JSX.Element;
|
|
22
22
|
//# sourceMappingURL=prompt-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-input.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/prompt-input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,KAAK,EAAsB,SAAS,EAAoB,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAYxG,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,CAAC,EAAE,MAAM,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AE,UAAU,GAAG,SAAS,CAAC,GAAG;IAC7F,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACnD,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE;QAAE,IAAI,EAAE,WAAW,GAAG,eAAe,GAAG,QAAQ,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAC7F,QAAQ,EAAE,CAAC,OAAO,EAAE,kBAAkB,EAAE,KAAK,EAAE,SAAS,CAAC,eAAe,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACpG,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,gJAazB,gBAAgB,gCA4RlB,CAAC"}
|
|
@@ -2,5 +2,5 @@ import type { PropsWithChildren } from 'react';
|
|
|
2
2
|
export type PromptInputProviderProps = PropsWithChildren<{
|
|
3
3
|
initialInput?: string;
|
|
4
4
|
}>;
|
|
5
|
-
export declare function PromptInputProvider({ initialInput: initialTextInput, children }: PromptInputProviderProps): import("react
|
|
5
|
+
export declare function PromptInputProvider({ initialInput: initialTextInput, children }: PromptInputProviderProps): import("react").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAa,MAAM,OAAO,CAAC;AAa1D,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,EAAE,YAAY,EAAE,gBAAqB,EAAE,QAAQ,EAAE,EAAE,wBAAwB
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAa,MAAM,OAAO,CAAC;AAa1D,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,EAAE,YAAY,EAAE,gBAAqB,EAAE,QAAQ,EAAE,EAAE,wBAAwB,+BA8E9G"}
|
|
@@ -46,6 +46,6 @@ export type PromptInputSpeechButtonProps = ComponentProps<typeof PromptInputButt
|
|
|
46
46
|
onTranscriptionChange?: (text: string) => void;
|
|
47
47
|
lang?: string;
|
|
48
48
|
};
|
|
49
|
-
export declare const PromptInputSpeechButton: ({ className, onTranscriptionChange, lang, ...props }: PromptInputSpeechButtonProps) => import("react
|
|
49
|
+
export declare const PromptInputSpeechButton: ({ className, onTranscriptionChange, lang, ...props }: PromptInputSpeechButtonProps) => import("react").JSX.Element;
|
|
50
50
|
export {};
|
|
51
51
|
//# sourceMappingURL=speech.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"speech.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/speech.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9C,UAAU,iBAAkB,SAAQ,WAAW;IAC7C,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,IAAI,IAAI,CAAC;IACd,IAAI,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2B,GAAG;IACjC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,uBAAuB,CAAC;IAC7C,CAAC,KAAK,EAAE,MAAM,GAAG,uBAAuB,CAAC;CAC1C,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,4BAA4B,CAAC;IAClD,CAAC,KAAK,EAAE,MAAM,GAAG,4BAA4B,CAAC;IAC9C,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,KAAK,4BAA4B,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,UAAU,2BAA4B,SAAQ,KAAK;IACjD,KAAK,EAAE,MAAM,CAAC;CACf;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,iBAAiB,EAAE;YAAE,QAAQ,iBAAiB,CAAA;SAAE,CAAC;QACjD,uBAAuB,EAAE;YAAE,QAAQ,iBAAiB,CAAA;SAAE,CAAC;KACxD;CACF;AAED,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,GAAG;IACpF,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,sDAKrC,4BAA4B,gCAsE9B,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
2
|
export type PromptInputTabsListProps = HTMLAttributes<HTMLDivElement>;
|
|
3
|
-
export declare const PromptInputTabsList: ({ className, ...props }: PromptInputTabsListProps) => import("react
|
|
3
|
+
export declare const PromptInputTabsList: ({ className, ...props }: PromptInputTabsListProps) => import("react").JSX.Element;
|
|
4
4
|
export type PromptInputTabProps = HTMLAttributes<HTMLDivElement>;
|
|
5
|
-
export declare const PromptInputTab: ({ className, ...props }: PromptInputTabProps) => import("react
|
|
5
|
+
export declare const PromptInputTab: ({ className, ...props }: PromptInputTabProps) => import("react").JSX.Element;
|
|
6
6
|
export type PromptInputTabLabelProps = HTMLAttributes<HTMLHeadingElement>;
|
|
7
|
-
export declare const PromptInputTabLabel: ({ className, ...props }: PromptInputTabLabelProps) => import("react
|
|
7
|
+
export declare const PromptInputTabLabel: ({ className, ...props }: PromptInputTabLabelProps) => import("react").JSX.Element;
|
|
8
8
|
export type PromptInputTabBodyProps = HTMLAttributes<HTMLDivElement>;
|
|
9
|
-
export declare const PromptInputTabBody: ({ className, ...props }: PromptInputTabBodyProps) => import("react
|
|
9
|
+
export declare const PromptInputTabBody: ({ className, ...props }: PromptInputTabBodyProps) => import("react").JSX.Element;
|
|
10
10
|
export type PromptInputTabItemProps = HTMLAttributes<HTMLDivElement>;
|
|
11
|
-
export declare const PromptInputTabItem: ({ className, ...props }: PromptInputTabItemProps) => import("react
|
|
11
|
+
export declare const PromptInputTabItem: ({ className, ...props }: PromptInputTabItemProps) => import("react").JSX.Element;
|
|
12
12
|
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/tabs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AACtE,eAAO,MAAM,mBAAmB,GAAI,yBAAyB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/tabs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AACtE,eAAO,MAAM,mBAAmB,GAAI,yBAAyB,wBAAwB,gCAEpF,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AACjE,eAAO,MAAM,cAAc,GAAI,yBAAyB,mBAAmB,gCAE1E,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,kBAAkB,CAAC,CAAC;AAC1E,eAAO,MAAM,mBAAmB,GAAI,yBAAyB,wBAAwB,gCAEpF,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AACrE,eAAO,MAAM,kBAAkB,GAAI,yBAAyB,uBAAuB,gCAElF,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AACrE,eAAO,MAAM,kBAAkB,GAAI,yBAAyB,uBAAuB,gCAElF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InputGroupTextarea } from '../../primitives/input-group';
|
|
2
2
|
import type { ComponentProps } from 'react';
|
|
3
3
|
export type PromptInputTextareaProps = ComponentProps<typeof InputGroupTextarea>;
|
|
4
|
-
export declare const PromptInputTextarea: ({ onChange, className, placeholder, ...props }: PromptInputTextareaProps) => import("react
|
|
4
|
+
export declare const PromptInputTextarea: ({ onChange, className, placeholder, ...props }: PromptInputTextareaProps) => import("react").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=textarea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/textarea.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,EAAe,cAAc,EAA+C,MAAM,OAAO,CAAC;AAItG,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEjF,eAAO,MAAM,mBAAmB,GAAI,gDAKjC,wBAAwB,
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/prompt-input/textarea.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,EAAe,cAAc,EAA+C,MAAM,OAAO,CAAC;AAItG,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEjF,eAAO,MAAM,mBAAmB,GAAI,gDAKjC,wBAAwB,gCA8D1B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentProps } from 'react';
|
|
2
2
|
import { Streamdown } from 'streamdown';
|
|
3
3
|
export type ResponseProps = ComponentProps<typeof Streamdown>;
|
|
4
|
-
export declare const Response: import("react").MemoExoticComponent<({ className, ...props }: ResponseProps) => import("react
|
|
4
|
+
export declare const Response: import("react").MemoExoticComponent<({ className, ...props }: ResponseProps) => import("react").JSX.Element>;
|
|
5
5
|
//# sourceMappingURL=response.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../src/ui/components/response.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAQ,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAE9D,eAAO,MAAM,QAAQ,gEACO,aAAa,
|
|
1
|
+
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../src/ui/components/response.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAQ,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAE9D,eAAO,MAAM,QAAQ,gEACO,aAAa,iCAOxC,CAAC"}
|
|
@@ -4,5 +4,5 @@ export interface SmartTimestampProps {
|
|
|
4
4
|
formatShort?: (date: Date) => string;
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function SmartTimestamp({ date, formatShort, className }: SmartTimestampProps): import("react
|
|
7
|
+
export declare function SmartTimestamp({ date, formatShort, className }: SmartTimestampProps): import("react").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=smart-timestamp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-timestamp.d.ts","sourceRoot":"","sources":["../../../src/ui/components/smart-timestamp.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,IAAI,CAAC;IACX,yEAAyE;IACzE,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,mBAAmB
|
|
1
|
+
{"version":3,"file":"smart-timestamp.d.ts","sourceRoot":"","sources":["../../../src/ui/components/smart-timestamp.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,IAAI,CAAC;IACX,yEAAyE;IACzE,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,mBAAmB,+BAgBnF"}
|
|
@@ -4,5 +4,5 @@ export type StreamingIndicatorProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
4
4
|
/** Full avatar element — overrides the default avatar container and icon */
|
|
5
5
|
avatar?: ReactNode;
|
|
6
6
|
};
|
|
7
|
-
export declare function StreamingIndicator({ className, icon, avatar, ...props }: StreamingIndicatorProps): import("react
|
|
7
|
+
export declare function StreamingIndicator({ className, icon, avatar, ...props }: StreamingIndicatorProps): import("react").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=streaming-indicator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streaming-indicator.d.ts","sourceRoot":"","sources":["../../../src/ui/components/streaming-indicator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACrE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,4EAA4E;IAC5E,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB
|
|
1
|
+
{"version":3,"file":"streaming-indicator.d.ts","sourceRoot":"","sources":["../../../src/ui/components/streaming-indicator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACrE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,4EAA4E;IAC5E,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,+BAehG"}
|
|
@@ -2,23 +2,23 @@ import { Collapsible, CollapsibleContent } from '../primitives/collapsible';
|
|
|
2
2
|
import type { ToolState } from '../types';
|
|
3
3
|
import type { ComponentProps } from 'react';
|
|
4
4
|
export type ToolProps = ComponentProps<typeof Collapsible>;
|
|
5
|
-
export declare const Tool: ({ className, ...props }: ToolProps) => import("react
|
|
5
|
+
export declare const Tool: ({ className, ...props }: ToolProps) => import("react").JSX.Element;
|
|
6
6
|
export type ToolHeaderProps = {
|
|
7
7
|
title?: string;
|
|
8
8
|
type?: string;
|
|
9
9
|
state: ToolState;
|
|
10
10
|
className?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare const ToolHeader: ({ className, title, type, state, ...props }: ToolHeaderProps) => import("react
|
|
12
|
+
export declare const ToolHeader: ({ className, title, type, state, ...props }: ToolHeaderProps) => import("react").JSX.Element;
|
|
13
13
|
export type ToolContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
14
|
-
export declare const ToolContent: ({ className, ...props }: ToolContentProps) => import("react
|
|
14
|
+
export declare const ToolContent: ({ className, ...props }: ToolContentProps) => import("react").JSX.Element;
|
|
15
15
|
export type ToolInputProps = ComponentProps<'div'> & {
|
|
16
16
|
input: unknown;
|
|
17
17
|
};
|
|
18
|
-
export declare const ToolInput: ({ className, input, ...props }: ToolInputProps) => import("react
|
|
18
|
+
export declare const ToolInput: ({ className, input, ...props }: ToolInputProps) => import("react").JSX.Element;
|
|
19
19
|
export type ToolOutputProps = ComponentProps<'div'> & {
|
|
20
20
|
output: unknown;
|
|
21
21
|
errorText?: string;
|
|
22
22
|
};
|
|
23
|
-
export declare const ToolOutput: ({ className, output, errorText, ...props }: ToolOutputProps) => import("react
|
|
23
|
+
export declare const ToolOutput: ({ className, output, errorText, ...props }: ToolOutputProps) => import("react").JSX.Element | null;
|
|
24
24
|
//# sourceMappingURL=tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../../src/ui/components/tool.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAsB,MAAM,2BAA2B,CAAC;AAEhG,OAA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AAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,4CAA4C,eAAe,uCA6BrF,CAAC"}
|
|
@@ -34,5 +34,5 @@ export interface AgnoChatInputProps {
|
|
|
34
34
|
/** Props forwarded to PromptInputDropZone (className, label) */
|
|
35
35
|
dropZoneProps?: Partial<Pick<PromptInputDropZoneProps, 'label' | 'className'>>;
|
|
36
36
|
}
|
|
37
|
-
export declare function AgnoChatInput({ onSend, disabled, placeholder, className, fileUpload, audio, showAttachments, status, isStreaming, onCancel, allowCancelRun, extraTools, dropZoneContainerRef, dropZoneProps, }: AgnoChatInputProps): import("react
|
|
37
|
+
export declare function AgnoChatInput({ onSend, disabled, placeholder, className, fileUpload, audio, showAttachments, status, isStreaming, onCancel, allowCancelRun, extraTools, dropZoneContainerRef, dropZoneProps, }: AgnoChatInputProps): import("react").JSX.Element;
|
|
38
38
|
//# sourceMappingURL=AgnoChatInput.d.ts.map
|