@arcteninc/core 0.0.175 → 0.0.177
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 +73 -78
- package/dist/index.cjs +3 -16
- package/dist/index.d.ts +1 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +856 -8408
- package/dist/lib/useAgent.d.ts +1 -2
- package/dist/lib/useAgent.d.ts.map +1 -1
- package/dist/types/use-agent.d.ts +3 -44
- package/dist/types/use-agent.d.ts.map +1 -1
- package/dist/utils/extract-tool-metadata.d.ts.map +1 -1
- package/package.json +7 -46
- package/scripts/arcten-cli.cjs +14 -108
- package/scripts/cli-extract-types-auto.ts +22 -4
- package/scripts/update-core.cjs +124 -0
- package/dist/components/ArctenAgent.d.ts +0 -52
- package/dist/components/ArctenAgent.d.ts.map +0 -1
- package/dist/components/ai-elements/prompt-input.d.ts +0 -187
- package/dist/components/ai-elements/prompt-input.d.ts.map +0 -1
- package/dist/components/ai-elements/reasoning.d.ts +0 -17
- package/dist/components/ai-elements/reasoning.d.ts.map +0 -1
- package/dist/components/ai-elements/response.d.ts +0 -8
- package/dist/components/ai-elements/response.d.ts.map +0 -1
- package/dist/components/ai-elements/shimmer.d.ts +0 -10
- package/dist/components/ai-elements/shimmer.d.ts.map +0 -1
- package/dist/components/citation-button.d.ts +0 -14
- package/dist/components/citation-button.d.ts.map +0 -1
- package/dist/components/citation-text-renderer.d.ts +0 -31
- package/dist/components/citation-text-renderer.d.ts.map +0 -1
- package/dist/components/secure-modals/EmailModal.d.ts +0 -10
- package/dist/components/secure-modals/EmailModal.d.ts.map +0 -1
- package/dist/components/secure-modals/FormModal.d.ts +0 -20
- package/dist/components/secure-modals/FormModal.d.ts.map +0 -1
- package/dist/components/secure-modals/PasswordModal.d.ts +0 -10
- package/dist/components/secure-modals/PasswordModal.d.ts.map +0 -1
- package/dist/components/secure-modals/PhoneModal.d.ts +0 -10
- package/dist/components/secure-modals/PhoneModal.d.ts.map +0 -1
- package/dist/components/secure-modals/PinModal.d.ts +0 -11
- package/dist/components/secure-modals/PinModal.d.ts.map +0 -1
- package/dist/components/secure-modals/SecureModalProvider.d.ts +0 -13
- package/dist/components/secure-modals/SecureModalProvider.d.ts.map +0 -1
- package/dist/components/secure-modals/TextModal.d.ts +0 -11
- package/dist/components/secure-modals/TextModal.d.ts.map +0 -1
- package/dist/components/secure-modals/index.d.ts +0 -10
- package/dist/components/secure-modals/index.d.ts.map +0 -1
- package/dist/components/secure-modals/types.d.ts +0 -34
- package/dist/components/secure-modals/types.d.ts.map +0 -1
- package/dist/components/tool-call-approval.d.ts +0 -9
- package/dist/components/tool-call-approval.d.ts.map +0 -1
- package/dist/components/tool-call-result.d.ts +0 -8
- package/dist/components/tool-call-result.d.ts.map +0 -1
- package/dist/components/ui/autotextarea.d.ts +0 -19
- package/dist/components/ui/autotextarea.d.ts.map +0 -1
- package/dist/components/ui/badge.d.ts +0 -10
- package/dist/components/ui/badge.d.ts.map +0 -1
- package/dist/components/ui/button.d.ts +0 -14
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/collapsible.d.ts +0 -6
- package/dist/components/ui/collapsible.d.ts.map +0 -1
- package/dist/components/ui/command.d.ts +0 -19
- package/dist/components/ui/command.d.ts.map +0 -1
- package/dist/components/ui/dialog.d.ts +0 -16
- package/dist/components/ui/dialog.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu.d.ts +0 -26
- package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/hover-card.d.ts +0 -7
- package/dist/components/ui/hover-card.d.ts.map +0 -1
- package/dist/components/ui/input-group.d.ts +0 -17
- package/dist/components/ui/input-group.d.ts.map +0 -1
- package/dist/components/ui/input.d.ts +0 -4
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/kbd.d.ts +0 -4
- package/dist/components/ui/kbd.d.ts.map +0 -1
- package/dist/components/ui/select.d.ts +0 -16
- package/dist/components/ui/select.d.ts.map +0 -1
- package/dist/components/ui/textarea.d.ts +0 -4
- package/dist/components/ui/textarea.d.ts.map +0 -1
- package/dist/components/ui/tooltip.d.ts +0 -8
- package/dist/components/ui/tooltip.d.ts.map +0 -1
- package/dist/core.css +0 -1
- package/dist/utils/form-generator.d.ts +0 -29
- package/dist/utils/form-generator.d.ts.map +0 -1
- package/dist/utils/secure-param-detector.d.ts +0 -26
- package/dist/utils/secure-param-detector.d.ts.map +0 -1
- package/scripts/cli-agent-inject.ts +0 -205
- package/scripts/cli-agent-wrapper.cjs +0 -51
- package/scripts/cli-agent.ts +0 -483
- package/scripts/cli-create-project.ts +0 -608
- package/scripts/cli-create-wrapper.cjs +0 -60
- package/scripts/cli-init-wizard-wrapper.cjs +0 -58
- package/scripts/cli-init-wizard.ts +0 -646
- package/scripts/cli-prompt-wrapper.cjs +0 -51
- package/scripts/cli-prompt.ts +0 -306
- package/scripts/cli-sync-wrapper.cjs +0 -69
- package/scripts/cli-sync.ts +0 -915
- package/scripts/cli-tools-wrapper.cjs +0 -51
- package/scripts/cli-tools.ts +0 -320
- package/scripts/cli-uninstall-wrapper.cjs +0 -66
- package/scripts/cli-uninstall.ts +0 -173
- package/scripts/config-parser.ts +0 -432
- package/scripts/dashboard-sync.ts +0 -454
- package/scripts/tree-sitter-discover.ts +0 -526
- package/scripts/wasm/tree-sitter-tsx.wasm +0 -0
- package/scripts/wasm/tree-sitter-typescript.wasm +0 -0
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from '../../components/ui/command';
|
|
2
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem } from '../../components/ui/dropdown-menu';
|
|
3
|
-
import { HoverCard, HoverCardContent, HoverCardTrigger } from '../../components/ui/hover-card';
|
|
4
|
-
import { InputGroupAddon, InputGroupButton, InputGroupTextarea } from '../../components/ui/input-group';
|
|
5
|
-
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '../../components/ui/select';
|
|
6
|
-
import { ChatStatus, FileUIPart } from 'ai';
|
|
7
|
-
import { ComponentProps, FormEvent, HTMLAttributes, PropsWithChildren, ReactNode, RefObject } from 'react';
|
|
8
|
-
export type AttachmentsContext = {
|
|
9
|
-
files: (FileUIPart & {
|
|
10
|
-
id: string;
|
|
11
|
-
})[];
|
|
12
|
-
add: (files: File[] | FileList) => void;
|
|
13
|
-
remove: (id: string) => void;
|
|
14
|
-
clear: () => void;
|
|
15
|
-
openFileDialog: () => void;
|
|
16
|
-
fileInputRef: RefObject<HTMLInputElement | null>;
|
|
17
|
-
};
|
|
18
|
-
export type TextInputContext = {
|
|
19
|
-
value: string;
|
|
20
|
-
setInput: (v: string) => void;
|
|
21
|
-
clear: () => void;
|
|
22
|
-
};
|
|
23
|
-
export type PromptInputControllerProps = {
|
|
24
|
-
textInput: TextInputContext;
|
|
25
|
-
attachments: AttachmentsContext;
|
|
26
|
-
/** INTERNAL: Allows PromptInput to register its file textInput + "open" callback */
|
|
27
|
-
__registerFileInput: (ref: RefObject<HTMLInputElement | null>, open: () => void) => void;
|
|
28
|
-
};
|
|
29
|
-
export declare const usePromptInputController: () => PromptInputControllerProps;
|
|
30
|
-
export declare const useProviderAttachments: () => AttachmentsContext;
|
|
31
|
-
export type PromptInputProviderProps = PropsWithChildren<{
|
|
32
|
-
initialInput?: string;
|
|
33
|
-
}>;
|
|
34
|
-
/**
|
|
35
|
-
* Optional global provider that lifts PromptInput state outside of PromptInput.
|
|
36
|
-
* If you don't use it, PromptInput stays fully self-managed.
|
|
37
|
-
*/
|
|
38
|
-
export declare function PromptInputProvider({ initialInput: initialTextInput, children, }: PromptInputProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
export declare const usePromptInputAttachments: () => AttachmentsContext;
|
|
40
|
-
export type PromptInputAttachmentProps = HTMLAttributes<HTMLDivElement> & {
|
|
41
|
-
data: FileUIPart & {
|
|
42
|
-
id: string;
|
|
43
|
-
};
|
|
44
|
-
className?: string;
|
|
45
|
-
};
|
|
46
|
-
export declare function PromptInputAttachment({ data, className, ...props }: PromptInputAttachmentProps): import("react/jsx-runtime").JSX.Element;
|
|
47
|
-
export type PromptInputAttachmentsProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
48
|
-
children: (attachment: FileUIPart & {
|
|
49
|
-
id: string;
|
|
50
|
-
}) => ReactNode;
|
|
51
|
-
};
|
|
52
|
-
export declare function PromptInputAttachments({ children, }: PromptInputAttachmentsProps): import("react/jsx-runtime").JSX.Element[] | null;
|
|
53
|
-
export type PromptInputActionAddAttachmentsProps = ComponentProps<typeof DropdownMenuItem> & {
|
|
54
|
-
label?: string;
|
|
55
|
-
};
|
|
56
|
-
export declare const PromptInputActionAddAttachments: ({ label, ...props }: PromptInputActionAddAttachmentsProps) => import("react/jsx-runtime").JSX.Element;
|
|
57
|
-
export type PromptInputMessage = {
|
|
58
|
-
text?: string;
|
|
59
|
-
files?: FileUIPart[];
|
|
60
|
-
};
|
|
61
|
-
export type PromptInputProps = Omit<HTMLAttributes<HTMLFormElement>, "onSubmit" | "onError"> & {
|
|
62
|
-
accept?: string;
|
|
63
|
-
multiple?: boolean;
|
|
64
|
-
globalDrop?: boolean;
|
|
65
|
-
syncHiddenInput?: boolean;
|
|
66
|
-
maxFiles?: number;
|
|
67
|
-
maxFileSize?: number;
|
|
68
|
-
onError?: (err: {
|
|
69
|
-
code: "max_files" | "max_file_size" | "accept";
|
|
70
|
-
message: string;
|
|
71
|
-
}) => void;
|
|
72
|
-
onSubmit: (message: PromptInputMessage, event: FormEvent<HTMLFormElement>) => void | Promise<void>;
|
|
73
|
-
};
|
|
74
|
-
export declare const PromptInput: ({ className, accept, multiple, globalDrop, syncHiddenInput, maxFiles, maxFileSize, onError, onSubmit, children, ...props }: PromptInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
75
|
-
export type PromptInputBodyProps = HTMLAttributes<HTMLDivElement>;
|
|
76
|
-
export declare const PromptInputBody: ({ className, ...props }: PromptInputBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
77
|
-
export type PromptInputTextareaProps = ComponentProps<typeof InputGroupTextarea>;
|
|
78
|
-
export declare const PromptInputTextarea: ({ onChange, className, placeholder, ...props }: PromptInputTextareaProps) => import("react/jsx-runtime").JSX.Element;
|
|
79
|
-
export type PromptInputHeaderProps = Omit<ComponentProps<typeof InputGroupAddon>, "align">;
|
|
80
|
-
export declare const PromptInputHeader: ({ className, ...props }: PromptInputHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
81
|
-
export type PromptInputFooterProps = Omit<ComponentProps<typeof InputGroupAddon>, "align">;
|
|
82
|
-
export declare const PromptInputFooter: ({ className, ...props }: PromptInputFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
83
|
-
export type PromptInputToolsProps = HTMLAttributes<HTMLDivElement>;
|
|
84
|
-
export declare const PromptInputTools: ({ className, ...props }: PromptInputToolsProps) => import("react/jsx-runtime").JSX.Element;
|
|
85
|
-
export type PromptInputButtonProps = ComponentProps<typeof InputGroupButton>;
|
|
86
|
-
export declare const PromptInputButton: ({ variant, className, size, ...props }: PromptInputButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
87
|
-
export type PromptInputActionMenuProps = ComponentProps<typeof DropdownMenu>;
|
|
88
|
-
export declare const PromptInputActionMenu: (props: PromptInputActionMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
89
|
-
export type PromptInputActionMenuTriggerProps = PromptInputButtonProps;
|
|
90
|
-
export declare const PromptInputActionMenuTrigger: ({ className, children, ...props }: PromptInputActionMenuTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
91
|
-
export type PromptInputActionMenuContentProps = ComponentProps<typeof DropdownMenuContent>;
|
|
92
|
-
export declare const PromptInputActionMenuContent: ({ className, ...props }: PromptInputActionMenuContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
93
|
-
export type PromptInputActionMenuItemProps = ComponentProps<typeof DropdownMenuItem>;
|
|
94
|
-
export declare const PromptInputActionMenuItem: ({ className, ...props }: PromptInputActionMenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
95
|
-
export type PromptInputSubmitProps = ComponentProps<typeof InputGroupButton> & {
|
|
96
|
-
status?: ChatStatus;
|
|
97
|
-
};
|
|
98
|
-
export declare const PromptInputSubmit: ({ className, variant, size, status, children, ...props }: PromptInputSubmitProps) => import("react/jsx-runtime").JSX.Element;
|
|
99
|
-
interface SpeechRecognition extends EventTarget {
|
|
100
|
-
continuous: boolean;
|
|
101
|
-
interimResults: boolean;
|
|
102
|
-
lang: string;
|
|
103
|
-
start(): void;
|
|
104
|
-
stop(): void;
|
|
105
|
-
onstart: ((this: SpeechRecognition, ev: Event) => any) | null;
|
|
106
|
-
onend: ((this: SpeechRecognition, ev: Event) => any) | null;
|
|
107
|
-
onresult: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null;
|
|
108
|
-
onerror: ((this: SpeechRecognition, ev: SpeechRecognitionErrorEvent) => any) | null;
|
|
109
|
-
}
|
|
110
|
-
interface SpeechRecognitionEvent extends Event {
|
|
111
|
-
results: SpeechRecognitionResultList;
|
|
112
|
-
}
|
|
113
|
-
type SpeechRecognitionResultList = {
|
|
114
|
-
readonly length: number;
|
|
115
|
-
item(index: number): SpeechRecognitionResult;
|
|
116
|
-
[index: number]: SpeechRecognitionResult;
|
|
117
|
-
};
|
|
118
|
-
type SpeechRecognitionResult = {
|
|
119
|
-
readonly length: number;
|
|
120
|
-
item(index: number): SpeechRecognitionAlternative;
|
|
121
|
-
[index: number]: SpeechRecognitionAlternative;
|
|
122
|
-
isFinal: boolean;
|
|
123
|
-
};
|
|
124
|
-
type SpeechRecognitionAlternative = {
|
|
125
|
-
transcript: string;
|
|
126
|
-
confidence: number;
|
|
127
|
-
};
|
|
128
|
-
interface SpeechRecognitionErrorEvent extends Event {
|
|
129
|
-
error: string;
|
|
130
|
-
}
|
|
131
|
-
declare global {
|
|
132
|
-
interface Window {
|
|
133
|
-
SpeechRecognition: {
|
|
134
|
-
new (): SpeechRecognition;
|
|
135
|
-
};
|
|
136
|
-
webkitSpeechRecognition: {
|
|
137
|
-
new (): SpeechRecognition;
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
export type PromptInputSpeechButtonProps = ComponentProps<typeof PromptInputButton> & {
|
|
142
|
-
textareaRef?: RefObject<HTMLTextAreaElement | null>;
|
|
143
|
-
onTranscriptionChange?: (text: string) => void;
|
|
144
|
-
};
|
|
145
|
-
export declare const PromptInputSpeechButton: ({ className, textareaRef, onTranscriptionChange, ...props }: PromptInputSpeechButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
146
|
-
export type PromptInputModelSelectProps = ComponentProps<typeof Select>;
|
|
147
|
-
export declare const PromptInputModelSelect: (props: PromptInputModelSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
148
|
-
export type PromptInputModelSelectTriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
149
|
-
export declare const PromptInputModelSelectTrigger: ({ className, ...props }: PromptInputModelSelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
150
|
-
export type PromptInputModelSelectContentProps = ComponentProps<typeof SelectContent>;
|
|
151
|
-
export declare const PromptInputModelSelectContent: ({ className, ...props }: PromptInputModelSelectContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
152
|
-
export type PromptInputModelSelectItemProps = ComponentProps<typeof SelectItem>;
|
|
153
|
-
export declare const PromptInputModelSelectItem: ({ className, ...props }: PromptInputModelSelectItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
154
|
-
export type PromptInputModelSelectValueProps = ComponentProps<typeof SelectValue>;
|
|
155
|
-
export declare const PromptInputModelSelectValue: ({ className, ...props }: PromptInputModelSelectValueProps) => import("react/jsx-runtime").JSX.Element;
|
|
156
|
-
export type PromptInputHoverCardProps = ComponentProps<typeof HoverCard>;
|
|
157
|
-
export declare const PromptInputHoverCard: ({ openDelay, closeDelay, ...props }: PromptInputHoverCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
158
|
-
export type PromptInputHoverCardTriggerProps = ComponentProps<typeof HoverCardTrigger>;
|
|
159
|
-
export declare const PromptInputHoverCardTrigger: (props: PromptInputHoverCardTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
160
|
-
export type PromptInputHoverCardContentProps = ComponentProps<typeof HoverCardContent>;
|
|
161
|
-
export declare const PromptInputHoverCardContent: ({ align, ...props }: PromptInputHoverCardContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
162
|
-
export type PromptInputTabsListProps = HTMLAttributes<HTMLDivElement>;
|
|
163
|
-
export declare const PromptInputTabsList: ({ className, ...props }: PromptInputTabsListProps) => import("react/jsx-runtime").JSX.Element;
|
|
164
|
-
export type PromptInputTabProps = HTMLAttributes<HTMLDivElement>;
|
|
165
|
-
export declare const PromptInputTab: ({ className, ...props }: PromptInputTabProps) => import("react/jsx-runtime").JSX.Element;
|
|
166
|
-
export type PromptInputTabLabelProps = HTMLAttributes<HTMLHeadingElement>;
|
|
167
|
-
export declare const PromptInputTabLabel: ({ className, ...props }: PromptInputTabLabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
168
|
-
export type PromptInputTabBodyProps = HTMLAttributes<HTMLDivElement>;
|
|
169
|
-
export declare const PromptInputTabBody: ({ className, ...props }: PromptInputTabBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
170
|
-
export type PromptInputTabItemProps = HTMLAttributes<HTMLDivElement>;
|
|
171
|
-
export declare const PromptInputTabItem: ({ className, ...props }: PromptInputTabItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
172
|
-
export type PromptInputCommandProps = ComponentProps<typeof Command>;
|
|
173
|
-
export declare const PromptInputCommand: ({ className, ...props }: PromptInputCommandProps) => import("react/jsx-runtime").JSX.Element;
|
|
174
|
-
export type PromptInputCommandInputProps = ComponentProps<typeof CommandInput>;
|
|
175
|
-
export declare const PromptInputCommandInput: ({ className, ...props }: PromptInputCommandInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
176
|
-
export type PromptInputCommandListProps = ComponentProps<typeof CommandList>;
|
|
177
|
-
export declare const PromptInputCommandList: ({ className, ...props }: PromptInputCommandListProps) => import("react/jsx-runtime").JSX.Element;
|
|
178
|
-
export type PromptInputCommandEmptyProps = ComponentProps<typeof CommandEmpty>;
|
|
179
|
-
export declare const PromptInputCommandEmpty: ({ className, ...props }: PromptInputCommandEmptyProps) => import("react/jsx-runtime").JSX.Element;
|
|
180
|
-
export type PromptInputCommandGroupProps = ComponentProps<typeof CommandGroup>;
|
|
181
|
-
export declare const PromptInputCommandGroup: ({ className, ...props }: PromptInputCommandGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
182
|
-
export type PromptInputCommandItemProps = ComponentProps<typeof CommandItem>;
|
|
183
|
-
export declare const PromptInputCommandItem: ({ className, ...props }: PromptInputCommandItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
184
|
-
export type PromptInputCommandSeparatorProps = ComponentProps<typeof CommandSeparator>;
|
|
185
|
-
export declare const PromptInputCommandSeparator: ({ className, ...props }: PromptInputCommandSeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
186
|
-
export {};
|
|
187
|
-
//# sourceMappingURL=prompt-input.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-input.d.ts","sourceRoot":"","sources":["../../../src/components/ai-elements/prompt-input.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,WAAW,EACX,gBAAgB,EACjB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAEjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,iCAAiC,CAA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E,eAAO,MAAM,uBAAuB,GAAI,yBAGrC,4BAA4B,4CAE9B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAE7E,eAAO,MAAM,sBAAsB,GAAI,yBAGpC,2BAA2B,4CAE7B,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,cAAc,CAC3D,OAAO,gBAAgB,CACxB,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,yBAGzC,gCAAgC,4CAElC,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '../ui/collapsible';
|
|
2
|
-
import { ComponentProps } from 'react';
|
|
3
|
-
export type ReasoningProps = ComponentProps<typeof Collapsible> & {
|
|
4
|
-
isStreaming?: boolean;
|
|
5
|
-
open?: boolean;
|
|
6
|
-
defaultOpen?: boolean;
|
|
7
|
-
onOpenChange?: (open: boolean) => void;
|
|
8
|
-
duration?: number;
|
|
9
|
-
};
|
|
10
|
-
export declare const Reasoning: import('react').MemoExoticComponent<({ className, isStreaming, open, defaultOpen, onOpenChange, duration: durationProp, children, ...props }: ReasoningProps) => import("react/jsx-runtime").JSX.Element>;
|
|
11
|
-
export type ReasoningTriggerProps = ComponentProps<typeof CollapsibleTrigger>;
|
|
12
|
-
export declare const ReasoningTrigger: import('react').MemoExoticComponent<({ className, children, ...props }: ReasoningTriggerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
13
|
-
export type ReasoningContentProps = ComponentProps<typeof CollapsibleContent> & {
|
|
14
|
-
children: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const ReasoningContent: import('react').MemoExoticComponent<({ className, children, ...props }: ReasoningContentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
17
|
-
//# sourceMappingURL=reasoning.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reasoning.d.ts","sourceRoot":"","sources":["../../../src/components/ai-elements/reasoning.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAsB5C,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,GAAG;IAChE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAKF,eAAO,MAAM,SAAS,gJAUjB,cAAc,6CA0DlB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAY9E,eAAO,MAAM,gBAAgB,0EACS,qBAAqB,6CA0B1D,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAChD,OAAO,kBAAkB,CAC1B,GAAG;IACF,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,gBAAgB,0EACS,qBAAqB,6CAY1D,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, ComponentType } from 'react';
|
|
2
|
-
type StreamdownType = ComponentType<any>;
|
|
3
|
-
type ResponseProps = ComponentProps<StreamdownType> & {
|
|
4
|
-
className?: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const Response: import('react').MemoExoticComponent<({ className, ...props }: ResponseProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=response.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../src/components/ai-elements/response.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAwB,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAOtF,KAAK,cAAc,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;AACzC,KAAK,aAAa,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7E,eAAO,MAAM,QAAQ,gEACO,aAAa,oDAmBxC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ElementType } from 'react';
|
|
2
|
-
export type TextShimmerProps = {
|
|
3
|
-
children: string;
|
|
4
|
-
as?: ElementType;
|
|
5
|
-
className?: string;
|
|
6
|
-
duration?: number;
|
|
7
|
-
spread?: number;
|
|
8
|
-
};
|
|
9
|
-
export declare const Shimmer: import('react').MemoExoticComponent<({ children, as: Component, className, duration, spread, }: TextShimmerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
10
|
-
//# sourceMappingURL=shimmer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shimmer.d.ts","sourceRoot":"","sources":["../../../src/components/ai-elements/shimmer.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,WAAW,EAIjB,MAAM,OAAO,CAAC;AAEf,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AA6CF,eAAO,MAAM,OAAO,kGArCjB,gBAAgB,6CAqC0B,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface CitationSource {
|
|
2
|
-
number: number;
|
|
3
|
-
url: string;
|
|
4
|
-
domain: string;
|
|
5
|
-
title?: string;
|
|
6
|
-
}
|
|
7
|
-
interface CitationButtonProps {
|
|
8
|
-
sources: CitationSource[];
|
|
9
|
-
citationNumber: number;
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare function CitationButton({ sources, citationNumber, className }: CitationButtonProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=citation-button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"citation-button.d.ts","sourceRoot":"","sources":["../../src/components/citation-button.tsx"],"names":[],"mappings":"AAGA,UAAU,cAAc;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,mBAAmB;IAC3B,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAOD,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,EAAE,mBAAmB,kDAgFzF"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ComponentType } from 'react';
|
|
2
|
-
interface CitationData {
|
|
3
|
-
number: number;
|
|
4
|
-
url: string;
|
|
5
|
-
}
|
|
6
|
-
interface GroupedCitation {
|
|
7
|
-
url: string;
|
|
8
|
-
baseUrl: string;
|
|
9
|
-
numbers: number[];
|
|
10
|
-
anchor?: string;
|
|
11
|
-
title?: string;
|
|
12
|
-
}
|
|
13
|
-
interface CitationTextRendererProps {
|
|
14
|
-
text: string;
|
|
15
|
-
citations: CitationData[];
|
|
16
|
-
citationMap: Map<number, string>;
|
|
17
|
-
groupedCitations?: GroupedCitation[];
|
|
18
|
-
referencesText?: string;
|
|
19
|
-
ResponseComponent: ComponentType<any>;
|
|
20
|
-
className?: string;
|
|
21
|
-
showCitations?: boolean;
|
|
22
|
-
showReferences?: boolean;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Renders markdown text using ResponseComponent (Streamdown) and then
|
|
26
|
-
* replaces citation placeholders with CitationButton React components.
|
|
27
|
-
* Uses portals to inject React components without createRoot.
|
|
28
|
-
*/
|
|
29
|
-
export declare function CitationTextRenderer({ text, citations, citationMap, groupedCitations, referencesText, ResponseComponent, className, showCitations, showReferences, }: CitationTextRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export {};
|
|
31
|
-
//# sourceMappingURL=citation-text-renderer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"citation-text-renderer.d.ts","sourceRoot":"","sources":["../../src/components/citation-text-renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAKxE,UAAU,YAAY;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,eAAe;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,yBAAyB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAC;IACrC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,SAAS,EACT,aAAoB,EACpB,cAAqB,GACtB,EAAE,yBAAyB,2CAiT3B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface EmailModalProps {
|
|
2
|
-
isOpen: boolean;
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
onComplete: (value: string | null) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function EmailModal({ isOpen, title, description, placeholder, onComplete, }: EmailModalProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=EmailModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmailModal.d.ts","sourceRoot":"","sources":["../../../src/components/secure-modals/EmailModal.tsx"],"names":[],"mappings":"AAMA,UAAU,eAAe;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,KAAwB,EACxB,WAA+C,EAC/C,WAAsC,EACtC,UAAU,GACX,EAAE,eAAe,2CAuFjB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface FormField {
|
|
2
|
-
name: string;
|
|
3
|
-
type: 'text' | 'password' | 'email' | 'phone' | 'pin' | 'ssn' | 'creditCard';
|
|
4
|
-
label: string;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
value?: string;
|
|
8
|
-
validation?: (value: string) => string | null;
|
|
9
|
-
}
|
|
10
|
-
export interface FormModalProps {
|
|
11
|
-
isOpen: boolean;
|
|
12
|
-
title: string;
|
|
13
|
-
description?: string;
|
|
14
|
-
fields: FormField[];
|
|
15
|
-
onComplete: (values: Record<string, string> | null) => void;
|
|
16
|
-
submitText?: string;
|
|
17
|
-
cancelText?: string;
|
|
18
|
-
}
|
|
19
|
-
export declare function FormModal({ isOpen, title, description, fields, onComplete, submitText, cancelText }: FormModalProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
//# sourceMappingURL=FormModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormModal.d.ts","sourceRoot":"","sources":["../../../src/components/secure-modals/FormModal.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,YAAY,CAAC;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;CAC/C;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IAC5D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,SAAS,CAAC,EACxB,MAAM,EACN,KAAK,EACL,WAAW,EACX,MAAM,EACN,UAAU,EACV,UAAqB,EACrB,UAAqB,EACtB,EAAE,cAAc,2CAsRhB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface PasswordModalProps {
|
|
2
|
-
isOpen: boolean;
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
onComplete: (value: string | null) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function PasswordModal({ isOpen, title, description, placeholder, onComplete, }: PasswordModalProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=PasswordModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordModal.d.ts","sourceRoot":"","sources":["../../../src/components/secure-modals/PasswordModal.tsx"],"names":[],"mappings":"AAMA,UAAU,kBAAkB;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,KAA2B,EAC3B,WAAsD,EACtD,WAAiC,EACjC,UAAU,GACX,EAAE,kBAAkB,2CAyEpB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface PhoneModalProps {
|
|
2
|
-
isOpen: boolean;
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
onComplete: (value: string | null) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function PhoneModal({ isOpen, title, description, placeholder, onComplete, }: PhoneModalProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=PhoneModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PhoneModal.d.ts","sourceRoot":"","sources":["../../../src/components/secure-modals/PhoneModal.tsx"],"names":[],"mappings":"AAMA,UAAU,eAAe;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,KAA+B,EAC/B,WAA8C,EAC9C,WAAqC,EACrC,UAAU,GACX,EAAE,eAAe,2CA0GjB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface PinModalProps {
|
|
2
|
-
isOpen: boolean;
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
length?: number;
|
|
7
|
-
onComplete: (value: string | null) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function PinModal({ isOpen, title, description, placeholder, length, onComplete, }: PinModalProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=PinModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PinModal.d.ts","sourceRoot":"","sources":["../../../src/components/secure-modals/PinModal.tsx"],"names":[],"mappings":"AAMA,UAAU,aAAa;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,QAAQ,CAAC,EACvB,MAAM,EACN,KAAsB,EACtB,WAAqC,EACrC,WAA4B,EAC5B,MAAU,EACV,UAAU,GACX,EAAE,aAAa,2CA4Ef"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { SecureInputRequest, SecureFormRequest } from './types';
|
|
3
|
-
interface SecureModalContextType {
|
|
4
|
-
showSecureModal: (request: SecureInputRequest) => Promise<string | null>;
|
|
5
|
-
showSecureForm: (request: SecureFormRequest) => Promise<Record<string, string> | null>;
|
|
6
|
-
}
|
|
7
|
-
export declare function useSecureModal(): SecureModalContextType;
|
|
8
|
-
interface SecureModalProviderProps {
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export declare function SecureModalProvider({ children }: SecureModalProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=SecureModalProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SecureModalProvider.d.ts","sourceRoot":"","sources":["../../../src/components/secure-modals/SecureModalProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOrG,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAmB,MAAM,SAAS,CAAC;AAGtF,UAAU,sBAAsB;IAC9B,eAAe,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACzE,cAAc,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;CACxF;AAID,wBAAgB,cAAc,2BAM7B;AAED,UAAU,wBAAwB;IAChC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE,wBAAwB,2CAuHzE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface TextModalProps {
|
|
2
|
-
isOpen: boolean;
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
type?: "text" | "password";
|
|
7
|
-
onComplete: (value: string | null) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function TextModal({ isOpen, title, description, placeholder, type, onComplete, }: TextModalProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=TextModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextModal.d.ts","sourceRoot":"","sources":["../../../src/components/secure-modals/TextModal.tsx"],"names":[],"mappings":"AAMA,UAAU,cAAc;IACtB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC3B,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,SAAS,CAAC,EACxB,MAAM,EACN,KAA+B,EAC/B,WAAsD,EACtD,WAA8B,EAC9B,IAAiB,EACjB,UAAU,GACX,EAAE,cAAc,2CAgEhB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { PasswordModal } from './PasswordModal';
|
|
2
|
-
export { EmailModal } from './EmailModal';
|
|
3
|
-
export { PhoneModal } from './PhoneModal';
|
|
4
|
-
export { PinModal } from './PinModal';
|
|
5
|
-
export { TextModal } from './TextModal';
|
|
6
|
-
export { FormModal } from './FormModal';
|
|
7
|
-
export type { SecureModalType, SecureModalProps, SecureInputRequest, SecureFormRequest } from './types';
|
|
8
|
-
export type { FormField, FormModalProps } from './FormModal';
|
|
9
|
-
export { SecureModalProvider, useSecureModal } from './SecureModalProvider';
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/secure-modals/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACxG,YAAY,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export type SecureModalType = 'password' | 'email' | 'phone' | 'pin' | 'ssn' | 'creditCard' | 'text';
|
|
2
|
-
export interface SecureModalProps {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
onComplete: (value: string | null) => void;
|
|
8
|
-
}
|
|
9
|
-
export interface SecureInputRequest {
|
|
10
|
-
id: string;
|
|
11
|
-
type: SecureModalType;
|
|
12
|
-
paramName: string;
|
|
13
|
-
title?: string;
|
|
14
|
-
description?: string;
|
|
15
|
-
placeholder?: string;
|
|
16
|
-
toolName: string;
|
|
17
|
-
toolCallId: string;
|
|
18
|
-
}
|
|
19
|
-
export interface SecureFormRequest {
|
|
20
|
-
id: string;
|
|
21
|
-
toolName: string;
|
|
22
|
-
toolCallId: string;
|
|
23
|
-
title: string;
|
|
24
|
-
description?: string;
|
|
25
|
-
fields: Array<{
|
|
26
|
-
name: string;
|
|
27
|
-
type: SecureModalType;
|
|
28
|
-
label: string;
|
|
29
|
-
placeholder?: string;
|
|
30
|
-
required?: boolean;
|
|
31
|
-
value?: string;
|
|
32
|
-
}>;
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/secure-modals/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,OAAO,GACP,OAAO,GACP,KAAK,GACL,KAAK,GACL,YAAY,GACZ,MAAM,CAAC;AAEX,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC5C;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,eAAe,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,KAAK,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,eAAe,CAAC;QACtB,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC,CAAC;CACJ"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export interface ToolCallApprovalProps {
|
|
2
|
-
toolName: string;
|
|
3
|
-
description: string;
|
|
4
|
-
args: Record<string, any>;
|
|
5
|
-
onApprove: () => void;
|
|
6
|
-
onDeny: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function ToolCallApproval({ toolName, description, args, onApprove, onDeny, }: ToolCallApprovalProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
//# sourceMappingURL=tool-call-approval.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tool-call-approval.d.ts","sourceRoot":"","sources":["../../src/components/tool-call-approval.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC1B,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,SAAS,EACT,MAAM,GACP,EAAE,qBAAqB,2CA+CvB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface ToolCallResultProps {
|
|
2
|
-
toolName: string;
|
|
3
|
-
args: Record<string, any>;
|
|
4
|
-
isDenied: boolean;
|
|
5
|
-
isSafe: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare function ToolCallResult({ toolName, args, isDenied, isSafe, }: ToolCallResultProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
-
//# sourceMappingURL=tool-call-result.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tool-call-result.d.ts","sourceRoot":"","sources":["../../src/components/tool-call-result.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,MAAM,GACP,EAAE,mBAAmB,kDA8DrB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface UseAutosizeTextAreaProps {
|
|
3
|
-
textAreaRef: React.MutableRefObject<HTMLTextAreaElement | null>;
|
|
4
|
-
minHeight?: number;
|
|
5
|
-
maxHeight?: number;
|
|
6
|
-
triggerAutoSize: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const useAutosizeTextArea: ({ textAreaRef, triggerAutoSize, maxHeight, minHeight, }: UseAutosizeTextAreaProps) => void;
|
|
9
|
-
export type AutosizeTextAreaRef = {
|
|
10
|
-
textArea: HTMLTextAreaElement;
|
|
11
|
-
maxHeight: number;
|
|
12
|
-
minHeight: number;
|
|
13
|
-
};
|
|
14
|
-
export declare const AutosizeTextarea: React.ForwardRefExoticComponent<{
|
|
15
|
-
maxHeight?: number;
|
|
16
|
-
minHeight?: number;
|
|
17
|
-
} & React.TextareaHTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<AutosizeTextAreaRef>>;
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=autotextarea.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"autotextarea.d.ts","sourceRoot":"","sources":["../../../src/components/ui/autotextarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,UAAU,wBAAwB;IAChC,WAAW,EAAE,KAAK,CAAC,gBAAgB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,mBAAmB,GAAI,yDAKjC,wBAAwB,SAyB1B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAOF,eAAO,MAAM,gBAAgB;gBAJf,MAAM;gBACN,MAAM;iGAoDnB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const badgeVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
5
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
-
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
7
|
-
asChild?: boolean;
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export { Badge, badgeVariants };
|
|
10
|
-
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,aAAa;;8EAmBlB,CAAA;AAED,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAC7B,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,2CAU3D;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
|
-
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
declare const Button: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
8
|
-
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
9
|
-
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
10
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & {
|
|
11
|
-
asChild?: boolean;
|
|
12
|
-
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
-
export { Button, buttonVariants };
|
|
14
|
-
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,cAAc;;;8EA8BnB,CAAA;AAED,QAAA,MAAM,MAAM;;;;cAII,OAAO;mDAarB,CAAA;AAGF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
2
|
-
declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export { Collapsible, CollapsibleTrigger, CollapsibleContent };
|
|
6
|
-
//# sourceMappingURL=collapsible.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../../src/components/ui/collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAA;AAEnE,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,2CAExD;AAED,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,kBAAkB,CAAC,2CAOtE;AAED,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,kBAAkB,CAAC,2CAOtE;AAED,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAA"}
|