@arbidocs/react 0.4.32 → 0.4.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/artifacts/index.cjs +17 -17
- package/dist/artifacts/index.js +5 -5
- package/dist/{chunk-EOOHRPFM.cjs → chunk-775VGSKN.cjs} +59 -10
- package/dist/chunk-775VGSKN.cjs.map +1 -0
- package/dist/{chunk-OXUFBF5W.js → chunk-FHTSDPQV.js} +405 -123
- package/dist/chunk-FHTSDPQV.js.map +1 -0
- package/dist/{chunk-6YSHODMG.js → chunk-FOEYFNQ4.js} +59 -10
- package/dist/chunk-FOEYFNQ4.js.map +1 -0
- package/dist/{chunk-6BLXIF4R.cjs → chunk-PW7GGG7E.cjs} +9 -7
- package/dist/chunk-PW7GGG7E.cjs.map +1 -0
- package/dist/{chunk-3AK4QJ62.cjs → chunk-QJLXFDKV.cjs} +412 -125
- package/dist/chunk-QJLXFDKV.cjs.map +1 -0
- package/dist/{chunk-OBTCAI4E.js → chunk-UDOPD3GK.js} +12 -4
- package/dist/chunk-UDOPD3GK.js.map +1 -0
- package/dist/{chunk-NDG44JWI.js → chunk-V3A7JDJV.js} +8 -6
- package/dist/chunk-V3A7JDJV.js.map +1 -0
- package/dist/{chunk-YSZJCWDD.cjs → chunk-Z4M7JB4L.cjs} +12 -4
- package/dist/chunk-Z4M7JB4L.cjs.map +1 -0
- package/dist/{index-CcbVSNSP.d.cts → index-C7OqcKY3.d.cts} +3 -1
- package/dist/{index-CcbVSNSP.d.ts → index-C7OqcKY3.d.ts} +3 -1
- package/dist/{index-C99tcxue.d.ts → index-CUxIcC5j.d.cts} +19 -7
- package/dist/{index-C99tcxue.d.cts → index-CUxIcC5j.d.ts} +19 -7
- package/dist/index.cjs +463 -634
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +60 -10
- package/dist/index.d.ts +60 -10
- package/dist/index.js +26 -213
- package/dist/index.js.map +1 -1
- package/dist/shell/index.cjs +6 -6
- package/dist/shell/index.d.cts +1 -1
- package/dist/shell/index.d.ts +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/ui/index.cjs +134 -130
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-3AK4QJ62.cjs.map +0 -1
- package/dist/chunk-6BLXIF4R.cjs.map +0 -1
- package/dist/chunk-6YSHODMG.js.map +0 -1
- package/dist/chunk-EOOHRPFM.cjs.map +0 -1
- package/dist/chunk-NDG44JWI.js.map +0 -1
- package/dist/chunk-OBTCAI4E.js.map +0 -1
- package/dist/chunk-OXUFBF5W.js.map +0 -1
- package/dist/chunk-YSZJCWDD.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var chunk3AK4QJ62_cjs = require('./chunk-3AK4QJ62.cjs');
|
|
3
|
+
var chunkZ4M7JB4L_cjs = require('./chunk-Z4M7JB4L.cjs');
|
|
4
|
+
var chunkQJLXFDKV_cjs = require('./chunk-QJLXFDKV.cjs');
|
|
6
5
|
var chunkOBNTJEEO_cjs = require('./chunk-OBNTJEEO.cjs');
|
|
7
|
-
var chunkEOOHRPFM_cjs = require('./chunk-EOOHRPFM.cjs');
|
|
8
|
-
var chunkS6A6FSG7_cjs = require('./chunk-S6A6FSG7.cjs');
|
|
9
6
|
var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
|
|
7
|
+
var chunkPW7GGG7E_cjs = require('./chunk-PW7GGG7E.cjs');
|
|
8
|
+
var chunk775VGSKN_cjs = require('./chunk-775VGSKN.cjs');
|
|
9
|
+
var chunkS6A6FSG7_cjs = require('./chunk-S6A6FSG7.cjs');
|
|
10
10
|
var chunkZMTLGO3K_cjs = require('./chunk-ZMTLGO3K.cjs');
|
|
11
11
|
var React = require('react');
|
|
12
12
|
var reactQuery = require('@tanstack/react-query');
|
|
@@ -37,7 +37,7 @@ function useUpdateConversation() {
|
|
|
37
37
|
conversationId,
|
|
38
38
|
patch
|
|
39
39
|
}) => arbi.conversations.update(conversationId, patch),
|
|
40
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
40
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.allConversations() })
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
function useCreateWork() {
|
|
@@ -45,7 +45,7 @@ function useCreateWork() {
|
|
|
45
45
|
const qc = reactQuery.useQueryClient();
|
|
46
46
|
return reactQuery.useMutation({
|
|
47
47
|
mutationFn: (body) => arbi.conversations.createWork(body),
|
|
48
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
48
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.allConversations() })
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
function useRunConversation() {
|
|
@@ -53,7 +53,7 @@ function useRunConversation() {
|
|
|
53
53
|
const qc = reactQuery.useQueryClient();
|
|
54
54
|
return reactQuery.useMutation({
|
|
55
55
|
mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
|
|
56
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
56
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.allConversations() })
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
function useReviewConversation() {
|
|
@@ -64,7 +64,7 @@ function useReviewConversation() {
|
|
|
64
64
|
conversationId,
|
|
65
65
|
review
|
|
66
66
|
}) => arbi.conversations.review(conversationId, review),
|
|
67
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
67
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.allConversations() })
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
function useRequestConversationApproval() {
|
|
@@ -75,7 +75,7 @@ function useRequestConversationApproval() {
|
|
|
75
75
|
conversationId,
|
|
76
76
|
request
|
|
77
77
|
}) => arbi.conversations.requestApproval(conversationId, request),
|
|
78
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
78
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.allConversations() })
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
function usePlanWork() {
|
|
@@ -87,7 +87,7 @@ function usePlanWork() {
|
|
|
87
87
|
function useConversationPendingAuth(conversationId, options) {
|
|
88
88
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
89
89
|
return reactQuery.useQuery({
|
|
90
|
-
queryKey: [...
|
|
90
|
+
queryKey: [...chunkPW7GGG7E_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "pending-auth"],
|
|
91
91
|
queryFn: () => arbi.conversations.pendingAuth(conversationId),
|
|
92
92
|
enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
|
|
93
93
|
retry: false
|
|
@@ -96,7 +96,7 @@ function useConversationPendingAuth(conversationId, options) {
|
|
|
96
96
|
function useConversationActivity(conversationId, options) {
|
|
97
97
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
98
98
|
return reactQuery.useQuery({
|
|
99
|
-
queryKey: [...
|
|
99
|
+
queryKey: [...chunkPW7GGG7E_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "activity"],
|
|
100
100
|
queryFn: () => arbi.conversations.activity(conversationId),
|
|
101
101
|
enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
|
|
102
102
|
refetchInterval: options?.live ? 2500 : false
|
|
@@ -105,7 +105,7 @@ function useConversationActivity(conversationId, options) {
|
|
|
105
105
|
function useWorkflows(options) {
|
|
106
106
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
107
107
|
return reactQuery.useQuery({
|
|
108
|
-
queryKey:
|
|
108
|
+
queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.workflows(),
|
|
109
109
|
queryFn: () => arbi.workflows.list(),
|
|
110
110
|
refetchInterval: options?.live ? 15e3 : false,
|
|
111
111
|
enabled: options?.enabled ?? arbi.isLoggedIn
|
|
@@ -116,7 +116,7 @@ function useCreateWorkflow() {
|
|
|
116
116
|
const qc = reactQuery.useQueryClient();
|
|
117
117
|
return reactQuery.useMutation({
|
|
118
118
|
mutationFn: (body) => arbi.workflows.create(body),
|
|
119
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
119
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.workflows() })
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
function useUpdateWorkflow() {
|
|
@@ -127,7 +127,7 @@ function useUpdateWorkflow() {
|
|
|
127
127
|
workflowId,
|
|
128
128
|
patch
|
|
129
129
|
}) => arbi.workflows.update(workflowId, patch),
|
|
130
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
130
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.workflows() })
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
function useDeleteWorkflow() {
|
|
@@ -135,7 +135,7 @@ function useDeleteWorkflow() {
|
|
|
135
135
|
const qc = reactQuery.useQueryClient();
|
|
136
136
|
return reactQuery.useMutation({
|
|
137
137
|
mutationFn: (workflowId) => arbi.workflows.delete(workflowId),
|
|
138
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
138
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.workflows() })
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
141
|
function useRunWorkflow() {
|
|
@@ -144,8 +144,8 @@ function useRunWorkflow() {
|
|
|
144
144
|
return reactQuery.useMutation({
|
|
145
145
|
mutationFn: (workflowId) => arbi.workflows.run(workflowId),
|
|
146
146
|
onSuccess: () => Promise.all([
|
|
147
|
-
qc.invalidateQueries({ queryKey:
|
|
148
|
-
qc.invalidateQueries({ queryKey:
|
|
147
|
+
qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.workflows() }),
|
|
148
|
+
qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.allConversations() })
|
|
149
149
|
])
|
|
150
150
|
});
|
|
151
151
|
}
|
|
@@ -154,13 +154,13 @@ function useCreateAgent() {
|
|
|
154
154
|
const qc = reactQuery.useQueryClient();
|
|
155
155
|
return reactQuery.useMutation({
|
|
156
156
|
mutationFn: (name) => arbi.agents.create(name),
|
|
157
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
157
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.agents() })
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
function useAgentConfig(agentExtId, options) {
|
|
161
161
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
162
162
|
return reactQuery.useQuery({
|
|
163
|
-
queryKey:
|
|
163
|
+
queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.agentConfig(agentExtId),
|
|
164
164
|
queryFn: async () => agentExtId ? await arbi.agents.getConfig(agentExtId) : await arbi.agentConfig.get("default"),
|
|
165
165
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
166
166
|
});
|
|
@@ -168,7 +168,7 @@ function useAgentConfig(agentExtId, options) {
|
|
|
168
168
|
function useAgentModels(options) {
|
|
169
169
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
170
170
|
return reactQuery.useQuery({
|
|
171
|
-
queryKey:
|
|
171
|
+
queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.models(),
|
|
172
172
|
queryFn: async () => (await arbi.agentConfig.getModels()).models.map((m) => m.model_name),
|
|
173
173
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
174
174
|
});
|
|
@@ -191,17 +191,17 @@ function useSaveAgentConfig() {
|
|
|
191
191
|
});
|
|
192
192
|
},
|
|
193
193
|
onSuccess: (_saved, { agentExtId }) => Promise.all([
|
|
194
|
-
qc.invalidateQueries({ queryKey:
|
|
195
|
-
qc.invalidateQueries({ queryKey:
|
|
194
|
+
qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.configs() }),
|
|
195
|
+
qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.agentConfig(agentExtId) }),
|
|
196
196
|
// The agent list shows the pinned persona/model, so it refreshes too.
|
|
197
|
-
qc.invalidateQueries({ queryKey:
|
|
197
|
+
qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.agents() })
|
|
198
198
|
])
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
201
|
function useAgentWorkspaces(agentExtId, options) {
|
|
202
202
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
203
203
|
return reactQuery.useQuery({
|
|
204
|
-
queryKey:
|
|
204
|
+
queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
|
|
205
205
|
queryFn: () => arbi.agents.listWorkspaces(agentExtId),
|
|
206
206
|
enabled: (options?.enabled ?? true) && !!agentExtId && arbi.isLoggedIn
|
|
207
207
|
});
|
|
@@ -222,7 +222,7 @@ function useGrantAgentAccess() {
|
|
|
222
222
|
if (!agent?.email) throw new Error("The agent's address is unknown.");
|
|
223
223
|
return arbi.workspaces.grantAccess({ workspaceId, emails: [agent.email] });
|
|
224
224
|
},
|
|
225
|
-
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey:
|
|
225
|
+
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
|
|
226
226
|
});
|
|
227
227
|
}
|
|
228
228
|
function useRevokeAgentAccess() {
|
|
@@ -241,13 +241,13 @@ function useRevokeAgentAccess() {
|
|
|
241
241
|
if (previous && previous !== workspaceId) await arbi.selectWorkspace(previous);
|
|
242
242
|
}
|
|
243
243
|
},
|
|
244
|
-
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey:
|
|
244
|
+
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
|
|
245
245
|
});
|
|
246
246
|
}
|
|
247
247
|
function useSkills(options) {
|
|
248
248
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
249
249
|
return reactQuery.useQuery({
|
|
250
|
-
queryKey: [...
|
|
250
|
+
queryKey: [...chunkPW7GGG7E_cjs.arbiQueryKeys.skills(), options?.includeHidden ?? false],
|
|
251
251
|
queryFn: () => arbi.assistant.listSkills({ includeHidden: options?.includeHidden }),
|
|
252
252
|
refetchInterval: options?.live ? 5e3 : false,
|
|
253
253
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn,
|
|
@@ -278,7 +278,7 @@ function useUploadSkillFiles() {
|
|
|
278
278
|
}
|
|
279
279
|
return results;
|
|
280
280
|
},
|
|
281
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
281
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.skills() })
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
function useStartWorkQuery() {
|
|
@@ -305,7 +305,7 @@ function useStartWorkQuery() {
|
|
|
305
305
|
`The run ${response.id} started, but its thread is not available yet. Do not submit it again.`
|
|
306
306
|
);
|
|
307
307
|
},
|
|
308
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
308
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.allConversations() })
|
|
309
309
|
});
|
|
310
310
|
}
|
|
311
311
|
function useAgentSession(agentId, options) {
|
|
@@ -459,8 +459,8 @@ function useArbiChat(options = {}) {
|
|
|
459
459
|
const recoveryIntervalMs = streamRecovery?.intervalMs ?? 3e3;
|
|
460
460
|
const recoveryTimeoutMs = streamRecovery?.timeoutMs ?? 12e4;
|
|
461
461
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
462
|
-
const { data: docs = [], isLoading: isLoadingDocuments, refetch } =
|
|
463
|
-
const ordinaryHistory =
|
|
462
|
+
const { data: docs = [], isLoading: isLoadingDocuments, refetch } = chunkPW7GGG7E_cjs.useDocuments(workspaceId);
|
|
463
|
+
const ordinaryHistory = chunkPW7GGG7E_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
|
|
464
464
|
const agentHistory = useAgentChats(agentId);
|
|
465
465
|
const stored = React.useMemo(
|
|
466
466
|
() => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
|
|
@@ -475,7 +475,7 @@ function useArbiChat(options = {}) {
|
|
|
475
475
|
);
|
|
476
476
|
const isLoadingThreads = agentId ? agentHistory.isLoading : ordinaryHistory.isLoading;
|
|
477
477
|
const refetchConversations = agentId ? agentHistory.refetch : ordinaryHistory.refetch;
|
|
478
|
-
const query =
|
|
478
|
+
const query = chunkPW7GGG7E_cjs.useAssistantQuery();
|
|
479
479
|
const { mutateAsync } = query;
|
|
480
480
|
const [stagedFiles, setStagedFiles] = React.useState([]);
|
|
481
481
|
const [threads, setThreads] = React.useState(() => [emptyThread()]);
|
|
@@ -535,7 +535,7 @@ function useArbiChat(options = {}) {
|
|
|
535
535
|
(conversation) => conversation.external_id === active.conversationId && conversation.status === "generating"
|
|
536
536
|
) || active.messages.some((message) => message.status === "streaming");
|
|
537
537
|
const needsLoad = !!active.conversationId && !active.isLoaded;
|
|
538
|
-
const loaded =
|
|
538
|
+
const loaded = chunkPW7GGG7E_cjs.useConversationThreads(workspaceId, active.conversationId ?? void 0, {
|
|
539
539
|
enabled: needsLoad || liveHistory && !isRunning && !isPostingComment,
|
|
540
540
|
live: liveHistory
|
|
541
541
|
});
|
|
@@ -1312,14 +1312,14 @@ function useArbiDocumentSync(workspaceId) {
|
|
|
1312
1312
|
if (!workspaceId) return;
|
|
1313
1313
|
if (client.isMessageType(msg, "batch_complete")) {
|
|
1314
1314
|
if (msg.workspace_ext_id !== workspaceId) return;
|
|
1315
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
1316
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
1315
|
+
void queryClient.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.documents(workspaceId) });
|
|
1316
|
+
void queryClient.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.tags(workspaceId) });
|
|
1317
1317
|
return;
|
|
1318
1318
|
}
|
|
1319
1319
|
if (client.isMessageType(msg, "task_update")) {
|
|
1320
1320
|
if (msg.workspace_ext_id !== workspaceId) return;
|
|
1321
1321
|
if (TERMINAL_STATUSES.has(msg.status)) {
|
|
1322
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
1322
|
+
void queryClient.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.documents(workspaceId) });
|
|
1323
1323
|
}
|
|
1324
1324
|
}
|
|
1325
1325
|
});
|
|
@@ -1448,7 +1448,7 @@ function useShellWorkspaces(options) {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
function useArbiShellWorkspaces(options = {}) {
|
|
1450
1450
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1451
|
-
const query =
|
|
1451
|
+
const query = chunkPW7GGG7E_cjs.useWorkspaces();
|
|
1452
1452
|
const { select, ...rest } = options;
|
|
1453
1453
|
const defaultSelect = React.useCallback(
|
|
1454
1454
|
(workspace) => arbi.selectWorkspace(workspace.id),
|
|
@@ -1465,7 +1465,7 @@ function useArbiShellWorkspaces(options = {}) {
|
|
|
1465
1465
|
function useContacts(options) {
|
|
1466
1466
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1467
1467
|
return reactQuery.useQuery({
|
|
1468
|
-
queryKey:
|
|
1468
|
+
queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.contacts(),
|
|
1469
1469
|
queryFn: () => arbi.contacts.list(),
|
|
1470
1470
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
1471
1471
|
});
|
|
@@ -1485,7 +1485,7 @@ function useAddContacts() {
|
|
|
1485
1485
|
const qc = reactQuery.useQueryClient();
|
|
1486
1486
|
return reactQuery.useMutation({
|
|
1487
1487
|
mutationFn: (emails) => arbi.contacts.add(emails),
|
|
1488
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
1488
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.contacts() })
|
|
1489
1489
|
});
|
|
1490
1490
|
}
|
|
1491
1491
|
function useRemoveContacts() {
|
|
@@ -1493,7 +1493,7 @@ function useRemoveContacts() {
|
|
|
1493
1493
|
const qc = reactQuery.useQueryClient();
|
|
1494
1494
|
return reactQuery.useMutation({
|
|
1495
1495
|
mutationFn: (contactIds) => arbi.contacts.remove(contactIds),
|
|
1496
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
1496
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.contacts() })
|
|
1497
1497
|
});
|
|
1498
1498
|
}
|
|
1499
1499
|
function toProfileView(profile) {
|
|
@@ -1505,7 +1505,7 @@ function toProfileView(profile) {
|
|
|
1505
1505
|
function useProfile(options) {
|
|
1506
1506
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1507
1507
|
return reactQuery.useQuery({
|
|
1508
|
-
queryKey:
|
|
1508
|
+
queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.profile(),
|
|
1509
1509
|
queryFn: () => {
|
|
1510
1510
|
const profile = arbi.user.profile();
|
|
1511
1511
|
return profile ? toProfileView(profile) : null;
|
|
@@ -1528,8 +1528,8 @@ function useUpdateProfile() {
|
|
|
1528
1528
|
return profile ? toProfileView(profile) : null;
|
|
1529
1529
|
},
|
|
1530
1530
|
onSuccess: (profile) => {
|
|
1531
|
-
qc.setQueryData(
|
|
1532
|
-
return qc.invalidateQueries({ queryKey:
|
|
1531
|
+
qc.setQueryData(chunkPW7GGG7E_cjs.arbiQueryKeys.profile(), profile);
|
|
1532
|
+
return qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.workspaces() });
|
|
1533
1533
|
}
|
|
1534
1534
|
});
|
|
1535
1535
|
}
|
|
@@ -1614,7 +1614,7 @@ function useConfirmEmailChange() {
|
|
|
1614
1614
|
mutationFn: ({ newEmail, code }) => arbi.account.confirmEmailChange(newEmail, code),
|
|
1615
1615
|
onSuccess: () => {
|
|
1616
1616
|
const profile = arbi.user.profile();
|
|
1617
|
-
qc.setQueryData(
|
|
1617
|
+
qc.setQueryData(chunkPW7GGG7E_cjs.arbiQueryKeys.profile(), profile ? toProfileView(profile) : null);
|
|
1618
1618
|
}
|
|
1619
1619
|
});
|
|
1620
1620
|
}
|
|
@@ -1783,7 +1783,7 @@ function toNotificationPreferences(stored, keys) {
|
|
|
1783
1783
|
function useUserSettings(options) {
|
|
1784
1784
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1785
1785
|
return reactQuery.useQuery({
|
|
1786
|
-
queryKey:
|
|
1786
|
+
queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.userSettings(),
|
|
1787
1787
|
queryFn: () => arbi.settings.get(),
|
|
1788
1788
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
1789
1789
|
});
|
|
@@ -1796,18 +1796,18 @@ function useNotificationPreferences(keys, options) {
|
|
|
1796
1796
|
const save = reactQuery.useMutation({
|
|
1797
1797
|
mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
|
|
1798
1798
|
onMutate: async (patch) => {
|
|
1799
|
-
await qc.cancelQueries({ queryKey:
|
|
1800
|
-
const previous = qc.getQueryData(
|
|
1799
|
+
await qc.cancelQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.userSettings() });
|
|
1800
|
+
const previous = qc.getQueryData(chunkPW7GGG7E_cjs.arbiQueryKeys.userSettings());
|
|
1801
1801
|
qc.setQueryData(
|
|
1802
|
-
|
|
1802
|
+
chunkPW7GGG7E_cjs.arbiQueryKeys.userSettings(),
|
|
1803
1803
|
(old) => old ? { ...old, email_notifications: { ...old.email_notifications, ...patch } } : old
|
|
1804
1804
|
);
|
|
1805
1805
|
return { previous };
|
|
1806
1806
|
},
|
|
1807
1807
|
onError: (_err, _patch, context) => {
|
|
1808
|
-
qc.setQueryData(
|
|
1808
|
+
qc.setQueryData(chunkPW7GGG7E_cjs.arbiQueryKeys.userSettings(), context?.previous);
|
|
1809
1809
|
},
|
|
1810
|
-
onSettled: () => qc.invalidateQueries({ queryKey:
|
|
1810
|
+
onSettled: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.userSettings() })
|
|
1811
1811
|
});
|
|
1812
1812
|
const model = React.useMemo(() => toNotificationPreferences(stored, keys), [stored, keys]);
|
|
1813
1813
|
const setAll = React.useCallback(
|
|
@@ -1833,7 +1833,7 @@ function useTerminateSession() {
|
|
|
1833
1833
|
const qc = reactQuery.useQueryClient();
|
|
1834
1834
|
return reactQuery.useMutation({
|
|
1835
1835
|
mutationFn: (sessionId) => arbi.sessions.terminate(sessionId),
|
|
1836
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
1836
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.sessions() })
|
|
1837
1837
|
});
|
|
1838
1838
|
}
|
|
1839
1839
|
function useLogoutAllSessions() {
|
|
@@ -1909,7 +1909,7 @@ function useDeleteAccountFlow({
|
|
|
1909
1909
|
};
|
|
1910
1910
|
}
|
|
1911
1911
|
function useWorkspaceDocs(workspaceId) {
|
|
1912
|
-
const { data: docs = [], isLoading, isError } =
|
|
1912
|
+
const { data: docs = [], isLoading, isError } = chunkPW7GGG7E_cjs.useDocuments(workspaceId);
|
|
1913
1913
|
const docIds = React.useMemo(
|
|
1914
1914
|
() => docs.map((d) => d.external_id).filter((id) => !!id),
|
|
1915
1915
|
[docs]
|
|
@@ -1917,7 +1917,7 @@ function useWorkspaceDocs(workspaceId) {
|
|
|
1917
1917
|
return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
|
|
1918
1918
|
}
|
|
1919
1919
|
function useAiTask() {
|
|
1920
|
-
const mutation =
|
|
1920
|
+
const mutation = chunkPW7GGG7E_cjs.useAssistantQuery();
|
|
1921
1921
|
const [status, setStatus] = React.useState("idle");
|
|
1922
1922
|
const [text, setText] = React.useState("");
|
|
1923
1923
|
const [stepCount, setStepCount] = React.useState(0);
|
|
@@ -2131,7 +2131,7 @@ function AiAnswer({
|
|
|
2131
2131
|
}
|
|
2132
2132
|
),
|
|
2133
2133
|
hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2134
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2134
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQJLXFDKV_cjs.AiMarkdown, { isStreaming: running, children: text }),
|
|
2135
2135
|
!running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
|
|
2136
2136
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
|
|
2137
2137
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
|
|
@@ -2176,7 +2176,7 @@ function AiActionCard({
|
|
|
2176
2176
|
const p = typeof prompt === "function" ? prompt() : prompt;
|
|
2177
2177
|
void task.run(p, docIds);
|
|
2178
2178
|
};
|
|
2179
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2179
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQJLXFDKV_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
|
|
2180
2180
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
2181
2181
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
2182
2182
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg bg-ai-accent-soft text-ai-accent", children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "size-4" }) }),
|
|
@@ -2186,7 +2186,7 @@ function AiActionCard({
|
|
|
2186
2186
|
] })
|
|
2187
2187
|
] }),
|
|
2188
2188
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2189
|
-
|
|
2189
|
+
chunkQJLXFDKV_cjs.Button,
|
|
2190
2190
|
{
|
|
2191
2191
|
variant: task.isDone ? "outline" : "accent",
|
|
2192
2192
|
size: "sm",
|
|
@@ -2318,11 +2318,11 @@ function ArtifactCanvas({
|
|
|
2318
2318
|
children: active.title
|
|
2319
2319
|
}
|
|
2320
2320
|
),
|
|
2321
|
-
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2321
|
+
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkQJLXFDKV_cjs.Badge, { variant: "accent", className: "gap-1", children: [
|
|
2322
2322
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
|
|
2323
2323
|
" Redline"
|
|
2324
2324
|
] }),
|
|
2325
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2325
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkQJLXFDKV_cjs.Badge, { variant: "secondary", children: [
|
|
2326
2326
|
"v",
|
|
2327
2327
|
active.version
|
|
2328
2328
|
] }),
|
|
@@ -2378,7 +2378,7 @@ function ArtifactCanvas({
|
|
|
2378
2378
|
animate: { opacity: 1, y: 0 },
|
|
2379
2379
|
transition: { duration: 0.2 },
|
|
2380
2380
|
className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
|
|
2381
|
-
children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
2381
|
+
children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(chunkQJLXFDKV_cjs.AiMarkdown, { children: active.content })
|
|
2382
2382
|
},
|
|
2383
2383
|
active.doc_ext_id
|
|
2384
2384
|
) }) })
|
|
@@ -2395,7 +2395,7 @@ function MessageArtifactCard({
|
|
|
2395
2395
|
const Icon = isImage ? lucideReact.Image : lucideReact.FileText;
|
|
2396
2396
|
const statusText = isImage ? isComplete ? "Image ready" : "Generating\u2026" : isComplete ? "Draft ready" : "Drafting\u2026";
|
|
2397
2397
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2398
|
-
|
|
2398
|
+
chunkQJLXFDKV_cjs.Card,
|
|
2399
2399
|
{
|
|
2400
2400
|
variant: "outline",
|
|
2401
2401
|
className: "mt-3 flex items-center gap-3 px-3 py-2.5",
|
|
@@ -2471,7 +2471,7 @@ function DocSearch({
|
|
|
2471
2471
|
status === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": "doc-search-results", children: [
|
|
2472
2472
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: results.length === 0 ? `No passages matched \u201C${query}\u201D.` : `${results.length} passage${results.length === 1 ? "" : "s"} for \u201C${query}\u201D` }),
|
|
2473
2473
|
results.slice(0, 8).map((r, i) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2474
|
-
|
|
2474
|
+
chunkQJLXFDKV_cjs.Card,
|
|
2475
2475
|
{
|
|
2476
2476
|
variant: "elevated",
|
|
2477
2477
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -2484,7 +2484,7 @@ function DocSearch({
|
|
|
2484
2484
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1 flex items-center gap-2", children: [
|
|
2485
2485
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 text-ai-accent" }),
|
|
2486
2486
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: r.docTitle ?? "Document" }),
|
|
2487
|
-
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2487
|
+
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkQJLXFDKV_cjs.Badge, { variant: "secondary", children: [
|
|
2488
2488
|
"p.",
|
|
2489
2489
|
r.page
|
|
2490
2490
|
] }),
|
|
@@ -2510,8 +2510,8 @@ function DocumentReview({
|
|
|
2510
2510
|
onClose,
|
|
2511
2511
|
className
|
|
2512
2512
|
}) {
|
|
2513
|
-
const parsedQuery =
|
|
2514
|
-
const tagsQuery =
|
|
2513
|
+
const parsedQuery = chunkPW7GGG7E_cjs.useParsedDocument(docId, stage);
|
|
2514
|
+
const tagsQuery = chunkPW7GGG7E_cjs.useTags(workspaceId);
|
|
2515
2515
|
const tagNameById = React__default.default.useMemo(() => {
|
|
2516
2516
|
const map = /* @__PURE__ */ new Map();
|
|
2517
2517
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -2578,7 +2578,7 @@ function DocumentReview({
|
|
|
2578
2578
|
findings.length ? ` \xB7 ${findings.length} findings` : ""
|
|
2579
2579
|
] })
|
|
2580
2580
|
] }),
|
|
2581
|
-
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2581
|
+
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunkQJLXFDKV_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
|
|
2582
2582
|
onClose ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2583
2583
|
"button",
|
|
2584
2584
|
{
|
|
@@ -2615,7 +2615,7 @@ function DocumentReview({
|
|
|
2615
2615
|
className: "w-full cursor-pointer rounded-md border p-2 text-left text-xs transition hover:border-ring hover:bg-muted/50 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
2616
2616
|
children: [
|
|
2617
2617
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2618
|
-
|
|
2618
|
+
chunkQJLXFDKV_cjs.TagEntity,
|
|
2619
2619
|
{
|
|
2620
2620
|
size: "sm",
|
|
2621
2621
|
tag: {
|
|
@@ -2660,7 +2660,7 @@ function DocumentReview({
|
|
|
2660
2660
|
),
|
|
2661
2661
|
children: [
|
|
2662
2662
|
highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2663
|
-
|
|
2663
|
+
chunkQJLXFDKV_cjs.TagEntity,
|
|
2664
2664
|
{
|
|
2665
2665
|
size: "sm",
|
|
2666
2666
|
tag: {
|
|
@@ -2669,7 +2669,7 @@ function DocumentReview({
|
|
|
2669
2669
|
}
|
|
2670
2670
|
}
|
|
2671
2671
|
) }) : null,
|
|
2672
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2672
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk775VGSKN_cjs.MarkdownRenderer, { className: "prose prose-sm max-w-none dark:prose-invert", children: c.content })
|
|
2673
2673
|
]
|
|
2674
2674
|
},
|
|
2675
2675
|
cid ?? i
|
|
@@ -2709,7 +2709,7 @@ function ResultRow({
|
|
|
2709
2709
|
onSelect
|
|
2710
2710
|
}) {
|
|
2711
2711
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2712
|
-
|
|
2712
|
+
chunkQJLXFDKV_cjs.PassageCard,
|
|
2713
2713
|
{
|
|
2714
2714
|
onClick: onSelect,
|
|
2715
2715
|
active: isActive,
|
|
@@ -2718,7 +2718,7 @@ function ResultRow({
|
|
|
2718
2718
|
header: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2719
2719
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 shrink-0 text-ai-accent" }),
|
|
2720
2720
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: result.docTitle ?? "Document" }),
|
|
2721
|
-
result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2721
|
+
result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkQJLXFDKV_cjs.Badge, { variant: "secondary", children: [
|
|
2722
2722
|
"p.",
|
|
2723
2723
|
result.page
|
|
2724
2724
|
] })
|
|
@@ -2742,7 +2742,7 @@ function SemanticSearch({
|
|
|
2742
2742
|
const { results, status, error, search, isRunning, query } = useSemanticSearch(docIds);
|
|
2743
2743
|
const [value, setValue] = React.useState("");
|
|
2744
2744
|
const [selected, setSelected] = React.useState(null);
|
|
2745
|
-
const { data: docs = [] } =
|
|
2745
|
+
const { data: docs = [] } = chunkPW7GGG7E_cjs.useDocuments(workspaceId, { enabled: !!workspaceId });
|
|
2746
2746
|
const docMap = React.useMemo(() => {
|
|
2747
2747
|
const map = /* @__PURE__ */ new Map();
|
|
2748
2748
|
for (const d of docs) if (d.external_id) map.set(d.external_id, d);
|
|
@@ -2828,7 +2828,7 @@ function SemanticSearch({
|
|
|
2828
2828
|
"data-testid": "arbi-semantic-search-viewer",
|
|
2829
2829
|
children: selected && selected.docId ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col gap-2", children: [
|
|
2830
2830
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2831
|
-
|
|
2831
|
+
chunkQJLXFDKV_cjs.Button,
|
|
2832
2832
|
{
|
|
2833
2833
|
variant: "ghost",
|
|
2834
2834
|
size: "sm",
|
|
@@ -2887,7 +2887,7 @@ Question: ${question}`,
|
|
|
2887
2887
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 space-y-3", "data-testid": "doc-qa", children: [
|
|
2888
2888
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
2889
2889
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2890
|
-
|
|
2890
|
+
chunkQJLXFDKV_cjs.Input,
|
|
2891
2891
|
{
|
|
2892
2892
|
value: q,
|
|
2893
2893
|
onChange: (e) => setQ(e.target.value),
|
|
@@ -2898,7 +2898,7 @@ Question: ${question}`,
|
|
|
2898
2898
|
}
|
|
2899
2899
|
),
|
|
2900
2900
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2901
|
-
|
|
2901
|
+
chunkQJLXFDKV_cjs.Button,
|
|
2902
2902
|
{
|
|
2903
2903
|
variant: "accent",
|
|
2904
2904
|
size: "icon",
|
|
@@ -2910,7 +2910,7 @@ Question: ${question}`,
|
|
|
2910
2910
|
}
|
|
2911
2911
|
),
|
|
2912
2912
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2913
|
-
|
|
2913
|
+
chunkQJLXFDKV_cjs.Button,
|
|
2914
2914
|
{
|
|
2915
2915
|
variant: "outline",
|
|
2916
2916
|
size: "sm",
|
|
@@ -3049,7 +3049,7 @@ var CitationRendererComponent = ({
|
|
|
3049
3049
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkS6A6FSG7_cjs.cn("citation-container", className), "data-testid": "citation-renderer", children: renderMarkdown({
|
|
3050
3050
|
components: markdownComponents,
|
|
3051
3051
|
isStreaming,
|
|
3052
|
-
children:
|
|
3052
|
+
children: chunk775VGSKN_cjs.normalizeCitationMarkup(content)
|
|
3053
3053
|
}) });
|
|
3054
3054
|
};
|
|
3055
3055
|
var CitationPopover = ({
|
|
@@ -3098,8 +3098,19 @@ var CitationPopover = ({
|
|
|
3098
3098
|
const [dock, setDock] = React.useState({ left: 0, top: 0, width: 0 });
|
|
3099
3099
|
React.useLayoutEffect(() => {
|
|
3100
3100
|
if (!open) return;
|
|
3101
|
-
const edge =
|
|
3102
|
-
|
|
3101
|
+
const edge = document.querySelector('[data-testid="message-input-container"]') ?? document.querySelector('main[data-testid^="conversation-"]') ?? document.body;
|
|
3102
|
+
const measure = () => {
|
|
3103
|
+
const rect = edge.getBoundingClientRect();
|
|
3104
|
+
setDock({ left: rect.left, top: rect.top, width: rect.width });
|
|
3105
|
+
};
|
|
3106
|
+
measure();
|
|
3107
|
+
const observer = new ResizeObserver(measure);
|
|
3108
|
+
observer.observe(edge);
|
|
3109
|
+
window.addEventListener("resize", measure);
|
|
3110
|
+
return () => {
|
|
3111
|
+
observer.disconnect();
|
|
3112
|
+
window.removeEventListener("resize", measure);
|
|
3113
|
+
};
|
|
3103
3114
|
}, [open]);
|
|
3104
3115
|
const handleOpen = React.useCallback(() => {
|
|
3105
3116
|
onOpen();
|
|
@@ -3151,7 +3162,7 @@ var CitationPopover = ({
|
|
|
3151
3162
|
"Page ",
|
|
3152
3163
|
firstPage
|
|
3153
3164
|
] }),
|
|
3154
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "mt-1 line-clamp-4 block text-
|
|
3165
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "mt-1 line-clamp-4 block text-sm text-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(ReactMarkdown__default.default, { components: INLINE_MD_COMPONENTS, children: firstText }) }),
|
|
3155
3166
|
chunks.length > 1 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "mt-1 block text-xs text-muted-foreground", children: [
|
|
3156
3167
|
"+",
|
|
3157
3168
|
chunks.length - 1,
|
|
@@ -3274,7 +3285,7 @@ var CitationLink = ({
|
|
|
3274
3285
|
triggerRef,
|
|
3275
3286
|
children
|
|
3276
3287
|
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3277
|
-
|
|
3288
|
+
chunkQJLXFDKV_cjs.MarkMenu,
|
|
3278
3289
|
{
|
|
3279
3290
|
triggerRef,
|
|
3280
3291
|
items,
|
|
@@ -3297,206 +3308,6 @@ var CitationLink = ({
|
|
|
3297
3308
|
}
|
|
3298
3309
|
);
|
|
3299
3310
|
var CitationRenderer = React__default.default.memo(CitationRendererComponent);
|
|
3300
|
-
var DocIcon = ({ size = 16, className = "" }) => {
|
|
3301
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3302
|
-
"svg",
|
|
3303
|
-
{
|
|
3304
|
-
width: size,
|
|
3305
|
-
height: size,
|
|
3306
|
-
viewBox: "0 0 24 24",
|
|
3307
|
-
fill: "none",
|
|
3308
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3309
|
-
className,
|
|
3310
|
-
children: [
|
|
3311
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3312
|
-
"path",
|
|
3313
|
-
{
|
|
3314
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
3315
|
-
fill: chunk3AK4QJ62_cjs.FILE_TYPE_COLORS.doc,
|
|
3316
|
-
stroke: chunk3AK4QJ62_cjs.FILE_TYPE_COLORS.doc,
|
|
3317
|
-
strokeWidth: "1",
|
|
3318
|
-
strokeLinecap: "round",
|
|
3319
|
-
strokeLinejoin: "round"
|
|
3320
|
-
}
|
|
3321
|
-
),
|
|
3322
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3323
|
-
"path",
|
|
3324
|
-
{
|
|
3325
|
-
d: "M14 2v6h6",
|
|
3326
|
-
fill: "none",
|
|
3327
|
-
stroke: chunk3AK4QJ62_cjs.FILE_TYPE_COLORS.white,
|
|
3328
|
-
strokeWidth: "1",
|
|
3329
|
-
strokeLinecap: "round",
|
|
3330
|
-
strokeLinejoin: "round"
|
|
3331
|
-
}
|
|
3332
|
-
),
|
|
3333
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3334
|
-
"text",
|
|
3335
|
-
{
|
|
3336
|
-
x: "12",
|
|
3337
|
-
y: "16",
|
|
3338
|
-
fontSize: "6",
|
|
3339
|
-
fill: "white",
|
|
3340
|
-
textAnchor: "middle",
|
|
3341
|
-
fontWeight: "bold",
|
|
3342
|
-
fontFamily: "Arial, sans-serif",
|
|
3343
|
-
children: "DOC"
|
|
3344
|
-
}
|
|
3345
|
-
)
|
|
3346
|
-
]
|
|
3347
|
-
}
|
|
3348
|
-
);
|
|
3349
|
-
};
|
|
3350
|
-
var HtmlIcon = ({ size = 16, className = "" }) => {
|
|
3351
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3352
|
-
"svg",
|
|
3353
|
-
{
|
|
3354
|
-
width: size,
|
|
3355
|
-
height: size,
|
|
3356
|
-
viewBox: "0 0 24 24",
|
|
3357
|
-
fill: "none",
|
|
3358
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3359
|
-
className,
|
|
3360
|
-
children: [
|
|
3361
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3362
|
-
"path",
|
|
3363
|
-
{
|
|
3364
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
3365
|
-
fill: chunk3AK4QJ62_cjs.FILE_TYPE_COLORS.html,
|
|
3366
|
-
stroke: chunk3AK4QJ62_cjs.FILE_TYPE_COLORS.html,
|
|
3367
|
-
strokeWidth: "1",
|
|
3368
|
-
strokeLinecap: "round",
|
|
3369
|
-
strokeLinejoin: "round"
|
|
3370
|
-
}
|
|
3371
|
-
),
|
|
3372
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3373
|
-
"path",
|
|
3374
|
-
{
|
|
3375
|
-
d: "M14 2v6h6",
|
|
3376
|
-
fill: "none",
|
|
3377
|
-
stroke: chunk3AK4QJ62_cjs.FILE_TYPE_COLORS.white,
|
|
3378
|
-
strokeWidth: "1",
|
|
3379
|
-
strokeLinecap: "round",
|
|
3380
|
-
strokeLinejoin: "round"
|
|
3381
|
-
}
|
|
3382
|
-
),
|
|
3383
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3384
|
-
"text",
|
|
3385
|
-
{
|
|
3386
|
-
x: "12",
|
|
3387
|
-
y: "16",
|
|
3388
|
-
fontSize: "5",
|
|
3389
|
-
fill: "white",
|
|
3390
|
-
textAnchor: "middle",
|
|
3391
|
-
fontWeight: "bold",
|
|
3392
|
-
fontFamily: "Arial, sans-serif",
|
|
3393
|
-
children: "HTML"
|
|
3394
|
-
}
|
|
3395
|
-
)
|
|
3396
|
-
]
|
|
3397
|
-
}
|
|
3398
|
-
);
|
|
3399
|
-
};
|
|
3400
|
-
var TxtIcon = ({ size = 16, className = "" }) => {
|
|
3401
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3402
|
-
"svg",
|
|
3403
|
-
{
|
|
3404
|
-
width: size,
|
|
3405
|
-
height: size,
|
|
3406
|
-
viewBox: "0 0 24 24",
|
|
3407
|
-
fill: "none",
|
|
3408
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3409
|
-
className,
|
|
3410
|
-
children: [
|
|
3411
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3412
|
-
"path",
|
|
3413
|
-
{
|
|
3414
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
3415
|
-
fill: chunk3AK4QJ62_cjs.FILE_TYPE_COLORS.txt,
|
|
3416
|
-
stroke: chunk3AK4QJ62_cjs.FILE_TYPE_COLORS.txt,
|
|
3417
|
-
strokeWidth: "1",
|
|
3418
|
-
strokeLinecap: "round",
|
|
3419
|
-
strokeLinejoin: "round"
|
|
3420
|
-
}
|
|
3421
|
-
),
|
|
3422
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3423
|
-
"path",
|
|
3424
|
-
{
|
|
3425
|
-
d: "M14 2v6h6",
|
|
3426
|
-
fill: "none",
|
|
3427
|
-
stroke: chunk3AK4QJ62_cjs.FILE_TYPE_COLORS.white,
|
|
3428
|
-
strokeWidth: "1",
|
|
3429
|
-
strokeLinecap: "round",
|
|
3430
|
-
strokeLinejoin: "round"
|
|
3431
|
-
}
|
|
3432
|
-
),
|
|
3433
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3434
|
-
"text",
|
|
3435
|
-
{
|
|
3436
|
-
x: "12",
|
|
3437
|
-
y: "16",
|
|
3438
|
-
fontSize: "6",
|
|
3439
|
-
fill: "white",
|
|
3440
|
-
textAnchor: "middle",
|
|
3441
|
-
fontWeight: "bold",
|
|
3442
|
-
fontFamily: "Arial, sans-serif",
|
|
3443
|
-
children: "TXT"
|
|
3444
|
-
}
|
|
3445
|
-
)
|
|
3446
|
-
]
|
|
3447
|
-
}
|
|
3448
|
-
);
|
|
3449
|
-
};
|
|
3450
|
-
var XlsIcon = ({ size = 16, className = "" }) => {
|
|
3451
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3452
|
-
"svg",
|
|
3453
|
-
{
|
|
3454
|
-
width: size,
|
|
3455
|
-
height: size,
|
|
3456
|
-
viewBox: "0 0 24 24",
|
|
3457
|
-
fill: "none",
|
|
3458
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3459
|
-
className,
|
|
3460
|
-
children: [
|
|
3461
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3462
|
-
"path",
|
|
3463
|
-
{
|
|
3464
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
3465
|
-
fill: chunk3AK4QJ62_cjs.FILE_TYPE_COLORS.xls,
|
|
3466
|
-
stroke: chunk3AK4QJ62_cjs.FILE_TYPE_COLORS.xls,
|
|
3467
|
-
strokeWidth: "1",
|
|
3468
|
-
strokeLinecap: "round",
|
|
3469
|
-
strokeLinejoin: "round"
|
|
3470
|
-
}
|
|
3471
|
-
),
|
|
3472
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3473
|
-
"path",
|
|
3474
|
-
{
|
|
3475
|
-
d: "M14 2v6h6",
|
|
3476
|
-
fill: "none",
|
|
3477
|
-
stroke: chunk3AK4QJ62_cjs.FILE_TYPE_COLORS.white,
|
|
3478
|
-
strokeWidth: "1",
|
|
3479
|
-
strokeLinecap: "round",
|
|
3480
|
-
strokeLinejoin: "round"
|
|
3481
|
-
}
|
|
3482
|
-
),
|
|
3483
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3484
|
-
"text",
|
|
3485
|
-
{
|
|
3486
|
-
x: "12",
|
|
3487
|
-
y: "16",
|
|
3488
|
-
fontSize: "6",
|
|
3489
|
-
fill: "white",
|
|
3490
|
-
textAnchor: "middle",
|
|
3491
|
-
fontWeight: "bold",
|
|
3492
|
-
fontFamily: "Arial, sans-serif",
|
|
3493
|
-
children: "XLS"
|
|
3494
|
-
}
|
|
3495
|
-
)
|
|
3496
|
-
]
|
|
3497
|
-
}
|
|
3498
|
-
);
|
|
3499
|
-
};
|
|
3500
3311
|
var FileIcon = ({ size = 16, className = "" }) => {
|
|
3501
3312
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3502
3313
|
"svg",
|
|
@@ -3512,8 +3323,8 @@ var FileIcon = ({ size = 16, className = "" }) => {
|
|
|
3512
3323
|
"path",
|
|
3513
3324
|
{
|
|
3514
3325
|
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
3515
|
-
fill:
|
|
3516
|
-
stroke:
|
|
3326
|
+
fill: chunkQJLXFDKV_cjs.FILE_TYPE_COLORS.generic,
|
|
3327
|
+
stroke: chunkQJLXFDKV_cjs.FILE_TYPE_COLORS.generic,
|
|
3517
3328
|
strokeWidth: "1",
|
|
3518
3329
|
strokeLinecap: "round",
|
|
3519
3330
|
strokeLinejoin: "round"
|
|
@@ -3524,7 +3335,7 @@ var FileIcon = ({ size = 16, className = "" }) => {
|
|
|
3524
3335
|
{
|
|
3525
3336
|
d: "M14 2v6h6",
|
|
3526
3337
|
fill: "none",
|
|
3527
|
-
stroke:
|
|
3338
|
+
stroke: chunkQJLXFDKV_cjs.FILE_TYPE_COLORS.white,
|
|
3528
3339
|
strokeWidth: "1",
|
|
3529
3340
|
strokeLinecap: "round",
|
|
3530
3341
|
strokeLinejoin: "round"
|
|
@@ -3880,8 +3691,10 @@ var ArbiBotIcon = ({ size = 24, className = "" }) => {
|
|
|
3880
3691
|
);
|
|
3881
3692
|
};
|
|
3882
3693
|
function getNotificationTypeMeta(type) {
|
|
3883
|
-
const WorkspaceIcon =
|
|
3694
|
+
const WorkspaceIcon = chunkQJLXFDKV_cjs.getEntityIcon("WORKSPACE");
|
|
3884
3695
|
switch (type) {
|
|
3696
|
+
case "agent_input_requested":
|
|
3697
|
+
return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Input needed" };
|
|
3885
3698
|
case "user_message":
|
|
3886
3699
|
return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Message" };
|
|
3887
3700
|
case "workspaceuser_added_owner":
|
|
@@ -3998,7 +3811,7 @@ function describeActivity(content) {
|
|
|
3998
3811
|
}
|
|
3999
3812
|
default:
|
|
4000
3813
|
return {
|
|
4001
|
-
Icon: parsed.workspace_ext_id ?
|
|
3814
|
+
Icon: parsed.workspace_ext_id ? chunkQJLXFDKV_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
|
|
4002
3815
|
iconClassName: "text-muted-foreground",
|
|
4003
3816
|
title: humaniseEvent(parsed.event)
|
|
4004
3817
|
};
|
|
@@ -4028,7 +3841,7 @@ function ActivityFeed({
|
|
|
4028
3841
|
enabled,
|
|
4029
3842
|
"data-testid": testId = "activity-feed"
|
|
4030
3843
|
}) {
|
|
4031
|
-
const { data, isLoading, isError } =
|
|
3844
|
+
const { data, isLoading, isError } = chunkPW7GGG7E_cjs.useActivity({ limit, enabled });
|
|
4032
3845
|
if (isLoading) {
|
|
4033
3846
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkS6A6FSG7_cjs.cn("space-y-2", className), "data-testid": testId, "aria-busy": "true", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 py-1.5", children: [
|
|
4034
3847
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
|
|
@@ -4180,7 +3993,7 @@ function useDirectMessages(options) {
|
|
|
4180
3993
|
enabled
|
|
4181
3994
|
});
|
|
4182
3995
|
const contactsQuery = reactQuery.useQuery({
|
|
4183
|
-
queryKey:
|
|
3996
|
+
queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.contacts(),
|
|
4184
3997
|
queryFn: () => arbi.contacts.list(),
|
|
4185
3998
|
enabled
|
|
4186
3999
|
});
|
|
@@ -4242,7 +4055,7 @@ function DmAvatar({ user, className, size = "lg" }) {
|
|
|
4242
4055
|
const presence = useArbiWsStore((s) => s.presence[user.external_id]);
|
|
4243
4056
|
const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
|
|
4244
4057
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4245
|
-
|
|
4058
|
+
chunkQJLXFDKV_cjs.UserEntity,
|
|
4246
4059
|
{
|
|
4247
4060
|
variant: "icon",
|
|
4248
4061
|
size,
|
|
@@ -4252,7 +4065,7 @@ function DmAvatar({ user, className, size = "lg" }) {
|
|
|
4252
4065
|
initials: userInitials(user),
|
|
4253
4066
|
displayName: userDisplayName(user),
|
|
4254
4067
|
picture: user.picture,
|
|
4255
|
-
avatarStyle:
|
|
4068
|
+
avatarStyle: chunkQJLXFDKV_cjs.getEntityColorStyles(user.external_id),
|
|
4256
4069
|
isAgent: isAgentUser(user),
|
|
4257
4070
|
displayStatus
|
|
4258
4071
|
}
|
|
@@ -4307,10 +4120,10 @@ function ConversationList({
|
|
|
4307
4120
|
children: userDisplayName(peer)
|
|
4308
4121
|
}
|
|
4309
4122
|
),
|
|
4310
|
-
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4123
|
+
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkQJLXFDKV_cjs.AgentBadge, {}) : null)
|
|
4311
4124
|
] }),
|
|
4312
4125
|
c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4313
|
-
|
|
4126
|
+
chunkQJLXFDKV_cjs.Badge,
|
|
4314
4127
|
{
|
|
4315
4128
|
variant: "outline",
|
|
4316
4129
|
className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
|
|
@@ -4321,7 +4134,7 @@ function ConversationList({
|
|
|
4321
4134
|
// shouted louder than the message it was counting.
|
|
4322
4135
|
// Enough to catch the eye scanning the list, no more.
|
|
4323
4136
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4324
|
-
|
|
4137
|
+
chunkQJLXFDKV_cjs.Badge,
|
|
4325
4138
|
{
|
|
4326
4139
|
variant: "accent",
|
|
4327
4140
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -4357,7 +4170,7 @@ function ConversationList({
|
|
|
4357
4170
|
children: c.subtitle ?? preview
|
|
4358
4171
|
}
|
|
4359
4172
|
),
|
|
4360
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: lastMessage ?
|
|
4173
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: lastMessage ? chunkZ4M7JB4L_cjs.formatRelativeTime(lastMessage.createdAt) : "" })
|
|
4361
4174
|
] })
|
|
4362
4175
|
] })
|
|
4363
4176
|
] });
|
|
@@ -4448,7 +4261,7 @@ function MessageBubble({
|
|
|
4448
4261
|
isLastOfRun,
|
|
4449
4262
|
senderName: message.isMine ? "You" : userDisplayName(message.sender),
|
|
4450
4263
|
classNames,
|
|
4451
|
-
formatTimestamp:
|
|
4264
|
+
formatTimestamp: chunkZ4M7JB4L_cjs.formatRelativeTime
|
|
4452
4265
|
}
|
|
4453
4266
|
);
|
|
4454
4267
|
}
|
|
@@ -4540,7 +4353,7 @@ function DmComposer({
|
|
|
4540
4353
|
children,
|
|
4541
4354
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-end gap-2", children: [
|
|
4542
4355
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4543
|
-
|
|
4356
|
+
chunkQJLXFDKV_cjs.Textarea,
|
|
4544
4357
|
{
|
|
4545
4358
|
ref: inputRef,
|
|
4546
4359
|
value: draft,
|
|
@@ -4554,7 +4367,7 @@ function DmComposer({
|
|
|
4554
4367
|
}
|
|
4555
4368
|
),
|
|
4556
4369
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4557
|
-
|
|
4370
|
+
chunkQJLXFDKV_cjs.Button,
|
|
4558
4371
|
{
|
|
4559
4372
|
type: "button",
|
|
4560
4373
|
onClick: () => void submit(),
|
|
@@ -4622,9 +4435,9 @@ function StartByEmail({
|
|
|
4622
4435
|
void submit();
|
|
4623
4436
|
},
|
|
4624
4437
|
children: [
|
|
4625
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4438
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQJLXFDKV_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
|
|
4626
4439
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4627
|
-
|
|
4440
|
+
chunkQJLXFDKV_cjs.Input,
|
|
4628
4441
|
{
|
|
4629
4442
|
id: `${uid}-email`,
|
|
4630
4443
|
type: "email",
|
|
@@ -4638,9 +4451,9 @@ function StartByEmail({
|
|
|
4638
4451
|
}
|
|
4639
4452
|
),
|
|
4640
4453
|
email !== "" && !valid && /* @__PURE__ */ jsxRuntime.jsx("p", { id: `${uid}-bad`, className: "text-xs text-destructive", children: l.invalidEmail }),
|
|
4641
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4454
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQJLXFDKV_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
|
|
4642
4455
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4643
|
-
|
|
4456
|
+
chunkQJLXFDKV_cjs.Textarea,
|
|
4644
4457
|
{
|
|
4645
4458
|
id: `${uid}-text`,
|
|
4646
4459
|
value: text,
|
|
@@ -4653,7 +4466,7 @@ function StartByEmail({
|
|
|
4653
4466
|
),
|
|
4654
4467
|
error && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-xs text-destructive", "data-testid": "arbi-dm-start-error", children: error }),
|
|
4655
4468
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4656
|
-
|
|
4469
|
+
chunkQJLXFDKV_cjs.Button,
|
|
4657
4470
|
{
|
|
4658
4471
|
type: "submit",
|
|
4659
4472
|
size: "sm",
|
|
@@ -4843,7 +4656,7 @@ function ImageCropper({
|
|
|
4843
4656
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
4844
4657
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
|
|
4845
4658
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4846
|
-
|
|
4659
|
+
chunkQJLXFDKV_cjs.Slider,
|
|
4847
4660
|
{
|
|
4848
4661
|
value: [zoom],
|
|
4849
4662
|
onValueChange: ([v]) => setZoom(v ?? 1),
|
|
@@ -4920,8 +4733,8 @@ function ImageCropModal({
|
|
|
4920
4733
|
setBusy(false);
|
|
4921
4734
|
}
|
|
4922
4735
|
};
|
|
4923
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4924
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4736
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkQJLXFDKV_cjs.Dialog, { open, onOpenChange: (next) => !next ? onCancel() : void 0, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQJLXFDKV_cjs.DialogContent, { className: "sm:max-w-md", "data-testid": "image-crop-modal", children: [
|
|
4737
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQJLXFDKV_cjs.DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkQJLXFDKV_cjs.DialogTitle, { children: title }) }),
|
|
4925
4738
|
image ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4926
4739
|
ImageCropper,
|
|
4927
4740
|
{
|
|
@@ -4932,9 +4745,9 @@ function ImageCropModal({
|
|
|
4932
4745
|
onCropComplete: setArea
|
|
4933
4746
|
}
|
|
4934
4747
|
) : null,
|
|
4935
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4936
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4937
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4748
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkQJLXFDKV_cjs.DialogFooter, { className: "gap-2 sm:gap-2", children: [
|
|
4749
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQJLXFDKV_cjs.Button, { variant: "ghost", onClick: onCancel, disabled: busy, children: "Cancel" }),
|
|
4750
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkQJLXFDKV_cjs.Button, { onClick: handleSave, disabled: !area || busy, "data-testid": "image-crop-save", children: [
|
|
4938
4751
|
busy ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "mr-1 size-4 animate-spin" }) : null,
|
|
4939
4752
|
saveLabel
|
|
4940
4753
|
] })
|
|
@@ -5000,8 +4813,8 @@ function CommandPalette({
|
|
|
5000
4813
|
if (!q || task.isRunning) return;
|
|
5001
4814
|
void task.run(buildAskPrompt(q), askDocIds, { model });
|
|
5002
4815
|
};
|
|
5003
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5004
|
-
|
|
4816
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkQJLXFDKV_cjs.Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4817
|
+
chunkQJLXFDKV_cjs.DialogContent,
|
|
5005
4818
|
{
|
|
5006
4819
|
className: chunkS6A6FSG7_cjs.cn(
|
|
5007
4820
|
"top-[12%] max-w-2xl translate-y-0 gap-0 overflow-hidden p-0",
|
|
@@ -5009,7 +4822,7 @@ function CommandPalette({
|
|
|
5009
4822
|
),
|
|
5010
4823
|
"data-testid": testId,
|
|
5011
4824
|
children: [
|
|
5012
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4825
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQJLXFDKV_cjs.DialogTitle, { className: "sr-only", children: "Command palette" }),
|
|
5013
4826
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 border-b border-border px-4", children: [
|
|
5014
4827
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: chunkS6A6FSG7_cjs.cn("size-4 shrink-0 text-ai-accent", classNames?.leadingIcon) }),
|
|
5015
4828
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5080,7 +4893,7 @@ function CommandPalette({
|
|
|
5080
4893
|
}
|
|
5081
4894
|
),
|
|
5082
4895
|
task.isDone && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-3 flex justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5083
|
-
|
|
4896
|
+
chunkQJLXFDKV_cjs.Button,
|
|
5084
4897
|
{
|
|
5085
4898
|
variant: "outline",
|
|
5086
4899
|
size: "sm",
|
|
@@ -5215,10 +5028,10 @@ function DocumentTable({
|
|
|
5215
5028
|
extraColumns,
|
|
5216
5029
|
className
|
|
5217
5030
|
}) {
|
|
5218
|
-
const query =
|
|
5031
|
+
const query = chunkPW7GGG7E_cjs.useDocuments(workspaceId, { enabled: !documents });
|
|
5219
5032
|
const rows = documents ?? query.data ?? [];
|
|
5220
5033
|
const isLoading = !documents && query.isLoading;
|
|
5221
|
-
const tagsQuery =
|
|
5034
|
+
const tagsQuery = chunkPW7GGG7E_cjs.useTags(workspaceId);
|
|
5222
5035
|
const tagNameById = React__default.default.useMemo(() => {
|
|
5223
5036
|
const map = /* @__PURE__ */ new Map();
|
|
5224
5037
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -5278,7 +5091,7 @@ function DocumentTable({
|
|
|
5278
5091
|
const doc = p.data;
|
|
5279
5092
|
if (!doc) return null;
|
|
5280
5093
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5281
|
-
|
|
5094
|
+
chunkQJLXFDKV_cjs.DocumentEntity,
|
|
5282
5095
|
{
|
|
5283
5096
|
doc,
|
|
5284
5097
|
size: "base",
|
|
@@ -5301,7 +5114,7 @@ function DocumentTable({
|
|
|
5301
5114
|
cellRenderer: (p) => {
|
|
5302
5115
|
const status = p.data?.status;
|
|
5303
5116
|
if (!status) return null;
|
|
5304
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5117
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkQJLXFDKV_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
|
|
5305
5118
|
}
|
|
5306
5119
|
},
|
|
5307
5120
|
{
|
|
@@ -5315,7 +5128,7 @@ function DocumentTable({
|
|
|
5315
5128
|
const doctags = p.data?.doctags ?? [];
|
|
5316
5129
|
if (doctags.length === 0) return null;
|
|
5317
5130
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center gap-1 py-1", children: doctags.map((dt) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
5318
|
-
|
|
5131
|
+
chunkQJLXFDKV_cjs.TagEntity,
|
|
5319
5132
|
{
|
|
5320
5133
|
size: "sm",
|
|
5321
5134
|
tag: {
|
|
@@ -5399,7 +5212,7 @@ function DocumentCardMenu({
|
|
|
5399
5212
|
const invalidateDocuments = () => {
|
|
5400
5213
|
const workspaceId = arbi.getWorkspaceId();
|
|
5401
5214
|
if (workspaceId) {
|
|
5402
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
5215
|
+
void queryClient.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.documents(workspaceId) });
|
|
5403
5216
|
}
|
|
5404
5217
|
};
|
|
5405
5218
|
const download = reactQuery.useMutation({
|
|
@@ -5498,10 +5311,10 @@ function DocumentGallery({
|
|
|
5498
5311
|
minTileWidth = 148,
|
|
5499
5312
|
className
|
|
5500
5313
|
}) {
|
|
5501
|
-
const query =
|
|
5314
|
+
const query = chunkPW7GGG7E_cjs.useDocuments(workspaceId, { enabled: !documents });
|
|
5502
5315
|
const rows = documents ?? query.data ?? [];
|
|
5503
5316
|
const isLoading = !documents && query.isLoading;
|
|
5504
|
-
const tagsQuery =
|
|
5317
|
+
const tagsQuery = chunkPW7GGG7E_cjs.useTags(workspaceId);
|
|
5505
5318
|
const tagNameById = React__default.default.useMemo(() => {
|
|
5506
5319
|
const map = /* @__PURE__ */ new Map();
|
|
5507
5320
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -5513,7 +5326,7 @@ function DocumentGallery({
|
|
|
5513
5326
|
() => rows.map((d) => d.external_id).filter((id) => !!id),
|
|
5514
5327
|
[rows]
|
|
5515
5328
|
);
|
|
5516
|
-
const thumbsQuery =
|
|
5329
|
+
const thumbsQuery = chunkPW7GGG7E_cjs.useThumbnails(docIds);
|
|
5517
5330
|
const thumbs = thumbsQuery.data ?? {};
|
|
5518
5331
|
const storeSelected = useArbiUiStore((s) => s.selectedDocIds);
|
|
5519
5332
|
const storeSetSelected = useArbiUiStore((s) => s.setSelectedDocIds);
|
|
@@ -5549,7 +5362,7 @@ function DocumentGallery({
|
|
|
5549
5362
|
setRenamingId(null);
|
|
5550
5363
|
const activeWorkspace = workspaceId ?? arbi.getWorkspaceId();
|
|
5551
5364
|
if (activeWorkspace) {
|
|
5552
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
5365
|
+
void queryClient.invalidateQueries({ queryKey: chunkPW7GGG7E_cjs.arbiQueryKeys.documents(activeWorkspace) });
|
|
5553
5366
|
}
|
|
5554
5367
|
}
|
|
5555
5368
|
});
|
|
@@ -5591,7 +5404,7 @@ function DocumentGallery({
|
|
|
5591
5404
|
(dt) => tagNameById.get(dt.tag_ext_id) ?? dt.tag_ext_id.slice(0, 8)
|
|
5592
5405
|
);
|
|
5593
5406
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-doc-id": id, "data-testid": "document-gallery-card", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5594
|
-
|
|
5407
|
+
chunkQJLXFDKV_cjs.DocumentCard,
|
|
5595
5408
|
{
|
|
5596
5409
|
doc,
|
|
5597
5410
|
thumbnailUrl: thumbs[id],
|
|
@@ -5628,7 +5441,7 @@ function VoiceNoteRecorder({
|
|
|
5628
5441
|
isSaving = false,
|
|
5629
5442
|
transcribe
|
|
5630
5443
|
}) {
|
|
5631
|
-
const recorder =
|
|
5444
|
+
const recorder = chunkQJLXFDKV_cjs.useAudioRecorder();
|
|
5632
5445
|
const [transcript, setTranscript] = React.useState(null);
|
|
5633
5446
|
const [isTranscribing, setIsTranscribing] = React.useState(false);
|
|
5634
5447
|
React.useEffect(() => {
|
|
@@ -5660,7 +5473,7 @@ function VoiceNoteRecorder({
|
|
|
5660
5473
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col items-center justify-center gap-6 p-8", children: [
|
|
5661
5474
|
recorder.state === "idle" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5662
5475
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5663
|
-
|
|
5476
|
+
chunkQJLXFDKV_cjs.Button,
|
|
5664
5477
|
{
|
|
5665
5478
|
type: "button",
|
|
5666
5479
|
size: "lg",
|
|
@@ -5674,7 +5487,7 @@ function VoiceNoteRecorder({
|
|
|
5674
5487
|
] }),
|
|
5675
5488
|
(recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5676
5489
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5677
|
-
|
|
5490
|
+
chunkQJLXFDKV_cjs.MicWaveformIndicator,
|
|
5678
5491
|
{
|
|
5679
5492
|
level: recorder.level,
|
|
5680
5493
|
elapsedMs: recorder.elapsedMs,
|
|
@@ -5683,7 +5496,7 @@ function VoiceNoteRecorder({
|
|
|
5683
5496
|
),
|
|
5684
5497
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5685
5498
|
recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5686
|
-
|
|
5499
|
+
chunkQJLXFDKV_cjs.Button,
|
|
5687
5500
|
{
|
|
5688
5501
|
type: "button",
|
|
5689
5502
|
variant: "outline",
|
|
@@ -5695,7 +5508,7 @@ function VoiceNoteRecorder({
|
|
|
5695
5508
|
]
|
|
5696
5509
|
}
|
|
5697
5510
|
) : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5698
|
-
|
|
5511
|
+
chunkQJLXFDKV_cjs.Button,
|
|
5699
5512
|
{
|
|
5700
5513
|
type: "button",
|
|
5701
5514
|
variant: "outline",
|
|
@@ -5707,7 +5520,7 @@ function VoiceNoteRecorder({
|
|
|
5707
5520
|
]
|
|
5708
5521
|
}
|
|
5709
5522
|
),
|
|
5710
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5523
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkQJLXFDKV_cjs.Button, { type: "button", onClick: recorder.stop, "data-testid": "voice-note-stop-button", children: [
|
|
5711
5524
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "mr-1.5 h-3.5 w-3.5 fill-current" }),
|
|
5712
5525
|
"Stop"
|
|
5713
5526
|
] })
|
|
@@ -5731,7 +5544,7 @@ function VoiceNoteRecorder({
|
|
|
5731
5544
|
),
|
|
5732
5545
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5733
5546
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5734
|
-
|
|
5547
|
+
chunkQJLXFDKV_cjs.Button,
|
|
5735
5548
|
{
|
|
5736
5549
|
type: "button",
|
|
5737
5550
|
variant: "outline",
|
|
@@ -5745,7 +5558,7 @@ function VoiceNoteRecorder({
|
|
|
5745
5558
|
}
|
|
5746
5559
|
),
|
|
5747
5560
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5748
|
-
|
|
5561
|
+
chunkQJLXFDKV_cjs.Button,
|
|
5749
5562
|
{
|
|
5750
5563
|
type: "button",
|
|
5751
5564
|
variant: "outline",
|
|
@@ -5759,7 +5572,7 @@ function VoiceNoteRecorder({
|
|
|
5759
5572
|
}
|
|
5760
5573
|
),
|
|
5761
5574
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5762
|
-
|
|
5575
|
+
chunkQJLXFDKV_cjs.Button,
|
|
5763
5576
|
{
|
|
5764
5577
|
type: "button",
|
|
5765
5578
|
onClick: handleSave,
|
|
@@ -5796,7 +5609,7 @@ function DraftTitleControls({
|
|
|
5796
5609
|
}
|
|
5797
5610
|
),
|
|
5798
5611
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5799
|
-
|
|
5612
|
+
chunkQJLXFDKV_cjs.IconToggle,
|
|
5800
5613
|
{
|
|
5801
5614
|
icon: lucideReact.Sparkles,
|
|
5802
5615
|
isActive: autoRename,
|
|
@@ -5830,7 +5643,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
|
|
|
5830
5643
|
streamRef.current = media;
|
|
5831
5644
|
setStream(media);
|
|
5832
5645
|
} catch (err) {
|
|
5833
|
-
setError(
|
|
5646
|
+
setError(chunkQJLXFDKV_cjs.classifyMediaError(err, "camera"));
|
|
5834
5647
|
} finally {
|
|
5835
5648
|
setIsStarting(false);
|
|
5836
5649
|
}
|
|
@@ -5961,7 +5774,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5961
5774
|
}
|
|
5962
5775
|
) }),
|
|
5963
5776
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5964
|
-
|
|
5777
|
+
chunkQJLXFDKV_cjs.Button,
|
|
5965
5778
|
{
|
|
5966
5779
|
type: "button",
|
|
5967
5780
|
size: "lg",
|
|
@@ -5979,7 +5792,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5979
5792
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTMPDW7J5_cjs.ImageViewer, { blob: capturedBlob, alt: "Captured photo" }) }),
|
|
5980
5793
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5981
5794
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5982
|
-
|
|
5795
|
+
chunkQJLXFDKV_cjs.Button,
|
|
5983
5796
|
{
|
|
5984
5797
|
type: "button",
|
|
5985
5798
|
variant: "outline",
|
|
@@ -5993,7 +5806,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5993
5806
|
}
|
|
5994
5807
|
),
|
|
5995
5808
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5996
|
-
|
|
5809
|
+
chunkQJLXFDKV_cjs.Button,
|
|
5997
5810
|
{
|
|
5998
5811
|
type: "button",
|
|
5999
5812
|
variant: "outline",
|
|
@@ -6007,7 +5820,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
6007
5820
|
}
|
|
6008
5821
|
),
|
|
6009
5822
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6010
|
-
|
|
5823
|
+
chunkQJLXFDKV_cjs.Button,
|
|
6011
5824
|
{
|
|
6012
5825
|
type: "button",
|
|
6013
5826
|
onClick: handleSave,
|
|
@@ -6066,10 +5879,10 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
6066
5879
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
|
|
6067
5880
|
] }),
|
|
6068
5881
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-semibold uppercase tracking-wide text-red-500", children: "Rec" }),
|
|
6069
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children:
|
|
5882
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkQJLXFDKV_cjs.formatElapsed(recorder.elapsedMs) })
|
|
6070
5883
|
] }),
|
|
6071
5884
|
recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6072
|
-
|
|
5885
|
+
chunkQJLXFDKV_cjs.Button,
|
|
6073
5886
|
{
|
|
6074
5887
|
type: "button",
|
|
6075
5888
|
size: "lg",
|
|
@@ -6079,7 +5892,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
6079
5892
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-5 w-5 fill-current" })
|
|
6080
5893
|
}
|
|
6081
5894
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
6082
|
-
|
|
5895
|
+
chunkQJLXFDKV_cjs.Button,
|
|
6083
5896
|
{
|
|
6084
5897
|
type: "button",
|
|
6085
5898
|
size: "lg",
|
|
@@ -6096,7 +5909,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
6096
5909
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTMPDW7J5_cjs.VideoViewer, { blob: recorder.blob, title: "Captured video" }) }),
|
|
6097
5910
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
6098
5911
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6099
|
-
|
|
5912
|
+
chunkQJLXFDKV_cjs.Button,
|
|
6100
5913
|
{
|
|
6101
5914
|
type: "button",
|
|
6102
5915
|
variant: "outline",
|
|
@@ -6110,7 +5923,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
6110
5923
|
}
|
|
6111
5924
|
),
|
|
6112
5925
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6113
|
-
|
|
5926
|
+
chunkQJLXFDKV_cjs.Button,
|
|
6114
5927
|
{
|
|
6115
5928
|
type: "button",
|
|
6116
5929
|
variant: "outline",
|
|
@@ -6124,7 +5937,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
6124
5937
|
}
|
|
6125
5938
|
),
|
|
6126
5939
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6127
|
-
|
|
5940
|
+
chunkQJLXFDKV_cjs.Button,
|
|
6128
5941
|
{
|
|
6129
5942
|
type: "button",
|
|
6130
5943
|
onClick: handleSave,
|
|
@@ -6167,711 +5980,595 @@ function hasVideoTrack(blob) {
|
|
|
6167
5980
|
|
|
6168
5981
|
Object.defineProperty(exports, "DEFAULT_NOTIFY_TONE", {
|
|
6169
5982
|
enumerable: true,
|
|
6170
|
-
get: function () { return
|
|
5983
|
+
get: function () { return chunkZ4M7JB4L_cjs.DEFAULT_NOTIFY_TONE; }
|
|
6171
5984
|
});
|
|
6172
5985
|
Object.defineProperty(exports, "NotificationBell", {
|
|
6173
5986
|
enumerable: true,
|
|
6174
|
-
get: function () { return
|
|
5987
|
+
get: function () { return chunkZ4M7JB4L_cjs.NotificationBell; }
|
|
6175
5988
|
});
|
|
6176
5989
|
Object.defineProperty(exports, "Toaster", {
|
|
6177
5990
|
enumerable: true,
|
|
6178
|
-
get: function () { return
|
|
5991
|
+
get: function () { return chunkZ4M7JB4L_cjs.Toaster; }
|
|
6179
5992
|
});
|
|
6180
5993
|
Object.defineProperty(exports, "formatRelativeTime", {
|
|
6181
5994
|
enumerable: true,
|
|
6182
|
-
get: function () { return
|
|
5995
|
+
get: function () { return chunkZ4M7JB4L_cjs.formatRelativeTime; }
|
|
6183
5996
|
});
|
|
6184
5997
|
Object.defineProperty(exports, "notify", {
|
|
6185
5998
|
enumerable: true,
|
|
6186
|
-
get: function () { return
|
|
5999
|
+
get: function () { return chunkZ4M7JB4L_cjs.notify; }
|
|
6187
6000
|
});
|
|
6188
6001
|
Object.defineProperty(exports, "seedNotifications", {
|
|
6189
6002
|
enumerable: true,
|
|
6190
|
-
get: function () { return
|
|
6003
|
+
get: function () { return chunkZ4M7JB4L_cjs.seedNotifications; }
|
|
6191
6004
|
});
|
|
6192
6005
|
Object.defineProperty(exports, "selectUnread", {
|
|
6193
6006
|
enumerable: true,
|
|
6194
|
-
get: function () { return
|
|
6007
|
+
get: function () { return chunkZ4M7JB4L_cjs.selectUnread; }
|
|
6195
6008
|
});
|
|
6196
6009
|
Object.defineProperty(exports, "toast", {
|
|
6197
6010
|
enumerable: true,
|
|
6198
|
-
get: function () { return
|
|
6011
|
+
get: function () { return chunkZ4M7JB4L_cjs.toast; }
|
|
6199
6012
|
});
|
|
6200
6013
|
Object.defineProperty(exports, "useNotify", {
|
|
6201
6014
|
enumerable: true,
|
|
6202
|
-
get: function () { return
|
|
6203
|
-
});
|
|
6204
|
-
Object.defineProperty(exports, "DEFAULT_USD_PER_CREDIT", {
|
|
6205
|
-
enumerable: true,
|
|
6206
|
-
get: function () { return chunk6BLXIF4R_cjs.DEFAULT_USD_PER_CREDIT; }
|
|
6207
|
-
});
|
|
6208
|
-
Object.defineProperty(exports, "arbiQueryKeys", {
|
|
6209
|
-
enumerable: true,
|
|
6210
|
-
get: function () { return chunk6BLXIF4R_cjs.arbiQueryKeys; }
|
|
6211
|
-
});
|
|
6212
|
-
Object.defineProperty(exports, "cleanDraftMarkdown", {
|
|
6213
|
-
enumerable: true,
|
|
6214
|
-
get: function () { return chunk6BLXIF4R_cjs.cleanDraftMarkdown; }
|
|
6215
|
-
});
|
|
6216
|
-
Object.defineProperty(exports, "cleanDraftWithReport", {
|
|
6217
|
-
enumerable: true,
|
|
6218
|
-
get: function () { return chunk6BLXIF4R_cjs.cleanDraftWithReport; }
|
|
6219
|
-
});
|
|
6220
|
-
Object.defineProperty(exports, "creditsToUsd", {
|
|
6221
|
-
enumerable: true,
|
|
6222
|
-
get: function () { return chunk6BLXIF4R_cjs.creditsToUsd; }
|
|
6223
|
-
});
|
|
6224
|
-
Object.defineProperty(exports, "formatCredits", {
|
|
6225
|
-
enumerable: true,
|
|
6226
|
-
get: function () { return chunk6BLXIF4R_cjs.formatCredits; }
|
|
6227
|
-
});
|
|
6228
|
-
Object.defineProperty(exports, "isUsageMetered", {
|
|
6229
|
-
enumerable: true,
|
|
6230
|
-
get: function () { return chunk6BLXIF4R_cjs.isUsageMetered; }
|
|
6231
|
-
});
|
|
6232
|
-
Object.defineProperty(exports, "promoteBoldTitle", {
|
|
6233
|
-
enumerable: true,
|
|
6234
|
-
get: function () { return chunk6BLXIF4R_cjs.promoteBoldTitle; }
|
|
6235
|
-
});
|
|
6236
|
-
Object.defineProperty(exports, "repairParsedStructure", {
|
|
6237
|
-
enumerable: true,
|
|
6238
|
-
get: function () { return chunk6BLXIF4R_cjs.repairParsedStructure; }
|
|
6239
|
-
});
|
|
6240
|
-
Object.defineProperty(exports, "repairParsedTitle", {
|
|
6241
|
-
enumerable: true,
|
|
6242
|
-
get: function () { return chunk6BLXIF4R_cjs.repairParsedTitle; }
|
|
6243
|
-
});
|
|
6244
|
-
Object.defineProperty(exports, "stripAgentPreamble", {
|
|
6245
|
-
enumerable: true,
|
|
6246
|
-
get: function () { return chunk6BLXIF4R_cjs.stripAgentPreamble; }
|
|
6247
|
-
});
|
|
6248
|
-
Object.defineProperty(exports, "unescapeMarkdown", {
|
|
6249
|
-
enumerable: true,
|
|
6250
|
-
get: function () { return chunk6BLXIF4R_cjs.unescapeMarkdown; }
|
|
6251
|
-
});
|
|
6252
|
-
Object.defineProperty(exports, "unwrapCitationLinks", {
|
|
6253
|
-
enumerable: true,
|
|
6254
|
-
get: function () { return chunk6BLXIF4R_cjs.unwrapCitationLinks; }
|
|
6255
|
-
});
|
|
6256
|
-
Object.defineProperty(exports, "useActivity", {
|
|
6257
|
-
enumerable: true,
|
|
6258
|
-
get: function () { return chunk6BLXIF4R_cjs.useActivity; }
|
|
6259
|
-
});
|
|
6260
|
-
Object.defineProperty(exports, "useAgents", {
|
|
6261
|
-
enumerable: true,
|
|
6262
|
-
get: function () { return chunk6BLXIF4R_cjs.useAgents; }
|
|
6263
|
-
});
|
|
6264
|
-
Object.defineProperty(exports, "useAssistantQuery", {
|
|
6265
|
-
enumerable: true,
|
|
6266
|
-
get: function () { return chunk6BLXIF4R_cjs.useAssistantQuery; }
|
|
6267
|
-
});
|
|
6268
|
-
Object.defineProperty(exports, "useConfigs", {
|
|
6269
|
-
enumerable: true,
|
|
6270
|
-
get: function () { return chunk6BLXIF4R_cjs.useConfigs; }
|
|
6271
|
-
});
|
|
6272
|
-
Object.defineProperty(exports, "useConversationThreads", {
|
|
6273
|
-
enumerable: true,
|
|
6274
|
-
get: function () { return chunk6BLXIF4R_cjs.useConversationThreads; }
|
|
6275
|
-
});
|
|
6276
|
-
Object.defineProperty(exports, "useConversations", {
|
|
6277
|
-
enumerable: true,
|
|
6278
|
-
get: function () { return chunk6BLXIF4R_cjs.useConversations; }
|
|
6279
|
-
});
|
|
6280
|
-
Object.defineProperty(exports, "useDeleteAgents", {
|
|
6281
|
-
enumerable: true,
|
|
6282
|
-
get: function () { return chunk6BLXIF4R_cjs.useDeleteAgents; }
|
|
6283
|
-
});
|
|
6284
|
-
Object.defineProperty(exports, "useDocuments", {
|
|
6285
|
-
enumerable: true,
|
|
6286
|
-
get: function () { return chunk6BLXIF4R_cjs.useDocuments; }
|
|
6287
|
-
});
|
|
6288
|
-
Object.defineProperty(exports, "useFacts", {
|
|
6289
|
-
enumerable: true,
|
|
6290
|
-
get: function () { return chunk6BLXIF4R_cjs.useFacts; }
|
|
6291
|
-
});
|
|
6292
|
-
Object.defineProperty(exports, "useHealth", {
|
|
6293
|
-
enumerable: true,
|
|
6294
|
-
get: function () { return chunk6BLXIF4R_cjs.useHealth; }
|
|
6295
|
-
});
|
|
6296
|
-
Object.defineProperty(exports, "useParsedDocument", {
|
|
6297
|
-
enumerable: true,
|
|
6298
|
-
get: function () { return chunk6BLXIF4R_cjs.useParsedDocument; }
|
|
6299
|
-
});
|
|
6300
|
-
Object.defineProperty(exports, "useProjectInvoices", {
|
|
6301
|
-
enumerable: true,
|
|
6302
|
-
get: function () { return chunk6BLXIF4R_cjs.useProjectInvoices; }
|
|
6303
|
-
});
|
|
6304
|
-
Object.defineProperty(exports, "useProjectUsage", {
|
|
6305
|
-
enumerable: true,
|
|
6306
|
-
get: function () { return chunk6BLXIF4R_cjs.useProjectUsage; }
|
|
6307
|
-
});
|
|
6308
|
-
Object.defineProperty(exports, "useProjects", {
|
|
6309
|
-
enumerable: true,
|
|
6310
|
-
get: function () { return chunk6BLXIF4R_cjs.useProjects; }
|
|
6311
|
-
});
|
|
6312
|
-
Object.defineProperty(exports, "useProjectsUsage", {
|
|
6313
|
-
enumerable: true,
|
|
6314
|
-
get: function () { return chunk6BLXIF4R_cjs.useProjectsUsage; }
|
|
6315
|
-
});
|
|
6316
|
-
Object.defineProperty(exports, "useSessions", {
|
|
6317
|
-
enumerable: true,
|
|
6318
|
-
get: function () { return chunk6BLXIF4R_cjs.useSessions; }
|
|
6319
|
-
});
|
|
6320
|
-
Object.defineProperty(exports, "useTags", {
|
|
6321
|
-
enumerable: true,
|
|
6322
|
-
get: function () { return chunk6BLXIF4R_cjs.useTags; }
|
|
6323
|
-
});
|
|
6324
|
-
Object.defineProperty(exports, "useThumbnails", {
|
|
6325
|
-
enumerable: true,
|
|
6326
|
-
get: function () { return chunk6BLXIF4R_cjs.useThumbnails; }
|
|
6327
|
-
});
|
|
6328
|
-
Object.defineProperty(exports, "useUserUsageToday", {
|
|
6329
|
-
enumerable: true,
|
|
6330
|
-
get: function () { return chunk6BLXIF4R_cjs.useUserUsageToday; }
|
|
6331
|
-
});
|
|
6332
|
-
Object.defineProperty(exports, "useWorkspaceUsers", {
|
|
6333
|
-
enumerable: true,
|
|
6334
|
-
get: function () { return chunk6BLXIF4R_cjs.useWorkspaceUsers; }
|
|
6335
|
-
});
|
|
6336
|
-
Object.defineProperty(exports, "useWorkspaces", {
|
|
6337
|
-
enumerable: true,
|
|
6338
|
-
get: function () { return chunk6BLXIF4R_cjs.useWorkspaces; }
|
|
6015
|
+
get: function () { return chunkZ4M7JB4L_cjs.useNotify; }
|
|
6339
6016
|
});
|
|
6340
6017
|
Object.defineProperty(exports, "AgentBadge", {
|
|
6341
6018
|
enumerable: true,
|
|
6342
|
-
get: function () { return
|
|
6019
|
+
get: function () { return chunkQJLXFDKV_cjs.AgentBadge; }
|
|
6343
6020
|
});
|
|
6344
6021
|
Object.defineProperty(exports, "AiMarkdown", {
|
|
6345
6022
|
enumerable: true,
|
|
6346
|
-
get: function () { return
|
|
6023
|
+
get: function () { return chunkQJLXFDKV_cjs.AiMarkdown; }
|
|
6347
6024
|
});
|
|
6348
6025
|
Object.defineProperty(exports, "ArbiBotHeadIcon", {
|
|
6349
6026
|
enumerable: true,
|
|
6350
|
-
get: function () { return
|
|
6027
|
+
get: function () { return chunkQJLXFDKV_cjs.ArbiBotHeadIcon; }
|
|
6351
6028
|
});
|
|
6352
6029
|
Object.defineProperty(exports, "AudIcon", {
|
|
6353
6030
|
enumerable: true,
|
|
6354
|
-
get: function () { return
|
|
6031
|
+
get: function () { return chunkQJLXFDKV_cjs.AudIcon; }
|
|
6355
6032
|
});
|
|
6356
6033
|
Object.defineProperty(exports, "Avatar", {
|
|
6357
6034
|
enumerable: true,
|
|
6358
|
-
get: function () { return
|
|
6035
|
+
get: function () { return chunkQJLXFDKV_cjs.Avatar; }
|
|
6359
6036
|
});
|
|
6360
6037
|
Object.defineProperty(exports, "AvatarFallback", {
|
|
6361
6038
|
enumerable: true,
|
|
6362
|
-
get: function () { return
|
|
6039
|
+
get: function () { return chunkQJLXFDKV_cjs.AvatarFallback; }
|
|
6363
6040
|
});
|
|
6364
6041
|
Object.defineProperty(exports, "AvatarImage", {
|
|
6365
6042
|
enumerable: true,
|
|
6366
|
-
get: function () { return
|
|
6043
|
+
get: function () { return chunkQJLXFDKV_cjs.AvatarImage; }
|
|
6367
6044
|
});
|
|
6368
6045
|
Object.defineProperty(exports, "BASE_COLORS", {
|
|
6369
6046
|
enumerable: true,
|
|
6370
|
-
get: function () { return
|
|
6047
|
+
get: function () { return chunkQJLXFDKV_cjs.BASE_COLORS; }
|
|
6371
6048
|
});
|
|
6372
6049
|
Object.defineProperty(exports, "Badge", {
|
|
6373
6050
|
enumerable: true,
|
|
6374
|
-
get: function () { return
|
|
6051
|
+
get: function () { return chunkQJLXFDKV_cjs.Badge; }
|
|
6375
6052
|
});
|
|
6376
6053
|
Object.defineProperty(exports, "Button", {
|
|
6377
6054
|
enumerable: true,
|
|
6378
|
-
get: function () { return
|
|
6055
|
+
get: function () { return chunkQJLXFDKV_cjs.Button; }
|
|
6379
6056
|
});
|
|
6380
6057
|
Object.defineProperty(exports, "Card", {
|
|
6381
6058
|
enumerable: true,
|
|
6382
|
-
get: function () { return
|
|
6059
|
+
get: function () { return chunkQJLXFDKV_cjs.Card; }
|
|
6383
6060
|
});
|
|
6384
6061
|
Object.defineProperty(exports, "CardContent", {
|
|
6385
6062
|
enumerable: true,
|
|
6386
|
-
get: function () { return
|
|
6063
|
+
get: function () { return chunkQJLXFDKV_cjs.CardContent; }
|
|
6387
6064
|
});
|
|
6388
6065
|
Object.defineProperty(exports, "CardDescription", {
|
|
6389
6066
|
enumerable: true,
|
|
6390
|
-
get: function () { return
|
|
6067
|
+
get: function () { return chunkQJLXFDKV_cjs.CardDescription; }
|
|
6391
6068
|
});
|
|
6392
6069
|
Object.defineProperty(exports, "CardFooter", {
|
|
6393
6070
|
enumerable: true,
|
|
6394
|
-
get: function () { return
|
|
6071
|
+
get: function () { return chunkQJLXFDKV_cjs.CardFooter; }
|
|
6395
6072
|
});
|
|
6396
6073
|
Object.defineProperty(exports, "CardHeader", {
|
|
6397
6074
|
enumerable: true,
|
|
6398
|
-
get: function () { return
|
|
6075
|
+
get: function () { return chunkQJLXFDKV_cjs.CardHeader; }
|
|
6399
6076
|
});
|
|
6400
6077
|
Object.defineProperty(exports, "CardTitle", {
|
|
6401
6078
|
enumerable: true,
|
|
6402
|
-
get: function () { return
|
|
6079
|
+
get: function () { return chunkQJLXFDKV_cjs.CardTitle; }
|
|
6403
6080
|
});
|
|
6404
6081
|
Object.defineProperty(exports, "Checkbox", {
|
|
6405
6082
|
enumerable: true,
|
|
6406
|
-
get: function () { return
|
|
6083
|
+
get: function () { return chunkQJLXFDKV_cjs.Checkbox; }
|
|
6407
6084
|
});
|
|
6408
6085
|
Object.defineProperty(exports, "Collapsible", {
|
|
6409
6086
|
enumerable: true,
|
|
6410
|
-
get: function () { return
|
|
6087
|
+
get: function () { return chunkQJLXFDKV_cjs.Collapsible; }
|
|
6411
6088
|
});
|
|
6412
6089
|
Object.defineProperty(exports, "CollapsibleContent", {
|
|
6413
6090
|
enumerable: true,
|
|
6414
|
-
get: function () { return
|
|
6091
|
+
get: function () { return chunkQJLXFDKV_cjs.CollapsibleContent; }
|
|
6415
6092
|
});
|
|
6416
6093
|
Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
6417
6094
|
enumerable: true,
|
|
6418
|
-
get: function () { return
|
|
6095
|
+
get: function () { return chunkQJLXFDKV_cjs.CollapsibleTrigger; }
|
|
6419
6096
|
});
|
|
6420
6097
|
Object.defineProperty(exports, "Command", {
|
|
6421
6098
|
enumerable: true,
|
|
6422
|
-
get: function () { return
|
|
6099
|
+
get: function () { return chunkQJLXFDKV_cjs.Command; }
|
|
6423
6100
|
});
|
|
6424
6101
|
Object.defineProperty(exports, "CommandDialog", {
|
|
6425
6102
|
enumerable: true,
|
|
6426
|
-
get: function () { return
|
|
6103
|
+
get: function () { return chunkQJLXFDKV_cjs.CommandDialog; }
|
|
6427
6104
|
});
|
|
6428
6105
|
Object.defineProperty(exports, "CommandEmpty", {
|
|
6429
6106
|
enumerable: true,
|
|
6430
|
-
get: function () { return
|
|
6107
|
+
get: function () { return chunkQJLXFDKV_cjs.CommandEmpty; }
|
|
6431
6108
|
});
|
|
6432
6109
|
Object.defineProperty(exports, "CommandGroup", {
|
|
6433
6110
|
enumerable: true,
|
|
6434
|
-
get: function () { return
|
|
6111
|
+
get: function () { return chunkQJLXFDKV_cjs.CommandGroup; }
|
|
6435
6112
|
});
|
|
6436
6113
|
Object.defineProperty(exports, "CommandInput", {
|
|
6437
6114
|
enumerable: true,
|
|
6438
|
-
get: function () { return
|
|
6115
|
+
get: function () { return chunkQJLXFDKV_cjs.CommandInput; }
|
|
6439
6116
|
});
|
|
6440
6117
|
Object.defineProperty(exports, "CommandItem", {
|
|
6441
6118
|
enumerable: true,
|
|
6442
|
-
get: function () { return
|
|
6119
|
+
get: function () { return chunkQJLXFDKV_cjs.CommandItem; }
|
|
6443
6120
|
});
|
|
6444
6121
|
Object.defineProperty(exports, "CommandList", {
|
|
6445
6122
|
enumerable: true,
|
|
6446
|
-
get: function () { return
|
|
6123
|
+
get: function () { return chunkQJLXFDKV_cjs.CommandList; }
|
|
6447
6124
|
});
|
|
6448
6125
|
Object.defineProperty(exports, "CommandSeparator", {
|
|
6449
6126
|
enumerable: true,
|
|
6450
|
-
get: function () { return
|
|
6127
|
+
get: function () { return chunkQJLXFDKV_cjs.CommandSeparator; }
|
|
6451
6128
|
});
|
|
6452
6129
|
Object.defineProperty(exports, "CommandShortcut", {
|
|
6453
6130
|
enumerable: true,
|
|
6454
|
-
get: function () { return
|
|
6131
|
+
get: function () { return chunkQJLXFDKV_cjs.CommandShortcut; }
|
|
6455
6132
|
});
|
|
6456
6133
|
Object.defineProperty(exports, "Dialog", {
|
|
6457
6134
|
enumerable: true,
|
|
6458
|
-
get: function () { return
|
|
6135
|
+
get: function () { return chunkQJLXFDKV_cjs.Dialog; }
|
|
6459
6136
|
});
|
|
6460
6137
|
Object.defineProperty(exports, "DialogClose", {
|
|
6461
6138
|
enumerable: true,
|
|
6462
|
-
get: function () { return
|
|
6139
|
+
get: function () { return chunkQJLXFDKV_cjs.DialogClose; }
|
|
6463
6140
|
});
|
|
6464
6141
|
Object.defineProperty(exports, "DialogContent", {
|
|
6465
6142
|
enumerable: true,
|
|
6466
|
-
get: function () { return
|
|
6143
|
+
get: function () { return chunkQJLXFDKV_cjs.DialogContent; }
|
|
6467
6144
|
});
|
|
6468
6145
|
Object.defineProperty(exports, "DialogDescription", {
|
|
6469
6146
|
enumerable: true,
|
|
6470
|
-
get: function () { return
|
|
6147
|
+
get: function () { return chunkQJLXFDKV_cjs.DialogDescription; }
|
|
6471
6148
|
});
|
|
6472
6149
|
Object.defineProperty(exports, "DialogFooter", {
|
|
6473
6150
|
enumerable: true,
|
|
6474
|
-
get: function () { return
|
|
6151
|
+
get: function () { return chunkQJLXFDKV_cjs.DialogFooter; }
|
|
6475
6152
|
});
|
|
6476
6153
|
Object.defineProperty(exports, "DialogHeader", {
|
|
6477
6154
|
enumerable: true,
|
|
6478
|
-
get: function () { return
|
|
6155
|
+
get: function () { return chunkQJLXFDKV_cjs.DialogHeader; }
|
|
6479
6156
|
});
|
|
6480
6157
|
Object.defineProperty(exports, "DialogOverlay", {
|
|
6481
6158
|
enumerable: true,
|
|
6482
|
-
get: function () { return
|
|
6159
|
+
get: function () { return chunkQJLXFDKV_cjs.DialogOverlay; }
|
|
6483
6160
|
});
|
|
6484
6161
|
Object.defineProperty(exports, "DialogPortal", {
|
|
6485
6162
|
enumerable: true,
|
|
6486
|
-
get: function () { return
|
|
6163
|
+
get: function () { return chunkQJLXFDKV_cjs.DialogPortal; }
|
|
6487
6164
|
});
|
|
6488
6165
|
Object.defineProperty(exports, "DialogTitle", {
|
|
6489
6166
|
enumerable: true,
|
|
6490
|
-
get: function () { return
|
|
6167
|
+
get: function () { return chunkQJLXFDKV_cjs.DialogTitle; }
|
|
6491
6168
|
});
|
|
6492
6169
|
Object.defineProperty(exports, "DialogTrigger", {
|
|
6493
6170
|
enumerable: true,
|
|
6494
|
-
get: function () { return
|
|
6171
|
+
get: function () { return chunkQJLXFDKV_cjs.DialogTrigger; }
|
|
6495
6172
|
});
|
|
6496
6173
|
Object.defineProperty(exports, "DictateProvider", {
|
|
6497
6174
|
enumerable: true,
|
|
6498
|
-
get: function () { return
|
|
6175
|
+
get: function () { return chunkQJLXFDKV_cjs.DictateProvider; }
|
|
6176
|
+
});
|
|
6177
|
+
Object.defineProperty(exports, "DocIcon", {
|
|
6178
|
+
enumerable: true,
|
|
6179
|
+
get: function () { return chunkQJLXFDKV_cjs.DocIcon; }
|
|
6499
6180
|
});
|
|
6500
6181
|
Object.defineProperty(exports, "DocumentCard", {
|
|
6501
6182
|
enumerable: true,
|
|
6502
|
-
get: function () { return
|
|
6183
|
+
get: function () { return chunkQJLXFDKV_cjs.DocumentCard; }
|
|
6503
6184
|
});
|
|
6504
6185
|
Object.defineProperty(exports, "DocumentEntity", {
|
|
6505
6186
|
enumerable: true,
|
|
6506
|
-
get: function () { return
|
|
6187
|
+
get: function () { return chunkQJLXFDKV_cjs.DocumentEntity; }
|
|
6507
6188
|
});
|
|
6508
6189
|
Object.defineProperty(exports, "ENTITY_MAPPINGS", {
|
|
6509
6190
|
enumerable: true,
|
|
6510
|
-
get: function () { return
|
|
6191
|
+
get: function () { return chunkQJLXFDKV_cjs.ENTITY_MAPPINGS; }
|
|
6511
6192
|
});
|
|
6512
6193
|
Object.defineProperty(exports, "EmlIcon", {
|
|
6513
6194
|
enumerable: true,
|
|
6514
|
-
get: function () { return
|
|
6195
|
+
get: function () { return chunkQJLXFDKV_cjs.EmlIcon; }
|
|
6515
6196
|
});
|
|
6516
6197
|
Object.defineProperty(exports, "EntityIcon", {
|
|
6517
6198
|
enumerable: true,
|
|
6518
|
-
get: function () { return
|
|
6199
|
+
get: function () { return chunkQJLXFDKV_cjs.EntityIcon; }
|
|
6519
6200
|
});
|
|
6520
6201
|
Object.defineProperty(exports, "EntityPill", {
|
|
6521
6202
|
enumerable: true,
|
|
6522
|
-
get: function () { return
|
|
6203
|
+
get: function () { return chunkQJLXFDKV_cjs.EntityPill; }
|
|
6523
6204
|
});
|
|
6524
6205
|
Object.defineProperty(exports, "FILE_TYPE_COLORS", {
|
|
6525
6206
|
enumerable: true,
|
|
6526
|
-
get: function () { return
|
|
6207
|
+
get: function () { return chunkQJLXFDKV_cjs.FILE_TYPE_COLORS; }
|
|
6527
6208
|
});
|
|
6528
6209
|
Object.defineProperty(exports, "HoverCard", {
|
|
6529
6210
|
enumerable: true,
|
|
6530
|
-
get: function () { return
|
|
6211
|
+
get: function () { return chunkQJLXFDKV_cjs.HoverCard; }
|
|
6531
6212
|
});
|
|
6532
6213
|
Object.defineProperty(exports, "HoverCardContent", {
|
|
6533
6214
|
enumerable: true,
|
|
6534
|
-
get: function () { return
|
|
6215
|
+
get: function () { return chunkQJLXFDKV_cjs.HoverCardContent; }
|
|
6535
6216
|
});
|
|
6536
6217
|
Object.defineProperty(exports, "HoverCardTrigger", {
|
|
6537
6218
|
enumerable: true,
|
|
6538
|
-
get: function () { return
|
|
6219
|
+
get: function () { return chunkQJLXFDKV_cjs.HoverCardTrigger; }
|
|
6220
|
+
});
|
|
6221
|
+
Object.defineProperty(exports, "HtmlIcon", {
|
|
6222
|
+
enumerable: true,
|
|
6223
|
+
get: function () { return chunkQJLXFDKV_cjs.HtmlIcon; }
|
|
6539
6224
|
});
|
|
6540
6225
|
Object.defineProperty(exports, "IconToggle", {
|
|
6541
6226
|
enumerable: true,
|
|
6542
|
-
get: function () { return
|
|
6227
|
+
get: function () { return chunkQJLXFDKV_cjs.IconToggle; }
|
|
6543
6228
|
});
|
|
6544
6229
|
Object.defineProperty(exports, "ImgIcon", {
|
|
6545
6230
|
enumerable: true,
|
|
6546
|
-
get: function () { return
|
|
6231
|
+
get: function () { return chunkQJLXFDKV_cjs.ImgIcon; }
|
|
6547
6232
|
});
|
|
6548
6233
|
Object.defineProperty(exports, "InlineMicButton", {
|
|
6549
6234
|
enumerable: true,
|
|
6550
|
-
get: function () { return
|
|
6235
|
+
get: function () { return chunkQJLXFDKV_cjs.InlineMicButton; }
|
|
6551
6236
|
});
|
|
6552
6237
|
Object.defineProperty(exports, "Input", {
|
|
6553
6238
|
enumerable: true,
|
|
6554
|
-
get: function () { return
|
|
6239
|
+
get: function () { return chunkQJLXFDKV_cjs.Input; }
|
|
6555
6240
|
});
|
|
6556
6241
|
Object.defineProperty(exports, "Label", {
|
|
6557
6242
|
enumerable: true,
|
|
6558
|
-
get: function () { return
|
|
6243
|
+
get: function () { return chunkQJLXFDKV_cjs.Label; }
|
|
6559
6244
|
});
|
|
6560
6245
|
Object.defineProperty(exports, "MarkMenu", {
|
|
6561
6246
|
enumerable: true,
|
|
6562
|
-
get: function () { return
|
|
6247
|
+
get: function () { return chunkQJLXFDKV_cjs.MarkMenu; }
|
|
6563
6248
|
});
|
|
6564
6249
|
Object.defineProperty(exports, "MicRecordingOverlay", {
|
|
6565
6250
|
enumerable: true,
|
|
6566
|
-
get: function () { return
|
|
6251
|
+
get: function () { return chunkQJLXFDKV_cjs.MicRecordingOverlay; }
|
|
6567
6252
|
});
|
|
6568
6253
|
Object.defineProperty(exports, "MicWaveformIndicator", {
|
|
6569
6254
|
enumerable: true,
|
|
6570
|
-
get: function () { return
|
|
6255
|
+
get: function () { return chunkQJLXFDKV_cjs.MicWaveformIndicator; }
|
|
6571
6256
|
});
|
|
6572
6257
|
Object.defineProperty(exports, "NEUTRAL_GRAY", {
|
|
6573
6258
|
enumerable: true,
|
|
6574
|
-
get: function () { return
|
|
6259
|
+
get: function () { return chunkQJLXFDKV_cjs.NEUTRAL_GRAY; }
|
|
6575
6260
|
});
|
|
6576
6261
|
Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
|
|
6577
6262
|
enumerable: true,
|
|
6578
|
-
get: function () { return
|
|
6263
|
+
get: function () { return chunkQJLXFDKV_cjs.PLACEHOLDER_COLOR; }
|
|
6579
6264
|
});
|
|
6580
6265
|
Object.defineProperty(exports, "PassageCard", {
|
|
6581
6266
|
enumerable: true,
|
|
6582
|
-
get: function () { return
|
|
6267
|
+
get: function () { return chunkQJLXFDKV_cjs.PassageCard; }
|
|
6583
6268
|
});
|
|
6584
6269
|
Object.defineProperty(exports, "PdfIcon", {
|
|
6585
6270
|
enumerable: true,
|
|
6586
|
-
get: function () { return
|
|
6271
|
+
get: function () { return chunkQJLXFDKV_cjs.PdfIcon; }
|
|
6587
6272
|
});
|
|
6588
6273
|
Object.defineProperty(exports, "Popover", {
|
|
6589
6274
|
enumerable: true,
|
|
6590
|
-
get: function () { return
|
|
6275
|
+
get: function () { return chunkQJLXFDKV_cjs.Popover; }
|
|
6591
6276
|
});
|
|
6592
6277
|
Object.defineProperty(exports, "PopoverAnchor", {
|
|
6593
6278
|
enumerable: true,
|
|
6594
|
-
get: function () { return
|
|
6279
|
+
get: function () { return chunkQJLXFDKV_cjs.PopoverAnchor; }
|
|
6595
6280
|
});
|
|
6596
6281
|
Object.defineProperty(exports, "PopoverContent", {
|
|
6597
6282
|
enumerable: true,
|
|
6598
|
-
get: function () { return
|
|
6283
|
+
get: function () { return chunkQJLXFDKV_cjs.PopoverContent; }
|
|
6599
6284
|
});
|
|
6600
6285
|
Object.defineProperty(exports, "PopoverTrigger", {
|
|
6601
6286
|
enumerable: true,
|
|
6602
|
-
get: function () { return
|
|
6287
|
+
get: function () { return chunkQJLXFDKV_cjs.PopoverTrigger; }
|
|
6603
6288
|
});
|
|
6604
6289
|
Object.defineProperty(exports, "PresenceLabel", {
|
|
6605
6290
|
enumerable: true,
|
|
6606
|
-
get: function () { return
|
|
6291
|
+
get: function () { return chunkQJLXFDKV_cjs.PresenceLabel; }
|
|
6607
6292
|
});
|
|
6608
6293
|
Object.defineProperty(exports, "Progress", {
|
|
6609
6294
|
enumerable: true,
|
|
6610
|
-
get: function () { return
|
|
6295
|
+
get: function () { return chunkQJLXFDKV_cjs.Progress; }
|
|
6611
6296
|
});
|
|
6612
6297
|
Object.defineProperty(exports, "ProjectEntity", {
|
|
6613
6298
|
enumerable: true,
|
|
6614
|
-
get: function () { return
|
|
6299
|
+
get: function () { return chunkQJLXFDKV_cjs.ProjectEntity; }
|
|
6615
6300
|
});
|
|
6616
6301
|
Object.defineProperty(exports, "RadioGroup", {
|
|
6617
6302
|
enumerable: true,
|
|
6618
|
-
get: function () { return
|
|
6303
|
+
get: function () { return chunkQJLXFDKV_cjs.RadioGroup; }
|
|
6619
6304
|
});
|
|
6620
6305
|
Object.defineProperty(exports, "RadioGroupItem", {
|
|
6621
6306
|
enumerable: true,
|
|
6622
|
-
get: function () { return
|
|
6307
|
+
get: function () { return chunkQJLXFDKV_cjs.RadioGroupItem; }
|
|
6623
6308
|
});
|
|
6624
6309
|
Object.defineProperty(exports, "RagDot", {
|
|
6625
6310
|
enumerable: true,
|
|
6626
|
-
get: function () { return
|
|
6311
|
+
get: function () { return chunkQJLXFDKV_cjs.RagDot; }
|
|
6627
6312
|
});
|
|
6628
6313
|
Object.defineProperty(exports, "RelevanceDot", {
|
|
6629
6314
|
enumerable: true,
|
|
6630
|
-
get: function () { return
|
|
6315
|
+
get: function () { return chunkQJLXFDKV_cjs.RelevanceDot; }
|
|
6631
6316
|
});
|
|
6632
6317
|
Object.defineProperty(exports, "Select", {
|
|
6633
6318
|
enumerable: true,
|
|
6634
|
-
get: function () { return
|
|
6319
|
+
get: function () { return chunkQJLXFDKV_cjs.Select; }
|
|
6635
6320
|
});
|
|
6636
6321
|
Object.defineProperty(exports, "SelectContent", {
|
|
6637
6322
|
enumerable: true,
|
|
6638
|
-
get: function () { return
|
|
6323
|
+
get: function () { return chunkQJLXFDKV_cjs.SelectContent; }
|
|
6639
6324
|
});
|
|
6640
6325
|
Object.defineProperty(exports, "SelectGroup", {
|
|
6641
6326
|
enumerable: true,
|
|
6642
|
-
get: function () { return
|
|
6327
|
+
get: function () { return chunkQJLXFDKV_cjs.SelectGroup; }
|
|
6643
6328
|
});
|
|
6644
6329
|
Object.defineProperty(exports, "SelectItem", {
|
|
6645
6330
|
enumerable: true,
|
|
6646
|
-
get: function () { return
|
|
6331
|
+
get: function () { return chunkQJLXFDKV_cjs.SelectItem; }
|
|
6647
6332
|
});
|
|
6648
6333
|
Object.defineProperty(exports, "SelectLabel", {
|
|
6649
6334
|
enumerable: true,
|
|
6650
|
-
get: function () { return
|
|
6335
|
+
get: function () { return chunkQJLXFDKV_cjs.SelectLabel; }
|
|
6651
6336
|
});
|
|
6652
6337
|
Object.defineProperty(exports, "SelectScrollDownButton", {
|
|
6653
6338
|
enumerable: true,
|
|
6654
|
-
get: function () { return
|
|
6339
|
+
get: function () { return chunkQJLXFDKV_cjs.SelectScrollDownButton; }
|
|
6655
6340
|
});
|
|
6656
6341
|
Object.defineProperty(exports, "SelectScrollUpButton", {
|
|
6657
6342
|
enumerable: true,
|
|
6658
|
-
get: function () { return
|
|
6343
|
+
get: function () { return chunkQJLXFDKV_cjs.SelectScrollUpButton; }
|
|
6659
6344
|
});
|
|
6660
6345
|
Object.defineProperty(exports, "SelectSeparator", {
|
|
6661
6346
|
enumerable: true,
|
|
6662
|
-
get: function () { return
|
|
6347
|
+
get: function () { return chunkQJLXFDKV_cjs.SelectSeparator; }
|
|
6663
6348
|
});
|
|
6664
6349
|
Object.defineProperty(exports, "SelectTrigger", {
|
|
6665
6350
|
enumerable: true,
|
|
6666
|
-
get: function () { return
|
|
6351
|
+
get: function () { return chunkQJLXFDKV_cjs.SelectTrigger; }
|
|
6667
6352
|
});
|
|
6668
6353
|
Object.defineProperty(exports, "SelectValue", {
|
|
6669
6354
|
enumerable: true,
|
|
6670
|
-
get: function () { return
|
|
6355
|
+
get: function () { return chunkQJLXFDKV_cjs.SelectValue; }
|
|
6671
6356
|
});
|
|
6672
6357
|
Object.defineProperty(exports, "Separator", {
|
|
6673
6358
|
enumerable: true,
|
|
6674
|
-
get: function () { return
|
|
6359
|
+
get: function () { return chunkQJLXFDKV_cjs.Separator; }
|
|
6675
6360
|
});
|
|
6676
6361
|
Object.defineProperty(exports, "Slider", {
|
|
6677
6362
|
enumerable: true,
|
|
6678
|
-
get: function () { return
|
|
6363
|
+
get: function () { return chunkQJLXFDKV_cjs.Slider; }
|
|
6679
6364
|
});
|
|
6680
6365
|
Object.defineProperty(exports, "StatusPill", {
|
|
6681
6366
|
enumerable: true,
|
|
6682
|
-
get: function () { return
|
|
6367
|
+
get: function () { return chunkQJLXFDKV_cjs.StatusPill; }
|
|
6683
6368
|
});
|
|
6684
6369
|
Object.defineProperty(exports, "Switch", {
|
|
6685
6370
|
enumerable: true,
|
|
6686
|
-
get: function () { return
|
|
6371
|
+
get: function () { return chunkQJLXFDKV_cjs.Switch; }
|
|
6687
6372
|
});
|
|
6688
6373
|
Object.defineProperty(exports, "TAG_TYPE_ICONS", {
|
|
6689
6374
|
enumerable: true,
|
|
6690
|
-
get: function () { return
|
|
6375
|
+
get: function () { return chunkQJLXFDKV_cjs.TAG_TYPE_ICONS; }
|
|
6691
6376
|
});
|
|
6692
6377
|
Object.defineProperty(exports, "TAG_TYPE_LABELS", {
|
|
6693
6378
|
enumerable: true,
|
|
6694
|
-
get: function () { return
|
|
6379
|
+
get: function () { return chunkQJLXFDKV_cjs.TAG_TYPE_LABELS; }
|
|
6695
6380
|
});
|
|
6696
6381
|
Object.defineProperty(exports, "Table", {
|
|
6697
6382
|
enumerable: true,
|
|
6698
|
-
get: function () { return
|
|
6383
|
+
get: function () { return chunkQJLXFDKV_cjs.Table; }
|
|
6699
6384
|
});
|
|
6700
6385
|
Object.defineProperty(exports, "TableBody", {
|
|
6701
6386
|
enumerable: true,
|
|
6702
|
-
get: function () { return
|
|
6387
|
+
get: function () { return chunkQJLXFDKV_cjs.TableBody; }
|
|
6703
6388
|
});
|
|
6704
6389
|
Object.defineProperty(exports, "TableCaption", {
|
|
6705
6390
|
enumerable: true,
|
|
6706
|
-
get: function () { return
|
|
6391
|
+
get: function () { return chunkQJLXFDKV_cjs.TableCaption; }
|
|
6707
6392
|
});
|
|
6708
6393
|
Object.defineProperty(exports, "TableCell", {
|
|
6709
6394
|
enumerable: true,
|
|
6710
|
-
get: function () { return
|
|
6395
|
+
get: function () { return chunkQJLXFDKV_cjs.TableCell; }
|
|
6711
6396
|
});
|
|
6712
6397
|
Object.defineProperty(exports, "TableFooter", {
|
|
6713
6398
|
enumerable: true,
|
|
6714
|
-
get: function () { return
|
|
6399
|
+
get: function () { return chunkQJLXFDKV_cjs.TableFooter; }
|
|
6715
6400
|
});
|
|
6716
6401
|
Object.defineProperty(exports, "TableHead", {
|
|
6717
6402
|
enumerable: true,
|
|
6718
|
-
get: function () { return
|
|
6403
|
+
get: function () { return chunkQJLXFDKV_cjs.TableHead; }
|
|
6719
6404
|
});
|
|
6720
6405
|
Object.defineProperty(exports, "TableHeader", {
|
|
6721
6406
|
enumerable: true,
|
|
6722
|
-
get: function () { return
|
|
6407
|
+
get: function () { return chunkQJLXFDKV_cjs.TableHeader; }
|
|
6723
6408
|
});
|
|
6724
6409
|
Object.defineProperty(exports, "TableRow", {
|
|
6725
6410
|
enumerable: true,
|
|
6726
|
-
get: function () { return
|
|
6411
|
+
get: function () { return chunkQJLXFDKV_cjs.TableRow; }
|
|
6727
6412
|
});
|
|
6728
6413
|
Object.defineProperty(exports, "Tabs", {
|
|
6729
6414
|
enumerable: true,
|
|
6730
|
-
get: function () { return
|
|
6415
|
+
get: function () { return chunkQJLXFDKV_cjs.Tabs; }
|
|
6731
6416
|
});
|
|
6732
6417
|
Object.defineProperty(exports, "TabsContent", {
|
|
6733
6418
|
enumerable: true,
|
|
6734
|
-
get: function () { return
|
|
6419
|
+
get: function () { return chunkQJLXFDKV_cjs.TabsContent; }
|
|
6735
6420
|
});
|
|
6736
6421
|
Object.defineProperty(exports, "TabsList", {
|
|
6737
6422
|
enumerable: true,
|
|
6738
|
-
get: function () { return
|
|
6423
|
+
get: function () { return chunkQJLXFDKV_cjs.TabsList; }
|
|
6739
6424
|
});
|
|
6740
6425
|
Object.defineProperty(exports, "TabsTrigger", {
|
|
6741
6426
|
enumerable: true,
|
|
6742
|
-
get: function () { return
|
|
6427
|
+
get: function () { return chunkQJLXFDKV_cjs.TabsTrigger; }
|
|
6743
6428
|
});
|
|
6744
6429
|
Object.defineProperty(exports, "TagEntity", {
|
|
6745
6430
|
enumerable: true,
|
|
6746
|
-
get: function () { return
|
|
6431
|
+
get: function () { return chunkQJLXFDKV_cjs.TagEntity; }
|
|
6747
6432
|
});
|
|
6748
6433
|
Object.defineProperty(exports, "Textarea", {
|
|
6749
6434
|
enumerable: true,
|
|
6750
|
-
get: function () { return
|
|
6435
|
+
get: function () { return chunkQJLXFDKV_cjs.Textarea; }
|
|
6436
|
+
});
|
|
6437
|
+
Object.defineProperty(exports, "ThreadVisibilityIcon", {
|
|
6438
|
+
enumerable: true,
|
|
6439
|
+
get: function () { return chunkQJLXFDKV_cjs.ThreadVisibilityIcon; }
|
|
6751
6440
|
});
|
|
6752
6441
|
Object.defineProperty(exports, "Toggle", {
|
|
6753
6442
|
enumerable: true,
|
|
6754
|
-
get: function () { return
|
|
6443
|
+
get: function () { return chunkQJLXFDKV_cjs.Toggle; }
|
|
6755
6444
|
});
|
|
6756
6445
|
Object.defineProperty(exports, "ToggleGroup", {
|
|
6757
6446
|
enumerable: true,
|
|
6758
|
-
get: function () { return
|
|
6447
|
+
get: function () { return chunkQJLXFDKV_cjs.ToggleGroup; }
|
|
6759
6448
|
});
|
|
6760
6449
|
Object.defineProperty(exports, "ToggleGroupItem", {
|
|
6761
6450
|
enumerable: true,
|
|
6762
|
-
get: function () { return
|
|
6451
|
+
get: function () { return chunkQJLXFDKV_cjs.ToggleGroupItem; }
|
|
6763
6452
|
});
|
|
6764
6453
|
Object.defineProperty(exports, "Tooltip", {
|
|
6765
6454
|
enumerable: true,
|
|
6766
|
-
get: function () { return
|
|
6455
|
+
get: function () { return chunkQJLXFDKV_cjs.Tooltip; }
|
|
6767
6456
|
});
|
|
6768
6457
|
Object.defineProperty(exports, "TooltipContent", {
|
|
6769
6458
|
enumerable: true,
|
|
6770
|
-
get: function () { return
|
|
6459
|
+
get: function () { return chunkQJLXFDKV_cjs.TooltipContent; }
|
|
6771
6460
|
});
|
|
6772
6461
|
Object.defineProperty(exports, "TooltipProvider", {
|
|
6773
6462
|
enumerable: true,
|
|
6774
|
-
get: function () { return
|
|
6463
|
+
get: function () { return chunkQJLXFDKV_cjs.TooltipProvider; }
|
|
6775
6464
|
});
|
|
6776
6465
|
Object.defineProperty(exports, "TooltipTrigger", {
|
|
6777
6466
|
enumerable: true,
|
|
6778
|
-
get: function () { return
|
|
6467
|
+
get: function () { return chunkQJLXFDKV_cjs.TooltipTrigger; }
|
|
6468
|
+
});
|
|
6469
|
+
Object.defineProperty(exports, "TxtIcon", {
|
|
6470
|
+
enumerable: true,
|
|
6471
|
+
get: function () { return chunkQJLXFDKV_cjs.TxtIcon; }
|
|
6779
6472
|
});
|
|
6780
6473
|
Object.defineProperty(exports, "UserEntity", {
|
|
6781
6474
|
enumerable: true,
|
|
6782
|
-
get: function () { return
|
|
6475
|
+
get: function () { return chunkQJLXFDKV_cjs.UserEntity; }
|
|
6783
6476
|
});
|
|
6784
6477
|
Object.defineProperty(exports, "UserMenu", {
|
|
6785
6478
|
enumerable: true,
|
|
6786
|
-
get: function () { return
|
|
6479
|
+
get: function () { return chunkQJLXFDKV_cjs.UserMenu; }
|
|
6787
6480
|
});
|
|
6788
6481
|
Object.defineProperty(exports, "VISIBILITY_ICONS", {
|
|
6789
6482
|
enumerable: true,
|
|
6790
|
-
get: function () { return
|
|
6483
|
+
get: function () { return chunkQJLXFDKV_cjs.VISIBILITY_ICONS; }
|
|
6791
6484
|
});
|
|
6792
6485
|
Object.defineProperty(exports, "VidIcon", {
|
|
6793
6486
|
enumerable: true,
|
|
6794
|
-
get: function () { return
|
|
6487
|
+
get: function () { return chunkQJLXFDKV_cjs.VidIcon; }
|
|
6795
6488
|
});
|
|
6796
6489
|
Object.defineProperty(exports, "VisibilityIcon", {
|
|
6797
6490
|
enumerable: true,
|
|
6798
|
-
get: function () { return
|
|
6491
|
+
get: function () { return chunkQJLXFDKV_cjs.VisibilityIcon; }
|
|
6799
6492
|
});
|
|
6800
6493
|
Object.defineProperty(exports, "VisibilityToggle", {
|
|
6801
6494
|
enumerable: true,
|
|
6802
|
-
get: function () { return
|
|
6495
|
+
get: function () { return chunkQJLXFDKV_cjs.VisibilityToggle; }
|
|
6496
|
+
});
|
|
6497
|
+
Object.defineProperty(exports, "XlsIcon", {
|
|
6498
|
+
enumerable: true,
|
|
6499
|
+
get: function () { return chunkQJLXFDKV_cjs.XlsIcon; }
|
|
6803
6500
|
});
|
|
6804
6501
|
Object.defineProperty(exports, "badgeVariants", {
|
|
6805
6502
|
enumerable: true,
|
|
6806
|
-
get: function () { return
|
|
6503
|
+
get: function () { return chunkQJLXFDKV_cjs.badgeVariants; }
|
|
6807
6504
|
});
|
|
6808
6505
|
Object.defineProperty(exports, "buttonVariants", {
|
|
6809
6506
|
enumerable: true,
|
|
6810
|
-
get: function () { return
|
|
6507
|
+
get: function () { return chunkQJLXFDKV_cjs.buttonVariants; }
|
|
6811
6508
|
});
|
|
6812
6509
|
Object.defineProperty(exports, "cardVariants", {
|
|
6813
6510
|
enumerable: true,
|
|
6814
|
-
get: function () { return
|
|
6511
|
+
get: function () { return chunkQJLXFDKV_cjs.cardVariants; }
|
|
6815
6512
|
});
|
|
6816
6513
|
Object.defineProperty(exports, "configureEntityRegistry", {
|
|
6817
6514
|
enumerable: true,
|
|
6818
|
-
get: function () { return
|
|
6515
|
+
get: function () { return chunkQJLXFDKV_cjs.configureEntityRegistry; }
|
|
6819
6516
|
});
|
|
6820
6517
|
Object.defineProperty(exports, "configureRagLabels", {
|
|
6821
6518
|
enumerable: true,
|
|
6822
|
-
get: function () { return
|
|
6519
|
+
get: function () { return chunkQJLXFDKV_cjs.configureRagLabels; }
|
|
6823
6520
|
});
|
|
6824
6521
|
Object.defineProperty(exports, "configureStatusRegistry", {
|
|
6825
6522
|
enumerable: true,
|
|
6826
|
-
get: function () { return
|
|
6523
|
+
get: function () { return chunkQJLXFDKV_cjs.configureStatusRegistry; }
|
|
6827
6524
|
});
|
|
6828
6525
|
Object.defineProperty(exports, "formatElapsed", {
|
|
6829
6526
|
enumerable: true,
|
|
6830
|
-
get: function () { return
|
|
6527
|
+
get: function () { return chunkQJLXFDKV_cjs.formatElapsed; }
|
|
6831
6528
|
});
|
|
6832
6529
|
Object.defineProperty(exports, "getDocIcon", {
|
|
6833
6530
|
enumerable: true,
|
|
6834
|
-
get: function () { return
|
|
6531
|
+
get: function () { return chunkQJLXFDKV_cjs.getDocIcon; }
|
|
6835
6532
|
});
|
|
6836
6533
|
Object.defineProperty(exports, "getEntityColor", {
|
|
6837
6534
|
enumerable: true,
|
|
6838
|
-
get: function () { return
|
|
6535
|
+
get: function () { return chunkQJLXFDKV_cjs.getEntityColor; }
|
|
6839
6536
|
});
|
|
6840
6537
|
Object.defineProperty(exports, "getEntityColorStyles", {
|
|
6841
6538
|
enumerable: true,
|
|
6842
|
-
get: function () { return
|
|
6539
|
+
get: function () { return chunkQJLXFDKV_cjs.getEntityColorStyles; }
|
|
6843
6540
|
});
|
|
6844
6541
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
6845
6542
|
enumerable: true,
|
|
6846
|
-
get: function () { return
|
|
6543
|
+
get: function () { return chunkQJLXFDKV_cjs.getEntityIcon; }
|
|
6847
6544
|
});
|
|
6848
6545
|
Object.defineProperty(exports, "getEntityLabel", {
|
|
6849
6546
|
enumerable: true,
|
|
6850
|
-
get: function () { return
|
|
6547
|
+
get: function () { return chunkQJLXFDKV_cjs.getEntityLabel; }
|
|
6851
6548
|
});
|
|
6852
6549
|
Object.defineProperty(exports, "getStatusVariant", {
|
|
6853
6550
|
enumerable: true,
|
|
6854
|
-
get: function () { return
|
|
6551
|
+
get: function () { return chunkQJLXFDKV_cjs.getStatusVariant; }
|
|
6855
6552
|
});
|
|
6856
6553
|
Object.defineProperty(exports, "getTagTypeIcon", {
|
|
6857
6554
|
enumerable: true,
|
|
6858
|
-
get: function () { return
|
|
6555
|
+
get: function () { return chunkQJLXFDKV_cjs.getTagTypeIcon; }
|
|
6859
6556
|
});
|
|
6860
6557
|
Object.defineProperty(exports, "getTagTypeLabel", {
|
|
6861
6558
|
enumerable: true,
|
|
6862
|
-
get: function () { return
|
|
6559
|
+
get: function () { return chunkQJLXFDKV_cjs.getTagTypeLabel; }
|
|
6863
6560
|
});
|
|
6864
6561
|
Object.defineProperty(exports, "getWorkspaceColor", {
|
|
6865
6562
|
enumerable: true,
|
|
6866
|
-
get: function () { return
|
|
6563
|
+
get: function () { return chunkQJLXFDKV_cjs.getWorkspaceColor; }
|
|
6867
6564
|
});
|
|
6868
6565
|
Object.defineProperty(exports, "toggleVariants", {
|
|
6869
6566
|
enumerable: true,
|
|
6870
|
-
get: function () { return
|
|
6567
|
+
get: function () { return chunkQJLXFDKV_cjs.toggleVariants; }
|
|
6871
6568
|
});
|
|
6872
6569
|
Object.defineProperty(exports, "useAudioRecorder", {
|
|
6873
6570
|
enumerable: true,
|
|
6874
|
-
get: function () { return
|
|
6571
|
+
get: function () { return chunkQJLXFDKV_cjs.useAudioRecorder; }
|
|
6875
6572
|
});
|
|
6876
6573
|
Object.defineProperty(exports, "DropdownMenu", {
|
|
6877
6574
|
enumerable: true,
|
|
@@ -6941,33 +6638,169 @@ Object.defineProperty(exports, "ScrollBar", {
|
|
|
6941
6638
|
enumerable: true,
|
|
6942
6639
|
get: function () { return chunkOBNTJEEO_cjs.ScrollBar; }
|
|
6943
6640
|
});
|
|
6641
|
+
Object.defineProperty(exports, "DEFAULT_USD_PER_CREDIT", {
|
|
6642
|
+
enumerable: true,
|
|
6643
|
+
get: function () { return chunkPW7GGG7E_cjs.DEFAULT_USD_PER_CREDIT; }
|
|
6644
|
+
});
|
|
6645
|
+
Object.defineProperty(exports, "arbiQueryKeys", {
|
|
6646
|
+
enumerable: true,
|
|
6647
|
+
get: function () { return chunkPW7GGG7E_cjs.arbiQueryKeys; }
|
|
6648
|
+
});
|
|
6649
|
+
Object.defineProperty(exports, "cleanDraftMarkdown", {
|
|
6650
|
+
enumerable: true,
|
|
6651
|
+
get: function () { return chunkPW7GGG7E_cjs.cleanDraftMarkdown; }
|
|
6652
|
+
});
|
|
6653
|
+
Object.defineProperty(exports, "cleanDraftWithReport", {
|
|
6654
|
+
enumerable: true,
|
|
6655
|
+
get: function () { return chunkPW7GGG7E_cjs.cleanDraftWithReport; }
|
|
6656
|
+
});
|
|
6657
|
+
Object.defineProperty(exports, "creditsToUsd", {
|
|
6658
|
+
enumerable: true,
|
|
6659
|
+
get: function () { return chunkPW7GGG7E_cjs.creditsToUsd; }
|
|
6660
|
+
});
|
|
6661
|
+
Object.defineProperty(exports, "formatCredits", {
|
|
6662
|
+
enumerable: true,
|
|
6663
|
+
get: function () { return chunkPW7GGG7E_cjs.formatCredits; }
|
|
6664
|
+
});
|
|
6665
|
+
Object.defineProperty(exports, "isUsageMetered", {
|
|
6666
|
+
enumerable: true,
|
|
6667
|
+
get: function () { return chunkPW7GGG7E_cjs.isUsageMetered; }
|
|
6668
|
+
});
|
|
6669
|
+
Object.defineProperty(exports, "promoteBoldTitle", {
|
|
6670
|
+
enumerable: true,
|
|
6671
|
+
get: function () { return chunkPW7GGG7E_cjs.promoteBoldTitle; }
|
|
6672
|
+
});
|
|
6673
|
+
Object.defineProperty(exports, "repairParsedStructure", {
|
|
6674
|
+
enumerable: true,
|
|
6675
|
+
get: function () { return chunkPW7GGG7E_cjs.repairParsedStructure; }
|
|
6676
|
+
});
|
|
6677
|
+
Object.defineProperty(exports, "repairParsedTitle", {
|
|
6678
|
+
enumerable: true,
|
|
6679
|
+
get: function () { return chunkPW7GGG7E_cjs.repairParsedTitle; }
|
|
6680
|
+
});
|
|
6681
|
+
Object.defineProperty(exports, "stripAgentPreamble", {
|
|
6682
|
+
enumerable: true,
|
|
6683
|
+
get: function () { return chunkPW7GGG7E_cjs.stripAgentPreamble; }
|
|
6684
|
+
});
|
|
6685
|
+
Object.defineProperty(exports, "unescapeMarkdown", {
|
|
6686
|
+
enumerable: true,
|
|
6687
|
+
get: function () { return chunkPW7GGG7E_cjs.unescapeMarkdown; }
|
|
6688
|
+
});
|
|
6689
|
+
Object.defineProperty(exports, "unwrapCitationLinks", {
|
|
6690
|
+
enumerable: true,
|
|
6691
|
+
get: function () { return chunkPW7GGG7E_cjs.unwrapCitationLinks; }
|
|
6692
|
+
});
|
|
6693
|
+
Object.defineProperty(exports, "useActivity", {
|
|
6694
|
+
enumerable: true,
|
|
6695
|
+
get: function () { return chunkPW7GGG7E_cjs.useActivity; }
|
|
6696
|
+
});
|
|
6697
|
+
Object.defineProperty(exports, "useAgents", {
|
|
6698
|
+
enumerable: true,
|
|
6699
|
+
get: function () { return chunkPW7GGG7E_cjs.useAgents; }
|
|
6700
|
+
});
|
|
6701
|
+
Object.defineProperty(exports, "useAssistantQuery", {
|
|
6702
|
+
enumerable: true,
|
|
6703
|
+
get: function () { return chunkPW7GGG7E_cjs.useAssistantQuery; }
|
|
6704
|
+
});
|
|
6705
|
+
Object.defineProperty(exports, "useConfigs", {
|
|
6706
|
+
enumerable: true,
|
|
6707
|
+
get: function () { return chunkPW7GGG7E_cjs.useConfigs; }
|
|
6708
|
+
});
|
|
6709
|
+
Object.defineProperty(exports, "useConversationThreads", {
|
|
6710
|
+
enumerable: true,
|
|
6711
|
+
get: function () { return chunkPW7GGG7E_cjs.useConversationThreads; }
|
|
6712
|
+
});
|
|
6713
|
+
Object.defineProperty(exports, "useConversations", {
|
|
6714
|
+
enumerable: true,
|
|
6715
|
+
get: function () { return chunkPW7GGG7E_cjs.useConversations; }
|
|
6716
|
+
});
|
|
6717
|
+
Object.defineProperty(exports, "useDeleteAgents", {
|
|
6718
|
+
enumerable: true,
|
|
6719
|
+
get: function () { return chunkPW7GGG7E_cjs.useDeleteAgents; }
|
|
6720
|
+
});
|
|
6721
|
+
Object.defineProperty(exports, "useDocuments", {
|
|
6722
|
+
enumerable: true,
|
|
6723
|
+
get: function () { return chunkPW7GGG7E_cjs.useDocuments; }
|
|
6724
|
+
});
|
|
6725
|
+
Object.defineProperty(exports, "useFacts", {
|
|
6726
|
+
enumerable: true,
|
|
6727
|
+
get: function () { return chunkPW7GGG7E_cjs.useFacts; }
|
|
6728
|
+
});
|
|
6729
|
+
Object.defineProperty(exports, "useHealth", {
|
|
6730
|
+
enumerable: true,
|
|
6731
|
+
get: function () { return chunkPW7GGG7E_cjs.useHealth; }
|
|
6732
|
+
});
|
|
6733
|
+
Object.defineProperty(exports, "useParsedDocument", {
|
|
6734
|
+
enumerable: true,
|
|
6735
|
+
get: function () { return chunkPW7GGG7E_cjs.useParsedDocument; }
|
|
6736
|
+
});
|
|
6737
|
+
Object.defineProperty(exports, "useProjectInvoices", {
|
|
6738
|
+
enumerable: true,
|
|
6739
|
+
get: function () { return chunkPW7GGG7E_cjs.useProjectInvoices; }
|
|
6740
|
+
});
|
|
6741
|
+
Object.defineProperty(exports, "useProjectUsage", {
|
|
6742
|
+
enumerable: true,
|
|
6743
|
+
get: function () { return chunkPW7GGG7E_cjs.useProjectUsage; }
|
|
6744
|
+
});
|
|
6745
|
+
Object.defineProperty(exports, "useProjects", {
|
|
6746
|
+
enumerable: true,
|
|
6747
|
+
get: function () { return chunkPW7GGG7E_cjs.useProjects; }
|
|
6748
|
+
});
|
|
6749
|
+
Object.defineProperty(exports, "useProjectsUsage", {
|
|
6750
|
+
enumerable: true,
|
|
6751
|
+
get: function () { return chunkPW7GGG7E_cjs.useProjectsUsage; }
|
|
6752
|
+
});
|
|
6753
|
+
Object.defineProperty(exports, "useSessions", {
|
|
6754
|
+
enumerable: true,
|
|
6755
|
+
get: function () { return chunkPW7GGG7E_cjs.useSessions; }
|
|
6756
|
+
});
|
|
6757
|
+
Object.defineProperty(exports, "useTags", {
|
|
6758
|
+
enumerable: true,
|
|
6759
|
+
get: function () { return chunkPW7GGG7E_cjs.useTags; }
|
|
6760
|
+
});
|
|
6761
|
+
Object.defineProperty(exports, "useThumbnails", {
|
|
6762
|
+
enumerable: true,
|
|
6763
|
+
get: function () { return chunkPW7GGG7E_cjs.useThumbnails; }
|
|
6764
|
+
});
|
|
6765
|
+
Object.defineProperty(exports, "useUserUsageToday", {
|
|
6766
|
+
enumerable: true,
|
|
6767
|
+
get: function () { return chunkPW7GGG7E_cjs.useUserUsageToday; }
|
|
6768
|
+
});
|
|
6769
|
+
Object.defineProperty(exports, "useWorkspaceUsers", {
|
|
6770
|
+
enumerable: true,
|
|
6771
|
+
get: function () { return chunkPW7GGG7E_cjs.useWorkspaceUsers; }
|
|
6772
|
+
});
|
|
6773
|
+
Object.defineProperty(exports, "useWorkspaces", {
|
|
6774
|
+
enumerable: true,
|
|
6775
|
+
get: function () { return chunkPW7GGG7E_cjs.useWorkspaces; }
|
|
6776
|
+
});
|
|
6944
6777
|
Object.defineProperty(exports, "MarkdownRenderer", {
|
|
6945
6778
|
enumerable: true,
|
|
6946
|
-
get: function () { return
|
|
6779
|
+
get: function () { return chunk775VGSKN_cjs.MarkdownRenderer; }
|
|
6947
6780
|
});
|
|
6948
6781
|
Object.defineProperty(exports, "MarkdownStreamingContext", {
|
|
6949
6782
|
enumerable: true,
|
|
6950
|
-
get: function () { return
|
|
6783
|
+
get: function () { return chunk775VGSKN_cjs.MarkdownStreamingContext; }
|
|
6951
6784
|
});
|
|
6952
6785
|
Object.defineProperty(exports, "closeOpenEmphasis", {
|
|
6953
6786
|
enumerable: true,
|
|
6954
|
-
get: function () { return
|
|
6787
|
+
get: function () { return chunk775VGSKN_cjs.closeOpenEmphasis; }
|
|
6955
6788
|
});
|
|
6956
6789
|
Object.defineProperty(exports, "markdownBaseComponents", {
|
|
6957
6790
|
enumerable: true,
|
|
6958
|
-
get: function () { return
|
|
6791
|
+
get: function () { return chunk775VGSKN_cjs.markdownBaseComponents; }
|
|
6959
6792
|
});
|
|
6960
6793
|
Object.defineProperty(exports, "normalizeCitationMarkup", {
|
|
6961
6794
|
enumerable: true,
|
|
6962
|
-
get: function () { return
|
|
6795
|
+
get: function () { return chunk775VGSKN_cjs.normalizeCitationMarkup; }
|
|
6963
6796
|
});
|
|
6964
6797
|
Object.defineProperty(exports, "splitMarkdownBlocks", {
|
|
6965
6798
|
enumerable: true,
|
|
6966
|
-
get: function () { return
|
|
6799
|
+
get: function () { return chunk775VGSKN_cjs.splitMarkdownBlocks; }
|
|
6967
6800
|
});
|
|
6968
6801
|
Object.defineProperty(exports, "trimOpenCitation", {
|
|
6969
6802
|
enumerable: true,
|
|
6970
|
-
get: function () { return
|
|
6803
|
+
get: function () { return chunk775VGSKN_cjs.trimOpenCitation; }
|
|
6971
6804
|
});
|
|
6972
6805
|
Object.defineProperty(exports, "cn", {
|
|
6973
6806
|
enumerable: true,
|
|
@@ -7014,7 +6847,6 @@ exports.DateSeparator = DateSeparator;
|
|
|
7014
6847
|
exports.DirectMessages = DirectMessages;
|
|
7015
6848
|
exports.DmAvatar = DmAvatar;
|
|
7016
6849
|
exports.DmComposer = DmComposer;
|
|
7017
|
-
exports.DocIcon = DocIcon;
|
|
7018
6850
|
exports.DocQaPanel = DocQaPanel;
|
|
7019
6851
|
exports.DocSearch = DocSearch;
|
|
7020
6852
|
exports.DocumentCardMenu = DocumentCardMenu;
|
|
@@ -7027,7 +6859,6 @@ exports.FireworksIcon = FireworksIcon;
|
|
|
7027
6859
|
exports.GeminiIcon = GeminiIcon;
|
|
7028
6860
|
exports.GitHubIcon = GitHubIcon;
|
|
7029
6861
|
exports.GoogleIcon = GoogleIcon;
|
|
7030
|
-
exports.HtmlIcon = HtmlIcon;
|
|
7031
6862
|
exports.ImageCropModal = ImageCropModal;
|
|
7032
6863
|
exports.ImageCropper = ImageCropper;
|
|
7033
6864
|
exports.LinkedInIcon = LinkedInIcon;
|
|
@@ -7041,11 +6872,9 @@ exports.ProviderIcon = ProviderIcon;
|
|
|
7041
6872
|
exports.RUN_WINDOW_MS = RUN_WINDOW_MS;
|
|
7042
6873
|
exports.SemanticSearch = SemanticSearch;
|
|
7043
6874
|
exports.StartByEmail = StartByEmail;
|
|
7044
|
-
exports.TxtIcon = TxtIcon;
|
|
7045
6875
|
exports.TypingIndicator = TypingIndicator;
|
|
7046
6876
|
exports.VideoCapture = VideoCapture;
|
|
7047
6877
|
exports.VoiceNoteRecorder = VoiceNoteRecorder;
|
|
7048
|
-
exports.XlsIcon = XlsIcon;
|
|
7049
6878
|
exports.annotateThread = annotateThread;
|
|
7050
6879
|
exports.captureFrameAsBlob = captureFrameAsBlob;
|
|
7051
6880
|
exports.cropImage = cropImage;
|