reachat 3.2.3 → 3.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/index.css +267 -97
- package/dist/index.js +3651 -4047
- package/dist/index.js.map +1 -1
- package/dist/stories/AgUi.stories.tsx +1 -1
- package/dist/stories/Charts.stories.tsx +1 -1
- package/dist/stories/Chat.stories.tsx +1 -1
- package/dist/stories/ChatBubble.stories.tsx +1 -1
- package/dist/stories/ChatSuggestions.stories.tsx +1 -1
- package/dist/stories/Companion.stories.tsx +3 -6
- package/dist/stories/ComponentCatalog.stories.tsx +1 -1
- package/dist/stories/ComponentError.stories.tsx +1 -1
- package/dist/stories/Console.stories.tsx +1 -1
- package/dist/stories/EnhancedInput.stories.tsx +4 -2
- package/dist/stories/MessageStatus.stories.tsx +1 -1
- package/dist/stories/Redact.stories.tsx +1 -1
- package/dist/stories/RichTextInput.stories.tsx +1 -1
- package/package.json +50 -61
- package/dist/docs.json +0 -3553
- package/dist/index.umd.cjs +0 -4181
- package/dist/index.umd.cjs.map +0 -1
package/dist/docs.json
DELETED
|
@@ -1,3553 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"tags": {},
|
|
4
|
-
"filePath": "src/Chat.tsx",
|
|
5
|
-
"description": "",
|
|
6
|
-
"displayName": "Chat",
|
|
7
|
-
"methods": [],
|
|
8
|
-
"props": {
|
|
9
|
-
"style": {
|
|
10
|
-
"defaultValue": null,
|
|
11
|
-
"description": "The style to apply to the root element.",
|
|
12
|
-
"name": "style",
|
|
13
|
-
"parent": {
|
|
14
|
-
"fileName": "src/Chat.tsx",
|
|
15
|
-
"name": "ChatProps"
|
|
16
|
-
},
|
|
17
|
-
"declarations": [
|
|
18
|
-
{
|
|
19
|
-
"fileName": "src/Chat.tsx",
|
|
20
|
-
"name": "ChatProps"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"required": false,
|
|
24
|
-
"type": {
|
|
25
|
-
"name": "CSSProperties"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"className": {
|
|
29
|
-
"defaultValue": null,
|
|
30
|
-
"description": "The class name to apply to the root element.",
|
|
31
|
-
"name": "className",
|
|
32
|
-
"parent": {
|
|
33
|
-
"fileName": "src/Chat.tsx",
|
|
34
|
-
"name": "ChatProps"
|
|
35
|
-
},
|
|
36
|
-
"declarations": [
|
|
37
|
-
{
|
|
38
|
-
"fileName": "src/Chat.tsx",
|
|
39
|
-
"name": "ChatProps"
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"required": false,
|
|
43
|
-
"type": {
|
|
44
|
-
"name": "string"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"viewType": {
|
|
48
|
-
"defaultValue": {
|
|
49
|
-
"value": "console"
|
|
50
|
-
},
|
|
51
|
-
"description": "The type of prompt to display.\n\n- Companion: Smaller prompt screen with session lists.\n- Console: Full screen experience.\n- Chat: Only chat, no sessions.",
|
|
52
|
-
"name": "viewType",
|
|
53
|
-
"parent": {
|
|
54
|
-
"fileName": "src/Chat.tsx",
|
|
55
|
-
"name": "ChatProps"
|
|
56
|
-
},
|
|
57
|
-
"declarations": [
|
|
58
|
-
{
|
|
59
|
-
"fileName": "src/Chat.tsx",
|
|
60
|
-
"name": "ChatProps"
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"required": false,
|
|
64
|
-
"type": {
|
|
65
|
-
"name": "ChatViewType"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"sessions": {
|
|
69
|
-
"defaultValue": null,
|
|
70
|
-
"description": "The list of sessions to display.",
|
|
71
|
-
"name": "sessions",
|
|
72
|
-
"parent": {
|
|
73
|
-
"fileName": "src/Chat.tsx",
|
|
74
|
-
"name": "ChatProps"
|
|
75
|
-
},
|
|
76
|
-
"declarations": [
|
|
77
|
-
{
|
|
78
|
-
"fileName": "src/Chat.tsx",
|
|
79
|
-
"name": "ChatProps"
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
"required": true,
|
|
83
|
-
"type": {
|
|
84
|
-
"name": "Session[]"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
"activeSessionId": {
|
|
88
|
-
"defaultValue": null,
|
|
89
|
-
"description": "The ID of the currently active session.",
|
|
90
|
-
"name": "activeSessionId",
|
|
91
|
-
"parent": {
|
|
92
|
-
"fileName": "src/Chat.tsx",
|
|
93
|
-
"name": "ChatProps"
|
|
94
|
-
},
|
|
95
|
-
"declarations": [
|
|
96
|
-
{
|
|
97
|
-
"fileName": "src/Chat.tsx",
|
|
98
|
-
"name": "ChatProps"
|
|
99
|
-
}
|
|
100
|
-
],
|
|
101
|
-
"required": false,
|
|
102
|
-
"type": {
|
|
103
|
-
"name": "string"
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
"theme": {
|
|
107
|
-
"defaultValue": {
|
|
108
|
-
"value": "{\n base: 'dark:text-white text-gray-500',\n console: 'flex w-full gap-4 h-full',\n companion: 'w-full h-full overflow-hidden',\n empty: 'text-center flex-1',\n appbar: 'flex p-5',\n status: {\n base: 'py-2 px-3 rounded-lg bg-gray-100/50 dark:bg-gray-800/30',\n header: 'flex items-center gap-2',\n icon: {\n base: 'flex-shrink-0 w-4 h-4',\n loading: 'text-blue-500 dark:text-blue-400',\n complete: 'text-green-500 dark:text-green-400',\n error: 'text-red-500 dark:text-red-400'\n },\n text: {\n base: 'text-sm',\n loading: 'text-gray-600 dark:text-gray-400',\n complete: 'text-gray-600 dark:text-gray-400',\n error: 'text-red-600 dark:text-red-400'\n },\n steps: {\n base: 'mt-1 ml-6 space-y-0.5',\n step: {\n base: 'flex items-center gap-2',\n icon: 'flex-shrink-0 w-3.5 h-3.5',\n text: 'text-sm',\n loading: 'text-gray-500 dark:text-gray-500',\n complete: 'text-gray-500 dark:text-gray-500',\n error: 'text-red-500 dark:text-red-400'\n }\n }\n },\n sessions: {\n base: 'overflow-auto',\n console:\n 'min-w-[150px] w-[30%] max-w-[300px] dark:bg-[#11111F] bg-[#F2F3F7] p-5 rounded-3xl',\n companion: 'w-full h-full',\n group:\n 'text-xs dart:text-gray-400 text-gray-700 mt-4 hover:bg-transparent mb-1',\n create: 'relative mb-4 rounded-[10px] text-white',\n session: {\n base: [\n 'group my-1 rounded-[10px] p-2 text-gray-500 border border-transparent hover:bg-gray-300 hover:border-gray-400 [&_svg]:text-gray-500',\n 'dark:text-typography dark:text-gray-400 dark:hover:bg-gray-800/50 dark:hover:border-gray-700/50 dark:[&_svg]:text-gray-200'\n ].join(' '),\n active: [\n 'border border-gray-300 hover:border-gray-400 text-gray-700 bg-gray-200 hover:bg-gray-300 ',\n 'dark:text-gray-500 dark:bg-gray-800/70 dark:border-gray-700/50 dark:text-white dark:border-gray-700/70 dark:hover:bg-gray-800/50',\n '[&_button]:opacity-100!'\n ].join(' '),\n delete: '[&>svg]:w-4 [&>svg]:h-4 opacity-0 group-hover:opacity-50!'\n }\n },\n messages: {\n base: '',\n console: 'flex flex-col mx-5 flex-1 min-h-0',\n companion: 'flex w-full h-full',\n back: 'self-start p-0 my-2',\n inner: 'flex-1 h-full flex flex-col',\n title: ['text-base font-bold text-gray-500', 'dark:text-gray-200'].join(\n ' '\n ),\n date: 'text-xs whitespace-nowrap text-gray-400',\n content: [\n 'mt-2 flex-1 overflow-auto [&_hr]:bg-gray-200',\n 'dark:[&_hr]:bg-gray-800/60'\n ].join(' '),\n header: 'flex justify-between items-center gap-2',\n showMore: 'mb-4',\n message: {\n base: 'mt-4 mb-4 flex flex-col p-0 rounded-sm border-none bg-transparent',\n question: [\n 'relative font-semibold mb-4 px-4 py-4 pb-2 rounded-3xl rounded-br-none text-typography border bg-gray-200 border-gray-300 text-gray-900',\n 'dark:bg-gray-900/60 dark:border-gray-700/50 dark:text-gray-100'\n ].join(' '),\n response: [\n 'relative data-[compact=false]:px-4 text-gray-900',\n 'dark:text-gray-100'\n ].join(' '),\n overlay:\n \"overflow-y-hidden max-h-[350px] after:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:h-16 after:bg-linear-to-b after:from-transparent dark:after:to-gray-900 after:to-gray-200\",\n cursor: 'inline-block w-1 h-4 bg-current',\n expand: 'absolute bottom-1 right-1 z-10',\n scrollToBottom: {\n container: 'absolute bottom-2 left-1/2 transform -translate-x-1/2 z-10',\n button: 'rounded-full p-2 shadow-lg'\n },\n files: {\n base: 'mb-2 flex flex-wrap gap-3 ',\n file: {\n base: [\n 'flex items-center gap-2 border border-gray-300 px-3 py-2 rounded-lg cursor-pointer',\n 'dark:border-gray-700'\n ].join(' '),\n name: ['text-sm text-gray-500', 'dark:text-gray-200'].join(' ')\n }\n },\n sources: {\n base: 'my-4 flex flex-wrap gap-3',\n source: {\n base: [\n 'flex gap-2 border border-gray-200 px-4 py-2 rounded-lg cursor-pointer',\n 'dark:border-gray-700'\n ].join(' '),\n companion: 'flex-1 px-3 py-1.5',\n image: 'max-w-10 max-h-10 rounded-md w-full h-fit self-center',\n title: 'text-md block',\n url: 'text-sm text-blue-400 underline'\n }\n },\n markdown: {\n hr: 'my-4 border-t border-stroke-neutral-4',\n copy: 'sticky py-1 [&>svg]:w-4 [&>svg]:h-4 opacity-50',\n p: 'mb-2',\n a: 'text-buttons-colors-link-primary-text-resting underline',\n table: 'table-auto w-full m-2',\n th: 'px-4 py-2 text-left font-bold border-b border-stroke-neutral-4',\n td: 'px-4 py-2',\n code: 'm-2 rounded-b relative',\n inlineCode: 'bg-gradient-neutral-200 p-1 rounded',\n toolbar:\n 'text-xs flex items-center justify-between px-2 py-1 rounded-t sticky top-0 backdrop-blur-md bg-gradient-neutral-500/50',\n li: 'mb-2 ml-6',\n ul: 'mb-4 list-disc',\n ol: 'mb-4 list-decimal',\n h1: 'text-4xl font-bold mb-4 mt-6',\n h2: 'text-3xl font-bold mb-3 mt-5',\n h3: 'text-2xl font-bold mb-3 mt-4',\n h4: 'text-xl font-bold mb-2 mt-3',\n h5: 'text-lg font-bold mb-2 mt-2',\n h6: 'text-base font-bold mb-2 mt-2'\n },\n footer: {\n base: 'mt-3 flex gap-1.5',\n copy: [\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-200 hover:text-gray-500',\n 'dark:hover:bg-gray-800 dark:hover:text-white text-gray-400'\n ].join(' '),\n upvote:\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-700/40 hover:text-white text-gray-400',\n downvote:\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-700/40 hover:text-white text-gray-400',\n refresh:\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-700/40 hover:text-white text-gray-400'\n }\n }\n },\n input: {\n base: 'flex mt-4 relative',\n upload: ['px-5 py-2 text-gray-400 size-10', 'dark:gray-500'].join(' '),\n input: [\n 'w-full border rounded-3xl px-3 py-2 pr-16 text-gray-500 border-gray-200 hover:bg-blue-100 hover:border-blue-500 after:hidden after:mx-10! bg-white [&>textarea]:w-full [&>textarea]:flex-none',\n 'dark:border-gray-700/50 dark:text-gray-200 dark:bg-gray-950 dark:hover:bg-blue-950/40'\n ].join(' '),\n actions: {\n base: 'absolute flex gap-2 items-center right-5 inset-y-1/2 -translate-y-1/2 z-10',\n send: [\n 'px-3 py-3 hover:bg-primary-hover rounded-full bg-gray-200 hover:bg-gray-300 text-gray-500',\n 'dark:text-white light:text-gray-500 dark:bg-gray-800 dark:hover:bg-gray-700'\n ].join(' '),\n stop: 'px-2 py-2 bg-red-500 text-white rounded-full hover:bg-red-700 '\n },\n popup: {\n base: [\n 'bg-white border border-gray-200 rounded-lg shadow-lg overflow-hidden min-w-[200px] max-w-[300px]',\n 'dark:bg-gray-900 dark:border-gray-700'\n ].join(' '),\n content: 'overflow-y-auto max-h-[250px]',\n item: [\n 'flex items-center gap-2 px-3 py-2 cursor-pointer transition-colors',\n 'hover:bg-gray-100 dark:hover:bg-gray-800'\n ].join(' '),\n itemHighlighted: 'bg-gray-100 dark:bg-gray-800',\n itemIcon: [\n 'flex-shrink-0 w-5 h-5 text-gray-500 [&>svg]:w-full [&>svg]:h-full',\n 'dark:text-gray-400'\n ].join(' '),\n itemContent: 'flex flex-col min-w-0 flex-1',\n itemLabel: [\n 'text-sm font-medium text-gray-900 truncate',\n 'dark:text-gray-100'\n ].join(' '),\n itemDescription: 'text-xs text-gray-500 dark:text-gray-400 truncate',\n itemShortcut: 'text-xs text-gray-400 dark:text-gray-500 ml-auto',\n empty: 'px-3 py-4 text-sm text-center text-gray-500 dark:text-gray-400',\n loading: [\n 'flex items-center justify-center gap-2 px-3 py-4 text-gray-500',\n 'dark:text-gray-400'\n ].join(' ')\n },\n tag: {\n base: [\n 'inline-flex items-center px-1.5 py-0.5 mx-0.5 rounded',\n 'font-medium text-sm leading-[1.2] relative top-[1px]'\n ].join(' '),\n mention: [\n 'bg-blue-100 dark:bg-blue-900/30',\n 'text-blue-700 dark:text-blue-300'\n ].join(' '),\n command: [\n 'bg-purple-100 dark:bg-purple-900/30',\n 'text-purple-700 dark:text-purple-300'\n ].join(' ')\n },\n editor: {\n base: [\n 'outline-none w-full overflow-y-auto',\n 'text-inherit font-inherit',\n '[&_.tiptap-paragraph]:m-0'\n ].join(' '),\n container: 'px-3 py-2 pr-16',\n placeholder: [\n '[&_.is-editor-empty]:before:content-[attr(data-placeholder)]',\n '[&_.is-editor-empty]:before:text-gray-400',\n '[&_.is-editor-empty]:before:dark:text-gray-500',\n '[&_.is-editor-empty]:before:float-left',\n '[&_.is-editor-empty]:before:h-0',\n '[&_.is-editor-empty]:before:pointer-events-none'\n ].join(' ')\n }\n },\n suggestions: {\n base: 'flex flex-wrap gap-2 mt-4',\n item: {\n base: [\n 'rounded-full! max-w-full py-2 px-4',\n 'bg-gray-100 border-gray-200 hover:bg-gray-200 hover:border-gray-300 text-gray-700',\n 'dark:bg-gray-800/50 dark:border-gray-700 dark:hover:bg-gray-700/70 dark:hover:border-gray-600 dark:text-gray-200',\n '[&>svg]:w-4 [&>svg]:h-4 [&>svg]:text-blue-500 [&>svg]:dark:text-blue-400 [&>svg]:flex-shrink-0'\n ].join(' '),\n icon: 'w-4 h-4 text-blue-500 dark:text-blue-400 flex-shrink-0',\n text: 'text-sm truncate'\n }\n },\n chart: {\n base: 'my-6',\n title: 'text-sm font-medium mb-2 text-gray-600 dark:text-gray-400',\n content: 'flex items-center justify-center',\n error: {\n base: [\n 'my-4 p-4 border rounded',\n 'border-red-300 bg-red-50 text-red-500',\n 'dark:border-red-700 dark:bg-red-900/20'\n ].join(' '),\n title: 'text-red-600 dark:text-red-400 text-sm font-medium mb-2',\n code: 'text-xs overflow-auto'\n },\n warning: {\n base: [\n 'my-4 p-4 border rounded',\n 'border-yellow-300 bg-yellow-50 text-yellow-600',\n 'dark:border-yellow-700 dark:bg-yellow-900/20 dark:text-yellow-400'\n ].join(' '),\n title: 'text-yellow-600 dark:text-yellow-400 text-sm font-medium mb-2'\n }\n },\n component: {\n base: 'my-4'\n }\n}"
|
|
109
|
-
},
|
|
110
|
-
"description": "Custom theme for the chat.",
|
|
111
|
-
"name": "theme",
|
|
112
|
-
"parent": {
|
|
113
|
-
"fileName": "src/Chat.tsx",
|
|
114
|
-
"name": "ChatProps"
|
|
115
|
-
},
|
|
116
|
-
"declarations": [
|
|
117
|
-
{
|
|
118
|
-
"fileName": "src/Chat.tsx",
|
|
119
|
-
"name": "ChatProps"
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
"required": false,
|
|
123
|
-
"type": {
|
|
124
|
-
"name": "ChatTheme"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
"remarkPlugins": {
|
|
128
|
-
"defaultValue": {
|
|
129
|
-
"value": "[remarkGfm, remarkYoutube, remarkMath]"
|
|
130
|
-
},
|
|
131
|
-
"description": "Remark plugins to apply to the request/response.",
|
|
132
|
-
"name": "remarkPlugins",
|
|
133
|
-
"parent": {
|
|
134
|
-
"fileName": "src/Chat.tsx",
|
|
135
|
-
"name": "ChatProps"
|
|
136
|
-
},
|
|
137
|
-
"declarations": [
|
|
138
|
-
{
|
|
139
|
-
"fileName": "src/Chat.tsx",
|
|
140
|
-
"name": "ChatProps"
|
|
141
|
-
}
|
|
142
|
-
],
|
|
143
|
-
"required": false,
|
|
144
|
-
"type": {
|
|
145
|
-
"name": "Plugin[]"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
"markdownComponents": {
|
|
149
|
-
"defaultValue": null,
|
|
150
|
-
"description": "Custom markdown components to override default rendering.\nUse this to add support for custom elements like charts.",
|
|
151
|
-
"name": "markdownComponents",
|
|
152
|
-
"parent": {
|
|
153
|
-
"fileName": "src/Chat.tsx",
|
|
154
|
-
"name": "ChatProps"
|
|
155
|
-
},
|
|
156
|
-
"declarations": [
|
|
157
|
-
{
|
|
158
|
-
"fileName": "src/Chat.tsx",
|
|
159
|
-
"name": "ChatProps"
|
|
160
|
-
}
|
|
161
|
-
],
|
|
162
|
-
"required": false,
|
|
163
|
-
"type": {
|
|
164
|
-
"name": "Components"
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
"components": {
|
|
168
|
-
"defaultValue": null,
|
|
169
|
-
"description": "A component catalog created via `componentCatalog()`.\nEnables dynamic component rendering from LLM responses using\nfenced code blocks (e.g. ```component).\n\nThis automatically wires in the necessary remark plugin and\nmarkdown component overrides. For advanced control, use the\ncatalog's `remarkPlugin` and `components` properties directly\nvia the `remarkPlugins` and `markdownComponents` props instead.",
|
|
170
|
-
"name": "components",
|
|
171
|
-
"parent": {
|
|
172
|
-
"fileName": "src/Chat.tsx",
|
|
173
|
-
"name": "ChatProps"
|
|
174
|
-
},
|
|
175
|
-
"declarations": [
|
|
176
|
-
{
|
|
177
|
-
"fileName": "src/Chat.tsx",
|
|
178
|
-
"name": "ChatProps"
|
|
179
|
-
}
|
|
180
|
-
],
|
|
181
|
-
"required": false,
|
|
182
|
-
"type": {
|
|
183
|
-
"name": "ComponentCatalog"
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
"isLoading": {
|
|
187
|
-
"defaultValue": null,
|
|
188
|
-
"description": "Whether to display a loading state.",
|
|
189
|
-
"name": "isLoading",
|
|
190
|
-
"parent": {
|
|
191
|
-
"fileName": "src/Chat.tsx",
|
|
192
|
-
"name": "ChatProps"
|
|
193
|
-
},
|
|
194
|
-
"declarations": [
|
|
195
|
-
{
|
|
196
|
-
"fileName": "src/Chat.tsx",
|
|
197
|
-
"name": "ChatProps"
|
|
198
|
-
}
|
|
199
|
-
],
|
|
200
|
-
"required": false,
|
|
201
|
-
"type": {
|
|
202
|
-
"name": "boolean"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"disabled": {
|
|
206
|
-
"defaultValue": null,
|
|
207
|
-
"description": "Whether to disable the chat.",
|
|
208
|
-
"name": "disabled",
|
|
209
|
-
"parent": {
|
|
210
|
-
"fileName": "src/Chat.tsx",
|
|
211
|
-
"name": "ChatProps"
|
|
212
|
-
},
|
|
213
|
-
"declarations": [
|
|
214
|
-
{
|
|
215
|
-
"fileName": "src/Chat.tsx",
|
|
216
|
-
"name": "ChatProps"
|
|
217
|
-
}
|
|
218
|
-
],
|
|
219
|
-
"required": false,
|
|
220
|
-
"type": {
|
|
221
|
-
"name": "boolean"
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
"onSelectSession": {
|
|
225
|
-
"defaultValue": null,
|
|
226
|
-
"description": "Callback function to handle when a session is selected.",
|
|
227
|
-
"name": "onSelectSession",
|
|
228
|
-
"parent": {
|
|
229
|
-
"fileName": "src/Chat.tsx",
|
|
230
|
-
"name": "ChatProps"
|
|
231
|
-
},
|
|
232
|
-
"declarations": [
|
|
233
|
-
{
|
|
234
|
-
"fileName": "src/Chat.tsx",
|
|
235
|
-
"name": "ChatProps"
|
|
236
|
-
}
|
|
237
|
-
],
|
|
238
|
-
"required": false,
|
|
239
|
-
"type": {
|
|
240
|
-
"name": "(sessionId: string) => void"
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
"onDeleteSession": {
|
|
244
|
-
"defaultValue": null,
|
|
245
|
-
"description": "Callback function to handle when a session is deleted.",
|
|
246
|
-
"name": "onDeleteSession",
|
|
247
|
-
"parent": {
|
|
248
|
-
"fileName": "src/Chat.tsx",
|
|
249
|
-
"name": "ChatProps"
|
|
250
|
-
},
|
|
251
|
-
"declarations": [
|
|
252
|
-
{
|
|
253
|
-
"fileName": "src/Chat.tsx",
|
|
254
|
-
"name": "ChatProps"
|
|
255
|
-
}
|
|
256
|
-
],
|
|
257
|
-
"required": false,
|
|
258
|
-
"type": {
|
|
259
|
-
"name": "(sessionId: string) => void"
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
"onNewSession": {
|
|
263
|
-
"defaultValue": null,
|
|
264
|
-
"description": "Callback function to handle creating a new session.",
|
|
265
|
-
"name": "onNewSession",
|
|
266
|
-
"parent": {
|
|
267
|
-
"fileName": "src/Chat.tsx",
|
|
268
|
-
"name": "ChatProps"
|
|
269
|
-
},
|
|
270
|
-
"declarations": [
|
|
271
|
-
{
|
|
272
|
-
"fileName": "src/Chat.tsx",
|
|
273
|
-
"name": "ChatProps"
|
|
274
|
-
}
|
|
275
|
-
],
|
|
276
|
-
"required": false,
|
|
277
|
-
"type": {
|
|
278
|
-
"name": "() => void"
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
"onSendMessage": {
|
|
282
|
-
"defaultValue": null,
|
|
283
|
-
"description": "Callback function to handle sending a new message.",
|
|
284
|
-
"name": "onSendMessage",
|
|
285
|
-
"parent": {
|
|
286
|
-
"fileName": "src/Chat.tsx",
|
|
287
|
-
"name": "ChatProps"
|
|
288
|
-
},
|
|
289
|
-
"declarations": [
|
|
290
|
-
{
|
|
291
|
-
"fileName": "src/Chat.tsx",
|
|
292
|
-
"name": "ChatProps"
|
|
293
|
-
}
|
|
294
|
-
],
|
|
295
|
-
"required": false,
|
|
296
|
-
"type": {
|
|
297
|
-
"name": "(message: string) => void"
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
"onStopMessage": {
|
|
301
|
-
"defaultValue": null,
|
|
302
|
-
"description": "Callback function to handle stopping the current action.",
|
|
303
|
-
"name": "onStopMessage",
|
|
304
|
-
"parent": {
|
|
305
|
-
"fileName": "src/Chat.tsx",
|
|
306
|
-
"name": "ChatProps"
|
|
307
|
-
},
|
|
308
|
-
"declarations": [
|
|
309
|
-
{
|
|
310
|
-
"fileName": "src/Chat.tsx",
|
|
311
|
-
"name": "ChatProps"
|
|
312
|
-
}
|
|
313
|
-
],
|
|
314
|
-
"required": false,
|
|
315
|
-
"type": {
|
|
316
|
-
"name": "() => void"
|
|
317
|
-
}
|
|
318
|
-
},
|
|
319
|
-
"onFileUpload": {
|
|
320
|
-
"defaultValue": null,
|
|
321
|
-
"description": "Callback function to handle file upload.",
|
|
322
|
-
"name": "onFileUpload",
|
|
323
|
-
"parent": {
|
|
324
|
-
"fileName": "src/Chat.tsx",
|
|
325
|
-
"name": "ChatProps"
|
|
326
|
-
},
|
|
327
|
-
"declarations": [
|
|
328
|
-
{
|
|
329
|
-
"fileName": "src/Chat.tsx",
|
|
330
|
-
"name": "ChatProps"
|
|
331
|
-
}
|
|
332
|
-
],
|
|
333
|
-
"required": false,
|
|
334
|
-
"type": {
|
|
335
|
-
"name": "(file: File) => void"
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
"tags": {},
|
|
342
|
-
"filePath": "src/AppBar/AppBar.tsx",
|
|
343
|
-
"description": "",
|
|
344
|
-
"displayName": "AppBar",
|
|
345
|
-
"methods": [],
|
|
346
|
-
"props": {
|
|
347
|
-
"content": {
|
|
348
|
-
"defaultValue": null,
|
|
349
|
-
"description": "Content to display in the header",
|
|
350
|
-
"name": "content",
|
|
351
|
-
"parent": {
|
|
352
|
-
"fileName": "src/AppBar/AppBar.tsx",
|
|
353
|
-
"name": "AppBarProps"
|
|
354
|
-
},
|
|
355
|
-
"declarations": [
|
|
356
|
-
{
|
|
357
|
-
"fileName": "src/AppBar/AppBar.tsx",
|
|
358
|
-
"name": "AppBarProps"
|
|
359
|
-
}
|
|
360
|
-
],
|
|
361
|
-
"required": false,
|
|
362
|
-
"type": {
|
|
363
|
-
"name": "ReactNode"
|
|
364
|
-
}
|
|
365
|
-
},
|
|
366
|
-
"theme": {
|
|
367
|
-
"defaultValue": {
|
|
368
|
-
"value": "{\n base: 'dark:text-white text-gray-500',\n console: 'flex w-full gap-4 h-full',\n companion: 'w-full h-full overflow-hidden',\n empty: 'text-center flex-1',\n appbar: 'flex p-5',\n status: {\n base: 'py-2 px-3 rounded-lg bg-gray-100/50 dark:bg-gray-800/30',\n header: 'flex items-center gap-2',\n icon: {\n base: 'flex-shrink-0 w-4 h-4',\n loading: 'text-blue-500 dark:text-blue-400',\n complete: 'text-green-500 dark:text-green-400',\n error: 'text-red-500 dark:text-red-400'\n },\n text: {\n base: 'text-sm',\n loading: 'text-gray-600 dark:text-gray-400',\n complete: 'text-gray-600 dark:text-gray-400',\n error: 'text-red-600 dark:text-red-400'\n },\n steps: {\n base: 'mt-1 ml-6 space-y-0.5',\n step: {\n base: 'flex items-center gap-2',\n icon: 'flex-shrink-0 w-3.5 h-3.5',\n text: 'text-sm',\n loading: 'text-gray-500 dark:text-gray-500',\n complete: 'text-gray-500 dark:text-gray-500',\n error: 'text-red-500 dark:text-red-400'\n }\n }\n },\n sessions: {\n base: 'overflow-auto',\n console:\n 'min-w-[150px] w-[30%] max-w-[300px] dark:bg-[#11111F] bg-[#F2F3F7] p-5 rounded-3xl',\n companion: 'w-full h-full',\n group:\n 'text-xs dart:text-gray-400 text-gray-700 mt-4 hover:bg-transparent mb-1',\n create: 'relative mb-4 rounded-[10px] text-white',\n session: {\n base: [\n 'group my-1 rounded-[10px] p-2 text-gray-500 border border-transparent hover:bg-gray-300 hover:border-gray-400 [&_svg]:text-gray-500',\n 'dark:text-typography dark:text-gray-400 dark:hover:bg-gray-800/50 dark:hover:border-gray-700/50 dark:[&_svg]:text-gray-200'\n ].join(' '),\n active: [\n 'border border-gray-300 hover:border-gray-400 text-gray-700 bg-gray-200 hover:bg-gray-300 ',\n 'dark:text-gray-500 dark:bg-gray-800/70 dark:border-gray-700/50 dark:text-white dark:border-gray-700/70 dark:hover:bg-gray-800/50',\n '[&_button]:opacity-100!'\n ].join(' '),\n delete: '[&>svg]:w-4 [&>svg]:h-4 opacity-0 group-hover:opacity-50!'\n }\n },\n messages: {\n base: '',\n console: 'flex flex-col mx-5 flex-1 min-h-0',\n companion: 'flex w-full h-full',\n back: 'self-start p-0 my-2',\n inner: 'flex-1 h-full flex flex-col',\n title: ['text-base font-bold text-gray-500', 'dark:text-gray-200'].join(\n ' '\n ),\n date: 'text-xs whitespace-nowrap text-gray-400',\n content: [\n 'mt-2 flex-1 overflow-auto [&_hr]:bg-gray-200',\n 'dark:[&_hr]:bg-gray-800/60'\n ].join(' '),\n header: 'flex justify-between items-center gap-2',\n showMore: 'mb-4',\n message: {\n base: 'mt-4 mb-4 flex flex-col p-0 rounded-sm border-none bg-transparent',\n question: [\n 'relative font-semibold mb-4 px-4 py-4 pb-2 rounded-3xl rounded-br-none text-typography border bg-gray-200 border-gray-300 text-gray-900',\n 'dark:bg-gray-900/60 dark:border-gray-700/50 dark:text-gray-100'\n ].join(' '),\n response: [\n 'relative data-[compact=false]:px-4 text-gray-900',\n 'dark:text-gray-100'\n ].join(' '),\n overlay:\n \"overflow-y-hidden max-h-[350px] after:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:h-16 after:bg-linear-to-b after:from-transparent dark:after:to-gray-900 after:to-gray-200\",\n cursor: 'inline-block w-1 h-4 bg-current',\n expand: 'absolute bottom-1 right-1 z-10',\n scrollToBottom: {\n container: 'absolute bottom-2 left-1/2 transform -translate-x-1/2 z-10',\n button: 'rounded-full p-2 shadow-lg'\n },\n files: {\n base: 'mb-2 flex flex-wrap gap-3 ',\n file: {\n base: [\n 'flex items-center gap-2 border border-gray-300 px-3 py-2 rounded-lg cursor-pointer',\n 'dark:border-gray-700'\n ].join(' '),\n name: ['text-sm text-gray-500', 'dark:text-gray-200'].join(' ')\n }\n },\n sources: {\n base: 'my-4 flex flex-wrap gap-3',\n source: {\n base: [\n 'flex gap-2 border border-gray-200 px-4 py-2 rounded-lg cursor-pointer',\n 'dark:border-gray-700'\n ].join(' '),\n companion: 'flex-1 px-3 py-1.5',\n image: 'max-w-10 max-h-10 rounded-md w-full h-fit self-center',\n title: 'text-md block',\n url: 'text-sm text-blue-400 underline'\n }\n },\n markdown: {\n hr: 'my-4 border-t border-stroke-neutral-4',\n copy: 'sticky py-1 [&>svg]:w-4 [&>svg]:h-4 opacity-50',\n p: 'mb-2',\n a: 'text-buttons-colors-link-primary-text-resting underline',\n table: 'table-auto w-full m-2',\n th: 'px-4 py-2 text-left font-bold border-b border-stroke-neutral-4',\n td: 'px-4 py-2',\n code: 'm-2 rounded-b relative',\n inlineCode: 'bg-gradient-neutral-200 p-1 rounded',\n toolbar:\n 'text-xs flex items-center justify-between px-2 py-1 rounded-t sticky top-0 backdrop-blur-md bg-gradient-neutral-500/50',\n li: 'mb-2 ml-6',\n ul: 'mb-4 list-disc',\n ol: 'mb-4 list-decimal',\n h1: 'text-4xl font-bold mb-4 mt-6',\n h2: 'text-3xl font-bold mb-3 mt-5',\n h3: 'text-2xl font-bold mb-3 mt-4',\n h4: 'text-xl font-bold mb-2 mt-3',\n h5: 'text-lg font-bold mb-2 mt-2',\n h6: 'text-base font-bold mb-2 mt-2'\n },\n footer: {\n base: 'mt-3 flex gap-1.5',\n copy: [\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-200 hover:text-gray-500',\n 'dark:hover:bg-gray-800 dark:hover:text-white text-gray-400'\n ].join(' '),\n upvote:\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-700/40 hover:text-white text-gray-400',\n downvote:\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-700/40 hover:text-white text-gray-400',\n refresh:\n 'p-3 rounded-[10px] [&>svg]:w-4 [&>svg]:h-4 opacity-50 hover:opacity-100! hover:bg-gray-700/40 hover:text-white text-gray-400'\n }\n }\n },\n input: {\n base: 'flex mt-4 relative',\n upload: ['px-5 py-2 text-gray-400 size-10', 'dark:gray-500'].join(' '),\n input: [\n 'w-full border rounded-3xl px-3 py-2 pr-16 text-gray-500 border-gray-200 hover:bg-blue-100 hover:border-blue-500 after:hidden after:mx-10! bg-white [&>textarea]:w-full [&>textarea]:flex-none',\n 'dark:border-gray-700/50 dark:text-gray-200 dark:bg-gray-950 dark:hover:bg-blue-950/40'\n ].join(' '),\n actions: {\n base: 'absolute flex gap-2 items-center right-5 inset-y-1/2 -translate-y-1/2 z-10',\n send: [\n 'px-3 py-3 hover:bg-primary-hover rounded-full bg-gray-200 hover:bg-gray-300 text-gray-500',\n 'dark:text-white light:text-gray-500 dark:bg-gray-800 dark:hover:bg-gray-700'\n ].join(' '),\n stop: 'px-2 py-2 bg-red-500 text-white rounded-full hover:bg-red-700 '\n },\n popup: {\n base: [\n 'bg-white border border-gray-200 rounded-lg shadow-lg overflow-hidden min-w-[200px] max-w-[300px]',\n 'dark:bg-gray-900 dark:border-gray-700'\n ].join(' '),\n content: 'overflow-y-auto max-h-[250px]',\n item: [\n 'flex items-center gap-2 px-3 py-2 cursor-pointer transition-colors',\n 'hover:bg-gray-100 dark:hover:bg-gray-800'\n ].join(' '),\n itemHighlighted: 'bg-gray-100 dark:bg-gray-800',\n itemIcon: [\n 'flex-shrink-0 w-5 h-5 text-gray-500 [&>svg]:w-full [&>svg]:h-full',\n 'dark:text-gray-400'\n ].join(' '),\n itemContent: 'flex flex-col min-w-0 flex-1',\n itemLabel: [\n 'text-sm font-medium text-gray-900 truncate',\n 'dark:text-gray-100'\n ].join(' '),\n itemDescription: 'text-xs text-gray-500 dark:text-gray-400 truncate',\n itemShortcut: 'text-xs text-gray-400 dark:text-gray-500 ml-auto',\n empty: 'px-3 py-4 text-sm text-center text-gray-500 dark:text-gray-400',\n loading: [\n 'flex items-center justify-center gap-2 px-3 py-4 text-gray-500',\n 'dark:text-gray-400'\n ].join(' ')\n },\n tag: {\n base: [\n 'inline-flex items-center px-1.5 py-0.5 mx-0.5 rounded',\n 'font-medium text-sm leading-[1.2] relative top-[1px]'\n ].join(' '),\n mention: [\n 'bg-blue-100 dark:bg-blue-900/30',\n 'text-blue-700 dark:text-blue-300'\n ].join(' '),\n command: [\n 'bg-purple-100 dark:bg-purple-900/30',\n 'text-purple-700 dark:text-purple-300'\n ].join(' ')\n },\n editor: {\n base: [\n 'outline-none w-full overflow-y-auto',\n 'text-inherit font-inherit',\n '[&_.tiptap-paragraph]:m-0'\n ].join(' '),\n container: 'px-3 py-2 pr-16',\n placeholder: [\n '[&_.is-editor-empty]:before:content-[attr(data-placeholder)]',\n '[&_.is-editor-empty]:before:text-gray-400',\n '[&_.is-editor-empty]:before:dark:text-gray-500',\n '[&_.is-editor-empty]:before:float-left',\n '[&_.is-editor-empty]:before:h-0',\n '[&_.is-editor-empty]:before:pointer-events-none'\n ].join(' ')\n }\n },\n suggestions: {\n base: 'flex flex-wrap gap-2 mt-4',\n item: {\n base: [\n 'rounded-full! max-w-full py-2 px-4',\n 'bg-gray-100 border-gray-200 hover:bg-gray-200 hover:border-gray-300 text-gray-700',\n 'dark:bg-gray-800/50 dark:border-gray-700 dark:hover:bg-gray-700/70 dark:hover:border-gray-600 dark:text-gray-200',\n '[&>svg]:w-4 [&>svg]:h-4 [&>svg]:text-blue-500 [&>svg]:dark:text-blue-400 [&>svg]:flex-shrink-0'\n ].join(' '),\n icon: 'w-4 h-4 text-blue-500 dark:text-blue-400 flex-shrink-0',\n text: 'text-sm truncate'\n }\n },\n chart: {\n base: 'my-6',\n title: 'text-sm font-medium mb-2 text-gray-600 dark:text-gray-400',\n content: 'flex items-center justify-center',\n error: {\n base: [\n 'my-4 p-4 border rounded',\n 'border-red-300 bg-red-50 text-red-500',\n 'dark:border-red-700 dark:bg-red-900/20'\n ].join(' '),\n title: 'text-red-600 dark:text-red-400 text-sm font-medium mb-2',\n code: 'text-xs overflow-auto'\n },\n warning: {\n base: [\n 'my-4 p-4 border rounded',\n 'border-yellow-300 bg-yellow-50 text-yellow-600',\n 'dark:border-yellow-700 dark:bg-yellow-900/20 dark:text-yellow-400'\n ].join(' '),\n title: 'text-yellow-600 dark:text-yellow-400 text-sm font-medium mb-2'\n }\n },\n component: {\n base: 'my-4'\n }\n}"
|
|
369
|
-
},
|
|
370
|
-
"description": "Custom theme for the appbar",
|
|
371
|
-
"name": "theme",
|
|
372
|
-
"parent": {
|
|
373
|
-
"fileName": "src/AppBar/AppBar.tsx",
|
|
374
|
-
"name": "AppBarProps"
|
|
375
|
-
},
|
|
376
|
-
"declarations": [
|
|
377
|
-
{
|
|
378
|
-
"fileName": "src/AppBar/AppBar.tsx",
|
|
379
|
-
"name": "AppBarProps"
|
|
380
|
-
}
|
|
381
|
-
],
|
|
382
|
-
"required": false,
|
|
383
|
-
"type": {
|
|
384
|
-
"name": "ChatTheme"
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
"tags": {},
|
|
391
|
-
"filePath": "src/ChatBubble/ChatBubble.tsx",
|
|
392
|
-
"description": "",
|
|
393
|
-
"displayName": "ChatBubble",
|
|
394
|
-
"methods": [],
|
|
395
|
-
"props": {
|
|
396
|
-
"children": {
|
|
397
|
-
"defaultValue": null,
|
|
398
|
-
"description": "The main content to be rendered.",
|
|
399
|
-
"name": "children",
|
|
400
|
-
"parent": {
|
|
401
|
-
"fileName": "src/ChatBubble/ChatBubble.tsx",
|
|
402
|
-
"name": "ChatBubbleProps"
|
|
403
|
-
},
|
|
404
|
-
"declarations": [
|
|
405
|
-
{
|
|
406
|
-
"fileName": "src/ChatBubble/ChatBubble.tsx",
|
|
407
|
-
"name": "ChatBubbleProps"
|
|
408
|
-
}
|
|
409
|
-
],
|
|
410
|
-
"required": true,
|
|
411
|
-
"type": {
|
|
412
|
-
"name": "ReactNode"
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
"bubbleContent": {
|
|
416
|
-
"defaultValue": null,
|
|
417
|
-
"description": "The content to be rendered in the trigger bubble.",
|
|
418
|
-
"name": "bubbleContent",
|
|
419
|
-
"parent": {
|
|
420
|
-
"fileName": "src/ChatBubble/ChatBubble.tsx",
|
|
421
|
-
"name": "ChatBubbleProps"
|
|
422
|
-
},
|
|
423
|
-
"declarations": [
|
|
424
|
-
{
|
|
425
|
-
"fileName": "src/ChatBubble/ChatBubble.tsx",
|
|
426
|
-
"name": "ChatBubbleProps"
|
|
427
|
-
}
|
|
428
|
-
],
|
|
429
|
-
"required": true,
|
|
430
|
-
"type": {
|
|
431
|
-
"name": "ReactNode"
|
|
432
|
-
}
|
|
433
|
-
},
|
|
434
|
-
"position": {
|
|
435
|
-
"defaultValue": {
|
|
436
|
-
"value": "'right-end'"
|
|
437
|
-
},
|
|
438
|
-
"description": "The position of the chat bubble on the screen.",
|
|
439
|
-
"name": "position",
|
|
440
|
-
"parent": {
|
|
441
|
-
"fileName": "src/ChatBubble/ChatBubble.tsx",
|
|
442
|
-
"name": "ChatBubbleProps"
|
|
443
|
-
},
|
|
444
|
-
"declarations": [
|
|
445
|
-
{
|
|
446
|
-
"fileName": "src/ChatBubble/ChatBubble.tsx",
|
|
447
|
-
"name": "ChatBubbleProps"
|
|
448
|
-
}
|
|
449
|
-
],
|
|
450
|
-
"required": false,
|
|
451
|
-
"type": {
|
|
452
|
-
"name": "Placement"
|
|
453
|
-
}
|
|
454
|
-
},
|
|
455
|
-
"modifiers": {
|
|
456
|
-
"defaultValue": {
|
|
457
|
-
"value": "[offset({ mainAxis: 0, crossAxis: -40 })]"
|
|
458
|
-
},
|
|
459
|
-
"description": "Custom position modifiers.",
|
|
460
|
-
"name": "modifiers",
|
|
461
|
-
"parent": {
|
|
462
|
-
"fileName": "src/ChatBubble/ChatBubble.tsx",
|
|
463
|
-
"name": "ChatBubbleProps"
|
|
464
|
-
},
|
|
465
|
-
"declarations": [
|
|
466
|
-
{
|
|
467
|
-
"fileName": "src/ChatBubble/ChatBubble.tsx",
|
|
468
|
-
"name": "ChatBubbleProps"
|
|
469
|
-
}
|
|
470
|
-
],
|
|
471
|
-
"required": false,
|
|
472
|
-
"type": {
|
|
473
|
-
"name": "Modifiers"
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
"className": {
|
|
477
|
-
"defaultValue": null,
|
|
478
|
-
"description": "Additional CSS classes to apply to the chat bubble.",
|
|
479
|
-
"name": "className",
|
|
480
|
-
"parent": {
|
|
481
|
-
"fileName": "src/ChatBubble/ChatBubble.tsx",
|
|
482
|
-
"name": "ChatBubbleProps"
|
|
483
|
-
},
|
|
484
|
-
"declarations": [
|
|
485
|
-
{
|
|
486
|
-
"fileName": "src/ChatBubble/ChatBubble.tsx",
|
|
487
|
-
"name": "ChatBubbleProps"
|
|
488
|
-
}
|
|
489
|
-
],
|
|
490
|
-
"required": false,
|
|
491
|
-
"type": {
|
|
492
|
-
"name": "string"
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"tags": {},
|
|
499
|
-
"filePath": "src/ChatInput/ChatInput.tsx",
|
|
500
|
-
"description": "",
|
|
501
|
-
"displayName": "ChatInput",
|
|
502
|
-
"methods": [],
|
|
503
|
-
"props": {
|
|
504
|
-
"defaultValue": {
|
|
505
|
-
"defaultValue": null,
|
|
506
|
-
"description": "Default value for the input field.",
|
|
507
|
-
"name": "defaultValue",
|
|
508
|
-
"parent": {
|
|
509
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
510
|
-
"name": "ChatInputProps"
|
|
511
|
-
},
|
|
512
|
-
"declarations": [
|
|
513
|
-
{
|
|
514
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
515
|
-
"name": "ChatInputProps"
|
|
516
|
-
}
|
|
517
|
-
],
|
|
518
|
-
"required": false,
|
|
519
|
-
"type": {
|
|
520
|
-
"name": "string"
|
|
521
|
-
}
|
|
522
|
-
},
|
|
523
|
-
"allowedFiles": {
|
|
524
|
-
"defaultValue": null,
|
|
525
|
-
"description": "Allowed file types for upload.",
|
|
526
|
-
"name": "allowedFiles",
|
|
527
|
-
"parent": {
|
|
528
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
529
|
-
"name": "ChatInputProps"
|
|
530
|
-
},
|
|
531
|
-
"declarations": [
|
|
532
|
-
{
|
|
533
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
534
|
-
"name": "ChatInputProps"
|
|
535
|
-
}
|
|
536
|
-
],
|
|
537
|
-
"required": false,
|
|
538
|
-
"type": {
|
|
539
|
-
"name": "string[]"
|
|
540
|
-
}
|
|
541
|
-
},
|
|
542
|
-
"allowMultipleFiles": {
|
|
543
|
-
"defaultValue": {
|
|
544
|
-
"value": "false"
|
|
545
|
-
},
|
|
546
|
-
"description": "Allow multiple file uploads.",
|
|
547
|
-
"name": "allowMultipleFiles",
|
|
548
|
-
"parent": {
|
|
549
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
550
|
-
"name": "ChatInputProps"
|
|
551
|
-
},
|
|
552
|
-
"declarations": [
|
|
553
|
-
{
|
|
554
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
555
|
-
"name": "ChatInputProps"
|
|
556
|
-
}
|
|
557
|
-
],
|
|
558
|
-
"required": false,
|
|
559
|
-
"type": {
|
|
560
|
-
"name": "boolean"
|
|
561
|
-
}
|
|
562
|
-
},
|
|
563
|
-
"placeholder": {
|
|
564
|
-
"defaultValue": {
|
|
565
|
-
"value": "Type a message..."
|
|
566
|
-
},
|
|
567
|
-
"description": "Placeholder text for the input field.",
|
|
568
|
-
"name": "placeholder",
|
|
569
|
-
"parent": {
|
|
570
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
571
|
-
"name": "ChatInputProps"
|
|
572
|
-
},
|
|
573
|
-
"declarations": [
|
|
574
|
-
{
|
|
575
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
576
|
-
"name": "ChatInputProps"
|
|
577
|
-
}
|
|
578
|
-
],
|
|
579
|
-
"required": false,
|
|
580
|
-
"type": {
|
|
581
|
-
"name": "string"
|
|
582
|
-
}
|
|
583
|
-
},
|
|
584
|
-
"sendIcon": {
|
|
585
|
-
"defaultValue": {
|
|
586
|
-
"value": "<SendIcon />"
|
|
587
|
-
},
|
|
588
|
-
"description": "Icon to show for send.",
|
|
589
|
-
"name": "sendIcon",
|
|
590
|
-
"parent": {
|
|
591
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
592
|
-
"name": "ChatInputProps"
|
|
593
|
-
},
|
|
594
|
-
"declarations": [
|
|
595
|
-
{
|
|
596
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
597
|
-
"name": "ChatInputProps"
|
|
598
|
-
}
|
|
599
|
-
],
|
|
600
|
-
"required": false,
|
|
601
|
-
"type": {
|
|
602
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
603
|
-
}
|
|
604
|
-
},
|
|
605
|
-
"stopIcon": {
|
|
606
|
-
"defaultValue": {
|
|
607
|
-
"value": "<StopIcon />"
|
|
608
|
-
},
|
|
609
|
-
"description": "Icon to show for stop.",
|
|
610
|
-
"name": "stopIcon",
|
|
611
|
-
"parent": {
|
|
612
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
613
|
-
"name": "ChatInputProps"
|
|
614
|
-
},
|
|
615
|
-
"declarations": [
|
|
616
|
-
{
|
|
617
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
618
|
-
"name": "ChatInputProps"
|
|
619
|
-
}
|
|
620
|
-
],
|
|
621
|
-
"required": false,
|
|
622
|
-
"type": {
|
|
623
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
624
|
-
}
|
|
625
|
-
},
|
|
626
|
-
"attachIcon": {
|
|
627
|
-
"defaultValue": null,
|
|
628
|
-
"description": "Icon to show for attach.",
|
|
629
|
-
"name": "attachIcon",
|
|
630
|
-
"parent": {
|
|
631
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
632
|
-
"name": "ChatInputProps"
|
|
633
|
-
},
|
|
634
|
-
"declarations": [
|
|
635
|
-
{
|
|
636
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
637
|
-
"name": "ChatInputProps"
|
|
638
|
-
}
|
|
639
|
-
],
|
|
640
|
-
"required": false,
|
|
641
|
-
"type": {
|
|
642
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
643
|
-
}
|
|
644
|
-
},
|
|
645
|
-
"mentions": {
|
|
646
|
-
"defaultValue": null,
|
|
647
|
-
"description": "Configuration for mentions (@user).\nProvide items or an onSearch function to enable mentions.",
|
|
648
|
-
"name": "mentions",
|
|
649
|
-
"parent": {
|
|
650
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
651
|
-
"name": "ChatInputProps"
|
|
652
|
-
},
|
|
653
|
-
"declarations": [
|
|
654
|
-
{
|
|
655
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
656
|
-
"name": "ChatInputProps"
|
|
657
|
-
}
|
|
658
|
-
],
|
|
659
|
-
"required": false,
|
|
660
|
-
"type": {
|
|
661
|
-
"name": "SuggestionConfig<MentionItem>"
|
|
662
|
-
}
|
|
663
|
-
},
|
|
664
|
-
"className": {
|
|
665
|
-
"defaultValue": null,
|
|
666
|
-
"description": "Class name to apply to the container.",
|
|
667
|
-
"name": "className",
|
|
668
|
-
"parent": {
|
|
669
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
670
|
-
"name": "ChatInputProps"
|
|
671
|
-
},
|
|
672
|
-
"declarations": [
|
|
673
|
-
{
|
|
674
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
675
|
-
"name": "ChatInputProps"
|
|
676
|
-
}
|
|
677
|
-
],
|
|
678
|
-
"required": false,
|
|
679
|
-
"type": {
|
|
680
|
-
"name": "string"
|
|
681
|
-
}
|
|
682
|
-
},
|
|
683
|
-
"commands": {
|
|
684
|
-
"defaultValue": null,
|
|
685
|
-
"description": "Configuration for commands (/command).\nProvide items or an onSearch function to enable commands.",
|
|
686
|
-
"name": "commands",
|
|
687
|
-
"parent": {
|
|
688
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
689
|
-
"name": "ChatInputProps"
|
|
690
|
-
},
|
|
691
|
-
"declarations": [
|
|
692
|
-
{
|
|
693
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
694
|
-
"name": "ChatInputProps"
|
|
695
|
-
}
|
|
696
|
-
],
|
|
697
|
-
"required": false,
|
|
698
|
-
"type": {
|
|
699
|
-
"name": "SuggestionConfig<SlashCommandItem>"
|
|
700
|
-
}
|
|
701
|
-
},
|
|
702
|
-
"minHeight": {
|
|
703
|
-
"defaultValue": {
|
|
704
|
-
"value": "24"
|
|
705
|
-
},
|
|
706
|
-
"description": "Minimum height for the input.",
|
|
707
|
-
"name": "minHeight",
|
|
708
|
-
"parent": {
|
|
709
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
710
|
-
"name": "ChatInputProps"
|
|
711
|
-
},
|
|
712
|
-
"declarations": [
|
|
713
|
-
{
|
|
714
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
715
|
-
"name": "ChatInputProps"
|
|
716
|
-
}
|
|
717
|
-
],
|
|
718
|
-
"required": false,
|
|
719
|
-
"type": {
|
|
720
|
-
"name": "number"
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
"maxHeight": {
|
|
724
|
-
"defaultValue": {
|
|
725
|
-
"value": "200"
|
|
726
|
-
},
|
|
727
|
-
"description": "Maximum height for the input.",
|
|
728
|
-
"name": "maxHeight",
|
|
729
|
-
"parent": {
|
|
730
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
731
|
-
"name": "ChatInputProps"
|
|
732
|
-
},
|
|
733
|
-
"declarations": [
|
|
734
|
-
{
|
|
735
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
736
|
-
"name": "ChatInputProps"
|
|
737
|
-
}
|
|
738
|
-
],
|
|
739
|
-
"required": false,
|
|
740
|
-
"type": {
|
|
741
|
-
"name": "number"
|
|
742
|
-
}
|
|
743
|
-
},
|
|
744
|
-
"autoFocus": {
|
|
745
|
-
"defaultValue": {
|
|
746
|
-
"value": "true"
|
|
747
|
-
},
|
|
748
|
-
"description": "Whether to auto-focus the input on mount.",
|
|
749
|
-
"name": "autoFocus",
|
|
750
|
-
"parent": {
|
|
751
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
752
|
-
"name": "ChatInputProps"
|
|
753
|
-
},
|
|
754
|
-
"declarations": [
|
|
755
|
-
{
|
|
756
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
757
|
-
"name": "ChatInputProps"
|
|
758
|
-
}
|
|
759
|
-
],
|
|
760
|
-
"required": false,
|
|
761
|
-
"type": {
|
|
762
|
-
"name": "boolean"
|
|
763
|
-
}
|
|
764
|
-
},
|
|
765
|
-
"onMessageChange": {
|
|
766
|
-
"defaultValue": null,
|
|
767
|
-
"description": "Callback function to handle message change.",
|
|
768
|
-
"name": "onMessageChange",
|
|
769
|
-
"parent": {
|
|
770
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
771
|
-
"name": "ChatInputProps"
|
|
772
|
-
},
|
|
773
|
-
"declarations": [
|
|
774
|
-
{
|
|
775
|
-
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
776
|
-
"name": "ChatInputProps"
|
|
777
|
-
}
|
|
778
|
-
],
|
|
779
|
-
"required": false,
|
|
780
|
-
"type": {
|
|
781
|
-
"name": "(message: string) => void"
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
},
|
|
786
|
-
{
|
|
787
|
-
"tags": {},
|
|
788
|
-
"filePath": "src/ChatInput/FileInput.tsx",
|
|
789
|
-
"description": "",
|
|
790
|
-
"displayName": "FileInput",
|
|
791
|
-
"methods": [],
|
|
792
|
-
"props": {
|
|
793
|
-
"allowedFiles": {
|
|
794
|
-
"defaultValue": null,
|
|
795
|
-
"description": "Array of allowed file extensions.",
|
|
796
|
-
"name": "allowedFiles",
|
|
797
|
-
"parent": {
|
|
798
|
-
"fileName": "src/ChatInput/FileInput.tsx",
|
|
799
|
-
"name": "FileInputProps"
|
|
800
|
-
},
|
|
801
|
-
"declarations": [
|
|
802
|
-
{
|
|
803
|
-
"fileName": "src/ChatInput/FileInput.tsx",
|
|
804
|
-
"name": "FileInputProps"
|
|
805
|
-
}
|
|
806
|
-
],
|
|
807
|
-
"required": true,
|
|
808
|
-
"type": {
|
|
809
|
-
"name": "string[]"
|
|
810
|
-
}
|
|
811
|
-
},
|
|
812
|
-
"multiple": {
|
|
813
|
-
"defaultValue": null,
|
|
814
|
-
"description": "Allow multiple file uploads.",
|
|
815
|
-
"name": "multiple",
|
|
816
|
-
"parent": {
|
|
817
|
-
"fileName": "src/ChatInput/FileInput.tsx",
|
|
818
|
-
"name": "FileInputProps"
|
|
819
|
-
},
|
|
820
|
-
"declarations": [
|
|
821
|
-
{
|
|
822
|
-
"fileName": "src/ChatInput/FileInput.tsx",
|
|
823
|
-
"name": "FileInputProps"
|
|
824
|
-
}
|
|
825
|
-
],
|
|
826
|
-
"required": true,
|
|
827
|
-
"type": {
|
|
828
|
-
"name": "boolean"
|
|
829
|
-
}
|
|
830
|
-
},
|
|
831
|
-
"isLoading": {
|
|
832
|
-
"defaultValue": null,
|
|
833
|
-
"description": "Indicates whether a file upload is in progress.",
|
|
834
|
-
"name": "isLoading",
|
|
835
|
-
"parent": {
|
|
836
|
-
"fileName": "src/ChatInput/FileInput.tsx",
|
|
837
|
-
"name": "FileInputProps"
|
|
838
|
-
},
|
|
839
|
-
"declarations": [
|
|
840
|
-
{
|
|
841
|
-
"fileName": "src/ChatInput/FileInput.tsx",
|
|
842
|
-
"name": "FileInputProps"
|
|
843
|
-
}
|
|
844
|
-
],
|
|
845
|
-
"required": true,
|
|
846
|
-
"type": {
|
|
847
|
-
"name": "boolean"
|
|
848
|
-
}
|
|
849
|
-
},
|
|
850
|
-
"disabled": {
|
|
851
|
-
"defaultValue": null,
|
|
852
|
-
"description": "Disables the file input when true.",
|
|
853
|
-
"name": "disabled",
|
|
854
|
-
"parent": {
|
|
855
|
-
"fileName": "src/ChatInput/FileInput.tsx",
|
|
856
|
-
"name": "FileInputProps"
|
|
857
|
-
},
|
|
858
|
-
"declarations": [
|
|
859
|
-
{
|
|
860
|
-
"fileName": "src/ChatInput/FileInput.tsx",
|
|
861
|
-
"name": "FileInputProps"
|
|
862
|
-
}
|
|
863
|
-
],
|
|
864
|
-
"required": true,
|
|
865
|
-
"type": {
|
|
866
|
-
"name": "boolean"
|
|
867
|
-
}
|
|
868
|
-
},
|
|
869
|
-
"attachIcon": {
|
|
870
|
-
"defaultValue": {
|
|
871
|
-
"value": "<AttachIcon />"
|
|
872
|
-
},
|
|
873
|
-
"description": "Custom icon for the attach button.",
|
|
874
|
-
"name": "attachIcon",
|
|
875
|
-
"parent": {
|
|
876
|
-
"fileName": "src/ChatInput/FileInput.tsx",
|
|
877
|
-
"name": "FileInputProps"
|
|
878
|
-
},
|
|
879
|
-
"declarations": [
|
|
880
|
-
{
|
|
881
|
-
"fileName": "src/ChatInput/FileInput.tsx",
|
|
882
|
-
"name": "FileInputProps"
|
|
883
|
-
}
|
|
884
|
-
],
|
|
885
|
-
"required": false,
|
|
886
|
-
"type": {
|
|
887
|
-
"name": "ReactNode"
|
|
888
|
-
}
|
|
889
|
-
},
|
|
890
|
-
"onFileUpload": {
|
|
891
|
-
"defaultValue": null,
|
|
892
|
-
"description": "Callback function triggered when a file is selected.",
|
|
893
|
-
"name": "onFileUpload",
|
|
894
|
-
"parent": {
|
|
895
|
-
"fileName": "src/ChatInput/FileInput.tsx",
|
|
896
|
-
"name": "FileInputProps"
|
|
897
|
-
},
|
|
898
|
-
"declarations": [
|
|
899
|
-
{
|
|
900
|
-
"fileName": "src/ChatInput/FileInput.tsx",
|
|
901
|
-
"name": "FileInputProps"
|
|
902
|
-
}
|
|
903
|
-
],
|
|
904
|
-
"required": true,
|
|
905
|
-
"type": {
|
|
906
|
-
"name": "(event: ChangeEvent<HTMLInputElement, Element>) => void"
|
|
907
|
-
}
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
},
|
|
911
|
-
{
|
|
912
|
-
"tags": {},
|
|
913
|
-
"filePath": "src/ChatInput/MentionList.tsx",
|
|
914
|
-
"description": "",
|
|
915
|
-
"displayName": "MentionList",
|
|
916
|
-
"methods": [],
|
|
917
|
-
"props": {
|
|
918
|
-
"items": {
|
|
919
|
-
"defaultValue": null,
|
|
920
|
-
"description": "List of suggestion items to display",
|
|
921
|
-
"name": "items",
|
|
922
|
-
"parent": {
|
|
923
|
-
"fileName": "src/ChatInput/MentionList.tsx",
|
|
924
|
-
"name": "MentionListProps"
|
|
925
|
-
},
|
|
926
|
-
"declarations": [
|
|
927
|
-
{
|
|
928
|
-
"fileName": "src/ChatInput/MentionList.tsx",
|
|
929
|
-
"name": "MentionListProps"
|
|
930
|
-
}
|
|
931
|
-
],
|
|
932
|
-
"required": true,
|
|
933
|
-
"type": {
|
|
934
|
-
"name": "SuggestionItem[]"
|
|
935
|
-
}
|
|
936
|
-
},
|
|
937
|
-
"command": {
|
|
938
|
-
"defaultValue": null,
|
|
939
|
-
"description": "Callback to execute the selected suggestion command",
|
|
940
|
-
"name": "command",
|
|
941
|
-
"parent": {
|
|
942
|
-
"fileName": "src/ChatInput/MentionList.tsx",
|
|
943
|
-
"name": "MentionListProps"
|
|
944
|
-
},
|
|
945
|
-
"declarations": [
|
|
946
|
-
{
|
|
947
|
-
"fileName": "src/ChatInput/MentionList.tsx",
|
|
948
|
-
"name": "MentionListProps"
|
|
949
|
-
}
|
|
950
|
-
],
|
|
951
|
-
"required": true,
|
|
952
|
-
"type": {
|
|
953
|
-
"name": "(item: { id: string; label: string; }) => void"
|
|
954
|
-
}
|
|
955
|
-
},
|
|
956
|
-
"triggerChar": {
|
|
957
|
-
"defaultValue": null,
|
|
958
|
-
"description": "The trigger character (e.g., '@' or '/')",
|
|
959
|
-
"name": "triggerChar",
|
|
960
|
-
"parent": {
|
|
961
|
-
"fileName": "src/ChatInput/MentionList.tsx",
|
|
962
|
-
"name": "MentionListProps"
|
|
963
|
-
},
|
|
964
|
-
"declarations": [
|
|
965
|
-
{
|
|
966
|
-
"fileName": "src/ChatInput/MentionList.tsx",
|
|
967
|
-
"name": "MentionListProps"
|
|
968
|
-
}
|
|
969
|
-
],
|
|
970
|
-
"required": true,
|
|
971
|
-
"type": {
|
|
972
|
-
"name": "string"
|
|
973
|
-
}
|
|
974
|
-
},
|
|
975
|
-
"config": {
|
|
976
|
-
"defaultValue": null,
|
|
977
|
-
"description": "Configuration for the suggestion popup",
|
|
978
|
-
"name": "config",
|
|
979
|
-
"parent": {
|
|
980
|
-
"fileName": "src/ChatInput/MentionList.tsx",
|
|
981
|
-
"name": "MentionListProps"
|
|
982
|
-
},
|
|
983
|
-
"declarations": [
|
|
984
|
-
{
|
|
985
|
-
"fileName": "src/ChatInput/MentionList.tsx",
|
|
986
|
-
"name": "MentionListProps"
|
|
987
|
-
}
|
|
988
|
-
],
|
|
989
|
-
"required": true,
|
|
990
|
-
"type": {
|
|
991
|
-
"name": "SuggestionConfig<SuggestionItem>"
|
|
992
|
-
}
|
|
993
|
-
},
|
|
994
|
-
"query": {
|
|
995
|
-
"defaultValue": null,
|
|
996
|
-
"description": "Current search query text",
|
|
997
|
-
"name": "query",
|
|
998
|
-
"parent": {
|
|
999
|
-
"fileName": "src/ChatInput/MentionList.tsx",
|
|
1000
|
-
"name": "MentionListProps"
|
|
1001
|
-
},
|
|
1002
|
-
"declarations": [
|
|
1003
|
-
{
|
|
1004
|
-
"fileName": "src/ChatInput/MentionList.tsx",
|
|
1005
|
-
"name": "MentionListProps"
|
|
1006
|
-
}
|
|
1007
|
-
],
|
|
1008
|
-
"required": false,
|
|
1009
|
-
"type": {
|
|
1010
|
-
"name": "string"
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
},
|
|
1015
|
-
{
|
|
1016
|
-
"tags": {},
|
|
1017
|
-
"filePath": "src/ChatInput/RichTextInput.tsx",
|
|
1018
|
-
"description": "",
|
|
1019
|
-
"displayName": "RichTextInput",
|
|
1020
|
-
"methods": [],
|
|
1021
|
-
"props": {
|
|
1022
|
-
"value": {
|
|
1023
|
-
"defaultValue": {
|
|
1024
|
-
"value": ""
|
|
1025
|
-
},
|
|
1026
|
-
"description": "Current value of the input",
|
|
1027
|
-
"name": "value",
|
|
1028
|
-
"parent": {
|
|
1029
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1030
|
-
"name": "RichTextInputProps"
|
|
1031
|
-
},
|
|
1032
|
-
"declarations": [
|
|
1033
|
-
{
|
|
1034
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1035
|
-
"name": "RichTextInputProps"
|
|
1036
|
-
}
|
|
1037
|
-
],
|
|
1038
|
-
"required": false,
|
|
1039
|
-
"type": {
|
|
1040
|
-
"name": "string"
|
|
1041
|
-
}
|
|
1042
|
-
},
|
|
1043
|
-
"placeholder": {
|
|
1044
|
-
"defaultValue": {
|
|
1045
|
-
"value": "Type a message..."
|
|
1046
|
-
},
|
|
1047
|
-
"description": "Placeholder text when empty",
|
|
1048
|
-
"name": "placeholder",
|
|
1049
|
-
"parent": {
|
|
1050
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1051
|
-
"name": "RichTextInputProps"
|
|
1052
|
-
},
|
|
1053
|
-
"declarations": [
|
|
1054
|
-
{
|
|
1055
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1056
|
-
"name": "RichTextInputProps"
|
|
1057
|
-
}
|
|
1058
|
-
],
|
|
1059
|
-
"required": false,
|
|
1060
|
-
"type": {
|
|
1061
|
-
"name": "string"
|
|
1062
|
-
}
|
|
1063
|
-
},
|
|
1064
|
-
"disabled": {
|
|
1065
|
-
"defaultValue": {
|
|
1066
|
-
"value": "false"
|
|
1067
|
-
},
|
|
1068
|
-
"description": "Whether the input is disabled",
|
|
1069
|
-
"name": "disabled",
|
|
1070
|
-
"parent": {
|
|
1071
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1072
|
-
"name": "RichTextInputProps"
|
|
1073
|
-
},
|
|
1074
|
-
"declarations": [
|
|
1075
|
-
{
|
|
1076
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1077
|
-
"name": "RichTextInputProps"
|
|
1078
|
-
}
|
|
1079
|
-
],
|
|
1080
|
-
"required": false,
|
|
1081
|
-
"type": {
|
|
1082
|
-
"name": "boolean"
|
|
1083
|
-
}
|
|
1084
|
-
},
|
|
1085
|
-
"autoFocus": {
|
|
1086
|
-
"defaultValue": {
|
|
1087
|
-
"value": "true"
|
|
1088
|
-
},
|
|
1089
|
-
"description": "Whether to auto-focus on mount.",
|
|
1090
|
-
"name": "autoFocus",
|
|
1091
|
-
"parent": {
|
|
1092
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1093
|
-
"name": "RichTextInputProps"
|
|
1094
|
-
},
|
|
1095
|
-
"declarations": [
|
|
1096
|
-
{
|
|
1097
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1098
|
-
"name": "RichTextInputProps"
|
|
1099
|
-
}
|
|
1100
|
-
],
|
|
1101
|
-
"required": false,
|
|
1102
|
-
"type": {
|
|
1103
|
-
"name": "boolean"
|
|
1104
|
-
}
|
|
1105
|
-
},
|
|
1106
|
-
"className": {
|
|
1107
|
-
"defaultValue": null,
|
|
1108
|
-
"description": "Additional CSS classes",
|
|
1109
|
-
"name": "className",
|
|
1110
|
-
"parent": {
|
|
1111
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1112
|
-
"name": "RichTextInputProps"
|
|
1113
|
-
},
|
|
1114
|
-
"declarations": [
|
|
1115
|
-
{
|
|
1116
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1117
|
-
"name": "RichTextInputProps"
|
|
1118
|
-
}
|
|
1119
|
-
],
|
|
1120
|
-
"required": false,
|
|
1121
|
-
"type": {
|
|
1122
|
-
"name": "string"
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
|
-
"minHeight": {
|
|
1126
|
-
"defaultValue": {
|
|
1127
|
-
"value": "24"
|
|
1128
|
-
},
|
|
1129
|
-
"description": "Minimum height in pixels.",
|
|
1130
|
-
"name": "minHeight",
|
|
1131
|
-
"parent": {
|
|
1132
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1133
|
-
"name": "RichTextInputProps"
|
|
1134
|
-
},
|
|
1135
|
-
"declarations": [
|
|
1136
|
-
{
|
|
1137
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1138
|
-
"name": "RichTextInputProps"
|
|
1139
|
-
}
|
|
1140
|
-
],
|
|
1141
|
-
"required": false,
|
|
1142
|
-
"type": {
|
|
1143
|
-
"name": "number"
|
|
1144
|
-
}
|
|
1145
|
-
},
|
|
1146
|
-
"maxHeight": {
|
|
1147
|
-
"defaultValue": {
|
|
1148
|
-
"value": "200"
|
|
1149
|
-
},
|
|
1150
|
-
"description": "Maximum height in pixels.",
|
|
1151
|
-
"name": "maxHeight",
|
|
1152
|
-
"parent": {
|
|
1153
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1154
|
-
"name": "RichTextInputProps"
|
|
1155
|
-
},
|
|
1156
|
-
"declarations": [
|
|
1157
|
-
{
|
|
1158
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1159
|
-
"name": "RichTextInputProps"
|
|
1160
|
-
}
|
|
1161
|
-
],
|
|
1162
|
-
"required": false,
|
|
1163
|
-
"type": {
|
|
1164
|
-
"name": "number"
|
|
1165
|
-
}
|
|
1166
|
-
},
|
|
1167
|
-
"mentions": {
|
|
1168
|
-
"defaultValue": null,
|
|
1169
|
-
"description": "Configuration for @ mentions",
|
|
1170
|
-
"name": "mentions",
|
|
1171
|
-
"parent": {
|
|
1172
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1173
|
-
"name": "RichTextInputProps"
|
|
1174
|
-
},
|
|
1175
|
-
"declarations": [
|
|
1176
|
-
{
|
|
1177
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1178
|
-
"name": "RichTextInputProps"
|
|
1179
|
-
}
|
|
1180
|
-
],
|
|
1181
|
-
"required": false,
|
|
1182
|
-
"type": {
|
|
1183
|
-
"name": "SuggestionConfig<SuggestionItem>"
|
|
1184
|
-
}
|
|
1185
|
-
},
|
|
1186
|
-
"commands": {
|
|
1187
|
-
"defaultValue": null,
|
|
1188
|
-
"description": "Configuration for / slash commands",
|
|
1189
|
-
"name": "commands",
|
|
1190
|
-
"parent": {
|
|
1191
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1192
|
-
"name": "RichTextInputProps"
|
|
1193
|
-
},
|
|
1194
|
-
"declarations": [
|
|
1195
|
-
{
|
|
1196
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1197
|
-
"name": "RichTextInputProps"
|
|
1198
|
-
}
|
|
1199
|
-
],
|
|
1200
|
-
"required": false,
|
|
1201
|
-
"type": {
|
|
1202
|
-
"name": "SuggestionConfig<SuggestionItem>"
|
|
1203
|
-
}
|
|
1204
|
-
},
|
|
1205
|
-
"onSubmit": {
|
|
1206
|
-
"defaultValue": null,
|
|
1207
|
-
"description": "Callback when user submits (presses Enter)",
|
|
1208
|
-
"name": "onSubmit",
|
|
1209
|
-
"parent": {
|
|
1210
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1211
|
-
"name": "RichTextInputProps"
|
|
1212
|
-
},
|
|
1213
|
-
"declarations": [
|
|
1214
|
-
{
|
|
1215
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1216
|
-
"name": "RichTextInputProps"
|
|
1217
|
-
}
|
|
1218
|
-
],
|
|
1219
|
-
"required": false,
|
|
1220
|
-
"type": {
|
|
1221
|
-
"name": "(value: string) => void"
|
|
1222
|
-
}
|
|
1223
|
-
},
|
|
1224
|
-
"onChange": {
|
|
1225
|
-
"defaultValue": null,
|
|
1226
|
-
"description": "Callback when input value changes",
|
|
1227
|
-
"name": "onChange",
|
|
1228
|
-
"parent": {
|
|
1229
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1230
|
-
"name": "RichTextInputProps"
|
|
1231
|
-
},
|
|
1232
|
-
"declarations": [
|
|
1233
|
-
{
|
|
1234
|
-
"fileName": "src/ChatInput/RichTextInput.tsx",
|
|
1235
|
-
"name": "RichTextInputProps"
|
|
1236
|
-
}
|
|
1237
|
-
],
|
|
1238
|
-
"required": false,
|
|
1239
|
-
"type": {
|
|
1240
|
-
"name": "(value: string) => void"
|
|
1241
|
-
}
|
|
1242
|
-
}
|
|
1243
|
-
}
|
|
1244
|
-
},
|
|
1245
|
-
{
|
|
1246
|
-
"tags": {},
|
|
1247
|
-
"filePath": "src/ChatSuggestions/ChatSuggestion.tsx",
|
|
1248
|
-
"description": "",
|
|
1249
|
-
"displayName": "ChatSuggestion",
|
|
1250
|
-
"methods": [],
|
|
1251
|
-
"props": {
|
|
1252
|
-
"onClick": {
|
|
1253
|
-
"defaultValue": null,
|
|
1254
|
-
"description": "Callback when the suggestion is clicked.",
|
|
1255
|
-
"name": "onClick",
|
|
1256
|
-
"parent": {
|
|
1257
|
-
"fileName": "src/ChatSuggestions/ChatSuggestion.tsx",
|
|
1258
|
-
"name": "ChatSuggestionProps"
|
|
1259
|
-
},
|
|
1260
|
-
"declarations": [
|
|
1261
|
-
{
|
|
1262
|
-
"fileName": "src/ChatSuggestions/ChatSuggestion.tsx",
|
|
1263
|
-
"name": "ChatSuggestionProps"
|
|
1264
|
-
}
|
|
1265
|
-
],
|
|
1266
|
-
"required": false,
|
|
1267
|
-
"type": {
|
|
1268
|
-
"name": "(suggestion: string) => void"
|
|
1269
|
-
}
|
|
1270
|
-
},
|
|
1271
|
-
"id": {
|
|
1272
|
-
"defaultValue": null,
|
|
1273
|
-
"description": "Unique identifier for the suggestion",
|
|
1274
|
-
"name": "id",
|
|
1275
|
-
"parent": {
|
|
1276
|
-
"fileName": "reachat/src/types.ts",
|
|
1277
|
-
"name": "Suggestion"
|
|
1278
|
-
},
|
|
1279
|
-
"declarations": [
|
|
1280
|
-
{
|
|
1281
|
-
"fileName": "reachat/src/types.ts",
|
|
1282
|
-
"name": "Suggestion"
|
|
1283
|
-
}
|
|
1284
|
-
],
|
|
1285
|
-
"required": true,
|
|
1286
|
-
"type": {
|
|
1287
|
-
"name": "string"
|
|
1288
|
-
}
|
|
1289
|
-
},
|
|
1290
|
-
"content": {
|
|
1291
|
-
"defaultValue": null,
|
|
1292
|
-
"description": "The display text for the suggestion",
|
|
1293
|
-
"name": "content",
|
|
1294
|
-
"parent": {
|
|
1295
|
-
"fileName": "reachat/src/types.ts",
|
|
1296
|
-
"name": "Suggestion"
|
|
1297
|
-
},
|
|
1298
|
-
"declarations": [
|
|
1299
|
-
{
|
|
1300
|
-
"fileName": "reachat/src/types.ts",
|
|
1301
|
-
"name": "Suggestion"
|
|
1302
|
-
}
|
|
1303
|
-
],
|
|
1304
|
-
"required": true,
|
|
1305
|
-
"type": {
|
|
1306
|
-
"name": "string"
|
|
1307
|
-
}
|
|
1308
|
-
}
|
|
1309
|
-
}
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
"tags": {},
|
|
1313
|
-
"filePath": "src/ChatSuggestions/ChatSuggestions.tsx",
|
|
1314
|
-
"description": "",
|
|
1315
|
-
"displayName": "ChatSuggestions",
|
|
1316
|
-
"methods": [],
|
|
1317
|
-
"props": {
|
|
1318
|
-
"suggestions": {
|
|
1319
|
-
"defaultValue": null,
|
|
1320
|
-
"description": "Array of suggestions to display.",
|
|
1321
|
-
"name": "suggestions",
|
|
1322
|
-
"parent": {
|
|
1323
|
-
"fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
|
|
1324
|
-
"name": "ChatSuggestionsProps"
|
|
1325
|
-
},
|
|
1326
|
-
"declarations": [
|
|
1327
|
-
{
|
|
1328
|
-
"fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
|
|
1329
|
-
"name": "ChatSuggestionsProps"
|
|
1330
|
-
}
|
|
1331
|
-
],
|
|
1332
|
-
"required": true,
|
|
1333
|
-
"type": {
|
|
1334
|
-
"name": "Suggestion[]"
|
|
1335
|
-
}
|
|
1336
|
-
},
|
|
1337
|
-
"className": {
|
|
1338
|
-
"defaultValue": null,
|
|
1339
|
-
"description": "Custom class name to apply to the container.",
|
|
1340
|
-
"name": "className",
|
|
1341
|
-
"parent": {
|
|
1342
|
-
"fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
|
|
1343
|
-
"name": "ChatSuggestionsProps"
|
|
1344
|
-
},
|
|
1345
|
-
"declarations": [
|
|
1346
|
-
{
|
|
1347
|
-
"fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
|
|
1348
|
-
"name": "ChatSuggestionsProps"
|
|
1349
|
-
}
|
|
1350
|
-
],
|
|
1351
|
-
"required": false,
|
|
1352
|
-
"type": {
|
|
1353
|
-
"name": "string"
|
|
1354
|
-
}
|
|
1355
|
-
},
|
|
1356
|
-
"onSuggestionClick": {
|
|
1357
|
-
"defaultValue": null,
|
|
1358
|
-
"description": "Callback when a suggestion is clicked.",
|
|
1359
|
-
"name": "onSuggestionClick",
|
|
1360
|
-
"parent": {
|
|
1361
|
-
"fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
|
|
1362
|
-
"name": "ChatSuggestionsProps"
|
|
1363
|
-
},
|
|
1364
|
-
"declarations": [
|
|
1365
|
-
{
|
|
1366
|
-
"fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
|
|
1367
|
-
"name": "ChatSuggestionsProps"
|
|
1368
|
-
}
|
|
1369
|
-
],
|
|
1370
|
-
"required": false,
|
|
1371
|
-
"type": {
|
|
1372
|
-
"name": "(suggestion: string) => void"
|
|
1373
|
-
}
|
|
1374
|
-
},
|
|
1375
|
-
"children": {
|
|
1376
|
-
"defaultValue": null,
|
|
1377
|
-
"description": "Custom render function for each suggestion item.\nReceives the suggestion data and onClick handler.",
|
|
1378
|
-
"name": "children",
|
|
1379
|
-
"parent": {
|
|
1380
|
-
"fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
|
|
1381
|
-
"name": "ChatSuggestionsProps"
|
|
1382
|
-
},
|
|
1383
|
-
"declarations": [
|
|
1384
|
-
{
|
|
1385
|
-
"fileName": "src/ChatSuggestions/ChatSuggestions.tsx",
|
|
1386
|
-
"name": "ChatSuggestionsProps"
|
|
1387
|
-
}
|
|
1388
|
-
],
|
|
1389
|
-
"required": false,
|
|
1390
|
-
"type": {
|
|
1391
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
1392
|
-
}
|
|
1393
|
-
}
|
|
1394
|
-
}
|
|
1395
|
-
},
|
|
1396
|
-
{
|
|
1397
|
-
"tags": {},
|
|
1398
|
-
"filePath": "src/ComponentCatalog/ComponentError.tsx",
|
|
1399
|
-
"description": "",
|
|
1400
|
-
"displayName": "ComponentError",
|
|
1401
|
-
"methods": [],
|
|
1402
|
-
"props": {
|
|
1403
|
-
"variant": {
|
|
1404
|
-
"defaultValue": {
|
|
1405
|
-
"value": "error"
|
|
1406
|
-
},
|
|
1407
|
-
"description": "The visual style variant of the error display.\nDefaults to 'error'.",
|
|
1408
|
-
"name": "variant",
|
|
1409
|
-
"parent": {
|
|
1410
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
1411
|
-
"name": "ComponentErrorProps"
|
|
1412
|
-
},
|
|
1413
|
-
"declarations": [
|
|
1414
|
-
{
|
|
1415
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
1416
|
-
"name": "ComponentErrorProps"
|
|
1417
|
-
}
|
|
1418
|
-
],
|
|
1419
|
-
"required": false,
|
|
1420
|
-
"type": {
|
|
1421
|
-
"name": "\"error\" | \"warning\""
|
|
1422
|
-
}
|
|
1423
|
-
},
|
|
1424
|
-
"title": {
|
|
1425
|
-
"defaultValue": null,
|
|
1426
|
-
"description": "The heading text displayed at the top of the error.",
|
|
1427
|
-
"name": "title",
|
|
1428
|
-
"parent": {
|
|
1429
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
1430
|
-
"name": "ComponentErrorProps"
|
|
1431
|
-
},
|
|
1432
|
-
"declarations": [
|
|
1433
|
-
{
|
|
1434
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
1435
|
-
"name": "ComponentErrorProps"
|
|
1436
|
-
}
|
|
1437
|
-
],
|
|
1438
|
-
"required": false,
|
|
1439
|
-
"type": {
|
|
1440
|
-
"name": "string"
|
|
1441
|
-
}
|
|
1442
|
-
},
|
|
1443
|
-
"message": {
|
|
1444
|
-
"defaultValue": null,
|
|
1445
|
-
"description": "The descriptive message explaining the error or warning.",
|
|
1446
|
-
"name": "message",
|
|
1447
|
-
"parent": {
|
|
1448
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
1449
|
-
"name": "ComponentErrorProps"
|
|
1450
|
-
},
|
|
1451
|
-
"declarations": [
|
|
1452
|
-
{
|
|
1453
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
1454
|
-
"name": "ComponentErrorProps"
|
|
1455
|
-
}
|
|
1456
|
-
],
|
|
1457
|
-
"required": false,
|
|
1458
|
-
"type": {
|
|
1459
|
-
"name": "string"
|
|
1460
|
-
}
|
|
1461
|
-
},
|
|
1462
|
-
"code": {
|
|
1463
|
-
"defaultValue": null,
|
|
1464
|
-
"description": "The raw code or data that caused the error, displayed in a code block.",
|
|
1465
|
-
"name": "code",
|
|
1466
|
-
"parent": {
|
|
1467
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
1468
|
-
"name": "ComponentErrorProps"
|
|
1469
|
-
},
|
|
1470
|
-
"declarations": [
|
|
1471
|
-
{
|
|
1472
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
1473
|
-
"name": "ComponentErrorProps"
|
|
1474
|
-
}
|
|
1475
|
-
],
|
|
1476
|
-
"required": false,
|
|
1477
|
-
"type": {
|
|
1478
|
-
"name": "string"
|
|
1479
|
-
}
|
|
1480
|
-
}
|
|
1481
|
-
}
|
|
1482
|
-
},
|
|
1483
|
-
{
|
|
1484
|
-
"tags": {},
|
|
1485
|
-
"filePath": "src/ComponentCatalog/ComponentPre.tsx",
|
|
1486
|
-
"description": "Creates a `pre` component override for react-markdown that intercepts\nfenced code blocks with the configured language tag and renders them\nvia the ComponentRenderer.\n\nChecks for a `language-{tag}` className on the nested `<code>` element\nand, if matched, extracts the text content and hands it off to the\nrenderer.\n\nAny non-matching `<pre>` blocks are passed through as-is.",
|
|
1487
|
-
"displayName": "createComponentPre",
|
|
1488
|
-
"methods": [],
|
|
1489
|
-
"props": {}
|
|
1490
|
-
},
|
|
1491
|
-
{
|
|
1492
|
-
"tags": {},
|
|
1493
|
-
"filePath": "src/ComponentCatalog/ComponentRenderer.tsx",
|
|
1494
|
-
"description": "",
|
|
1495
|
-
"displayName": "ComponentRenderer",
|
|
1496
|
-
"methods": [],
|
|
1497
|
-
"props": {
|
|
1498
|
-
"raw": {
|
|
1499
|
-
"defaultValue": null,
|
|
1500
|
-
"description": "The raw JSON string from the ```component code block.",
|
|
1501
|
-
"name": "raw",
|
|
1502
|
-
"parent": {
|
|
1503
|
-
"fileName": "src/ComponentCatalog/ComponentRenderer.tsx",
|
|
1504
|
-
"name": "ComponentRendererProps"
|
|
1505
|
-
},
|
|
1506
|
-
"declarations": [
|
|
1507
|
-
{
|
|
1508
|
-
"fileName": "src/ComponentCatalog/ComponentRenderer.tsx",
|
|
1509
|
-
"name": "ComponentRendererProps"
|
|
1510
|
-
}
|
|
1511
|
-
],
|
|
1512
|
-
"required": true,
|
|
1513
|
-
"type": {
|
|
1514
|
-
"name": "string"
|
|
1515
|
-
}
|
|
1516
|
-
},
|
|
1517
|
-
"definitions": {
|
|
1518
|
-
"defaultValue": null,
|
|
1519
|
-
"description": "The component definitions from the catalog.",
|
|
1520
|
-
"name": "definitions",
|
|
1521
|
-
"parent": {
|
|
1522
|
-
"fileName": "src/ComponentCatalog/ComponentRenderer.tsx",
|
|
1523
|
-
"name": "ComponentRendererProps"
|
|
1524
|
-
},
|
|
1525
|
-
"declarations": [
|
|
1526
|
-
{
|
|
1527
|
-
"fileName": "src/ComponentCatalog/ComponentRenderer.tsx",
|
|
1528
|
-
"name": "ComponentRendererProps"
|
|
1529
|
-
}
|
|
1530
|
-
],
|
|
1531
|
-
"required": true,
|
|
1532
|
-
"type": {
|
|
1533
|
-
"name": "ComponentDefinitions"
|
|
1534
|
-
}
|
|
1535
|
-
},
|
|
1536
|
-
"options": {
|
|
1537
|
-
"defaultValue": null,
|
|
1538
|
-
"description": "Optional catalog options (for onError callback).",
|
|
1539
|
-
"name": "options",
|
|
1540
|
-
"parent": {
|
|
1541
|
-
"fileName": "src/ComponentCatalog/ComponentRenderer.tsx",
|
|
1542
|
-
"name": "ComponentRendererProps"
|
|
1543
|
-
},
|
|
1544
|
-
"declarations": [
|
|
1545
|
-
{
|
|
1546
|
-
"fileName": "src/ComponentCatalog/ComponentRenderer.tsx",
|
|
1547
|
-
"name": "ComponentRendererProps"
|
|
1548
|
-
}
|
|
1549
|
-
],
|
|
1550
|
-
"required": false,
|
|
1551
|
-
"type": {
|
|
1552
|
-
"name": "ComponentCatalogOptions"
|
|
1553
|
-
}
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
},
|
|
1557
|
-
{
|
|
1558
|
-
"tags": {
|
|
1559
|
-
"example": "```tsx\nimport { componentCatalog, createChartComponentDef } from 'reachat';\n\nconst catalog = componentCatalog({\n Chart: createChartComponentDef(),\n // ... other components\n});\n```\n\nThe LLM can then output:\n```component\n{\n \"type\": \"Chart\",\n \"props\": {\n \"type\": \"bar\",\n \"data\": [{ \"key\": \"A\", \"data\": 10 }, { \"key\": \"B\", \"data\": 20 }],\n \"title\": \"My Chart\"\n }\n}\n```"
|
|
1560
|
-
},
|
|
1561
|
-
"filePath": "src/ComponentCatalog/chartComponentDef.tsx",
|
|
1562
|
-
"description": "Wraps `ChartRenderer` as a component definition so charts can\nbe registered in a `componentCatalog()`.\n\nThe adapter renders a `ChartRenderer` internally using the same\nconfig-based API, with reaviz as the underlying chart library.\n\nBecause reaviz is an optional peer dependency, this adapter is\nfully tree-shakeable — it only loads reaviz code when imported.\n\nBoth `zod` and `reaviz` are required when this helper is used.",
|
|
1563
|
-
"displayName": "createChartComponentDef",
|
|
1564
|
-
"methods": [],
|
|
1565
|
-
"props": {}
|
|
1566
|
-
},
|
|
1567
|
-
{
|
|
1568
|
-
"tags": {},
|
|
1569
|
-
"filePath": "src/Markdown/CodeHighlighter.tsx",
|
|
1570
|
-
"description": "",
|
|
1571
|
-
"displayName": "CodeHighlighter",
|
|
1572
|
-
"methods": [],
|
|
1573
|
-
"props": {
|
|
1574
|
-
"className": {
|
|
1575
|
-
"defaultValue": null,
|
|
1576
|
-
"description": "The class name to apply to the code block.",
|
|
1577
|
-
"name": "className",
|
|
1578
|
-
"parent": {
|
|
1579
|
-
"fileName": "src/Markdown/CodeHighlighter.tsx",
|
|
1580
|
-
"name": "CodeHighlighterProps"
|
|
1581
|
-
},
|
|
1582
|
-
"declarations": [
|
|
1583
|
-
{
|
|
1584
|
-
"fileName": "src/Markdown/CodeHighlighter.tsx",
|
|
1585
|
-
"name": "CodeHighlighterProps"
|
|
1586
|
-
}
|
|
1587
|
-
],
|
|
1588
|
-
"required": false,
|
|
1589
|
-
"type": {
|
|
1590
|
-
"name": "string"
|
|
1591
|
-
}
|
|
1592
|
-
},
|
|
1593
|
-
"inlineClassName": {
|
|
1594
|
-
"defaultValue": null,
|
|
1595
|
-
"description": "The class name to apply to the inline code.",
|
|
1596
|
-
"name": "inlineClassName",
|
|
1597
|
-
"parent": {
|
|
1598
|
-
"fileName": "src/Markdown/CodeHighlighter.tsx",
|
|
1599
|
-
"name": "CodeHighlighterProps"
|
|
1600
|
-
},
|
|
1601
|
-
"declarations": [
|
|
1602
|
-
{
|
|
1603
|
-
"fileName": "src/Markdown/CodeHighlighter.tsx",
|
|
1604
|
-
"name": "CodeHighlighterProps"
|
|
1605
|
-
}
|
|
1606
|
-
],
|
|
1607
|
-
"required": false,
|
|
1608
|
-
"type": {
|
|
1609
|
-
"name": "string"
|
|
1610
|
-
}
|
|
1611
|
-
},
|
|
1612
|
-
"language": {
|
|
1613
|
-
"defaultValue": null,
|
|
1614
|
-
"description": "The language of the code block.",
|
|
1615
|
-
"name": "language",
|
|
1616
|
-
"parent": {
|
|
1617
|
-
"fileName": "src/Markdown/CodeHighlighter.tsx",
|
|
1618
|
-
"name": "CodeHighlighterProps"
|
|
1619
|
-
},
|
|
1620
|
-
"declarations": [
|
|
1621
|
-
{
|
|
1622
|
-
"fileName": "src/Markdown/CodeHighlighter.tsx",
|
|
1623
|
-
"name": "CodeHighlighterProps"
|
|
1624
|
-
}
|
|
1625
|
-
],
|
|
1626
|
-
"required": false,
|
|
1627
|
-
"type": {
|
|
1628
|
-
"name": "string"
|
|
1629
|
-
}
|
|
1630
|
-
},
|
|
1631
|
-
"copyClassName": {
|
|
1632
|
-
"defaultValue": null,
|
|
1633
|
-
"description": "The class name to apply to the copy button.",
|
|
1634
|
-
"name": "copyClassName",
|
|
1635
|
-
"parent": {
|
|
1636
|
-
"fileName": "src/Markdown/CodeHighlighter.tsx",
|
|
1637
|
-
"name": "CodeHighlighterProps"
|
|
1638
|
-
},
|
|
1639
|
-
"declarations": [
|
|
1640
|
-
{
|
|
1641
|
-
"fileName": "src/Markdown/CodeHighlighter.tsx",
|
|
1642
|
-
"name": "CodeHighlighterProps"
|
|
1643
|
-
}
|
|
1644
|
-
],
|
|
1645
|
-
"required": false,
|
|
1646
|
-
"type": {
|
|
1647
|
-
"name": "string"
|
|
1648
|
-
}
|
|
1649
|
-
},
|
|
1650
|
-
"toolbarClassName": {
|
|
1651
|
-
"defaultValue": null,
|
|
1652
|
-
"description": "The class name to apply to the toolbar.",
|
|
1653
|
-
"name": "toolbarClassName",
|
|
1654
|
-
"parent": {
|
|
1655
|
-
"fileName": "src/Markdown/CodeHighlighter.tsx",
|
|
1656
|
-
"name": "CodeHighlighterProps"
|
|
1657
|
-
},
|
|
1658
|
-
"declarations": [
|
|
1659
|
-
{
|
|
1660
|
-
"fileName": "src/Markdown/CodeHighlighter.tsx",
|
|
1661
|
-
"name": "CodeHighlighterProps"
|
|
1662
|
-
}
|
|
1663
|
-
],
|
|
1664
|
-
"required": false,
|
|
1665
|
-
"type": {
|
|
1666
|
-
"name": "string"
|
|
1667
|
-
}
|
|
1668
|
-
},
|
|
1669
|
-
"copyIcon": {
|
|
1670
|
-
"defaultValue": {
|
|
1671
|
-
"value": "<CopyIcon />"
|
|
1672
|
-
},
|
|
1673
|
-
"description": "Icon to show for copy.",
|
|
1674
|
-
"name": "copyIcon",
|
|
1675
|
-
"parent": {
|
|
1676
|
-
"fileName": "src/Markdown/CodeHighlighter.tsx",
|
|
1677
|
-
"name": "CodeHighlighterProps"
|
|
1678
|
-
},
|
|
1679
|
-
"declarations": [
|
|
1680
|
-
{
|
|
1681
|
-
"fileName": "src/Markdown/CodeHighlighter.tsx",
|
|
1682
|
-
"name": "CodeHighlighterProps"
|
|
1683
|
-
}
|
|
1684
|
-
],
|
|
1685
|
-
"required": false,
|
|
1686
|
-
"type": {
|
|
1687
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
1688
|
-
}
|
|
1689
|
-
},
|
|
1690
|
-
"theme": {
|
|
1691
|
-
"defaultValue": {
|
|
1692
|
-
"value": "{\n 'code[class*=\"language-\"]': {\n 'background': '#11111f',\n 'color': '#e2e8f0',\n 'textShadow': '0 1px rgba(0, 0, 0, 0.3)',\n 'fontFamily': '\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace',\n 'direction': 'ltr',\n 'textAlign': 'left',\n 'whiteSpace': 'pre',\n 'wordSpacing': 'normal',\n 'wordBreak': 'normal',\n 'lineHeight': '1.5',\n 'MozTabSize': '2',\n 'OTabSize': '2',\n 'tabSize': '2',\n 'WebkitHyphens': 'none',\n 'MozHyphens': 'none',\n 'msHyphens': 'none',\n 'hyphens': 'none'\n },\n 'pre[class*=\"language-\"]': {\n 'background': '#11111f',\n 'color': '#e2e8f0',\n 'textShadow': '0 1px rgba(0, 0, 0, 0.3)',\n 'fontFamily': '\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace',\n 'direction': 'ltr',\n 'textAlign': 'left',\n 'whiteSpace': 'pre',\n 'wordSpacing': 'normal',\n 'wordBreak': 'normal',\n 'lineHeight': '1.5',\n 'MozTabSize': '2',\n 'OTabSize': '2',\n 'tabSize': '2',\n 'WebkitHyphens': 'none',\n 'MozHyphens': 'none',\n 'msHyphens': 'none',\n 'hyphens': 'none',\n 'padding': '1em',\n 'margin': '0',\n 'overflow': 'auto'\n },\n 'code[class*=\"language-\"]::-moz-selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'code[class*=\"language-\"] *::-moz-selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'pre[class*=\"language-\"] *::-moz-selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'code[class*=\"language-\"]::selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'code[class*=\"language-\"] *::selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'pre[class*=\"language-\"] *::selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n ':not(pre) > code[class*=\"language-\"]': {\n 'padding': '0.2em 0.3em',\n 'borderRadius': '0.3em',\n 'whiteSpace': 'normal'\n },\n 'comment': {\n 'color': '#64748b',\n 'fontStyle': 'italic'\n },\n 'prolog': {\n 'color': '#64748b'\n },\n 'cdata': {\n 'color': '#64748b'\n },\n 'doctype': {\n 'color': '#e2e8f0'\n },\n 'punctuation': {\n 'color': '#e2e8f0'\n },\n 'entity': {\n 'color': '#3b82f6',\n 'cursor': 'help'\n },\n 'attr-name': {\n 'color': '#f59e0b'\n },\n 'class-name': {\n 'color': '#f59e0b'\n },\n 'boolean': {\n 'color': '#3b82f6'\n },\n 'constant': {\n 'color': '#3b82f6'\n },\n 'number': {\n 'color': '#3b82f6'\n },\n 'atrule': {\n 'color': '#f59e0b'\n },\n 'keyword': {\n 'color': '#f472b6'\n },\n 'property': {\n 'color': '#3b82f6'\n },\n 'tag': {\n 'color': '#3b82f6'\n },\n 'symbol': {\n 'color': '#3b82f6'\n },\n 'deleted': {\n 'color': '#ef4444'\n },\n 'important': {\n 'color': '#f472b6'\n },\n 'selector': {\n 'color': '#10b981'\n },\n 'string': {\n 'color': '#10b981'\n },\n 'char': {\n 'color': '#10b981'\n },\n 'builtin': {\n 'color': '#10b981'\n },\n 'inserted': {\n 'color': '#10b981'\n },\n 'regex': {\n 'color': '#10b981'\n },\n 'attr-value': {\n 'color': '#10b981'\n },\n 'attr-value > .token.punctuation': {\n 'color': '#10b981'\n },\n 'variable': {\n 'color': '#60a5fa'\n },\n 'operator': {\n 'color': '#60a5fa'\n },\n 'function': {\n 'color': '#60a5fa'\n },\n 'url': {\n 'color': '#60a5fa'\n },\n 'attr-value > .token.punctuation.attr-equals': {\n 'color': '#e2e8f0'\n },\n 'special-attr > .token.attr-value > .token.value.css': {\n 'color': '#e2e8f0'\n },\n '.language-css .token.selector': {\n 'color': '#3b82f6'\n },\n '.language-css .token.property': {\n 'color': '#e2e8f0'\n },\n '.language-css .token.function': {\n 'color': '#60a5fa'\n },\n '.language-css .token.url > .token.function': {\n 'color': '#60a5fa'\n },\n '.language-css .token.url > .token.string.url': {\n 'color': '#10b981'\n },\n '.language-css .token.important': {\n 'color': '#f472b6'\n },\n '.language-css .token.atrule .token.rule': {\n 'color': '#f472b6'\n },\n '.language-javascript .token.operator': {\n 'color': '#f472b6'\n },\n '.language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation': {\n 'color': '#ef4444'\n },\n '.language-json .token.operator': {\n 'color': '#e2e8f0'\n },\n '.language-json .token.null.keyword': {\n 'color': '#3b82f6'\n },\n '.language-markdown .token.url': {\n 'color': '#e2e8f0'\n },\n '.language-markdown .token.url > .token.operator': {\n 'color': '#e2e8f0'\n },\n '.language-markdown .token.url-reference.url > .token.string': {\n 'color': '#e2e8f0'\n },\n '.language-markdown .token.url > .token.content': {\n 'color': '#60a5fa'\n },\n '.language-markdown .token.url > .token.url': {\n 'color': '#60a5fa'\n },\n '.language-markdown .token.url-reference.url': {\n 'color': '#60a5fa'\n },\n '.language-markdown .token.blockquote.punctuation': {\n 'color': '#64748b',\n 'fontStyle': 'italic'\n },\n '.language-markdown .token.hr.punctuation': {\n 'color': '#64748b',\n 'fontStyle': 'italic'\n },\n '.language-markdown .token.code-snippet': {\n 'color': '#10b981'\n },\n '.language-markdown .token.bold .token.content': {\n 'color': '#f59e0b'\n },\n '.language-markdown .token.italic .token.content': {\n 'color': '#f472b6'\n },\n '.language-markdown .token.strike .token.content': {\n 'color': '#3b82f6'\n },\n '.language-markdown .token.strike .token.punctuation': {\n 'color': '#3b82f6'\n },\n '.language-markdown .token.list.punctuation': {\n 'color': '#3b82f6'\n },\n '.language-markdown .token.title.important > .token.punctuation': {\n 'color': '#3b82f6'\n },\n 'bold': {\n 'fontWeight': 'bold'\n },\n 'italic': {\n 'fontStyle': 'italic'\n },\n 'namespace': {\n 'Opacity': '0.8'\n },\n 'token.tab:not(:empty):before': {\n 'color': '#64748b',\n 'textShadow': 'none'\n },\n 'token.cr:before': {\n 'color': '#64748b',\n 'textShadow': 'none'\n },\n 'token.lf:before': {\n 'color': '#64748b',\n 'textShadow': 'none'\n },\n 'token.space:before': {\n 'color': '#64748b',\n 'textShadow': 'none'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item': {\n 'marginRight': '0.4em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button': {\n 'background': '#1e293b',\n 'color': '#94a3b8',\n 'padding': '0.1em 0.4em',\n 'borderRadius': '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a': {\n 'background': '#1e293b',\n 'color': '#94a3b8',\n 'padding': '0.1em 0.4em',\n 'borderRadius': '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span': {\n 'background': '#1e293b',\n 'color': '#94a3b8',\n 'padding': '0.1em 0.4em',\n 'borderRadius': '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n '.line-highlight.line-highlight': {\n 'background': 'rgba(59, 130, 246, 0.08)'\n },\n '.line-highlight.line-highlight:before': {\n 'background': '#1e293b',\n 'color': '#e2e8f0',\n 'padding': '0.1em 0.6em',\n 'borderRadius': '0.3em',\n 'boxShadow': '0 2px 0 0 rgba(0, 0, 0, 0.2)'\n },\n '.line-highlight.line-highlight[data-end]:after': {\n 'background': '#1e293b',\n 'color': '#e2e8f0',\n 'padding': '0.1em 0.6em',\n 'borderRadius': '0.3em',\n 'boxShadow': '0 2px 0 0 rgba(0, 0, 0, 0.2)'\n },\n 'pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before': {\n 'backgroundColor': 'rgba(59, 130, 246, 0.08)'\n },\n '.line-numbers.line-numbers .line-numbers-rows': {\n 'borderRightColor': '#1e293b'\n },\n '.command-line .command-line-prompt': {\n 'borderRightColor': '#1e293b'\n },\n '.line-numbers .line-numbers-rows > span:before': {\n 'color': '#64748b'\n },\n '.command-line .command-line-prompt > span:before': {\n 'color': '#64748b'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-1': {\n 'color': '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-5': {\n 'color': '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-9': {\n 'color': '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-2': {\n 'color': '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-6': {\n 'color': '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-10': {\n 'color': '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-3': {\n 'color': '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-7': {\n 'color': '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-11': {\n 'color': '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-4': {\n 'color': '#f472b6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-8': {\n 'color': '#f472b6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-12': {\n 'color': '#f472b6'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.15)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.15)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.15)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.15)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n '.prism-previewer.prism-previewer:before': {\n 'borderColor': '#11111f'\n },\n '.prism-previewer-gradient.prism-previewer-gradient div': {\n 'borderColor': '#11111f',\n 'borderRadius': '0.3em'\n },\n '.prism-previewer-color.prism-previewer-color:before': {\n 'borderRadius': '0.3em'\n },\n '.prism-previewer-easing.prism-previewer-easing:before': {\n 'borderRadius': '0.3em'\n },\n '.prism-previewer.prism-previewer:after': {\n 'borderTopColor': '#11111f'\n },\n '.prism-previewer-flipped.prism-previewer-flipped.after': {\n 'borderBottomColor': '#11111f'\n },\n '.prism-previewer-angle.prism-previewer-angle:before': {\n 'background': '#1e293b'\n },\n '.prism-previewer-time.prism-previewer-time:before': {\n 'background': '#1e293b'\n },\n '.prism-previewer-easing.prism-previewer-easing': {\n 'background': '#1e293b'\n },\n '.prism-previewer-angle.prism-previewer-angle circle': {\n 'stroke': '#e2e8f0',\n 'strokeOpacity': '1'\n },\n '.prism-previewer-time.prism-previewer-time circle': {\n 'stroke': '#e2e8f0',\n 'strokeOpacity': '1'\n },\n '.prism-previewer-easing.prism-previewer-easing circle': {\n 'stroke': '#e2e8f0',\n 'fill': 'transparent'\n },\n '.prism-previewer-easing.prism-previewer-easing path': {\n 'stroke': '#e2e8f0'\n },\n '.prism-previewer-easing.prism-previewer-easing line': {\n 'stroke': '#e2e8f0'\n }\n}"
|
|
1693
|
-
},
|
|
1694
|
-
"description": "The theme to use for the code block.",
|
|
1695
|
-
"name": "theme",
|
|
1696
|
-
"parent": {
|
|
1697
|
-
"fileName": "src/Markdown/CodeHighlighter.tsx",
|
|
1698
|
-
"name": "CodeHighlighterProps"
|
|
1699
|
-
},
|
|
1700
|
-
"declarations": [
|
|
1701
|
-
{
|
|
1702
|
-
"fileName": "src/Markdown/CodeHighlighter.tsx",
|
|
1703
|
-
"name": "CodeHighlighterProps"
|
|
1704
|
-
}
|
|
1705
|
-
],
|
|
1706
|
-
"required": false,
|
|
1707
|
-
"type": {
|
|
1708
|
-
"name": "Record<string, string>"
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
}
|
|
1712
|
-
},
|
|
1713
|
-
{
|
|
1714
|
-
"tags": {},
|
|
1715
|
-
"filePath": "src/Markdown/Markdown.tsx",
|
|
1716
|
-
"description": "",
|
|
1717
|
-
"displayName": "Markdown",
|
|
1718
|
-
"methods": [],
|
|
1719
|
-
"props": {
|
|
1720
|
-
"remarkPlugins": {
|
|
1721
|
-
"defaultValue": null,
|
|
1722
|
-
"description": "Remark plugins to apply to the markdown content.",
|
|
1723
|
-
"name": "remarkPlugins",
|
|
1724
|
-
"parent": {
|
|
1725
|
-
"fileName": "src/Markdown/Markdown.tsx",
|
|
1726
|
-
"name": "MarkdownWrapperProps"
|
|
1727
|
-
},
|
|
1728
|
-
"declarations": [
|
|
1729
|
-
{
|
|
1730
|
-
"fileName": "src/Markdown/Markdown.tsx",
|
|
1731
|
-
"name": "MarkdownWrapperProps"
|
|
1732
|
-
}
|
|
1733
|
-
],
|
|
1734
|
-
"required": false,
|
|
1735
|
-
"type": {
|
|
1736
|
-
"name": "Plugin[]"
|
|
1737
|
-
}
|
|
1738
|
-
},
|
|
1739
|
-
"rehypePlugins": {
|
|
1740
|
-
"defaultValue": {
|
|
1741
|
-
"value": "[rehypeRaw, rehypeKatex]"
|
|
1742
|
-
},
|
|
1743
|
-
"description": "Rehype plugins to apply to the markdown content.",
|
|
1744
|
-
"name": "rehypePlugins",
|
|
1745
|
-
"parent": {
|
|
1746
|
-
"fileName": "src/Markdown/Markdown.tsx",
|
|
1747
|
-
"name": "MarkdownWrapperProps"
|
|
1748
|
-
},
|
|
1749
|
-
"declarations": [
|
|
1750
|
-
{
|
|
1751
|
-
"fileName": "src/Markdown/Markdown.tsx",
|
|
1752
|
-
"name": "MarkdownWrapperProps"
|
|
1753
|
-
}
|
|
1754
|
-
],
|
|
1755
|
-
"required": false,
|
|
1756
|
-
"type": {
|
|
1757
|
-
"name": "Plugin[]"
|
|
1758
|
-
}
|
|
1759
|
-
},
|
|
1760
|
-
"theme": {
|
|
1761
|
-
"defaultValue": null,
|
|
1762
|
-
"description": "Theme to apply to the markdown content.",
|
|
1763
|
-
"name": "theme",
|
|
1764
|
-
"parent": {
|
|
1765
|
-
"fileName": "src/Markdown/Markdown.tsx",
|
|
1766
|
-
"name": "MarkdownWrapperProps"
|
|
1767
|
-
},
|
|
1768
|
-
"declarations": [
|
|
1769
|
-
{
|
|
1770
|
-
"fileName": "src/Markdown/Markdown.tsx",
|
|
1771
|
-
"name": "MarkdownWrapperProps"
|
|
1772
|
-
}
|
|
1773
|
-
],
|
|
1774
|
-
"required": false,
|
|
1775
|
-
"type": {
|
|
1776
|
-
"name": "ChatTheme"
|
|
1777
|
-
}
|
|
1778
|
-
},
|
|
1779
|
-
"customComponents": {
|
|
1780
|
-
"defaultValue": null,
|
|
1781
|
-
"description": "Custom components to override default markdown rendering.\nThese will be merged with the default components.",
|
|
1782
|
-
"name": "customComponents",
|
|
1783
|
-
"parent": {
|
|
1784
|
-
"fileName": "src/Markdown/Markdown.tsx",
|
|
1785
|
-
"name": "MarkdownWrapperProps"
|
|
1786
|
-
},
|
|
1787
|
-
"declarations": [
|
|
1788
|
-
{
|
|
1789
|
-
"fileName": "src/Markdown/Markdown.tsx",
|
|
1790
|
-
"name": "MarkdownWrapperProps"
|
|
1791
|
-
}
|
|
1792
|
-
],
|
|
1793
|
-
"required": false,
|
|
1794
|
-
"type": {
|
|
1795
|
-
"name": "Components"
|
|
1796
|
-
}
|
|
1797
|
-
}
|
|
1798
|
-
}
|
|
1799
|
-
},
|
|
1800
|
-
{
|
|
1801
|
-
"tags": {},
|
|
1802
|
-
"filePath": "src/Markdown/Table.tsx",
|
|
1803
|
-
"description": "",
|
|
1804
|
-
"displayName": "TableComponent",
|
|
1805
|
-
"methods": [],
|
|
1806
|
-
"props": {}
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
"tags": {},
|
|
1810
|
-
"filePath": "src/Markdown/Table.tsx",
|
|
1811
|
-
"description": "",
|
|
1812
|
-
"displayName": "TableHeaderCell",
|
|
1813
|
-
"methods": [],
|
|
1814
|
-
"props": {}
|
|
1815
|
-
},
|
|
1816
|
-
{
|
|
1817
|
-
"tags": {},
|
|
1818
|
-
"filePath": "src/Markdown/Table.tsx",
|
|
1819
|
-
"description": "",
|
|
1820
|
-
"displayName": "TableDataCell",
|
|
1821
|
-
"methods": [],
|
|
1822
|
-
"props": {}
|
|
1823
|
-
},
|
|
1824
|
-
{
|
|
1825
|
-
"tags": {},
|
|
1826
|
-
"filePath": "src/MessageStatus/MessageStatus.tsx",
|
|
1827
|
-
"description": "Displays status information with optional sub-steps, similar to Claude's tool status UI.",
|
|
1828
|
-
"displayName": "MessageStatus",
|
|
1829
|
-
"methods": [],
|
|
1830
|
-
"props": {
|
|
1831
|
-
"status": {
|
|
1832
|
-
"defaultValue": {
|
|
1833
|
-
"value": "loading"
|
|
1834
|
-
},
|
|
1835
|
-
"description": "Current status state.",
|
|
1836
|
-
"name": "status",
|
|
1837
|
-
"parent": {
|
|
1838
|
-
"fileName": "src/MessageStatus/MessageStatus.tsx",
|
|
1839
|
-
"name": "MessageStatusProps"
|
|
1840
|
-
},
|
|
1841
|
-
"declarations": [
|
|
1842
|
-
{
|
|
1843
|
-
"fileName": "src/MessageStatus/MessageStatus.tsx",
|
|
1844
|
-
"name": "MessageStatusProps"
|
|
1845
|
-
}
|
|
1846
|
-
],
|
|
1847
|
-
"required": false,
|
|
1848
|
-
"type": {
|
|
1849
|
-
"name": "MessageStatusState"
|
|
1850
|
-
}
|
|
1851
|
-
},
|
|
1852
|
-
"text": {
|
|
1853
|
-
"defaultValue": null,
|
|
1854
|
-
"description": "Main status text to display.",
|
|
1855
|
-
"name": "text",
|
|
1856
|
-
"parent": {
|
|
1857
|
-
"fileName": "src/MessageStatus/MessageStatus.tsx",
|
|
1858
|
-
"name": "MessageStatusProps"
|
|
1859
|
-
},
|
|
1860
|
-
"declarations": [
|
|
1861
|
-
{
|
|
1862
|
-
"fileName": "src/MessageStatus/MessageStatus.tsx",
|
|
1863
|
-
"name": "MessageStatusProps"
|
|
1864
|
-
}
|
|
1865
|
-
],
|
|
1866
|
-
"required": true,
|
|
1867
|
-
"type": {
|
|
1868
|
-
"name": "string"
|
|
1869
|
-
}
|
|
1870
|
-
},
|
|
1871
|
-
"steps": {
|
|
1872
|
-
"defaultValue": null,
|
|
1873
|
-
"description": "Optional sub-steps to display.",
|
|
1874
|
-
"name": "steps",
|
|
1875
|
-
"parent": {
|
|
1876
|
-
"fileName": "src/MessageStatus/MessageStatus.tsx",
|
|
1877
|
-
"name": "MessageStatusProps"
|
|
1878
|
-
},
|
|
1879
|
-
"declarations": [
|
|
1880
|
-
{
|
|
1881
|
-
"fileName": "src/MessageStatus/MessageStatus.tsx",
|
|
1882
|
-
"name": "MessageStatusProps"
|
|
1883
|
-
}
|
|
1884
|
-
],
|
|
1885
|
-
"required": false,
|
|
1886
|
-
"type": {
|
|
1887
|
-
"name": "MessageStatusStep[]"
|
|
1888
|
-
}
|
|
1889
|
-
},
|
|
1890
|
-
"icon": {
|
|
1891
|
-
"defaultValue": null,
|
|
1892
|
-
"description": "Custom icon to display. If not provided, uses default icons based on status.",
|
|
1893
|
-
"name": "icon",
|
|
1894
|
-
"parent": {
|
|
1895
|
-
"fileName": "src/MessageStatus/MessageStatus.tsx",
|
|
1896
|
-
"name": "MessageStatusProps"
|
|
1897
|
-
},
|
|
1898
|
-
"declarations": [
|
|
1899
|
-
{
|
|
1900
|
-
"fileName": "src/MessageStatus/MessageStatus.tsx",
|
|
1901
|
-
"name": "MessageStatusProps"
|
|
1902
|
-
}
|
|
1903
|
-
],
|
|
1904
|
-
"required": false,
|
|
1905
|
-
"type": {
|
|
1906
|
-
"name": "ReactNode"
|
|
1907
|
-
}
|
|
1908
|
-
},
|
|
1909
|
-
"className": {
|
|
1910
|
-
"defaultValue": null,
|
|
1911
|
-
"description": "Additional CSS class name.",
|
|
1912
|
-
"name": "className",
|
|
1913
|
-
"parent": {
|
|
1914
|
-
"fileName": "src/MessageStatus/MessageStatus.tsx",
|
|
1915
|
-
"name": "MessageStatusProps"
|
|
1916
|
-
},
|
|
1917
|
-
"declarations": [
|
|
1918
|
-
{
|
|
1919
|
-
"fileName": "src/MessageStatus/MessageStatus.tsx",
|
|
1920
|
-
"name": "MessageStatusProps"
|
|
1921
|
-
}
|
|
1922
|
-
],
|
|
1923
|
-
"required": false,
|
|
1924
|
-
"type": {
|
|
1925
|
-
"name": "string"
|
|
1926
|
-
}
|
|
1927
|
-
}
|
|
1928
|
-
}
|
|
1929
|
-
},
|
|
1930
|
-
{
|
|
1931
|
-
"tags": {},
|
|
1932
|
-
"filePath": "src/MessageStatus/MessageStatusItem.tsx",
|
|
1933
|
-
"description": "",
|
|
1934
|
-
"displayName": "MessageStatusItem",
|
|
1935
|
-
"methods": [],
|
|
1936
|
-
"props": {
|
|
1937
|
-
"step": {
|
|
1938
|
-
"defaultValue": null,
|
|
1939
|
-
"description": "The step to display.",
|
|
1940
|
-
"name": "step",
|
|
1941
|
-
"parent": {
|
|
1942
|
-
"fileName": "src/MessageStatus/MessageStatusItem.tsx",
|
|
1943
|
-
"name": "MessageStatusItemProps"
|
|
1944
|
-
},
|
|
1945
|
-
"declarations": [
|
|
1946
|
-
{
|
|
1947
|
-
"fileName": "src/MessageStatus/MessageStatusItem.tsx",
|
|
1948
|
-
"name": "MessageStatusItemProps"
|
|
1949
|
-
}
|
|
1950
|
-
],
|
|
1951
|
-
"required": true,
|
|
1952
|
-
"type": {
|
|
1953
|
-
"name": "MessageStatusStep"
|
|
1954
|
-
}
|
|
1955
|
-
}
|
|
1956
|
-
}
|
|
1957
|
-
},
|
|
1958
|
-
{
|
|
1959
|
-
"tags": {},
|
|
1960
|
-
"filePath": "src/MessageStatus/StatusIcon.tsx",
|
|
1961
|
-
"description": "",
|
|
1962
|
-
"displayName": "StatusIcon",
|
|
1963
|
-
"methods": [],
|
|
1964
|
-
"props": {
|
|
1965
|
-
"state": {
|
|
1966
|
-
"defaultValue": null,
|
|
1967
|
-
"description": "Current state of the status icon.",
|
|
1968
|
-
"name": "state",
|
|
1969
|
-
"parent": {
|
|
1970
|
-
"fileName": "src/MessageStatus/StatusIcon.tsx",
|
|
1971
|
-
"name": "StatusIconProps"
|
|
1972
|
-
},
|
|
1973
|
-
"declarations": [
|
|
1974
|
-
{
|
|
1975
|
-
"fileName": "src/MessageStatus/StatusIcon.tsx",
|
|
1976
|
-
"name": "StatusIconProps"
|
|
1977
|
-
}
|
|
1978
|
-
],
|
|
1979
|
-
"required": true,
|
|
1980
|
-
"type": {
|
|
1981
|
-
"name": "MessageStatusState"
|
|
1982
|
-
}
|
|
1983
|
-
},
|
|
1984
|
-
"className": {
|
|
1985
|
-
"defaultValue": null,
|
|
1986
|
-
"description": "Additional CSS class name for the icon container.",
|
|
1987
|
-
"name": "className",
|
|
1988
|
-
"parent": {
|
|
1989
|
-
"fileName": "src/MessageStatus/StatusIcon.tsx",
|
|
1990
|
-
"name": "StatusIconProps"
|
|
1991
|
-
},
|
|
1992
|
-
"declarations": [
|
|
1993
|
-
{
|
|
1994
|
-
"fileName": "src/MessageStatus/StatusIcon.tsx",
|
|
1995
|
-
"name": "StatusIconProps"
|
|
1996
|
-
}
|
|
1997
|
-
],
|
|
1998
|
-
"required": false,
|
|
1999
|
-
"type": {
|
|
2000
|
-
"name": "string"
|
|
2001
|
-
}
|
|
2002
|
-
},
|
|
2003
|
-
"colorClassName": {
|
|
2004
|
-
"defaultValue": null,
|
|
2005
|
-
"description": "CSS class name for the icon color based on state.",
|
|
2006
|
-
"name": "colorClassName",
|
|
2007
|
-
"parent": {
|
|
2008
|
-
"fileName": "src/MessageStatus/StatusIcon.tsx",
|
|
2009
|
-
"name": "StatusIconProps"
|
|
2010
|
-
},
|
|
2011
|
-
"declarations": [
|
|
2012
|
-
{
|
|
2013
|
-
"fileName": "src/MessageStatus/StatusIcon.tsx",
|
|
2014
|
-
"name": "StatusIconProps"
|
|
2015
|
-
}
|
|
2016
|
-
],
|
|
2017
|
-
"required": false,
|
|
2018
|
-
"type": {
|
|
2019
|
-
"name": "string"
|
|
2020
|
-
}
|
|
2021
|
-
}
|
|
2022
|
-
}
|
|
2023
|
-
},
|
|
2024
|
-
{
|
|
2025
|
-
"tags": {},
|
|
2026
|
-
"filePath": "src/SessionMessages/SessionEmpty.tsx",
|
|
2027
|
-
"description": "",
|
|
2028
|
-
"displayName": "SessionEmpty",
|
|
2029
|
-
"methods": [],
|
|
2030
|
-
"props": {}
|
|
2031
|
-
},
|
|
2032
|
-
{
|
|
2033
|
-
"tags": {},
|
|
2034
|
-
"filePath": "src/SessionMessages/SessionMessagePanel.tsx",
|
|
2035
|
-
"description": "",
|
|
2036
|
-
"displayName": "SessionMessagePanel",
|
|
2037
|
-
"methods": [],
|
|
2038
|
-
"props": {
|
|
2039
|
-
"allowBack": {
|
|
2040
|
-
"defaultValue": {
|
|
2041
|
-
"value": "true"
|
|
2042
|
-
},
|
|
2043
|
-
"description": "Whether to show the back button to return to the session list in compact mode.",
|
|
2044
|
-
"name": "allowBack",
|
|
2045
|
-
"parent": {
|
|
2046
|
-
"fileName": "src/SessionMessages/SessionMessagePanel.tsx",
|
|
2047
|
-
"name": "SessionMessagePanelProps"
|
|
2048
|
-
},
|
|
2049
|
-
"declarations": [
|
|
2050
|
-
{
|
|
2051
|
-
"fileName": "src/SessionMessages/SessionMessagePanel.tsx",
|
|
2052
|
-
"name": "SessionMessagePanelProps"
|
|
2053
|
-
}
|
|
2054
|
-
],
|
|
2055
|
-
"required": false,
|
|
2056
|
-
"type": {
|
|
2057
|
-
"name": "boolean"
|
|
2058
|
-
}
|
|
2059
|
-
}
|
|
2060
|
-
}
|
|
2061
|
-
},
|
|
2062
|
-
{
|
|
2063
|
-
"tags": {},
|
|
2064
|
-
"filePath": "src/SessionMessages/SessionMessages.tsx",
|
|
2065
|
-
"description": "",
|
|
2066
|
-
"displayName": "SessionMessages",
|
|
2067
|
-
"methods": [],
|
|
2068
|
-
"props": {
|
|
2069
|
-
"className": {
|
|
2070
|
-
"defaultValue": null,
|
|
2071
|
-
"description": "Class name to apply to the root element.",
|
|
2072
|
-
"name": "className",
|
|
2073
|
-
"parent": {
|
|
2074
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2075
|
-
"name": "SessionMessagesProps"
|
|
2076
|
-
},
|
|
2077
|
-
"declarations": [
|
|
2078
|
-
{
|
|
2079
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2080
|
-
"name": "SessionMessagesProps"
|
|
2081
|
-
}
|
|
2082
|
-
],
|
|
2083
|
-
"required": false,
|
|
2084
|
-
"type": {
|
|
2085
|
-
"name": "string"
|
|
2086
|
-
}
|
|
2087
|
-
},
|
|
2088
|
-
"newSessionContent": {
|
|
2089
|
-
"defaultValue": null,
|
|
2090
|
-
"description": "Content to display when there are no sessions selected or a new session is started.",
|
|
2091
|
-
"name": "newSessionContent",
|
|
2092
|
-
"parent": {
|
|
2093
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2094
|
-
"name": "SessionMessagesProps"
|
|
2095
|
-
},
|
|
2096
|
-
"declarations": [
|
|
2097
|
-
{
|
|
2098
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2099
|
-
"name": "SessionMessagesProps"
|
|
2100
|
-
}
|
|
2101
|
-
],
|
|
2102
|
-
"required": false,
|
|
2103
|
-
"type": {
|
|
2104
|
-
"name": "ReactNode"
|
|
2105
|
-
}
|
|
2106
|
-
},
|
|
2107
|
-
"limit": {
|
|
2108
|
-
"defaultValue": {
|
|
2109
|
-
"value": "10"
|
|
2110
|
-
},
|
|
2111
|
-
"description": "Limit the number of results returned. Clientside pagination.",
|
|
2112
|
-
"name": "limit",
|
|
2113
|
-
"parent": {
|
|
2114
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2115
|
-
"name": "SessionMessagesProps"
|
|
2116
|
-
},
|
|
2117
|
-
"declarations": [
|
|
2118
|
-
{
|
|
2119
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2120
|
-
"name": "SessionMessagesProps"
|
|
2121
|
-
}
|
|
2122
|
-
],
|
|
2123
|
-
"required": false,
|
|
2124
|
-
"type": {
|
|
2125
|
-
"name": "number"
|
|
2126
|
-
}
|
|
2127
|
-
},
|
|
2128
|
-
"showMoreText": {
|
|
2129
|
-
"defaultValue": {
|
|
2130
|
-
"value": "Show more"
|
|
2131
|
-
},
|
|
2132
|
-
"description": "Text to display for the show more button.",
|
|
2133
|
-
"name": "showMoreText",
|
|
2134
|
-
"parent": {
|
|
2135
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2136
|
-
"name": "SessionMessagesProps"
|
|
2137
|
-
},
|
|
2138
|
-
"declarations": [
|
|
2139
|
-
{
|
|
2140
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2141
|
-
"name": "SessionMessagesProps"
|
|
2142
|
-
}
|
|
2143
|
-
],
|
|
2144
|
-
"required": false,
|
|
2145
|
-
"type": {
|
|
2146
|
-
"name": "string"
|
|
2147
|
-
}
|
|
2148
|
-
},
|
|
2149
|
-
"autoScroll": {
|
|
2150
|
-
"defaultValue": {
|
|
2151
|
-
"value": "true"
|
|
2152
|
-
},
|
|
2153
|
-
"description": "Whether to automatically scroll to the bottom of the content.",
|
|
2154
|
-
"name": "autoScroll",
|
|
2155
|
-
"parent": {
|
|
2156
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2157
|
-
"name": "SessionMessagesProps"
|
|
2158
|
-
},
|
|
2159
|
-
"declarations": [
|
|
2160
|
-
{
|
|
2161
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2162
|
-
"name": "SessionMessagesProps"
|
|
2163
|
-
}
|
|
2164
|
-
],
|
|
2165
|
-
"required": false,
|
|
2166
|
-
"type": {
|
|
2167
|
-
"name": "boolean"
|
|
2168
|
-
}
|
|
2169
|
-
},
|
|
2170
|
-
"showScrollBottomButton": {
|
|
2171
|
-
"defaultValue": null,
|
|
2172
|
-
"description": "Whether to display the scroll to bottom button.",
|
|
2173
|
-
"name": "showScrollBottomButton",
|
|
2174
|
-
"parent": {
|
|
2175
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2176
|
-
"name": "SessionMessagesProps"
|
|
2177
|
-
},
|
|
2178
|
-
"declarations": [
|
|
2179
|
-
{
|
|
2180
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2181
|
-
"name": "SessionMessagesProps"
|
|
2182
|
-
}
|
|
2183
|
-
],
|
|
2184
|
-
"required": false,
|
|
2185
|
-
"type": {
|
|
2186
|
-
"name": "boolean"
|
|
2187
|
-
}
|
|
2188
|
-
},
|
|
2189
|
-
"children": {
|
|
2190
|
-
"defaultValue": null,
|
|
2191
|
-
"description": "Render function for the session messages.",
|
|
2192
|
-
"name": "children",
|
|
2193
|
-
"parent": {
|
|
2194
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2195
|
-
"name": "SessionMessagesProps"
|
|
2196
|
-
},
|
|
2197
|
-
"declarations": [
|
|
2198
|
-
{
|
|
2199
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2200
|
-
"name": "SessionMessagesProps"
|
|
2201
|
-
}
|
|
2202
|
-
],
|
|
2203
|
-
"required": false,
|
|
2204
|
-
"type": {
|
|
2205
|
-
"name": "(conversations: Conversation[]) => ReactNode"
|
|
2206
|
-
}
|
|
2207
|
-
},
|
|
2208
|
-
"showLoadMoreButton": {
|
|
2209
|
-
"defaultValue": {
|
|
2210
|
-
"value": "false"
|
|
2211
|
-
},
|
|
2212
|
-
"description": "Whether to show the load more button.",
|
|
2213
|
-
"name": "showLoadMoreButton",
|
|
2214
|
-
"parent": {
|
|
2215
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2216
|
-
"name": "SessionMessagesProps"
|
|
2217
|
-
},
|
|
2218
|
-
"declarations": [
|
|
2219
|
-
{
|
|
2220
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2221
|
-
"name": "SessionMessagesProps"
|
|
2222
|
-
}
|
|
2223
|
-
],
|
|
2224
|
-
"required": false,
|
|
2225
|
-
"type": {
|
|
2226
|
-
"name": "boolean"
|
|
2227
|
-
}
|
|
2228
|
-
},
|
|
2229
|
-
"loadMoreButtonDisabled": {
|
|
2230
|
-
"defaultValue": null,
|
|
2231
|
-
"description": "Whether to disable the load more button.",
|
|
2232
|
-
"name": "loadMoreButtonDisabled",
|
|
2233
|
-
"parent": {
|
|
2234
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2235
|
-
"name": "SessionMessagesProps"
|
|
2236
|
-
},
|
|
2237
|
-
"declarations": [
|
|
2238
|
-
{
|
|
2239
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2240
|
-
"name": "SessionMessagesProps"
|
|
2241
|
-
}
|
|
2242
|
-
],
|
|
2243
|
-
"required": false,
|
|
2244
|
-
"type": {
|
|
2245
|
-
"name": "boolean"
|
|
2246
|
-
}
|
|
2247
|
-
},
|
|
2248
|
-
"onScroll": {
|
|
2249
|
-
"defaultValue": null,
|
|
2250
|
-
"description": "Scroll event handler.\n@param e",
|
|
2251
|
-
"name": "onScroll",
|
|
2252
|
-
"parent": {
|
|
2253
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2254
|
-
"name": "SessionMessagesProps"
|
|
2255
|
-
},
|
|
2256
|
-
"declarations": [
|
|
2257
|
-
{
|
|
2258
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2259
|
-
"name": "SessionMessagesProps"
|
|
2260
|
-
}
|
|
2261
|
-
],
|
|
2262
|
-
"required": false,
|
|
2263
|
-
"type": {
|
|
2264
|
-
"name": "UIEventHandler<HTMLDivElement>"
|
|
2265
|
-
}
|
|
2266
|
-
},
|
|
2267
|
-
"onLoadMore": {
|
|
2268
|
-
"defaultValue": null,
|
|
2269
|
-
"description": "Load more event handler.",
|
|
2270
|
-
"name": "onLoadMore",
|
|
2271
|
-
"parent": {
|
|
2272
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2273
|
-
"name": "SessionMessagesProps"
|
|
2274
|
-
},
|
|
2275
|
-
"declarations": [
|
|
2276
|
-
{
|
|
2277
|
-
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
2278
|
-
"name": "SessionMessagesProps"
|
|
2279
|
-
}
|
|
2280
|
-
],
|
|
2281
|
-
"required": false,
|
|
2282
|
-
"type": {
|
|
2283
|
-
"name": "() => void"
|
|
2284
|
-
}
|
|
2285
|
-
}
|
|
2286
|
-
}
|
|
2287
|
-
},
|
|
2288
|
-
{
|
|
2289
|
-
"tags": {},
|
|
2290
|
-
"filePath": "src/SessionMessages/SessionMessagesHeader.tsx",
|
|
2291
|
-
"description": "",
|
|
2292
|
-
"displayName": "SessionMessagesHeader",
|
|
2293
|
-
"methods": [],
|
|
2294
|
-
"props": {}
|
|
2295
|
-
},
|
|
2296
|
-
{
|
|
2297
|
-
"tags": {},
|
|
2298
|
-
"filePath": "src/SessionsList/NewSessionButton.tsx",
|
|
2299
|
-
"description": "",
|
|
2300
|
-
"displayName": "NewSessionButton",
|
|
2301
|
-
"methods": [],
|
|
2302
|
-
"props": {
|
|
2303
|
-
"newSessionText": {
|
|
2304
|
-
"defaultValue": {
|
|
2305
|
-
"value": "New Session"
|
|
2306
|
-
},
|
|
2307
|
-
"description": "Text for the new session button.",
|
|
2308
|
-
"name": "newSessionText",
|
|
2309
|
-
"parent": {
|
|
2310
|
-
"fileName": "src/SessionsList/NewSessionButton.tsx",
|
|
2311
|
-
"name": "NewSessionButtonProps"
|
|
2312
|
-
},
|
|
2313
|
-
"declarations": [
|
|
2314
|
-
{
|
|
2315
|
-
"fileName": "src/SessionsList/NewSessionButton.tsx",
|
|
2316
|
-
"name": "NewSessionButtonProps"
|
|
2317
|
-
}
|
|
2318
|
-
],
|
|
2319
|
-
"required": false,
|
|
2320
|
-
"type": {
|
|
2321
|
-
"name": "ReactNode"
|
|
2322
|
-
}
|
|
2323
|
-
}
|
|
2324
|
-
}
|
|
2325
|
-
},
|
|
2326
|
-
{
|
|
2327
|
-
"tags": {},
|
|
2328
|
-
"filePath": "src/SessionsList/SessionGroups.tsx",
|
|
2329
|
-
"description": "",
|
|
2330
|
-
"displayName": "SessionGroups",
|
|
2331
|
-
"methods": [],
|
|
2332
|
-
"props": {
|
|
2333
|
-
"children": {
|
|
2334
|
-
"defaultValue": null,
|
|
2335
|
-
"description": "Render function for the session groups.",
|
|
2336
|
-
"name": "children",
|
|
2337
|
-
"parent": {
|
|
2338
|
-
"fileName": "src/SessionsList/SessionGroups.tsx",
|
|
2339
|
-
"name": "SessionGroupsProps"
|
|
2340
|
-
},
|
|
2341
|
-
"declarations": [
|
|
2342
|
-
{
|
|
2343
|
-
"fileName": "src/SessionsList/SessionGroups.tsx",
|
|
2344
|
-
"name": "SessionGroupsProps"
|
|
2345
|
-
}
|
|
2346
|
-
],
|
|
2347
|
-
"required": false,
|
|
2348
|
-
"type": {
|
|
2349
|
-
"name": "(groups: GroupedSessions[]) => ReactNode"
|
|
2350
|
-
}
|
|
2351
|
-
}
|
|
2352
|
-
}
|
|
2353
|
-
},
|
|
2354
|
-
{
|
|
2355
|
-
"tags": {},
|
|
2356
|
-
"filePath": "src/SessionsList/SessionListItem.tsx",
|
|
2357
|
-
"description": "",
|
|
2358
|
-
"displayName": "SessionListItem",
|
|
2359
|
-
"methods": [],
|
|
2360
|
-
"props": {
|
|
2361
|
-
"session": {
|
|
2362
|
-
"defaultValue": null,
|
|
2363
|
-
"description": "Session to display.",
|
|
2364
|
-
"name": "session",
|
|
2365
|
-
"parent": {
|
|
2366
|
-
"fileName": "src/SessionsList/SessionListItem.tsx",
|
|
2367
|
-
"name": "SessionListItemProps"
|
|
2368
|
-
},
|
|
2369
|
-
"declarations": [
|
|
2370
|
-
{
|
|
2371
|
-
"fileName": "src/SessionsList/SessionListItem.tsx",
|
|
2372
|
-
"name": "SessionListItemProps"
|
|
2373
|
-
}
|
|
2374
|
-
],
|
|
2375
|
-
"required": true,
|
|
2376
|
-
"type": {
|
|
2377
|
-
"name": "Session"
|
|
2378
|
-
}
|
|
2379
|
-
},
|
|
2380
|
-
"deletable": {
|
|
2381
|
-
"defaultValue": {
|
|
2382
|
-
"value": "true"
|
|
2383
|
-
},
|
|
2384
|
-
"description": "Indicates whether the session is deletable.",
|
|
2385
|
-
"name": "deletable",
|
|
2386
|
-
"parent": {
|
|
2387
|
-
"fileName": "src/SessionsList/SessionListItem.tsx",
|
|
2388
|
-
"name": "SessionListItemProps"
|
|
2389
|
-
},
|
|
2390
|
-
"declarations": [
|
|
2391
|
-
{
|
|
2392
|
-
"fileName": "src/SessionsList/SessionListItem.tsx",
|
|
2393
|
-
"name": "SessionListItemProps"
|
|
2394
|
-
}
|
|
2395
|
-
],
|
|
2396
|
-
"required": false,
|
|
2397
|
-
"type": {
|
|
2398
|
-
"name": "boolean"
|
|
2399
|
-
}
|
|
2400
|
-
},
|
|
2401
|
-
"deleteIcon": {
|
|
2402
|
-
"defaultValue": {
|
|
2403
|
-
"value": "<TrashIcon />"
|
|
2404
|
-
},
|
|
2405
|
-
"description": "Icon to show for delete.",
|
|
2406
|
-
"name": "deleteIcon",
|
|
2407
|
-
"parent": {
|
|
2408
|
-
"fileName": "src/SessionsList/SessionListItem.tsx",
|
|
2409
|
-
"name": "SessionListItemProps"
|
|
2410
|
-
},
|
|
2411
|
-
"declarations": [
|
|
2412
|
-
{
|
|
2413
|
-
"fileName": "src/SessionsList/SessionListItem.tsx",
|
|
2414
|
-
"name": "SessionListItemProps"
|
|
2415
|
-
}
|
|
2416
|
-
],
|
|
2417
|
-
"required": false,
|
|
2418
|
-
"type": {
|
|
2419
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
2420
|
-
}
|
|
2421
|
-
},
|
|
2422
|
-
"chatIcon": {
|
|
2423
|
-
"defaultValue": {
|
|
2424
|
-
"value": "<ChatIcon className=\"mr-2\" />"
|
|
2425
|
-
},
|
|
2426
|
-
"description": "Icon to show for chat.",
|
|
2427
|
-
"name": "chatIcon",
|
|
2428
|
-
"parent": {
|
|
2429
|
-
"fileName": "src/SessionsList/SessionListItem.tsx",
|
|
2430
|
-
"name": "SessionListItemProps"
|
|
2431
|
-
},
|
|
2432
|
-
"declarations": [
|
|
2433
|
-
{
|
|
2434
|
-
"fileName": "src/SessionsList/SessionListItem.tsx",
|
|
2435
|
-
"name": "SessionListItemProps"
|
|
2436
|
-
}
|
|
2437
|
-
],
|
|
2438
|
-
"required": false,
|
|
2439
|
-
"type": {
|
|
2440
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
2441
|
-
}
|
|
2442
|
-
},
|
|
2443
|
-
"limit": {
|
|
2444
|
-
"defaultValue": {
|
|
2445
|
-
"value": "100"
|
|
2446
|
-
},
|
|
2447
|
-
"description": "Limit for the ellipsis.",
|
|
2448
|
-
"name": "limit",
|
|
2449
|
-
"parent": {
|
|
2450
|
-
"fileName": "src/SessionsList/SessionListItem.tsx",
|
|
2451
|
-
"name": "SessionListItemProps"
|
|
2452
|
-
},
|
|
2453
|
-
"declarations": [
|
|
2454
|
-
{
|
|
2455
|
-
"fileName": "src/SessionsList/SessionListItem.tsx",
|
|
2456
|
-
"name": "SessionListItemProps"
|
|
2457
|
-
}
|
|
2458
|
-
],
|
|
2459
|
-
"required": false,
|
|
2460
|
-
"type": {
|
|
2461
|
-
"name": "number"
|
|
2462
|
-
}
|
|
2463
|
-
}
|
|
2464
|
-
}
|
|
2465
|
-
},
|
|
2466
|
-
{
|
|
2467
|
-
"tags": {},
|
|
2468
|
-
"filePath": "src/SessionsList/SessionsGroup.tsx",
|
|
2469
|
-
"description": "",
|
|
2470
|
-
"displayName": "SessionsGroup",
|
|
2471
|
-
"methods": [],
|
|
2472
|
-
"props": {
|
|
2473
|
-
"heading": {
|
|
2474
|
-
"defaultValue": null,
|
|
2475
|
-
"description": "Heading for the session group.",
|
|
2476
|
-
"name": "heading",
|
|
2477
|
-
"parent": {
|
|
2478
|
-
"fileName": "src/SessionsList/SessionsGroup.tsx",
|
|
2479
|
-
"name": "SessionsGroupProps"
|
|
2480
|
-
},
|
|
2481
|
-
"declarations": [
|
|
2482
|
-
{
|
|
2483
|
-
"fileName": "src/SessionsList/SessionsGroup.tsx",
|
|
2484
|
-
"name": "SessionsGroupProps"
|
|
2485
|
-
}
|
|
2486
|
-
],
|
|
2487
|
-
"required": false,
|
|
2488
|
-
"type": {
|
|
2489
|
-
"name": "ReactNode"
|
|
2490
|
-
}
|
|
2491
|
-
}
|
|
2492
|
-
}
|
|
2493
|
-
},
|
|
2494
|
-
{
|
|
2495
|
-
"tags": {},
|
|
2496
|
-
"filePath": "src/SessionsList/SessionsList.tsx",
|
|
2497
|
-
"description": "",
|
|
2498
|
-
"displayName": "SessionsList",
|
|
2499
|
-
"methods": [],
|
|
2500
|
-
"props": {
|
|
2501
|
-
"templates": {
|
|
2502
|
-
"defaultValue": null,
|
|
2503
|
-
"description": "Templates to show when no session is active",
|
|
2504
|
-
"name": "templates",
|
|
2505
|
-
"parent": {
|
|
2506
|
-
"fileName": "src/SessionsList/SessionsList.tsx",
|
|
2507
|
-
"name": "SessionsListProps"
|
|
2508
|
-
},
|
|
2509
|
-
"declarations": [
|
|
2510
|
-
{
|
|
2511
|
-
"fileName": "src/SessionsList/SessionsList.tsx",
|
|
2512
|
-
"name": "SessionsListProps"
|
|
2513
|
-
}
|
|
2514
|
-
],
|
|
2515
|
-
"required": false,
|
|
2516
|
-
"type": {
|
|
2517
|
-
"name": "Template[]"
|
|
2518
|
-
}
|
|
2519
|
-
}
|
|
2520
|
-
}
|
|
2521
|
-
},
|
|
2522
|
-
{
|
|
2523
|
-
"tags": {},
|
|
2524
|
-
"filePath": "src/Markdown/charts/ChartRenderer.tsx",
|
|
2525
|
-
"description": "",
|
|
2526
|
-
"displayName": "ChartRenderer",
|
|
2527
|
-
"methods": [],
|
|
2528
|
-
"props": {
|
|
2529
|
-
"config": {
|
|
2530
|
-
"defaultValue": null,
|
|
2531
|
-
"description": "The chart configuration.",
|
|
2532
|
-
"name": "config",
|
|
2533
|
-
"parent": {
|
|
2534
|
-
"fileName": "src/Markdown/charts/ChartRenderer.tsx",
|
|
2535
|
-
"name": "ChartRendererProps"
|
|
2536
|
-
},
|
|
2537
|
-
"declarations": [
|
|
2538
|
-
{
|
|
2539
|
-
"fileName": "src/Markdown/charts/ChartRenderer.tsx",
|
|
2540
|
-
"name": "ChartRendererProps"
|
|
2541
|
-
}
|
|
2542
|
-
],
|
|
2543
|
-
"required": true,
|
|
2544
|
-
"type": {
|
|
2545
|
-
"name": "ChartConfig"
|
|
2546
|
-
}
|
|
2547
|
-
},
|
|
2548
|
-
"className": {
|
|
2549
|
-
"defaultValue": null,
|
|
2550
|
-
"description": "The class name to apply to the chart container.",
|
|
2551
|
-
"name": "className",
|
|
2552
|
-
"parent": {
|
|
2553
|
-
"fileName": "src/Markdown/charts/ChartRenderer.tsx",
|
|
2554
|
-
"name": "ChartRendererProps"
|
|
2555
|
-
},
|
|
2556
|
-
"declarations": [
|
|
2557
|
-
{
|
|
2558
|
-
"fileName": "src/Markdown/charts/ChartRenderer.tsx",
|
|
2559
|
-
"name": "ChartRendererProps"
|
|
2560
|
-
}
|
|
2561
|
-
],
|
|
2562
|
-
"required": false,
|
|
2563
|
-
"type": {
|
|
2564
|
-
"name": "string"
|
|
2565
|
-
}
|
|
2566
|
-
}
|
|
2567
|
-
}
|
|
2568
|
-
},
|
|
2569
|
-
{
|
|
2570
|
-
"tags": {},
|
|
2571
|
-
"filePath": "src/Markdown/charts/ComponentError.tsx",
|
|
2572
|
-
"description": "",
|
|
2573
|
-
"displayName": "ComponentError",
|
|
2574
|
-
"methods": [],
|
|
2575
|
-
"props": {
|
|
2576
|
-
"variant": {
|
|
2577
|
-
"defaultValue": {
|
|
2578
|
-
"value": "error"
|
|
2579
|
-
},
|
|
2580
|
-
"description": "The visual style variant of the error display.\nDefaults to 'error'.",
|
|
2581
|
-
"name": "variant",
|
|
2582
|
-
"parent": {
|
|
2583
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
2584
|
-
"name": "ComponentErrorProps"
|
|
2585
|
-
},
|
|
2586
|
-
"declarations": [
|
|
2587
|
-
{
|
|
2588
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
2589
|
-
"name": "ComponentErrorProps"
|
|
2590
|
-
}
|
|
2591
|
-
],
|
|
2592
|
-
"required": false,
|
|
2593
|
-
"type": {
|
|
2594
|
-
"name": "\"error\" | \"warning\""
|
|
2595
|
-
}
|
|
2596
|
-
},
|
|
2597
|
-
"title": {
|
|
2598
|
-
"defaultValue": null,
|
|
2599
|
-
"description": "The heading text displayed at the top of the error.",
|
|
2600
|
-
"name": "title",
|
|
2601
|
-
"parent": {
|
|
2602
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
2603
|
-
"name": "ComponentErrorProps"
|
|
2604
|
-
},
|
|
2605
|
-
"declarations": [
|
|
2606
|
-
{
|
|
2607
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
2608
|
-
"name": "ComponentErrorProps"
|
|
2609
|
-
}
|
|
2610
|
-
],
|
|
2611
|
-
"required": false,
|
|
2612
|
-
"type": {
|
|
2613
|
-
"name": "string"
|
|
2614
|
-
}
|
|
2615
|
-
},
|
|
2616
|
-
"message": {
|
|
2617
|
-
"defaultValue": null,
|
|
2618
|
-
"description": "The descriptive message explaining the error or warning.",
|
|
2619
|
-
"name": "message",
|
|
2620
|
-
"parent": {
|
|
2621
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
2622
|
-
"name": "ComponentErrorProps"
|
|
2623
|
-
},
|
|
2624
|
-
"declarations": [
|
|
2625
|
-
{
|
|
2626
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
2627
|
-
"name": "ComponentErrorProps"
|
|
2628
|
-
}
|
|
2629
|
-
],
|
|
2630
|
-
"required": false,
|
|
2631
|
-
"type": {
|
|
2632
|
-
"name": "string"
|
|
2633
|
-
}
|
|
2634
|
-
},
|
|
2635
|
-
"code": {
|
|
2636
|
-
"defaultValue": null,
|
|
2637
|
-
"description": "The raw code or data that caused the error, displayed in a code block.",
|
|
2638
|
-
"name": "code",
|
|
2639
|
-
"parent": {
|
|
2640
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
2641
|
-
"name": "ComponentErrorProps"
|
|
2642
|
-
},
|
|
2643
|
-
"declarations": [
|
|
2644
|
-
{
|
|
2645
|
-
"fileName": "src/ComponentCatalog/ComponentError.tsx",
|
|
2646
|
-
"name": "ComponentErrorProps"
|
|
2647
|
-
}
|
|
2648
|
-
],
|
|
2649
|
-
"required": false,
|
|
2650
|
-
"type": {
|
|
2651
|
-
"name": "string"
|
|
2652
|
-
}
|
|
2653
|
-
}
|
|
2654
|
-
}
|
|
2655
|
-
},
|
|
2656
|
-
{
|
|
2657
|
-
"tags": {},
|
|
2658
|
-
"filePath": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2659
|
-
"description": "",
|
|
2660
|
-
"displayName": "MessageActions",
|
|
2661
|
-
"methods": [],
|
|
2662
|
-
"props": {
|
|
2663
|
-
"question": {
|
|
2664
|
-
"defaultValue": null,
|
|
2665
|
-
"description": "Question to be copied",
|
|
2666
|
-
"name": "question",
|
|
2667
|
-
"parent": {
|
|
2668
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2669
|
-
"name": "MessageActionsProps"
|
|
2670
|
-
},
|
|
2671
|
-
"declarations": [
|
|
2672
|
-
{
|
|
2673
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2674
|
-
"name": "MessageActionsProps"
|
|
2675
|
-
}
|
|
2676
|
-
],
|
|
2677
|
-
"required": true,
|
|
2678
|
-
"type": {
|
|
2679
|
-
"name": "string"
|
|
2680
|
-
}
|
|
2681
|
-
},
|
|
2682
|
-
"response": {
|
|
2683
|
-
"defaultValue": null,
|
|
2684
|
-
"description": "Response to be copied",
|
|
2685
|
-
"name": "response",
|
|
2686
|
-
"parent": {
|
|
2687
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2688
|
-
"name": "MessageActionsProps"
|
|
2689
|
-
},
|
|
2690
|
-
"declarations": [
|
|
2691
|
-
{
|
|
2692
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2693
|
-
"name": "MessageActionsProps"
|
|
2694
|
-
}
|
|
2695
|
-
],
|
|
2696
|
-
"required": false,
|
|
2697
|
-
"type": {
|
|
2698
|
-
"name": "string"
|
|
2699
|
-
}
|
|
2700
|
-
},
|
|
2701
|
-
"copyIcon": {
|
|
2702
|
-
"defaultValue": null,
|
|
2703
|
-
"description": "Icon to show for copy.",
|
|
2704
|
-
"name": "copyIcon",
|
|
2705
|
-
"parent": {
|
|
2706
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2707
|
-
"name": "MessageActionsProps"
|
|
2708
|
-
},
|
|
2709
|
-
"declarations": [
|
|
2710
|
-
{
|
|
2711
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2712
|
-
"name": "MessageActionsProps"
|
|
2713
|
-
}
|
|
2714
|
-
],
|
|
2715
|
-
"required": false,
|
|
2716
|
-
"type": {
|
|
2717
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
2718
|
-
}
|
|
2719
|
-
},
|
|
2720
|
-
"thumbsUpIcon": {
|
|
2721
|
-
"defaultValue": null,
|
|
2722
|
-
"description": "Icon to show for thumbs up.",
|
|
2723
|
-
"name": "thumbsUpIcon",
|
|
2724
|
-
"parent": {
|
|
2725
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2726
|
-
"name": "MessageActionsProps"
|
|
2727
|
-
},
|
|
2728
|
-
"declarations": [
|
|
2729
|
-
{
|
|
2730
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2731
|
-
"name": "MessageActionsProps"
|
|
2732
|
-
}
|
|
2733
|
-
],
|
|
2734
|
-
"required": false,
|
|
2735
|
-
"type": {
|
|
2736
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
2737
|
-
}
|
|
2738
|
-
},
|
|
2739
|
-
"thumbsDownIcon": {
|
|
2740
|
-
"defaultValue": null,
|
|
2741
|
-
"description": "Icon to show for thumbs down.",
|
|
2742
|
-
"name": "thumbsDownIcon",
|
|
2743
|
-
"parent": {
|
|
2744
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2745
|
-
"name": "MessageActionsProps"
|
|
2746
|
-
},
|
|
2747
|
-
"declarations": [
|
|
2748
|
-
{
|
|
2749
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2750
|
-
"name": "MessageActionsProps"
|
|
2751
|
-
}
|
|
2752
|
-
],
|
|
2753
|
-
"required": false,
|
|
2754
|
-
"type": {
|
|
2755
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
2756
|
-
}
|
|
2757
|
-
},
|
|
2758
|
-
"refreshIcon": {
|
|
2759
|
-
"defaultValue": null,
|
|
2760
|
-
"description": "Icon to show for refresh.",
|
|
2761
|
-
"name": "refreshIcon",
|
|
2762
|
-
"parent": {
|
|
2763
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2764
|
-
"name": "MessageActionsProps"
|
|
2765
|
-
},
|
|
2766
|
-
"declarations": [
|
|
2767
|
-
{
|
|
2768
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2769
|
-
"name": "MessageActionsProps"
|
|
2770
|
-
}
|
|
2771
|
-
],
|
|
2772
|
-
"required": false,
|
|
2773
|
-
"type": {
|
|
2774
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
2775
|
-
}
|
|
2776
|
-
},
|
|
2777
|
-
"onCopy": {
|
|
2778
|
-
"defaultValue": null,
|
|
2779
|
-
"description": "Callback function to handle copying.",
|
|
2780
|
-
"name": "onCopy",
|
|
2781
|
-
"parent": {
|
|
2782
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2783
|
-
"name": "MessageActionsProps"
|
|
2784
|
-
},
|
|
2785
|
-
"declarations": [
|
|
2786
|
-
{
|
|
2787
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2788
|
-
"name": "MessageActionsProps"
|
|
2789
|
-
}
|
|
2790
|
-
],
|
|
2791
|
-
"required": false,
|
|
2792
|
-
"type": {
|
|
2793
|
-
"name": "() => void"
|
|
2794
|
-
}
|
|
2795
|
-
},
|
|
2796
|
-
"onUpvote": {
|
|
2797
|
-
"defaultValue": null,
|
|
2798
|
-
"description": "Callback function to handle upvoting.",
|
|
2799
|
-
"name": "onUpvote",
|
|
2800
|
-
"parent": {
|
|
2801
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2802
|
-
"name": "MessageActionsProps"
|
|
2803
|
-
},
|
|
2804
|
-
"declarations": [
|
|
2805
|
-
{
|
|
2806
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2807
|
-
"name": "MessageActionsProps"
|
|
2808
|
-
}
|
|
2809
|
-
],
|
|
2810
|
-
"required": false,
|
|
2811
|
-
"type": {
|
|
2812
|
-
"name": "() => void"
|
|
2813
|
-
}
|
|
2814
|
-
},
|
|
2815
|
-
"onDownvote": {
|
|
2816
|
-
"defaultValue": null,
|
|
2817
|
-
"description": "Callback function to handle downvoting.",
|
|
2818
|
-
"name": "onDownvote",
|
|
2819
|
-
"parent": {
|
|
2820
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2821
|
-
"name": "MessageActionsProps"
|
|
2822
|
-
},
|
|
2823
|
-
"declarations": [
|
|
2824
|
-
{
|
|
2825
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2826
|
-
"name": "MessageActionsProps"
|
|
2827
|
-
}
|
|
2828
|
-
],
|
|
2829
|
-
"required": false,
|
|
2830
|
-
"type": {
|
|
2831
|
-
"name": "() => void"
|
|
2832
|
-
}
|
|
2833
|
-
},
|
|
2834
|
-
"onRefresh": {
|
|
2835
|
-
"defaultValue": null,
|
|
2836
|
-
"description": "Callback function to handle refreshing.",
|
|
2837
|
-
"name": "onRefresh",
|
|
2838
|
-
"parent": {
|
|
2839
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2840
|
-
"name": "MessageActionsProps"
|
|
2841
|
-
},
|
|
2842
|
-
"declarations": [
|
|
2843
|
-
{
|
|
2844
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageActions.tsx",
|
|
2845
|
-
"name": "MessageActionsProps"
|
|
2846
|
-
}
|
|
2847
|
-
],
|
|
2848
|
-
"required": false,
|
|
2849
|
-
"type": {
|
|
2850
|
-
"name": "() => void"
|
|
2851
|
-
}
|
|
2852
|
-
}
|
|
2853
|
-
}
|
|
2854
|
-
},
|
|
2855
|
-
{
|
|
2856
|
-
"tags": {},
|
|
2857
|
-
"filePath": "src/SessionMessages/SessionMessage/MessageFiles.tsx",
|
|
2858
|
-
"description": "",
|
|
2859
|
-
"displayName": "MessageFiles",
|
|
2860
|
-
"methods": [],
|
|
2861
|
-
"props": {
|
|
2862
|
-
"files": {
|
|
2863
|
-
"defaultValue": null,
|
|
2864
|
-
"description": "Files to render.",
|
|
2865
|
-
"name": "files",
|
|
2866
|
-
"parent": {
|
|
2867
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFiles.tsx",
|
|
2868
|
-
"name": "MessageFilesProps"
|
|
2869
|
-
},
|
|
2870
|
-
"declarations": [
|
|
2871
|
-
{
|
|
2872
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFiles.tsx",
|
|
2873
|
-
"name": "MessageFilesProps"
|
|
2874
|
-
}
|
|
2875
|
-
],
|
|
2876
|
-
"required": true,
|
|
2877
|
-
"type": {
|
|
2878
|
-
"name": "ConversationFile[]"
|
|
2879
|
-
}
|
|
2880
|
-
}
|
|
2881
|
-
}
|
|
2882
|
-
},
|
|
2883
|
-
{
|
|
2884
|
-
"tags": {},
|
|
2885
|
-
"filePath": "src/SessionMessages/SessionMessage/MessageQuestion.tsx",
|
|
2886
|
-
"description": "",
|
|
2887
|
-
"displayName": "MessageQuestion",
|
|
2888
|
-
"methods": [],
|
|
2889
|
-
"props": {
|
|
2890
|
-
"question": {
|
|
2891
|
-
"defaultValue": null,
|
|
2892
|
-
"description": "Question to render.",
|
|
2893
|
-
"name": "question",
|
|
2894
|
-
"parent": {
|
|
2895
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageQuestion.tsx",
|
|
2896
|
-
"name": "MessageQuestionProps"
|
|
2897
|
-
},
|
|
2898
|
-
"declarations": [
|
|
2899
|
-
{
|
|
2900
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageQuestion.tsx",
|
|
2901
|
-
"name": "MessageQuestionProps"
|
|
2902
|
-
}
|
|
2903
|
-
],
|
|
2904
|
-
"required": true,
|
|
2905
|
-
"type": {
|
|
2906
|
-
"name": "string"
|
|
2907
|
-
}
|
|
2908
|
-
},
|
|
2909
|
-
"files": {
|
|
2910
|
-
"defaultValue": null,
|
|
2911
|
-
"description": "Array of sources referenced in the conversation",
|
|
2912
|
-
"name": "files",
|
|
2913
|
-
"parent": {
|
|
2914
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageQuestion.tsx",
|
|
2915
|
-
"name": "MessageQuestionProps"
|
|
2916
|
-
},
|
|
2917
|
-
"declarations": [
|
|
2918
|
-
{
|
|
2919
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageQuestion.tsx",
|
|
2920
|
-
"name": "MessageQuestionProps"
|
|
2921
|
-
}
|
|
2922
|
-
],
|
|
2923
|
-
"required": false,
|
|
2924
|
-
"type": {
|
|
2925
|
-
"name": "ConversationFile[]"
|
|
2926
|
-
}
|
|
2927
|
-
}
|
|
2928
|
-
}
|
|
2929
|
-
},
|
|
2930
|
-
{
|
|
2931
|
-
"tags": {},
|
|
2932
|
-
"filePath": "src/SessionMessages/SessionMessage/MessageResponse.tsx",
|
|
2933
|
-
"description": "",
|
|
2934
|
-
"displayName": "MessageResponse",
|
|
2935
|
-
"methods": [],
|
|
2936
|
-
"props": {
|
|
2937
|
-
"response": {
|
|
2938
|
-
"defaultValue": null,
|
|
2939
|
-
"description": "Response to render.",
|
|
2940
|
-
"name": "response",
|
|
2941
|
-
"parent": {
|
|
2942
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageResponse.tsx",
|
|
2943
|
-
"name": "MessageResponseProps"
|
|
2944
|
-
},
|
|
2945
|
-
"declarations": [
|
|
2946
|
-
{
|
|
2947
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageResponse.tsx",
|
|
2948
|
-
"name": "MessageResponseProps"
|
|
2949
|
-
}
|
|
2950
|
-
],
|
|
2951
|
-
"required": true,
|
|
2952
|
-
"type": {
|
|
2953
|
-
"name": "string"
|
|
2954
|
-
}
|
|
2955
|
-
},
|
|
2956
|
-
"isLoading": {
|
|
2957
|
-
"defaultValue": null,
|
|
2958
|
-
"description": "Whether the response is loading.",
|
|
2959
|
-
"name": "isLoading",
|
|
2960
|
-
"parent": {
|
|
2961
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageResponse.tsx",
|
|
2962
|
-
"name": "MessageResponseProps"
|
|
2963
|
-
},
|
|
2964
|
-
"declarations": [
|
|
2965
|
-
{
|
|
2966
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageResponse.tsx",
|
|
2967
|
-
"name": "MessageResponseProps"
|
|
2968
|
-
}
|
|
2969
|
-
],
|
|
2970
|
-
"required": false,
|
|
2971
|
-
"type": {
|
|
2972
|
-
"name": "boolean"
|
|
2973
|
-
}
|
|
2974
|
-
}
|
|
2975
|
-
}
|
|
2976
|
-
},
|
|
2977
|
-
{
|
|
2978
|
-
"tags": {},
|
|
2979
|
-
"filePath": "src/SessionMessages/SessionMessage/MessageSource.tsx",
|
|
2980
|
-
"description": "",
|
|
2981
|
-
"displayName": "MessageSource",
|
|
2982
|
-
"methods": [],
|
|
2983
|
-
"props": {
|
|
2984
|
-
"limit": {
|
|
2985
|
-
"defaultValue": {
|
|
2986
|
-
"value": "50"
|
|
2987
|
-
},
|
|
2988
|
-
"description": "Limit for the title.",
|
|
2989
|
-
"name": "limit",
|
|
2990
|
-
"parent": {
|
|
2991
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageSource.tsx",
|
|
2992
|
-
"name": "MessageSourceProps"
|
|
2993
|
-
},
|
|
2994
|
-
"declarations": [
|
|
2995
|
-
{
|
|
2996
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageSource.tsx",
|
|
2997
|
-
"name": "MessageSourceProps"
|
|
2998
|
-
}
|
|
2999
|
-
],
|
|
3000
|
-
"required": false,
|
|
3001
|
-
"type": {
|
|
3002
|
-
"name": "number"
|
|
3003
|
-
}
|
|
3004
|
-
},
|
|
3005
|
-
"url": {
|
|
3006
|
-
"defaultValue": null,
|
|
3007
|
-
"description": "URL of the source, if applicable",
|
|
3008
|
-
"name": "url",
|
|
3009
|
-
"parent": {
|
|
3010
|
-
"fileName": "src/types.ts",
|
|
3011
|
-
"name": "ConversationSource"
|
|
3012
|
-
},
|
|
3013
|
-
"declarations": [
|
|
3014
|
-
{
|
|
3015
|
-
"fileName": "src/types.ts",
|
|
3016
|
-
"name": "ConversationSource"
|
|
3017
|
-
}
|
|
3018
|
-
],
|
|
3019
|
-
"required": false,
|
|
3020
|
-
"type": {
|
|
3021
|
-
"name": "string"
|
|
3022
|
-
}
|
|
3023
|
-
},
|
|
3024
|
-
"title": {
|
|
3025
|
-
"defaultValue": null,
|
|
3026
|
-
"description": "Title or description of the source",
|
|
3027
|
-
"name": "title",
|
|
3028
|
-
"parent": {
|
|
3029
|
-
"fileName": "src/types.ts",
|
|
3030
|
-
"name": "ConversationSource"
|
|
3031
|
-
},
|
|
3032
|
-
"declarations": [
|
|
3033
|
-
{
|
|
3034
|
-
"fileName": "src/types.ts",
|
|
3035
|
-
"name": "ConversationSource"
|
|
3036
|
-
}
|
|
3037
|
-
],
|
|
3038
|
-
"required": false,
|
|
3039
|
-
"type": {
|
|
3040
|
-
"name": "string"
|
|
3041
|
-
}
|
|
3042
|
-
},
|
|
3043
|
-
"image": {
|
|
3044
|
-
"defaultValue": null,
|
|
3045
|
-
"description": "Image URL of the source, if applicable.",
|
|
3046
|
-
"name": "image",
|
|
3047
|
-
"parent": {
|
|
3048
|
-
"fileName": "src/types.ts",
|
|
3049
|
-
"name": "ConversationSource"
|
|
3050
|
-
},
|
|
3051
|
-
"declarations": [
|
|
3052
|
-
{
|
|
3053
|
-
"fileName": "src/types.ts",
|
|
3054
|
-
"name": "ConversationSource"
|
|
3055
|
-
}
|
|
3056
|
-
],
|
|
3057
|
-
"required": false,
|
|
3058
|
-
"type": {
|
|
3059
|
-
"name": "string"
|
|
3060
|
-
}
|
|
3061
|
-
}
|
|
3062
|
-
}
|
|
3063
|
-
},
|
|
3064
|
-
{
|
|
3065
|
-
"tags": {},
|
|
3066
|
-
"filePath": "src/SessionMessages/SessionMessage/MessageSources.tsx",
|
|
3067
|
-
"description": "",
|
|
3068
|
-
"displayName": "MessageSources",
|
|
3069
|
-
"methods": [],
|
|
3070
|
-
"props": {
|
|
3071
|
-
"sources": {
|
|
3072
|
-
"defaultValue": null,
|
|
3073
|
-
"description": "Sources to render.",
|
|
3074
|
-
"name": "sources",
|
|
3075
|
-
"parent": {
|
|
3076
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageSources.tsx",
|
|
3077
|
-
"name": "MessageSourcesProps"
|
|
3078
|
-
},
|
|
3079
|
-
"declarations": [
|
|
3080
|
-
{
|
|
3081
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageSources.tsx",
|
|
3082
|
-
"name": "MessageSourcesProps"
|
|
3083
|
-
}
|
|
3084
|
-
],
|
|
3085
|
-
"required": true,
|
|
3086
|
-
"type": {
|
|
3087
|
-
"name": "ConversationSource[]"
|
|
3088
|
-
}
|
|
3089
|
-
}
|
|
3090
|
-
}
|
|
3091
|
-
},
|
|
3092
|
-
{
|
|
3093
|
-
"tags": {},
|
|
3094
|
-
"filePath": "src/SessionMessages/SessionMessage/SessionMessage.tsx",
|
|
3095
|
-
"description": "",
|
|
3096
|
-
"displayName": "SessionMessage",
|
|
3097
|
-
"methods": [],
|
|
3098
|
-
"props": {
|
|
3099
|
-
"className": {
|
|
3100
|
-
"defaultValue": null,
|
|
3101
|
-
"description": "Class name to apply to the root element.",
|
|
3102
|
-
"name": "className",
|
|
3103
|
-
"parent": {
|
|
3104
|
-
"fileName": "src/SessionMessages/SessionMessage/SessionMessage.tsx",
|
|
3105
|
-
"name": "SessionMessageProps"
|
|
3106
|
-
},
|
|
3107
|
-
"declarations": [
|
|
3108
|
-
{
|
|
3109
|
-
"fileName": "src/SessionMessages/SessionMessage/SessionMessage.tsx",
|
|
3110
|
-
"name": "SessionMessageProps"
|
|
3111
|
-
}
|
|
3112
|
-
],
|
|
3113
|
-
"required": false,
|
|
3114
|
-
"type": {
|
|
3115
|
-
"name": "string"
|
|
3116
|
-
}
|
|
3117
|
-
},
|
|
3118
|
-
"conversation": {
|
|
3119
|
-
"defaultValue": null,
|
|
3120
|
-
"description": "Conversation to render.",
|
|
3121
|
-
"name": "conversation",
|
|
3122
|
-
"parent": {
|
|
3123
|
-
"fileName": "src/SessionMessages/SessionMessage/SessionMessage.tsx",
|
|
3124
|
-
"name": "SessionMessageProps"
|
|
3125
|
-
},
|
|
3126
|
-
"declarations": [
|
|
3127
|
-
{
|
|
3128
|
-
"fileName": "src/SessionMessages/SessionMessage/SessionMessage.tsx",
|
|
3129
|
-
"name": "SessionMessageProps"
|
|
3130
|
-
}
|
|
3131
|
-
],
|
|
3132
|
-
"required": true,
|
|
3133
|
-
"type": {
|
|
3134
|
-
"name": "Conversation"
|
|
3135
|
-
}
|
|
3136
|
-
},
|
|
3137
|
-
"isLast": {
|
|
3138
|
-
"defaultValue": null,
|
|
3139
|
-
"description": "Whether the message is the last one in the list.\nThis let's the chat know when to show the loading cursor.",
|
|
3140
|
-
"name": "isLast",
|
|
3141
|
-
"parent": {
|
|
3142
|
-
"fileName": "src/SessionMessages/SessionMessage/SessionMessage.tsx",
|
|
3143
|
-
"name": "SessionMessageProps"
|
|
3144
|
-
},
|
|
3145
|
-
"declarations": [
|
|
3146
|
-
{
|
|
3147
|
-
"fileName": "src/SessionMessages/SessionMessage/SessionMessage.tsx",
|
|
3148
|
-
"name": "SessionMessageProps"
|
|
3149
|
-
}
|
|
3150
|
-
],
|
|
3151
|
-
"required": false,
|
|
3152
|
-
"type": {
|
|
3153
|
-
"name": "boolean"
|
|
3154
|
-
}
|
|
3155
|
-
}
|
|
3156
|
-
}
|
|
3157
|
-
},
|
|
3158
|
-
{
|
|
3159
|
-
"tags": {},
|
|
3160
|
-
"filePath": "src/SessionMessages/SessionMessage/MessageFile/MessageFile.tsx",
|
|
3161
|
-
"description": "Base MessageFile component that routes to specific file renderers based on file type.",
|
|
3162
|
-
"displayName": "MessageFile",
|
|
3163
|
-
"methods": [],
|
|
3164
|
-
"props": {
|
|
3165
|
-
"fileIcon": {
|
|
3166
|
-
"defaultValue": {
|
|
3167
|
-
"value": "<FileIcon />"
|
|
3168
|
-
},
|
|
3169
|
-
"description": "Icon to show for delete.",
|
|
3170
|
-
"name": "fileIcon",
|
|
3171
|
-
"parent": {
|
|
3172
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/MessageFile.tsx",
|
|
3173
|
-
"name": "MessageFileProps"
|
|
3174
|
-
},
|
|
3175
|
-
"declarations": [
|
|
3176
|
-
{
|
|
3177
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/MessageFile.tsx",
|
|
3178
|
-
"name": "MessageFileProps"
|
|
3179
|
-
}
|
|
3180
|
-
],
|
|
3181
|
-
"required": false,
|
|
3182
|
-
"type": {
|
|
3183
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
3184
|
-
}
|
|
3185
|
-
},
|
|
3186
|
-
"limit": {
|
|
3187
|
-
"defaultValue": {
|
|
3188
|
-
"value": "100"
|
|
3189
|
-
},
|
|
3190
|
-
"description": "Limit for the name.",
|
|
3191
|
-
"name": "limit",
|
|
3192
|
-
"parent": {
|
|
3193
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/MessageFile.tsx",
|
|
3194
|
-
"name": "MessageFileProps"
|
|
3195
|
-
},
|
|
3196
|
-
"declarations": [
|
|
3197
|
-
{
|
|
3198
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/MessageFile.tsx",
|
|
3199
|
-
"name": "MessageFileProps"
|
|
3200
|
-
}
|
|
3201
|
-
],
|
|
3202
|
-
"required": false,
|
|
3203
|
-
"type": {
|
|
3204
|
-
"name": "number"
|
|
3205
|
-
}
|
|
3206
|
-
},
|
|
3207
|
-
"name": {
|
|
3208
|
-
"defaultValue": null,
|
|
3209
|
-
"description": "Name of the file",
|
|
3210
|
-
"name": "name",
|
|
3211
|
-
"parent": {
|
|
3212
|
-
"fileName": "src/types.ts",
|
|
3213
|
-
"name": "ConversationFile"
|
|
3214
|
-
},
|
|
3215
|
-
"declarations": [
|
|
3216
|
-
{
|
|
3217
|
-
"fileName": "src/types.ts",
|
|
3218
|
-
"name": "ConversationFile"
|
|
3219
|
-
}
|
|
3220
|
-
],
|
|
3221
|
-
"required": true,
|
|
3222
|
-
"type": {
|
|
3223
|
-
"name": "string"
|
|
3224
|
-
}
|
|
3225
|
-
},
|
|
3226
|
-
"type": {
|
|
3227
|
-
"defaultValue": null,
|
|
3228
|
-
"description": "Type of the file",
|
|
3229
|
-
"name": "type",
|
|
3230
|
-
"parent": {
|
|
3231
|
-
"fileName": "src/types.ts",
|
|
3232
|
-
"name": "ConversationFile"
|
|
3233
|
-
},
|
|
3234
|
-
"declarations": [
|
|
3235
|
-
{
|
|
3236
|
-
"fileName": "src/types.ts",
|
|
3237
|
-
"name": "ConversationFile"
|
|
3238
|
-
}
|
|
3239
|
-
],
|
|
3240
|
-
"required": false,
|
|
3241
|
-
"type": {
|
|
3242
|
-
"name": "string"
|
|
3243
|
-
}
|
|
3244
|
-
},
|
|
3245
|
-
"size": {
|
|
3246
|
-
"defaultValue": null,
|
|
3247
|
-
"description": "Size of the file",
|
|
3248
|
-
"name": "size",
|
|
3249
|
-
"parent": {
|
|
3250
|
-
"fileName": "src/types.ts",
|
|
3251
|
-
"name": "ConversationFile"
|
|
3252
|
-
},
|
|
3253
|
-
"declarations": [
|
|
3254
|
-
{
|
|
3255
|
-
"fileName": "src/types.ts",
|
|
3256
|
-
"name": "ConversationFile"
|
|
3257
|
-
}
|
|
3258
|
-
],
|
|
3259
|
-
"required": false,
|
|
3260
|
-
"type": {
|
|
3261
|
-
"name": "number"
|
|
3262
|
-
}
|
|
3263
|
-
},
|
|
3264
|
-
"url": {
|
|
3265
|
-
"defaultValue": null,
|
|
3266
|
-
"description": "URL of the file",
|
|
3267
|
-
"name": "url",
|
|
3268
|
-
"parent": {
|
|
3269
|
-
"fileName": "src/types.ts",
|
|
3270
|
-
"name": "ConversationFile"
|
|
3271
|
-
},
|
|
3272
|
-
"declarations": [
|
|
3273
|
-
{
|
|
3274
|
-
"fileName": "src/types.ts",
|
|
3275
|
-
"name": "ConversationFile"
|
|
3276
|
-
}
|
|
3277
|
-
],
|
|
3278
|
-
"required": false,
|
|
3279
|
-
"type": {
|
|
3280
|
-
"name": "string"
|
|
3281
|
-
}
|
|
3282
|
-
}
|
|
3283
|
-
}
|
|
3284
|
-
},
|
|
3285
|
-
{
|
|
3286
|
-
"tags": {},
|
|
3287
|
-
"filePath": "src/SessionMessages/SessionMessage/MessageFile/renderers/CSVFileRenderer.tsx",
|
|
3288
|
-
"description": "Renderer for CSV files that fetches and displays a snippet of the file data.",
|
|
3289
|
-
"displayName": "CSVFileRenderer",
|
|
3290
|
-
"methods": [],
|
|
3291
|
-
"props": {
|
|
3292
|
-
"name": {
|
|
3293
|
-
"defaultValue": null,
|
|
3294
|
-
"description": "Name of the file.",
|
|
3295
|
-
"name": "name",
|
|
3296
|
-
"parent": {
|
|
3297
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/CSVFileRenderer.tsx",
|
|
3298
|
-
"name": "CSVFileRendererProps"
|
|
3299
|
-
},
|
|
3300
|
-
"declarations": [
|
|
3301
|
-
{
|
|
3302
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/CSVFileRenderer.tsx",
|
|
3303
|
-
"name": "CSVFileRendererProps"
|
|
3304
|
-
}
|
|
3305
|
-
],
|
|
3306
|
-
"required": false,
|
|
3307
|
-
"type": {
|
|
3308
|
-
"name": "string"
|
|
3309
|
-
}
|
|
3310
|
-
},
|
|
3311
|
-
"url": {
|
|
3312
|
-
"defaultValue": null,
|
|
3313
|
-
"description": "URL of the file.",
|
|
3314
|
-
"name": "url",
|
|
3315
|
-
"parent": {
|
|
3316
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/CSVFileRenderer.tsx",
|
|
3317
|
-
"name": "CSVFileRendererProps"
|
|
3318
|
-
},
|
|
3319
|
-
"declarations": [
|
|
3320
|
-
{
|
|
3321
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/CSVFileRenderer.tsx",
|
|
3322
|
-
"name": "CSVFileRendererProps"
|
|
3323
|
-
}
|
|
3324
|
-
],
|
|
3325
|
-
"required": true,
|
|
3326
|
-
"type": {
|
|
3327
|
-
"name": "string"
|
|
3328
|
-
}
|
|
3329
|
-
},
|
|
3330
|
-
"fileIcon": {
|
|
3331
|
-
"defaultValue": null,
|
|
3332
|
-
"description": "Icon to for file type.",
|
|
3333
|
-
"name": "fileIcon",
|
|
3334
|
-
"parent": {
|
|
3335
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/CSVFileRenderer.tsx",
|
|
3336
|
-
"name": "CSVFileRendererProps"
|
|
3337
|
-
},
|
|
3338
|
-
"declarations": [
|
|
3339
|
-
{
|
|
3340
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/CSVFileRenderer.tsx",
|
|
3341
|
-
"name": "CSVFileRendererProps"
|
|
3342
|
-
}
|
|
3343
|
-
],
|
|
3344
|
-
"required": false,
|
|
3345
|
-
"type": {
|
|
3346
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
3347
|
-
}
|
|
3348
|
-
}
|
|
3349
|
-
}
|
|
3350
|
-
},
|
|
3351
|
-
{
|
|
3352
|
-
"tags": {},
|
|
3353
|
-
"filePath": "src/SessionMessages/SessionMessage/MessageFile/renderers/DefaultFileRenderer.tsx",
|
|
3354
|
-
"description": "Default renderer for unspecified file types.",
|
|
3355
|
-
"displayName": "DefaultFileRenderer",
|
|
3356
|
-
"methods": [],
|
|
3357
|
-
"props": {
|
|
3358
|
-
"limit": {
|
|
3359
|
-
"defaultValue": {
|
|
3360
|
-
"value": "100"
|
|
3361
|
-
},
|
|
3362
|
-
"description": "Limit for the name.",
|
|
3363
|
-
"name": "limit",
|
|
3364
|
-
"parent": {
|
|
3365
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/DefaultFileRenderer.tsx",
|
|
3366
|
-
"name": "DefaultFileRendererProps"
|
|
3367
|
-
},
|
|
3368
|
-
"declarations": [
|
|
3369
|
-
{
|
|
3370
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/DefaultFileRenderer.tsx",
|
|
3371
|
-
"name": "DefaultFileRendererProps"
|
|
3372
|
-
}
|
|
3373
|
-
],
|
|
3374
|
-
"required": false,
|
|
3375
|
-
"type": {
|
|
3376
|
-
"name": "number"
|
|
3377
|
-
}
|
|
3378
|
-
},
|
|
3379
|
-
"name": {
|
|
3380
|
-
"defaultValue": null,
|
|
3381
|
-
"description": "Name of the file.",
|
|
3382
|
-
"name": "name",
|
|
3383
|
-
"parent": {
|
|
3384
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/DefaultFileRenderer.tsx",
|
|
3385
|
-
"name": "DefaultFileRendererProps"
|
|
3386
|
-
},
|
|
3387
|
-
"declarations": [
|
|
3388
|
-
{
|
|
3389
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/DefaultFileRenderer.tsx",
|
|
3390
|
-
"name": "DefaultFileRendererProps"
|
|
3391
|
-
}
|
|
3392
|
-
],
|
|
3393
|
-
"required": false,
|
|
3394
|
-
"type": {
|
|
3395
|
-
"name": "string"
|
|
3396
|
-
}
|
|
3397
|
-
},
|
|
3398
|
-
"url": {
|
|
3399
|
-
"defaultValue": null,
|
|
3400
|
-
"description": "URL of the file.",
|
|
3401
|
-
"name": "url",
|
|
3402
|
-
"parent": {
|
|
3403
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/DefaultFileRenderer.tsx",
|
|
3404
|
-
"name": "DefaultFileRendererProps"
|
|
3405
|
-
},
|
|
3406
|
-
"declarations": [
|
|
3407
|
-
{
|
|
3408
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/DefaultFileRenderer.tsx",
|
|
3409
|
-
"name": "DefaultFileRendererProps"
|
|
3410
|
-
}
|
|
3411
|
-
],
|
|
3412
|
-
"required": true,
|
|
3413
|
-
"type": {
|
|
3414
|
-
"name": "string"
|
|
3415
|
-
}
|
|
3416
|
-
},
|
|
3417
|
-
"fileIcon": {
|
|
3418
|
-
"defaultValue": {
|
|
3419
|
-
"value": "<FileIcon />"
|
|
3420
|
-
},
|
|
3421
|
-
"description": "Icon to for file type.",
|
|
3422
|
-
"name": "fileIcon",
|
|
3423
|
-
"parent": {
|
|
3424
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/DefaultFileRenderer.tsx",
|
|
3425
|
-
"name": "DefaultFileRendererProps"
|
|
3426
|
-
},
|
|
3427
|
-
"declarations": [
|
|
3428
|
-
{
|
|
3429
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/DefaultFileRenderer.tsx",
|
|
3430
|
-
"name": "DefaultFileRendererProps"
|
|
3431
|
-
}
|
|
3432
|
-
],
|
|
3433
|
-
"required": false,
|
|
3434
|
-
"type": {
|
|
3435
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
3436
|
-
}
|
|
3437
|
-
}
|
|
3438
|
-
}
|
|
3439
|
-
},
|
|
3440
|
-
{
|
|
3441
|
-
"tags": {},
|
|
3442
|
-
"filePath": "src/SessionMessages/SessionMessage/MessageFile/renderers/ImageFileRenderer.tsx",
|
|
3443
|
-
"description": "Renderer for image files.",
|
|
3444
|
-
"displayName": "ImageFileRenderer",
|
|
3445
|
-
"methods": [],
|
|
3446
|
-
"props": {
|
|
3447
|
-
"name": {
|
|
3448
|
-
"defaultValue": null,
|
|
3449
|
-
"description": "Name of the file.",
|
|
3450
|
-
"name": "name",
|
|
3451
|
-
"parent": {
|
|
3452
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/ImageFileRenderer.tsx",
|
|
3453
|
-
"name": "ImageFileRendererProps"
|
|
3454
|
-
},
|
|
3455
|
-
"declarations": [
|
|
3456
|
-
{
|
|
3457
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/ImageFileRenderer.tsx",
|
|
3458
|
-
"name": "ImageFileRendererProps"
|
|
3459
|
-
}
|
|
3460
|
-
],
|
|
3461
|
-
"required": false,
|
|
3462
|
-
"type": {
|
|
3463
|
-
"name": "string"
|
|
3464
|
-
}
|
|
3465
|
-
},
|
|
3466
|
-
"url": {
|
|
3467
|
-
"defaultValue": null,
|
|
3468
|
-
"description": "URL of the file.",
|
|
3469
|
-
"name": "url",
|
|
3470
|
-
"parent": {
|
|
3471
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/ImageFileRenderer.tsx",
|
|
3472
|
-
"name": "ImageFileRendererProps"
|
|
3473
|
-
},
|
|
3474
|
-
"declarations": [
|
|
3475
|
-
{
|
|
3476
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/ImageFileRenderer.tsx",
|
|
3477
|
-
"name": "ImageFileRendererProps"
|
|
3478
|
-
}
|
|
3479
|
-
],
|
|
3480
|
-
"required": true,
|
|
3481
|
-
"type": {
|
|
3482
|
-
"name": "string"
|
|
3483
|
-
}
|
|
3484
|
-
}
|
|
3485
|
-
}
|
|
3486
|
-
},
|
|
3487
|
-
{
|
|
3488
|
-
"tags": {},
|
|
3489
|
-
"filePath": "src/SessionMessages/SessionMessage/MessageFile/renderers/PDFFileRenderer.tsx",
|
|
3490
|
-
"description": "Renderer for PDF files.",
|
|
3491
|
-
"displayName": "PDFFileRenderer",
|
|
3492
|
-
"methods": [],
|
|
3493
|
-
"props": {
|
|
3494
|
-
"name": {
|
|
3495
|
-
"defaultValue": null,
|
|
3496
|
-
"description": "Name of the file.",
|
|
3497
|
-
"name": "name",
|
|
3498
|
-
"parent": {
|
|
3499
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/PDFFileRenderer.tsx",
|
|
3500
|
-
"name": "PDFFileRendererProps"
|
|
3501
|
-
},
|
|
3502
|
-
"declarations": [
|
|
3503
|
-
{
|
|
3504
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/PDFFileRenderer.tsx",
|
|
3505
|
-
"name": "PDFFileRendererProps"
|
|
3506
|
-
}
|
|
3507
|
-
],
|
|
3508
|
-
"required": false,
|
|
3509
|
-
"type": {
|
|
3510
|
-
"name": "string"
|
|
3511
|
-
}
|
|
3512
|
-
},
|
|
3513
|
-
"url": {
|
|
3514
|
-
"defaultValue": null,
|
|
3515
|
-
"description": "URL of the file.",
|
|
3516
|
-
"name": "url",
|
|
3517
|
-
"parent": {
|
|
3518
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/PDFFileRenderer.tsx",
|
|
3519
|
-
"name": "PDFFileRendererProps"
|
|
3520
|
-
},
|
|
3521
|
-
"declarations": [
|
|
3522
|
-
{
|
|
3523
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/PDFFileRenderer.tsx",
|
|
3524
|
-
"name": "PDFFileRendererProps"
|
|
3525
|
-
}
|
|
3526
|
-
],
|
|
3527
|
-
"required": true,
|
|
3528
|
-
"type": {
|
|
3529
|
-
"name": "string"
|
|
3530
|
-
}
|
|
3531
|
-
},
|
|
3532
|
-
"fileIcon": {
|
|
3533
|
-
"defaultValue": null,
|
|
3534
|
-
"description": "Icon to for file type.",
|
|
3535
|
-
"name": "fileIcon",
|
|
3536
|
-
"parent": {
|
|
3537
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/PDFFileRenderer.tsx",
|
|
3538
|
-
"name": "PDFFileRendererProps"
|
|
3539
|
-
},
|
|
3540
|
-
"declarations": [
|
|
3541
|
-
{
|
|
3542
|
-
"fileName": "src/SessionMessages/SessionMessage/MessageFile/renderers/PDFFileRenderer.tsx",
|
|
3543
|
-
"name": "PDFFileRendererProps"
|
|
3544
|
-
}
|
|
3545
|
-
],
|
|
3546
|
-
"required": false,
|
|
3547
|
-
"type": {
|
|
3548
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
3549
|
-
}
|
|
3550
|
-
}
|
|
3551
|
-
}
|
|
3552
|
-
}
|
|
3553
|
-
]
|