@arbidocs/react 0.4.71 → 0.4.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/annotations/index.cjs +48 -48
- package/dist/annotations/index.js +2 -2
- package/dist/artifacts/index.cjs +7 -7
- package/dist/artifacts/index.js +2 -2
- package/dist/{chunk-6TFD5OS5.cjs → chunk-GE5TAR7Y.cjs} +3 -2
- package/dist/chunk-GE5TAR7Y.cjs.map +1 -0
- package/dist/{chunk-3QF5DNAP.js → chunk-IHTBAY57.js} +3 -3
- package/dist/{chunk-3QF5DNAP.js.map → chunk-IHTBAY57.js.map} +1 -1
- package/dist/{chunk-6ERJUIMQ.js → chunk-IQ5TYPVU.js} +3 -2
- package/dist/chunk-IQ5TYPVU.js.map +1 -0
- package/dist/{chunk-ULU5LEWF.cjs → chunk-L2PXZWJM.cjs} +25 -25
- package/dist/{chunk-ULU5LEWF.cjs.map → chunk-L2PXZWJM.cjs.map} +1 -1
- package/dist/{chunk-V4CXOPLB.js → chunk-MHCN7OST.js} +19 -7
- package/dist/{chunk-V4CXOPLB.js.map → chunk-MHCN7OST.js.map} +1 -1
- package/dist/{chunk-BTRIS3HY.cjs → chunk-QJRP2LLQ.cjs} +19 -6
- package/dist/chunk-QJRP2LLQ.cjs.map +1 -0
- package/dist/{chunk-LQ5YHB7W.cjs → chunk-WYZJLZ67.cjs} +6 -4
- package/dist/chunk-WYZJLZ67.cjs.map +1 -0
- package/dist/{chunk-WS6DF5X4.js → chunk-YNNAJJ5Z.js} +6 -4
- package/dist/chunk-YNNAJJ5Z.js.map +1 -0
- package/dist/document-tools/index.cjs +6 -6
- package/dist/document-tools/index.js +3 -3
- package/dist/{index-BWv_FKi3.d.cts → index-BVMBElCu.d.cts} +82 -1
- package/dist/{index-BWv_FKi3.d.ts → index-BVMBElCu.d.ts} +82 -1
- package/dist/index.cjs +629 -314
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +202 -4
- package/dist/index.d.ts +202 -4
- package/dist/index.js +313 -11
- package/dist/index.js.map +1 -1
- package/dist/ui/index.cjs +129 -125
- 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 +4 -3
- package/dist/chunk-6ERJUIMQ.js.map +0 -1
- package/dist/chunk-6TFD5OS5.cjs.map +0 -1
- package/dist/chunk-BTRIS3HY.cjs.map +0 -1
- package/dist/chunk-LQ5YHB7W.cjs.map +0 -1
- package/dist/chunk-WS6DF5X4.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGE5TAR7Y_cjs = require('./chunk-GE5TAR7Y.cjs');
|
|
4
4
|
var chunk5DCRIWCA_cjs = require('./chunk-5DCRIWCA.cjs');
|
|
5
5
|
var chunkF7KQVVD2_cjs = require('./chunk-F7KQVVD2.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
|
|
7
|
+
var chunkIIT7DMQL_cjs = require('./chunk-IIT7DMQL.cjs');
|
|
8
|
+
var chunkQJRP2LLQ_cjs = require('./chunk-QJRP2LLQ.cjs');
|
|
7
9
|
var chunk5SZ2J2WT_cjs = require('./chunk-5SZ2J2WT.cjs');
|
|
8
|
-
var
|
|
10
|
+
var chunkWYZJLZ67_cjs = require('./chunk-WYZJLZ67.cjs');
|
|
9
11
|
var chunkZ3LLUO32_cjs = require('./chunk-Z3LLUO32.cjs');
|
|
10
12
|
var chunkHUZB36QU_cjs = require('./chunk-HUZB36QU.cjs');
|
|
11
13
|
var chunkHJDR5HEO_cjs = require('./chunk-HJDR5HEO.cjs');
|
|
12
14
|
var chunkS6A6FSG7_cjs = require('./chunk-S6A6FSG7.cjs');
|
|
13
|
-
var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
|
|
14
|
-
var chunkIIT7DMQL_cjs = require('./chunk-IIT7DMQL.cjs');
|
|
15
15
|
var React = require('react');
|
|
16
16
|
var reactQuery = require('@tanstack/react-query');
|
|
17
17
|
var browser = require('@arbidocs/sdk/browser');
|
|
@@ -41,7 +41,7 @@ function useUpdateConversation() {
|
|
|
41
41
|
conversationId,
|
|
42
42
|
patch
|
|
43
43
|
}) => arbi.conversations.update(conversationId, patch),
|
|
44
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
44
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations() })
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
function useCreateWork() {
|
|
@@ -49,7 +49,7 @@ function useCreateWork() {
|
|
|
49
49
|
const qc = reactQuery.useQueryClient();
|
|
50
50
|
return reactQuery.useMutation({
|
|
51
51
|
mutationFn: (body) => arbi.conversations.createWork(body),
|
|
52
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
52
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations() })
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
function useRunConversation() {
|
|
@@ -57,7 +57,7 @@ function useRunConversation() {
|
|
|
57
57
|
const qc = reactQuery.useQueryClient();
|
|
58
58
|
return reactQuery.useMutation({
|
|
59
59
|
mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
|
|
60
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
60
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations() })
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
function usePlanWork() {
|
|
@@ -69,7 +69,7 @@ function usePlanWork() {
|
|
|
69
69
|
function useConversationPendingAuth(conversationId, options) {
|
|
70
70
|
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
71
71
|
return reactQuery.useQuery({
|
|
72
|
-
queryKey: [...
|
|
72
|
+
queryKey: [...chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "pending-auth"],
|
|
73
73
|
queryFn: () => arbi.conversations.pendingAuth(conversationId),
|
|
74
74
|
enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
|
|
75
75
|
retry: false
|
|
@@ -78,7 +78,7 @@ function useConversationPendingAuth(conversationId, options) {
|
|
|
78
78
|
function useConversationActivity(conversationId, options) {
|
|
79
79
|
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
80
80
|
return reactQuery.useQuery({
|
|
81
|
-
queryKey: [...
|
|
81
|
+
queryKey: [...chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "activity"],
|
|
82
82
|
queryFn: () => arbi.conversations.activity(conversationId),
|
|
83
83
|
enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
|
|
84
84
|
refetchInterval: options?.live ? 2500 : false
|
|
@@ -87,7 +87,7 @@ function useConversationActivity(conversationId, options) {
|
|
|
87
87
|
function useWorkflows(options) {
|
|
88
88
|
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
89
89
|
return reactQuery.useQuery({
|
|
90
|
-
queryKey:
|
|
90
|
+
queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.workflows(),
|
|
91
91
|
queryFn: () => arbi.workflows.list(),
|
|
92
92
|
refetchInterval: options?.live ? 15e3 : false,
|
|
93
93
|
enabled: options?.enabled ?? arbi.isLoggedIn
|
|
@@ -98,7 +98,7 @@ function useCreateWorkflow() {
|
|
|
98
98
|
const qc = reactQuery.useQueryClient();
|
|
99
99
|
return reactQuery.useMutation({
|
|
100
100
|
mutationFn: (body) => arbi.workflows.create(body),
|
|
101
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
101
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.workflows() })
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
104
|
function useUpdateWorkflow() {
|
|
@@ -109,7 +109,7 @@ function useUpdateWorkflow() {
|
|
|
109
109
|
workflowId,
|
|
110
110
|
patch
|
|
111
111
|
}) => arbi.workflows.update(workflowId, patch),
|
|
112
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
112
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.workflows() })
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
function useDeleteWorkflow() {
|
|
@@ -117,7 +117,7 @@ function useDeleteWorkflow() {
|
|
|
117
117
|
const qc = reactQuery.useQueryClient();
|
|
118
118
|
return reactQuery.useMutation({
|
|
119
119
|
mutationFn: (workflowId) => arbi.workflows.delete(workflowId),
|
|
120
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
120
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.workflows() })
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
123
|
function useRunWorkflow() {
|
|
@@ -126,8 +126,8 @@ function useRunWorkflow() {
|
|
|
126
126
|
return reactQuery.useMutation({
|
|
127
127
|
mutationFn: (workflowId) => arbi.workflows.run(workflowId),
|
|
128
128
|
onSuccess: () => Promise.all([
|
|
129
|
-
qc.invalidateQueries({ queryKey:
|
|
130
|
-
qc.invalidateQueries({ queryKey:
|
|
129
|
+
qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.workflows() }),
|
|
130
|
+
qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations() })
|
|
131
131
|
])
|
|
132
132
|
});
|
|
133
133
|
}
|
|
@@ -136,13 +136,13 @@ function useCreateAgent() {
|
|
|
136
136
|
const qc = reactQuery.useQueryClient();
|
|
137
137
|
return reactQuery.useMutation({
|
|
138
138
|
mutationFn: (name) => arbi.agents.create(name),
|
|
139
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
139
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.agents() })
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
142
|
function useAgentConfig(agentExtId, options) {
|
|
143
143
|
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
144
144
|
return reactQuery.useQuery({
|
|
145
|
-
queryKey:
|
|
145
|
+
queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.agentConfig(agentExtId),
|
|
146
146
|
queryFn: async () => agentExtId ? await arbi.agents.getConfig(agentExtId) : await arbi.agentConfig.get("default"),
|
|
147
147
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
148
148
|
});
|
|
@@ -150,7 +150,7 @@ function useAgentConfig(agentExtId, options) {
|
|
|
150
150
|
function useAgentModels(options) {
|
|
151
151
|
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
152
152
|
return reactQuery.useQuery({
|
|
153
|
-
queryKey:
|
|
153
|
+
queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.models(),
|
|
154
154
|
queryFn: async () => (await arbi.agentConfig.getModels()).models.map((m) => m.model_name),
|
|
155
155
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
156
156
|
});
|
|
@@ -173,17 +173,17 @@ function useSaveAgentConfig() {
|
|
|
173
173
|
});
|
|
174
174
|
},
|
|
175
175
|
onSuccess: (_saved, { agentExtId }) => Promise.all([
|
|
176
|
-
qc.invalidateQueries({ queryKey:
|
|
177
|
-
qc.invalidateQueries({ queryKey:
|
|
176
|
+
qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.configs() }),
|
|
177
|
+
qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.agentConfig(agentExtId) }),
|
|
178
178
|
// The agent list shows the pinned persona/model, so it refreshes too.
|
|
179
|
-
qc.invalidateQueries({ queryKey:
|
|
179
|
+
qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.agents() })
|
|
180
180
|
])
|
|
181
181
|
});
|
|
182
182
|
}
|
|
183
183
|
function useAgentWorkspaces(agentExtId, options) {
|
|
184
184
|
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
185
185
|
return reactQuery.useQuery({
|
|
186
|
-
queryKey:
|
|
186
|
+
queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
|
|
187
187
|
queryFn: () => arbi.agents.listWorkspaces(agentExtId),
|
|
188
188
|
enabled: (options?.enabled ?? true) && !!agentExtId && arbi.isLoggedIn
|
|
189
189
|
});
|
|
@@ -204,7 +204,7 @@ function useGrantAgentAccess() {
|
|
|
204
204
|
if (!agent?.email) throw new Error("The agent's address is unknown.");
|
|
205
205
|
return arbi.workspaces.grantAccess({ workspaceId, emails: [agent.email] });
|
|
206
206
|
},
|
|
207
|
-
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey:
|
|
207
|
+
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
function useRevokeAgentAccess() {
|
|
@@ -223,13 +223,13 @@ function useRevokeAgentAccess() {
|
|
|
223
223
|
if (previous && previous !== workspaceId) await arbi.selectWorkspace(previous);
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
|
-
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey:
|
|
226
|
+
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
|
|
227
227
|
});
|
|
228
228
|
}
|
|
229
229
|
function useSkills(options) {
|
|
230
230
|
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
231
231
|
return reactQuery.useQuery({
|
|
232
|
-
queryKey: [...
|
|
232
|
+
queryKey: [...chunkGE5TAR7Y_cjs.arbiQueryKeys.skills(), options?.includeHidden ?? false],
|
|
233
233
|
queryFn: () => arbi.assistant.listSkills({ includeHidden: options?.includeHidden }),
|
|
234
234
|
refetchInterval: options?.live ? 5e3 : false,
|
|
235
235
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn,
|
|
@@ -260,7 +260,7 @@ function useUploadSkillFiles() {
|
|
|
260
260
|
}
|
|
261
261
|
return results;
|
|
262
262
|
},
|
|
263
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
263
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.skills() })
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
function useStartWorkQuery() {
|
|
@@ -287,7 +287,7 @@ function useStartWorkQuery() {
|
|
|
287
287
|
`The run ${response.id} started, but its thread is not available yet. Do not submit it again.`
|
|
288
288
|
);
|
|
289
289
|
},
|
|
290
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
290
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations() })
|
|
291
291
|
});
|
|
292
292
|
}
|
|
293
293
|
function useAgentSession(agentId, options) {
|
|
@@ -441,8 +441,8 @@ function useArbiChat(options = {}) {
|
|
|
441
441
|
const recoveryIntervalMs = streamRecovery?.intervalMs ?? 3e3;
|
|
442
442
|
const recoveryTimeoutMs = streamRecovery?.timeoutMs ?? 12e4;
|
|
443
443
|
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
444
|
-
const { data: docs = [], isLoading: isLoadingDocuments, refetch } =
|
|
445
|
-
const ordinaryHistory =
|
|
444
|
+
const { data: docs = [], isLoading: isLoadingDocuments, refetch } = chunkGE5TAR7Y_cjs.useDocuments(workspaceId);
|
|
445
|
+
const ordinaryHistory = chunkGE5TAR7Y_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
|
|
446
446
|
const agentHistory = useAgentChats(agentId);
|
|
447
447
|
const stored = React.useMemo(
|
|
448
448
|
() => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
|
|
@@ -457,7 +457,7 @@ function useArbiChat(options = {}) {
|
|
|
457
457
|
);
|
|
458
458
|
const isLoadingThreads = agentId ? agentHistory.isLoading : ordinaryHistory.isLoading;
|
|
459
459
|
const refetchConversations = agentId ? agentHistory.refetch : ordinaryHistory.refetch;
|
|
460
|
-
const query =
|
|
460
|
+
const query = chunkGE5TAR7Y_cjs.useAssistantQuery();
|
|
461
461
|
const { mutateAsync } = query;
|
|
462
462
|
const [stagedFiles, setStagedFiles] = React.useState([]);
|
|
463
463
|
const [threads, setThreads] = React.useState(() => [emptyThread()]);
|
|
@@ -517,7 +517,7 @@ function useArbiChat(options = {}) {
|
|
|
517
517
|
(conversation) => conversation.external_id === active.conversationId && conversation.status === "generating"
|
|
518
518
|
) || active.messages.some((message) => message.status === "streaming");
|
|
519
519
|
const needsLoad = !!active.conversationId && !active.isLoaded;
|
|
520
|
-
const loaded =
|
|
520
|
+
const loaded = chunkGE5TAR7Y_cjs.useConversationThreads(workspaceId, active.conversationId ?? void 0, {
|
|
521
521
|
enabled: needsLoad || liveHistory && !isRunning && !isPostingComment,
|
|
522
522
|
live: liveHistory
|
|
523
523
|
});
|
|
@@ -1296,14 +1296,14 @@ function useArbiDocumentSync(workspaceId) {
|
|
|
1296
1296
|
if (!workspaceId) return;
|
|
1297
1297
|
if (client.isMessageType(msg, "batch_complete")) {
|
|
1298
1298
|
if (msg.workspace_ext_id !== workspaceId) return;
|
|
1299
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
1300
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
1299
|
+
void queryClient.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.documents(workspaceId) });
|
|
1300
|
+
void queryClient.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.tags(workspaceId) });
|
|
1301
1301
|
return;
|
|
1302
1302
|
}
|
|
1303
1303
|
if (client.isMessageType(msg, "task_update")) {
|
|
1304
1304
|
if (msg.workspace_ext_id !== workspaceId) return;
|
|
1305
1305
|
if (TERMINAL_STATUSES.has(msg.status)) {
|
|
1306
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
1306
|
+
void queryClient.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.documents(workspaceId) });
|
|
1307
1307
|
}
|
|
1308
1308
|
}
|
|
1309
1309
|
});
|
|
@@ -1432,7 +1432,7 @@ function useShellWorkspaces(options) {
|
|
|
1432
1432
|
}
|
|
1433
1433
|
function useArbiShellWorkspaces(options = {}) {
|
|
1434
1434
|
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
1435
|
-
const query =
|
|
1435
|
+
const query = chunkGE5TAR7Y_cjs.useWorkspaces();
|
|
1436
1436
|
const { select, ...rest } = options;
|
|
1437
1437
|
const defaultSelect = React.useCallback(
|
|
1438
1438
|
(workspace) => arbi.selectWorkspace(workspace.id),
|
|
@@ -1449,7 +1449,7 @@ function useArbiShellWorkspaces(options = {}) {
|
|
|
1449
1449
|
function useContacts(options) {
|
|
1450
1450
|
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
1451
1451
|
return reactQuery.useQuery({
|
|
1452
|
-
queryKey:
|
|
1452
|
+
queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.contacts(),
|
|
1453
1453
|
queryFn: () => arbi.contacts.list(),
|
|
1454
1454
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
1455
1455
|
});
|
|
@@ -1469,7 +1469,7 @@ function useAddContacts() {
|
|
|
1469
1469
|
const qc = reactQuery.useQueryClient();
|
|
1470
1470
|
return reactQuery.useMutation({
|
|
1471
1471
|
mutationFn: (emails) => arbi.contacts.add(emails),
|
|
1472
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
1472
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.contacts() })
|
|
1473
1473
|
});
|
|
1474
1474
|
}
|
|
1475
1475
|
function useRemoveContacts() {
|
|
@@ -1477,7 +1477,7 @@ function useRemoveContacts() {
|
|
|
1477
1477
|
const qc = reactQuery.useQueryClient();
|
|
1478
1478
|
return reactQuery.useMutation({
|
|
1479
1479
|
mutationFn: (contactIds) => arbi.contacts.remove(contactIds),
|
|
1480
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
1480
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.contacts() })
|
|
1481
1481
|
});
|
|
1482
1482
|
}
|
|
1483
1483
|
function toProfileView(profile) {
|
|
@@ -1489,7 +1489,7 @@ function toProfileView(profile) {
|
|
|
1489
1489
|
function useProfile(options) {
|
|
1490
1490
|
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
1491
1491
|
return reactQuery.useQuery({
|
|
1492
|
-
queryKey:
|
|
1492
|
+
queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.profile(),
|
|
1493
1493
|
queryFn: () => {
|
|
1494
1494
|
const profile = arbi.user.profile();
|
|
1495
1495
|
return profile ? toProfileView(profile) : null;
|
|
@@ -1512,8 +1512,9 @@ function useUpdateProfile() {
|
|
|
1512
1512
|
return profile ? toProfileView(profile) : null;
|
|
1513
1513
|
},
|
|
1514
1514
|
onSuccess: (profile) => {
|
|
1515
|
-
qc.setQueryData(
|
|
1516
|
-
|
|
1515
|
+
qc.setQueryData(chunkGE5TAR7Y_cjs.arbiQueryKeys.profile(), profile);
|
|
1516
|
+
void qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.identity() });
|
|
1517
|
+
return qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.workspaces() });
|
|
1517
1518
|
}
|
|
1518
1519
|
});
|
|
1519
1520
|
}
|
|
@@ -1598,7 +1599,7 @@ function useConfirmEmailChange() {
|
|
|
1598
1599
|
mutationFn: ({ newEmail, code }) => arbi.account.confirmEmailChange(newEmail, code),
|
|
1599
1600
|
onSuccess: () => {
|
|
1600
1601
|
const profile = arbi.user.profile();
|
|
1601
|
-
qc.setQueryData(
|
|
1602
|
+
qc.setQueryData(chunkGE5TAR7Y_cjs.arbiQueryKeys.profile(), profile ? toProfileView(profile) : null);
|
|
1602
1603
|
}
|
|
1603
1604
|
});
|
|
1604
1605
|
}
|
|
@@ -1767,7 +1768,7 @@ function toNotificationPreferences(stored, keys) {
|
|
|
1767
1768
|
function useUserSettings(options) {
|
|
1768
1769
|
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
1769
1770
|
return reactQuery.useQuery({
|
|
1770
|
-
queryKey:
|
|
1771
|
+
queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.userSettings(),
|
|
1771
1772
|
queryFn: () => arbi.settings.get(),
|
|
1772
1773
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
1773
1774
|
});
|
|
@@ -1780,18 +1781,18 @@ function useNotificationPreferences(keys, options) {
|
|
|
1780
1781
|
const save = reactQuery.useMutation({
|
|
1781
1782
|
mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
|
|
1782
1783
|
onMutate: async (patch) => {
|
|
1783
|
-
await qc.cancelQueries({ queryKey:
|
|
1784
|
-
const previous = qc.getQueryData(
|
|
1784
|
+
await qc.cancelQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.userSettings() });
|
|
1785
|
+
const previous = qc.getQueryData(chunkGE5TAR7Y_cjs.arbiQueryKeys.userSettings());
|
|
1785
1786
|
qc.setQueryData(
|
|
1786
|
-
|
|
1787
|
+
chunkGE5TAR7Y_cjs.arbiQueryKeys.userSettings(),
|
|
1787
1788
|
(old) => old ? { ...old, email_notifications: { ...old.email_notifications, ...patch } } : old
|
|
1788
1789
|
);
|
|
1789
1790
|
return { previous };
|
|
1790
1791
|
},
|
|
1791
1792
|
onError: (_err, _patch, context) => {
|
|
1792
|
-
qc.setQueryData(
|
|
1793
|
+
qc.setQueryData(chunkGE5TAR7Y_cjs.arbiQueryKeys.userSettings(), context?.previous);
|
|
1793
1794
|
},
|
|
1794
|
-
onSettled: () => qc.invalidateQueries({ queryKey:
|
|
1795
|
+
onSettled: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.userSettings() })
|
|
1795
1796
|
});
|
|
1796
1797
|
const model = React.useMemo(() => toNotificationPreferences(stored, keys), [stored, keys]);
|
|
1797
1798
|
const setAll = React.useCallback(
|
|
@@ -1817,7 +1818,7 @@ function useTerminateSession() {
|
|
|
1817
1818
|
const qc = reactQuery.useQueryClient();
|
|
1818
1819
|
return reactQuery.useMutation({
|
|
1819
1820
|
mutationFn: (sessionId) => arbi.sessions.terminate(sessionId),
|
|
1820
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
1821
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.sessions() })
|
|
1821
1822
|
});
|
|
1822
1823
|
}
|
|
1823
1824
|
function useLogoutAllSessions() {
|
|
@@ -1892,8 +1893,309 @@ function useDeleteAccountFlow({
|
|
|
1892
1893
|
onClose: close
|
|
1893
1894
|
};
|
|
1894
1895
|
}
|
|
1896
|
+
|
|
1897
|
+
// src/account/didit.ts
|
|
1898
|
+
var sdkPromise = null;
|
|
1899
|
+
function loadDidit() {
|
|
1900
|
+
sdkPromise ??= import('@didit-protocol/sdk-web').then((m) => m.DiditSdk);
|
|
1901
|
+
sdkPromise.catch(() => {
|
|
1902
|
+
sdkPromise = null;
|
|
1903
|
+
});
|
|
1904
|
+
return sdkPromise;
|
|
1905
|
+
}
|
|
1906
|
+
async function mountDiditVerification({
|
|
1907
|
+
url,
|
|
1908
|
+
containerId,
|
|
1909
|
+
onResult
|
|
1910
|
+
}) {
|
|
1911
|
+
const Sdk = await loadDidit();
|
|
1912
|
+
const sdk = Sdk.shared;
|
|
1913
|
+
sdk.onComplete = onResult;
|
|
1914
|
+
await sdk.startVerification({
|
|
1915
|
+
url,
|
|
1916
|
+
configuration: {
|
|
1917
|
+
embedded: true,
|
|
1918
|
+
embeddedContainerId: containerId,
|
|
1919
|
+
showCloseButton: false,
|
|
1920
|
+
closeModalOnComplete: true
|
|
1921
|
+
}
|
|
1922
|
+
});
|
|
1923
|
+
return () => {
|
|
1924
|
+
sdk.onComplete = void 0;
|
|
1925
|
+
sdk.destroy();
|
|
1926
|
+
};
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
// src/account/identity.ts
|
|
1930
|
+
function problemOf(error, fallback) {
|
|
1931
|
+
const code = browser.identityErrorCode(error) ?? error?.code;
|
|
1932
|
+
const message = error instanceof Error && error.message ? error.message : fallback;
|
|
1933
|
+
return { code: typeof code === "string" ? code : void 0, message };
|
|
1934
|
+
}
|
|
1935
|
+
function identityStepFor(status) {
|
|
1936
|
+
if (!status) return "pay";
|
|
1937
|
+
if (["name_mismatch", "in_review", "verified"].includes(status.state)) return "result";
|
|
1938
|
+
if (status.state === "declined") return status.attempts_left > 0 ? "result" : "pay";
|
|
1939
|
+
if (status.state === "in_progress" || status.attempts_left > 0) return "verify";
|
|
1940
|
+
return "pay";
|
|
1941
|
+
}
|
|
1942
|
+
function formatIdentityPrice(status) {
|
|
1943
|
+
let amount;
|
|
1944
|
+
try {
|
|
1945
|
+
amount = new Intl.NumberFormat("en-GB", {
|
|
1946
|
+
style: "currency",
|
|
1947
|
+
currency: status.currency
|
|
1948
|
+
}).format(status.price_pence / 100);
|
|
1949
|
+
} catch {
|
|
1950
|
+
amount = `${(status.price_pence / 100).toFixed(2)} ${status.currency}`;
|
|
1951
|
+
}
|
|
1952
|
+
return `${amount} incl. VAT`;
|
|
1953
|
+
}
|
|
1954
|
+
function useIdentityVerificationFlow(api, {
|
|
1955
|
+
enabled = true,
|
|
1956
|
+
onVerifiedChange,
|
|
1957
|
+
onNameAccepted,
|
|
1958
|
+
formatPrice = formatIdentityPrice
|
|
1959
|
+
} = {}) {
|
|
1960
|
+
const qc = reactQuery.useQueryClient();
|
|
1961
|
+
const apiRef = React.useRef(api);
|
|
1962
|
+
apiRef.current = api;
|
|
1963
|
+
const query = reactQuery.useQuery({
|
|
1964
|
+
queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.identity(),
|
|
1965
|
+
queryFn: () => apiRef.current.status(),
|
|
1966
|
+
enabled,
|
|
1967
|
+
staleTime: 6e4
|
|
1968
|
+
});
|
|
1969
|
+
const status = query.data;
|
|
1970
|
+
const [isOpen, setIsOpen] = React.useState(false);
|
|
1971
|
+
const [step, setStep] = React.useState("pay");
|
|
1972
|
+
const [busy, setBusy] = React.useState(null);
|
|
1973
|
+
const [problem, setProblem] = React.useState(null);
|
|
1974
|
+
const [paymentUrl, setPaymentUrl] = React.useState(null);
|
|
1975
|
+
const [sessionUrl, setSessionUrl] = React.useState(null);
|
|
1976
|
+
const [container, setContainer] = React.useState(null);
|
|
1977
|
+
const [embedFailed, setEmbedFailed] = React.useState(false);
|
|
1978
|
+
const verifyContainerId = `didit-${React.useId().replace(/[^a-zA-Z0-9_-]/g, "")}`;
|
|
1979
|
+
const lastVerified = React.useRef(void 0);
|
|
1980
|
+
const apply = React.useCallback(
|
|
1981
|
+
(next) => {
|
|
1982
|
+
qc.setQueryData(chunkGE5TAR7Y_cjs.arbiQueryKeys.identity(), next);
|
|
1983
|
+
if (lastVerified.current !== void 0 && lastVerified.current !== next.verified) {
|
|
1984
|
+
onVerifiedChange?.(next.verified);
|
|
1985
|
+
}
|
|
1986
|
+
lastVerified.current = next.verified;
|
|
1987
|
+
return next;
|
|
1988
|
+
},
|
|
1989
|
+
[qc, onVerifiedChange]
|
|
1990
|
+
);
|
|
1991
|
+
React.useEffect(() => {
|
|
1992
|
+
if (status && lastVerified.current === void 0) lastVerified.current = status.verified;
|
|
1993
|
+
}, [status]);
|
|
1994
|
+
const run = React.useCallback(
|
|
1995
|
+
async (kind, fallback, fn) => {
|
|
1996
|
+
setBusy(kind);
|
|
1997
|
+
setProblem(null);
|
|
1998
|
+
try {
|
|
1999
|
+
return await fn();
|
|
2000
|
+
} catch (e) {
|
|
2001
|
+
setProblem(problemOf(e, fallback));
|
|
2002
|
+
return void 0;
|
|
2003
|
+
} finally {
|
|
2004
|
+
setBusy(null);
|
|
2005
|
+
}
|
|
2006
|
+
},
|
|
2007
|
+
[]
|
|
2008
|
+
);
|
|
2009
|
+
const isOpenRef = React.useRef(false);
|
|
2010
|
+
const closeRef = React.useRef(() => {
|
|
2011
|
+
});
|
|
2012
|
+
const startVerifyRef = React.useRef(async () => {
|
|
2013
|
+
});
|
|
2014
|
+
const refresh = React.useCallback(async () => {
|
|
2015
|
+
const next = await run(
|
|
2016
|
+
"refresh",
|
|
2017
|
+
"Could not read the verification result",
|
|
2018
|
+
() => apiRef.current.refresh()
|
|
2019
|
+
);
|
|
2020
|
+
if (!next) return;
|
|
2021
|
+
apply(next);
|
|
2022
|
+
if (next.state === "in_progress") return;
|
|
2023
|
+
setSessionUrl(null);
|
|
2024
|
+
const nextStep = next.state === "declined" ? "result" : identityStepFor(next);
|
|
2025
|
+
if (nextStep === "verify" && isOpenRef.current) void startVerifyRef.current();
|
|
2026
|
+
else setStep(nextStep);
|
|
2027
|
+
}, [run, apply]);
|
|
2028
|
+
const refreshedOnLoad = React.useRef(false);
|
|
2029
|
+
React.useEffect(() => {
|
|
2030
|
+
if (refreshedOnLoad.current || !status) return;
|
|
2031
|
+
refreshedOnLoad.current = true;
|
|
2032
|
+
if (status.state === "in_progress" || status.state === "in_review") void refresh();
|
|
2033
|
+
}, [status, refresh]);
|
|
2034
|
+
const startVerify = React.useCallback(async () => {
|
|
2035
|
+
setStep("verify");
|
|
2036
|
+
setEmbedFailed(false);
|
|
2037
|
+
const url = await run(
|
|
2038
|
+
"start",
|
|
2039
|
+
"Could not start identity verification",
|
|
2040
|
+
() => apiRef.current.startSession()
|
|
2041
|
+
);
|
|
2042
|
+
if (url) {
|
|
2043
|
+
setSessionUrl(url);
|
|
2044
|
+
return;
|
|
2045
|
+
}
|
|
2046
|
+
setStep("pay");
|
|
2047
|
+
}, [run]);
|
|
2048
|
+
startVerifyRef.current = startVerify;
|
|
2049
|
+
React.useEffect(() => {
|
|
2050
|
+
if (!isOpen || step !== "verify" || !sessionUrl || !container || embedFailed) return;
|
|
2051
|
+
let teardown;
|
|
2052
|
+
let cancelled = false;
|
|
2053
|
+
mountDiditVerification({
|
|
2054
|
+
url: sessionUrl,
|
|
2055
|
+
containerId: container.id,
|
|
2056
|
+
onResult: (result) => {
|
|
2057
|
+
if (result.type === "failed" && result.error?.type === "cameraAccessDenied") {
|
|
2058
|
+
setEmbedFailed(true);
|
|
2059
|
+
return;
|
|
2060
|
+
}
|
|
2061
|
+
if (result.type === "cancelled") {
|
|
2062
|
+
closeRef.current();
|
|
2063
|
+
return;
|
|
2064
|
+
}
|
|
2065
|
+
void refresh();
|
|
2066
|
+
}
|
|
2067
|
+
}).then((stop) => {
|
|
2068
|
+
if (cancelled) stop();
|
|
2069
|
+
else teardown = stop;
|
|
2070
|
+
}).catch(() => setEmbedFailed(true));
|
|
2071
|
+
return () => {
|
|
2072
|
+
cancelled = true;
|
|
2073
|
+
teardown?.();
|
|
2074
|
+
};
|
|
2075
|
+
}, [isOpen, step, sessionUrl, container, embedFailed, refresh]);
|
|
2076
|
+
const [waitingInTab, setWaitingInTab] = React.useState(false);
|
|
2077
|
+
React.useEffect(() => {
|
|
2078
|
+
if (!waitingInTab || typeof window === "undefined") return;
|
|
2079
|
+
const onFocus = () => void refresh();
|
|
2080
|
+
window.addEventListener("focus", onFocus);
|
|
2081
|
+
return () => window.removeEventListener("focus", onFocus);
|
|
2082
|
+
}, [waitingInTab, refresh]);
|
|
2083
|
+
const open = React.useCallback(() => {
|
|
2084
|
+
isOpenRef.current = true;
|
|
2085
|
+
setProblem(null);
|
|
2086
|
+
setPaymentUrl(status?.pending_payment_url ?? null);
|
|
2087
|
+
const first = identityStepFor(status);
|
|
2088
|
+
setStep(first);
|
|
2089
|
+
setIsOpen(true);
|
|
2090
|
+
if (first === "verify") void startVerify();
|
|
2091
|
+
}, [status, startVerify]);
|
|
2092
|
+
const close = React.useCallback(() => {
|
|
2093
|
+
isOpenRef.current = false;
|
|
2094
|
+
setIsOpen(false);
|
|
2095
|
+
setSessionUrl(null);
|
|
2096
|
+
setWaitingInTab(false);
|
|
2097
|
+
setEmbedFailed(false);
|
|
2098
|
+
setProblem(null);
|
|
2099
|
+
}, []);
|
|
2100
|
+
closeRef.current = close;
|
|
2101
|
+
const pay = React.useCallback(async () => {
|
|
2102
|
+
const result = await run(
|
|
2103
|
+
"pay",
|
|
2104
|
+
"Payment could not be completed",
|
|
2105
|
+
() => apiRef.current.purchase()
|
|
2106
|
+
);
|
|
2107
|
+
if (!result) return;
|
|
2108
|
+
if (result.status === "requires_action") {
|
|
2109
|
+
setPaymentUrl(result.payment_url ?? null);
|
|
2110
|
+
return;
|
|
2111
|
+
}
|
|
2112
|
+
setPaymentUrl(null);
|
|
2113
|
+
void query.refetch();
|
|
2114
|
+
void startVerify();
|
|
2115
|
+
}, [run, query, startVerify]);
|
|
2116
|
+
const acceptName = React.useCallback(async () => {
|
|
2117
|
+
const offered = status;
|
|
2118
|
+
const next = await run(
|
|
2119
|
+
"accept",
|
|
2120
|
+
"Could not change your name",
|
|
2121
|
+
() => apiRef.current.acceptName()
|
|
2122
|
+
);
|
|
2123
|
+
if (!next) return;
|
|
2124
|
+
apply(next);
|
|
2125
|
+
if (offered?.document_given_name) {
|
|
2126
|
+
onNameAccepted?.({
|
|
2127
|
+
givenName: offered.document_given_name,
|
|
2128
|
+
familyName: offered.document_family_name ?? null
|
|
2129
|
+
});
|
|
2130
|
+
}
|
|
2131
|
+
}, [run, apply, status, onNameAccepted]);
|
|
2132
|
+
const remove = React.useCallback(async () => {
|
|
2133
|
+
const next = await run(
|
|
2134
|
+
"remove",
|
|
2135
|
+
"Could not remove the verification",
|
|
2136
|
+
() => apiRef.current.remove()
|
|
2137
|
+
);
|
|
2138
|
+
if (next) apply(next);
|
|
2139
|
+
}, [run, apply]);
|
|
2140
|
+
const price = React.useMemo(() => status ? formatPrice(status) : null, [status, formatPrice]);
|
|
2141
|
+
return {
|
|
2142
|
+
status,
|
|
2143
|
+
isLoading: query.isLoading,
|
|
2144
|
+
price,
|
|
2145
|
+
isOpen,
|
|
2146
|
+
open,
|
|
2147
|
+
close,
|
|
2148
|
+
step,
|
|
2149
|
+
busy,
|
|
2150
|
+
problem,
|
|
2151
|
+
paymentUrl,
|
|
2152
|
+
pay: () => void pay(),
|
|
2153
|
+
recheckPayment: () => void startVerify(),
|
|
2154
|
+
verifyContainerId,
|
|
2155
|
+
verifyContainerRef: setContainer,
|
|
2156
|
+
embedFailed,
|
|
2157
|
+
openInNewTab: () => {
|
|
2158
|
+
if (!sessionUrl || typeof window === "undefined") return;
|
|
2159
|
+
window.open(sessionUrl, "_blank", "noopener");
|
|
2160
|
+
setWaitingInTab(true);
|
|
2161
|
+
},
|
|
2162
|
+
checkResult: () => void refresh(),
|
|
2163
|
+
retry: () => void startVerify(),
|
|
2164
|
+
acceptName: () => void acceptName(),
|
|
2165
|
+
keepName: close,
|
|
2166
|
+
remove: () => void remove()
|
|
2167
|
+
};
|
|
2168
|
+
}
|
|
2169
|
+
function useIdentityVerification(options = {}) {
|
|
2170
|
+
const arbi = chunkIIT7DMQL_cjs.useArbi();
|
|
2171
|
+
const qc = reactQuery.useQueryClient();
|
|
2172
|
+
const api = React.useMemo(
|
|
2173
|
+
() => ({
|
|
2174
|
+
status: () => arbi.identity.status(),
|
|
2175
|
+
purchase: () => arbi.identity.purchase(),
|
|
2176
|
+
startSession: () => arbi.identity.startSession(),
|
|
2177
|
+
refresh: () => arbi.identity.refresh(),
|
|
2178
|
+
acceptName: () => arbi.identity.acceptName(),
|
|
2179
|
+
remove: () => arbi.identity.remove()
|
|
2180
|
+
}),
|
|
2181
|
+
[arbi]
|
|
2182
|
+
);
|
|
2183
|
+
const { onVerifiedChange, onNameAccepted } = options;
|
|
2184
|
+
return useIdentityVerificationFlow(api, {
|
|
2185
|
+
enabled: arbi.isLoggedIn,
|
|
2186
|
+
onVerifiedChange: (verified) => {
|
|
2187
|
+
void qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.profile() });
|
|
2188
|
+
onVerifiedChange?.(verified);
|
|
2189
|
+
},
|
|
2190
|
+
onNameAccepted: (name) => {
|
|
2191
|
+
void qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.profile() });
|
|
2192
|
+
void qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.workspaces() });
|
|
2193
|
+
onNameAccepted?.(name);
|
|
2194
|
+
}
|
|
2195
|
+
});
|
|
2196
|
+
}
|
|
1895
2197
|
function useWorkspaceDocs(workspaceId) {
|
|
1896
|
-
const { data: docs = [], isLoading, isError } =
|
|
2198
|
+
const { data: docs = [], isLoading, isError } = chunkGE5TAR7Y_cjs.useDocuments(workspaceId);
|
|
1897
2199
|
const docIds = React.useMemo(
|
|
1898
2200
|
() => docs.map((d) => d.external_id).filter((id) => !!id),
|
|
1899
2201
|
[docs]
|
|
@@ -1901,7 +2203,7 @@ function useWorkspaceDocs(workspaceId) {
|
|
|
1901
2203
|
return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
|
|
1902
2204
|
}
|
|
1903
2205
|
function useAiTask() {
|
|
1904
|
-
const mutation =
|
|
2206
|
+
const mutation = chunkGE5TAR7Y_cjs.useAssistantQuery();
|
|
1905
2207
|
const [status, setStatus] = React.useState("idle");
|
|
1906
2208
|
const [text, setText] = React.useState("");
|
|
1907
2209
|
const [stepCount, setStepCount] = React.useState(0);
|
|
@@ -2115,7 +2417,7 @@ function AiAnswer({
|
|
|
2115
2417
|
}
|
|
2116
2418
|
),
|
|
2117
2419
|
hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2118
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2420
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQJRP2LLQ_cjs.AiMarkdown, { isStreaming: running, children: text }),
|
|
2119
2421
|
!running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
|
|
2120
2422
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
|
|
2121
2423
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
|
|
@@ -2160,7 +2462,7 @@ function AiActionCard({
|
|
|
2160
2462
|
const p = typeof prompt === "function" ? prompt() : prompt;
|
|
2161
2463
|
void task.run(p, docIds);
|
|
2162
2464
|
};
|
|
2163
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2465
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQJRP2LLQ_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
|
|
2164
2466
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
2165
2467
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
2166
2468
|
/* @__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" }) }),
|
|
@@ -2170,7 +2472,7 @@ function AiActionCard({
|
|
|
2170
2472
|
] })
|
|
2171
2473
|
] }),
|
|
2172
2474
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2173
|
-
|
|
2475
|
+
chunkWYZJLZ67_cjs.Button,
|
|
2174
2476
|
{
|
|
2175
2477
|
variant: task.isDone ? "outline" : "accent",
|
|
2176
2478
|
size: "sm",
|
|
@@ -2302,11 +2604,11 @@ function ArtifactCanvas({
|
|
|
2302
2604
|
children: active.title
|
|
2303
2605
|
}
|
|
2304
2606
|
),
|
|
2305
|
-
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2607
|
+
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkQJRP2LLQ_cjs.Badge, { variant: "accent", className: "gap-1", children: [
|
|
2306
2608
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
|
|
2307
2609
|
" Redline"
|
|
2308
2610
|
] }),
|
|
2309
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2611
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkQJRP2LLQ_cjs.Badge, { variant: "secondary", children: [
|
|
2310
2612
|
"v",
|
|
2311
2613
|
active.version
|
|
2312
2614
|
] }),
|
|
@@ -2362,7 +2664,7 @@ function ArtifactCanvas({
|
|
|
2362
2664
|
animate: { opacity: 1, y: 0 },
|
|
2363
2665
|
transition: { duration: 0.2 },
|
|
2364
2666
|
className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
|
|
2365
|
-
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(
|
|
2667
|
+
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(chunkQJRP2LLQ_cjs.AiMarkdown, { children: active.content })
|
|
2366
2668
|
},
|
|
2367
2669
|
active.doc_ext_id
|
|
2368
2670
|
) }) })
|
|
@@ -2379,7 +2681,7 @@ function MessageArtifactCard({
|
|
|
2379
2681
|
const Icon = isImage ? lucideReact.Image : lucideReact.FileText;
|
|
2380
2682
|
const statusText = isImage ? isComplete ? "Image ready" : "Generating\u2026" : isComplete ? "Draft ready" : "Drafting\u2026";
|
|
2381
2683
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2382
|
-
|
|
2684
|
+
chunkQJRP2LLQ_cjs.Card,
|
|
2383
2685
|
{
|
|
2384
2686
|
variant: "outline",
|
|
2385
2687
|
className: "mt-3 flex items-center gap-3 px-3 py-2.5",
|
|
@@ -2455,7 +2757,7 @@ function DocSearch({
|
|
|
2455
2757
|
status === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": "doc-search-results", children: [
|
|
2456
2758
|
/* @__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` }),
|
|
2457
2759
|
results.slice(0, 8).map((r, i) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2458
|
-
|
|
2760
|
+
chunkQJRP2LLQ_cjs.Card,
|
|
2459
2761
|
{
|
|
2460
2762
|
variant: "elevated",
|
|
2461
2763
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -2468,7 +2770,7 @@ function DocSearch({
|
|
|
2468
2770
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1 flex items-center gap-2", children: [
|
|
2469
2771
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 text-ai-accent" }),
|
|
2470
2772
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: r.docTitle ?? "Document" }),
|
|
2471
|
-
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2773
|
+
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkQJRP2LLQ_cjs.Badge, { variant: "secondary", children: [
|
|
2472
2774
|
"p.",
|
|
2473
2775
|
r.page
|
|
2474
2776
|
] }),
|
|
@@ -2494,8 +2796,8 @@ function DocumentReview({
|
|
|
2494
2796
|
onClose,
|
|
2495
2797
|
className
|
|
2496
2798
|
}) {
|
|
2497
|
-
const parsedQuery =
|
|
2498
|
-
const tagsQuery =
|
|
2799
|
+
const parsedQuery = chunkGE5TAR7Y_cjs.useParsedDocument(docId, stage);
|
|
2800
|
+
const tagsQuery = chunkGE5TAR7Y_cjs.useTags(workspaceId);
|
|
2499
2801
|
const tagNameById = React__default.default.useMemo(() => {
|
|
2500
2802
|
const map = /* @__PURE__ */ new Map();
|
|
2501
2803
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -2562,7 +2864,7 @@ function DocumentReview({
|
|
|
2562
2864
|
findings.length ? ` \xB7 ${findings.length} findings` : ""
|
|
2563
2865
|
] })
|
|
2564
2866
|
] }),
|
|
2565
|
-
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2867
|
+
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunkQJRP2LLQ_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
|
|
2566
2868
|
onClose ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2567
2869
|
"button",
|
|
2568
2870
|
{
|
|
@@ -2599,7 +2901,7 @@ function DocumentReview({
|
|
|
2599
2901
|
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",
|
|
2600
2902
|
children: [
|
|
2601
2903
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2602
|
-
|
|
2904
|
+
chunkQJRP2LLQ_cjs.TagEntity,
|
|
2603
2905
|
{
|
|
2604
2906
|
size: "sm",
|
|
2605
2907
|
tag: {
|
|
@@ -2644,7 +2946,7 @@ function DocumentReview({
|
|
|
2644
2946
|
),
|
|
2645
2947
|
children: [
|
|
2646
2948
|
highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2647
|
-
|
|
2949
|
+
chunkQJRP2LLQ_cjs.TagEntity,
|
|
2648
2950
|
{
|
|
2649
2951
|
size: "sm",
|
|
2650
2952
|
tag: {
|
|
@@ -2693,7 +2995,7 @@ function ResultRow({
|
|
|
2693
2995
|
onSelect
|
|
2694
2996
|
}) {
|
|
2695
2997
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2696
|
-
|
|
2998
|
+
chunkQJRP2LLQ_cjs.PassageCard,
|
|
2697
2999
|
{
|
|
2698
3000
|
onClick: onSelect,
|
|
2699
3001
|
active: isActive,
|
|
@@ -2702,7 +3004,7 @@ function ResultRow({
|
|
|
2702
3004
|
header: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2703
3005
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 shrink-0 text-ai-accent" }),
|
|
2704
3006
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: result.docTitle ?? "Document" }),
|
|
2705
|
-
result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3007
|
+
result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkQJRP2LLQ_cjs.Badge, { variant: "secondary", children: [
|
|
2706
3008
|
"p.",
|
|
2707
3009
|
result.page
|
|
2708
3010
|
] })
|
|
@@ -2726,7 +3028,7 @@ function SemanticSearch({
|
|
|
2726
3028
|
const { results, status, error, search, isRunning, query } = useSemanticSearch(docIds);
|
|
2727
3029
|
const [value, setValue] = React.useState("");
|
|
2728
3030
|
const [selected, setSelected] = React.useState(null);
|
|
2729
|
-
const { data: docs = [] } =
|
|
3031
|
+
const { data: docs = [] } = chunkGE5TAR7Y_cjs.useDocuments(workspaceId, { enabled: !!workspaceId });
|
|
2730
3032
|
const docMap = React.useMemo(() => {
|
|
2731
3033
|
const map = /* @__PURE__ */ new Map();
|
|
2732
3034
|
for (const d of docs) if (d.external_id) map.set(d.external_id, d);
|
|
@@ -2812,7 +3114,7 @@ function SemanticSearch({
|
|
|
2812
3114
|
"data-testid": "arbi-semantic-search-viewer",
|
|
2813
3115
|
children: selected && selected.docId ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col gap-2", children: [
|
|
2814
3116
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2815
|
-
|
|
3117
|
+
chunkWYZJLZ67_cjs.Button,
|
|
2816
3118
|
{
|
|
2817
3119
|
variant: "ghost",
|
|
2818
3120
|
size: "sm",
|
|
@@ -2871,7 +3173,7 @@ Question: ${question}`,
|
|
|
2871
3173
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 space-y-3", "data-testid": "doc-qa", children: [
|
|
2872
3174
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
2873
3175
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2874
|
-
|
|
3176
|
+
chunkQJRP2LLQ_cjs.Input,
|
|
2875
3177
|
{
|
|
2876
3178
|
value: q,
|
|
2877
3179
|
onChange: (e) => setQ(e.target.value),
|
|
@@ -2882,7 +3184,7 @@ Question: ${question}`,
|
|
|
2882
3184
|
}
|
|
2883
3185
|
),
|
|
2884
3186
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2885
|
-
|
|
3187
|
+
chunkWYZJLZ67_cjs.Button,
|
|
2886
3188
|
{
|
|
2887
3189
|
variant: "accent",
|
|
2888
3190
|
size: "icon",
|
|
@@ -2894,7 +3196,7 @@ Question: ${question}`,
|
|
|
2894
3196
|
}
|
|
2895
3197
|
),
|
|
2896
3198
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2897
|
-
|
|
3199
|
+
chunkWYZJLZ67_cjs.Button,
|
|
2898
3200
|
{
|
|
2899
3201
|
variant: "outline",
|
|
2900
3202
|
size: "sm",
|
|
@@ -3073,7 +3375,7 @@ var CitationPopover = ({
|
|
|
3073
3375
|
return () => {
|
|
3074
3376
|
if (!restoreFocusRef.current) return;
|
|
3075
3377
|
restoreFocusRef.current = false;
|
|
3076
|
-
if (triggerRef.current)
|
|
3378
|
+
if (triggerRef.current) chunkQJRP2LLQ_cjs.returnFocusToMark(triggerRef.current);
|
|
3077
3379
|
};
|
|
3078
3380
|
}, [open]);
|
|
3079
3381
|
React.useEffect(() => {
|
|
@@ -3274,7 +3576,7 @@ var CitationLink = ({
|
|
|
3274
3576
|
triggerRef,
|
|
3275
3577
|
children
|
|
3276
3578
|
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3277
|
-
|
|
3579
|
+
chunkQJRP2LLQ_cjs.MarkMenu,
|
|
3278
3580
|
{
|
|
3279
3581
|
triggerRef,
|
|
3280
3582
|
items,
|
|
@@ -3312,8 +3614,8 @@ var FileIcon = ({ size = 16, className = "" }) => {
|
|
|
3312
3614
|
"path",
|
|
3313
3615
|
{
|
|
3314
3616
|
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:
|
|
3316
|
-
stroke:
|
|
3617
|
+
fill: chunkQJRP2LLQ_cjs.FILE_TYPE_COLORS.generic,
|
|
3618
|
+
stroke: chunkQJRP2LLQ_cjs.FILE_TYPE_COLORS.generic,
|
|
3317
3619
|
strokeWidth: "1",
|
|
3318
3620
|
strokeLinecap: "round",
|
|
3319
3621
|
strokeLinejoin: "round"
|
|
@@ -3324,7 +3626,7 @@ var FileIcon = ({ size = 16, className = "" }) => {
|
|
|
3324
3626
|
{
|
|
3325
3627
|
d: "M14 2v6h6",
|
|
3326
3628
|
fill: "none",
|
|
3327
|
-
stroke:
|
|
3629
|
+
stroke: chunkQJRP2LLQ_cjs.FILE_TYPE_COLORS.white,
|
|
3328
3630
|
strokeWidth: "1",
|
|
3329
3631
|
strokeLinecap: "round",
|
|
3330
3632
|
strokeLinejoin: "round"
|
|
@@ -3680,7 +3982,7 @@ var ArbiBotIcon = ({ size = 24, className = "" }) => {
|
|
|
3680
3982
|
);
|
|
3681
3983
|
};
|
|
3682
3984
|
function getNotificationTypeMeta(type) {
|
|
3683
|
-
const WorkspaceIcon =
|
|
3985
|
+
const WorkspaceIcon = chunkQJRP2LLQ_cjs.getEntityIcon("WORKSPACE");
|
|
3684
3986
|
switch (type) {
|
|
3685
3987
|
case "agent_input_requested":
|
|
3686
3988
|
return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Input needed" };
|
|
@@ -3800,7 +4102,7 @@ function describeActivity(content) {
|
|
|
3800
4102
|
}
|
|
3801
4103
|
default:
|
|
3802
4104
|
return {
|
|
3803
|
-
Icon: parsed.workspace_ext_id ?
|
|
4105
|
+
Icon: parsed.workspace_ext_id ? chunkQJRP2LLQ_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
|
|
3804
4106
|
iconClassName: "text-muted-foreground",
|
|
3805
4107
|
title: humaniseEvent(parsed.event)
|
|
3806
4108
|
};
|
|
@@ -3830,7 +4132,7 @@ function ActivityFeed({
|
|
|
3830
4132
|
enabled,
|
|
3831
4133
|
"data-testid": testId = "activity-feed"
|
|
3832
4134
|
}) {
|
|
3833
|
-
const { data, isLoading, isError } =
|
|
4135
|
+
const { data, isLoading, isError } = chunkGE5TAR7Y_cjs.useActivity({ limit, enabled });
|
|
3834
4136
|
if (isLoading) {
|
|
3835
4137
|
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: [
|
|
3836
4138
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
|
|
@@ -3981,7 +4283,7 @@ function useDirectMessages(options) {
|
|
|
3981
4283
|
enabled
|
|
3982
4284
|
});
|
|
3983
4285
|
const contactsQuery = reactQuery.useQuery({
|
|
3984
|
-
queryKey:
|
|
4286
|
+
queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.contacts(),
|
|
3985
4287
|
queryFn: () => arbi.contacts.list(),
|
|
3986
4288
|
enabled
|
|
3987
4289
|
});
|
|
@@ -4043,7 +4345,7 @@ function DmAvatar({ user, className, size = "lg" }) {
|
|
|
4043
4345
|
const presence = useArbiWsStore((s) => s.presence[user.external_id]);
|
|
4044
4346
|
const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
|
|
4045
4347
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4046
|
-
|
|
4348
|
+
chunkQJRP2LLQ_cjs.UserEntity,
|
|
4047
4349
|
{
|
|
4048
4350
|
variant: "icon",
|
|
4049
4351
|
size,
|
|
@@ -4053,7 +4355,7 @@ function DmAvatar({ user, className, size = "lg" }) {
|
|
|
4053
4355
|
initials: userInitials(user),
|
|
4054
4356
|
displayName: userDisplayName(user),
|
|
4055
4357
|
picture: user.picture,
|
|
4056
|
-
avatarStyle:
|
|
4358
|
+
avatarStyle: chunkQJRP2LLQ_cjs.getEntityColorStyles(user.external_id),
|
|
4057
4359
|
isAgent: isAgentUser(user),
|
|
4058
4360
|
displayStatus
|
|
4059
4361
|
}
|
|
@@ -4108,10 +4410,10 @@ function ConversationList({
|
|
|
4108
4410
|
children: userDisplayName(peer)
|
|
4109
4411
|
}
|
|
4110
4412
|
),
|
|
4111
|
-
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4413
|
+
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkQJRP2LLQ_cjs.AgentBadge, {}) : null)
|
|
4112
4414
|
] }),
|
|
4113
4415
|
c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4114
|
-
|
|
4416
|
+
chunkQJRP2LLQ_cjs.Badge,
|
|
4115
4417
|
{
|
|
4116
4418
|
variant: "outline",
|
|
4117
4419
|
className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
|
|
@@ -4122,7 +4424,7 @@ function ConversationList({
|
|
|
4122
4424
|
// shouted louder than the message it was counting.
|
|
4123
4425
|
// Enough to catch the eye scanning the list, no more.
|
|
4124
4426
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4125
|
-
|
|
4427
|
+
chunkQJRP2LLQ_cjs.Badge,
|
|
4126
4428
|
{
|
|
4127
4429
|
variant: "accent",
|
|
4128
4430
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -4425,7 +4727,7 @@ function DmComposer({
|
|
|
4425
4727
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-end gap-2", children: [
|
|
4426
4728
|
allowAttachments && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4427
4729
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4428
|
-
|
|
4730
|
+
chunkWYZJLZ67_cjs.Button,
|
|
4429
4731
|
{
|
|
4430
4732
|
type: "button",
|
|
4431
4733
|
variant: "ghost",
|
|
@@ -4455,7 +4757,7 @@ function DmComposer({
|
|
|
4455
4757
|
)
|
|
4456
4758
|
] }),
|
|
4457
4759
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4458
|
-
|
|
4760
|
+
chunkQJRP2LLQ_cjs.Textarea,
|
|
4459
4761
|
{
|
|
4460
4762
|
ref: inputRef,
|
|
4461
4763
|
value: draft,
|
|
@@ -4470,7 +4772,7 @@ function DmComposer({
|
|
|
4470
4772
|
}
|
|
4471
4773
|
),
|
|
4472
4774
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4473
|
-
|
|
4775
|
+
chunkWYZJLZ67_cjs.Button,
|
|
4474
4776
|
{
|
|
4475
4777
|
type: "button",
|
|
4476
4778
|
onClick: () => void submit(),
|
|
@@ -4549,9 +4851,9 @@ function StartByEmail({
|
|
|
4549
4851
|
void submit();
|
|
4550
4852
|
},
|
|
4551
4853
|
children: [
|
|
4552
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4854
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQJRP2LLQ_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
|
|
4553
4855
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4554
|
-
|
|
4856
|
+
chunkQJRP2LLQ_cjs.Input,
|
|
4555
4857
|
{
|
|
4556
4858
|
id: `${uid}-email`,
|
|
4557
4859
|
type: "email",
|
|
@@ -4565,9 +4867,9 @@ function StartByEmail({
|
|
|
4565
4867
|
}
|
|
4566
4868
|
),
|
|
4567
4869
|
email !== "" && !valid && /* @__PURE__ */ jsxRuntime.jsx("p", { id: `${uid}-bad`, className: "text-xs text-destructive", children: l.invalidEmail }),
|
|
4568
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4870
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQJRP2LLQ_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
|
|
4569
4871
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4570
|
-
|
|
4872
|
+
chunkQJRP2LLQ_cjs.Textarea,
|
|
4571
4873
|
{
|
|
4572
4874
|
id: `${uid}-text`,
|
|
4573
4875
|
value: text,
|
|
@@ -4580,7 +4882,7 @@ function StartByEmail({
|
|
|
4580
4882
|
),
|
|
4581
4883
|
error && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-xs text-destructive", "data-testid": "arbi-dm-start-error", children: error }),
|
|
4582
4884
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4583
|
-
|
|
4885
|
+
chunkWYZJLZ67_cjs.Button,
|
|
4584
4886
|
{
|
|
4585
4887
|
type: "submit",
|
|
4586
4888
|
size: "sm",
|
|
@@ -4780,7 +5082,7 @@ function ImageCropper({
|
|
|
4780
5082
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
4781
5083
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
|
|
4782
5084
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4783
|
-
|
|
5085
|
+
chunkQJRP2LLQ_cjs.Slider,
|
|
4784
5086
|
{
|
|
4785
5087
|
value: [zoom],
|
|
4786
5088
|
onValueChange: ([v]) => setZoom(v ?? 1),
|
|
@@ -4857,8 +5159,8 @@ function ImageCropModal({
|
|
|
4857
5159
|
setBusy(false);
|
|
4858
5160
|
}
|
|
4859
5161
|
};
|
|
4860
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4861
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5162
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWYZJLZ67_cjs.Dialog, { open, onOpenChange: (next) => !next ? onCancel() : void 0, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkWYZJLZ67_cjs.DialogContent, { className: "sm:max-w-md", "data-testid": "image-crop-modal", children: [
|
|
5163
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWYZJLZ67_cjs.DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkWYZJLZ67_cjs.DialogTitle, { children: title }) }),
|
|
4862
5164
|
image ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4863
5165
|
ImageCropper,
|
|
4864
5166
|
{
|
|
@@ -4869,9 +5171,9 @@ function ImageCropModal({
|
|
|
4869
5171
|
onCropComplete: setArea
|
|
4870
5172
|
}
|
|
4871
5173
|
) : null,
|
|
4872
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4873
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4874
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5174
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkWYZJLZ67_cjs.DialogFooter, { className: "gap-2 sm:gap-2", children: [
|
|
5175
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWYZJLZ67_cjs.Button, { variant: "ghost", onClick: onCancel, disabled: busy, children: "Cancel" }),
|
|
5176
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkWYZJLZ67_cjs.Button, { onClick: handleSave, disabled: !area || busy, "data-testid": "image-crop-save", children: [
|
|
4875
5177
|
busy ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "mr-1 size-4 animate-spin" }) : null,
|
|
4876
5178
|
saveLabel
|
|
4877
5179
|
] })
|
|
@@ -4937,8 +5239,8 @@ function CommandPalette({
|
|
|
4937
5239
|
if (!q || task.isRunning) return;
|
|
4938
5240
|
void task.run(buildAskPrompt(q), askDocIds, { model });
|
|
4939
5241
|
};
|
|
4940
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4941
|
-
|
|
5242
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWYZJLZ67_cjs.Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5243
|
+
chunkWYZJLZ67_cjs.DialogContent,
|
|
4942
5244
|
{
|
|
4943
5245
|
className: chunkS6A6FSG7_cjs.cn(
|
|
4944
5246
|
"top-[12%] max-w-2xl translate-y-0 gap-0 overflow-hidden p-0",
|
|
@@ -4946,7 +5248,7 @@ function CommandPalette({
|
|
|
4946
5248
|
),
|
|
4947
5249
|
"data-testid": testId,
|
|
4948
5250
|
children: [
|
|
4949
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5251
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkWYZJLZ67_cjs.DialogTitle, { className: "sr-only", children: "Command palette" }),
|
|
4950
5252
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 border-b border-border px-4", children: [
|
|
4951
5253
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: chunkS6A6FSG7_cjs.cn("size-4 shrink-0 text-ai-accent", classNames?.leadingIcon) }),
|
|
4952
5254
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5017,7 +5319,7 @@ function CommandPalette({
|
|
|
5017
5319
|
}
|
|
5018
5320
|
),
|
|
5019
5321
|
task.isDone && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-3 flex justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5020
|
-
|
|
5322
|
+
chunkWYZJLZ67_cjs.Button,
|
|
5021
5323
|
{
|
|
5022
5324
|
variant: "outline",
|
|
5023
5325
|
size: "sm",
|
|
@@ -5152,10 +5454,10 @@ function DocumentTable({
|
|
|
5152
5454
|
extraColumns,
|
|
5153
5455
|
className
|
|
5154
5456
|
}) {
|
|
5155
|
-
const query =
|
|
5457
|
+
const query = chunkGE5TAR7Y_cjs.useDocuments(workspaceId, { enabled: !documents });
|
|
5156
5458
|
const rows = documents ?? query.data ?? [];
|
|
5157
5459
|
const isLoading = !documents && query.isLoading;
|
|
5158
|
-
const tagsQuery =
|
|
5460
|
+
const tagsQuery = chunkGE5TAR7Y_cjs.useTags(workspaceId);
|
|
5159
5461
|
const tagNameById = React__default.default.useMemo(() => {
|
|
5160
5462
|
const map = /* @__PURE__ */ new Map();
|
|
5161
5463
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -5215,7 +5517,7 @@ function DocumentTable({
|
|
|
5215
5517
|
const doc = p.data;
|
|
5216
5518
|
if (!doc) return null;
|
|
5217
5519
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5218
|
-
|
|
5520
|
+
chunkQJRP2LLQ_cjs.DocumentEntity,
|
|
5219
5521
|
{
|
|
5220
5522
|
doc,
|
|
5221
5523
|
size: "base",
|
|
@@ -5238,7 +5540,7 @@ function DocumentTable({
|
|
|
5238
5540
|
cellRenderer: (p) => {
|
|
5239
5541
|
const status = p.data?.status;
|
|
5240
5542
|
if (!status) return null;
|
|
5241
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5543
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkQJRP2LLQ_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
|
|
5242
5544
|
}
|
|
5243
5545
|
},
|
|
5244
5546
|
{
|
|
@@ -5252,7 +5554,7 @@ function DocumentTable({
|
|
|
5252
5554
|
const doctags = p.data?.doctags ?? [];
|
|
5253
5555
|
if (doctags.length === 0) return null;
|
|
5254
5556
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center gap-1 py-1", children: doctags.map((dt) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
5255
|
-
|
|
5557
|
+
chunkQJRP2LLQ_cjs.TagEntity,
|
|
5256
5558
|
{
|
|
5257
5559
|
size: "sm",
|
|
5258
5560
|
tag: {
|
|
@@ -5336,7 +5638,7 @@ function DocumentCardMenu({
|
|
|
5336
5638
|
const invalidateDocuments = () => {
|
|
5337
5639
|
const workspaceId = arbi.getWorkspaceId();
|
|
5338
5640
|
if (workspaceId) {
|
|
5339
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
5641
|
+
void queryClient.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.documents(workspaceId) });
|
|
5340
5642
|
}
|
|
5341
5643
|
};
|
|
5342
5644
|
const download = reactQuery.useMutation({
|
|
@@ -5435,10 +5737,10 @@ function DocumentGallery({
|
|
|
5435
5737
|
minTileWidth = 148,
|
|
5436
5738
|
className
|
|
5437
5739
|
}) {
|
|
5438
|
-
const query =
|
|
5740
|
+
const query = chunkGE5TAR7Y_cjs.useDocuments(workspaceId, { enabled: !documents });
|
|
5439
5741
|
const rows = documents ?? query.data ?? [];
|
|
5440
5742
|
const isLoading = !documents && query.isLoading;
|
|
5441
|
-
const tagsQuery =
|
|
5743
|
+
const tagsQuery = chunkGE5TAR7Y_cjs.useTags(workspaceId);
|
|
5442
5744
|
const tagNameById = React__default.default.useMemo(() => {
|
|
5443
5745
|
const map = /* @__PURE__ */ new Map();
|
|
5444
5746
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -5450,7 +5752,7 @@ function DocumentGallery({
|
|
|
5450
5752
|
() => rows.map((d) => d.external_id).filter((id) => !!id),
|
|
5451
5753
|
[rows]
|
|
5452
5754
|
);
|
|
5453
|
-
const thumbsQuery =
|
|
5755
|
+
const thumbsQuery = chunkGE5TAR7Y_cjs.useThumbnails(docIds);
|
|
5454
5756
|
const thumbs = thumbsQuery.data ?? {};
|
|
5455
5757
|
const storeSelected = useArbiUiStore((s) => s.selectedDocIds);
|
|
5456
5758
|
const storeSetSelected = useArbiUiStore((s) => s.setSelectedDocIds);
|
|
@@ -5486,7 +5788,7 @@ function DocumentGallery({
|
|
|
5486
5788
|
setRenamingId(null);
|
|
5487
5789
|
const activeWorkspace = workspaceId ?? arbi.getWorkspaceId();
|
|
5488
5790
|
if (activeWorkspace) {
|
|
5489
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
5791
|
+
void queryClient.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.documents(activeWorkspace) });
|
|
5490
5792
|
}
|
|
5491
5793
|
}
|
|
5492
5794
|
});
|
|
@@ -5528,7 +5830,7 @@ function DocumentGallery({
|
|
|
5528
5830
|
(dt) => tagNameById.get(dt.tag_ext_id) ?? dt.tag_ext_id.slice(0, 8)
|
|
5529
5831
|
);
|
|
5530
5832
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-doc-id": id, "data-testid": "document-gallery-card", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5531
|
-
|
|
5833
|
+
chunkQJRP2LLQ_cjs.DocumentCard,
|
|
5532
5834
|
{
|
|
5533
5835
|
doc,
|
|
5534
5836
|
thumbnailUrl: thumbs[id],
|
|
@@ -5565,7 +5867,7 @@ function VoiceNoteRecorder({
|
|
|
5565
5867
|
isSaving = false,
|
|
5566
5868
|
transcribe
|
|
5567
5869
|
}) {
|
|
5568
|
-
const recorder =
|
|
5870
|
+
const recorder = chunkQJRP2LLQ_cjs.useAudioRecorder();
|
|
5569
5871
|
const [transcript, setTranscript] = React.useState(null);
|
|
5570
5872
|
const [isTranscribing, setIsTranscribing] = React.useState(false);
|
|
5571
5873
|
React.useEffect(() => {
|
|
@@ -5597,7 +5899,7 @@ function VoiceNoteRecorder({
|
|
|
5597
5899
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col items-center justify-center gap-6 p-8", children: [
|
|
5598
5900
|
recorder.state === "idle" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5599
5901
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5600
|
-
|
|
5902
|
+
chunkWYZJLZ67_cjs.Button,
|
|
5601
5903
|
{
|
|
5602
5904
|
type: "button",
|
|
5603
5905
|
size: "lg",
|
|
@@ -5611,7 +5913,7 @@ function VoiceNoteRecorder({
|
|
|
5611
5913
|
] }),
|
|
5612
5914
|
(recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5613
5915
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5614
|
-
|
|
5916
|
+
chunkQJRP2LLQ_cjs.MicWaveformIndicator,
|
|
5615
5917
|
{
|
|
5616
5918
|
level: recorder.level,
|
|
5617
5919
|
elapsedMs: recorder.elapsedMs,
|
|
@@ -5620,7 +5922,7 @@ function VoiceNoteRecorder({
|
|
|
5620
5922
|
),
|
|
5621
5923
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5622
5924
|
recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5623
|
-
|
|
5925
|
+
chunkWYZJLZ67_cjs.Button,
|
|
5624
5926
|
{
|
|
5625
5927
|
type: "button",
|
|
5626
5928
|
variant: "outline",
|
|
@@ -5632,7 +5934,7 @@ function VoiceNoteRecorder({
|
|
|
5632
5934
|
]
|
|
5633
5935
|
}
|
|
5634
5936
|
) : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5635
|
-
|
|
5937
|
+
chunkWYZJLZ67_cjs.Button,
|
|
5636
5938
|
{
|
|
5637
5939
|
type: "button",
|
|
5638
5940
|
variant: "outline",
|
|
@@ -5644,7 +5946,7 @@ function VoiceNoteRecorder({
|
|
|
5644
5946
|
]
|
|
5645
5947
|
}
|
|
5646
5948
|
),
|
|
5647
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5949
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkWYZJLZ67_cjs.Button, { type: "button", onClick: recorder.stop, "data-testid": "voice-note-stop-button", children: [
|
|
5648
5950
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "mr-1.5 h-3.5 w-3.5 fill-current" }),
|
|
5649
5951
|
"Stop"
|
|
5650
5952
|
] })
|
|
@@ -5668,7 +5970,7 @@ function VoiceNoteRecorder({
|
|
|
5668
5970
|
),
|
|
5669
5971
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5670
5972
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5671
|
-
|
|
5973
|
+
chunkWYZJLZ67_cjs.Button,
|
|
5672
5974
|
{
|
|
5673
5975
|
type: "button",
|
|
5674
5976
|
variant: "outline",
|
|
@@ -5682,7 +5984,7 @@ function VoiceNoteRecorder({
|
|
|
5682
5984
|
}
|
|
5683
5985
|
),
|
|
5684
5986
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5685
|
-
|
|
5987
|
+
chunkWYZJLZ67_cjs.Button,
|
|
5686
5988
|
{
|
|
5687
5989
|
type: "button",
|
|
5688
5990
|
variant: "outline",
|
|
@@ -5696,7 +5998,7 @@ function VoiceNoteRecorder({
|
|
|
5696
5998
|
}
|
|
5697
5999
|
),
|
|
5698
6000
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5699
|
-
|
|
6001
|
+
chunkWYZJLZ67_cjs.Button,
|
|
5700
6002
|
{
|
|
5701
6003
|
type: "button",
|
|
5702
6004
|
onClick: handleSave,
|
|
@@ -5733,7 +6035,7 @@ function DraftTitleControls({
|
|
|
5733
6035
|
}
|
|
5734
6036
|
),
|
|
5735
6037
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5736
|
-
|
|
6038
|
+
chunkQJRP2LLQ_cjs.IconToggle,
|
|
5737
6039
|
{
|
|
5738
6040
|
icon: lucideReact.Sparkles,
|
|
5739
6041
|
isActive: autoRename,
|
|
@@ -5767,7 +6069,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
|
|
|
5767
6069
|
streamRef.current = media;
|
|
5768
6070
|
setStream(media);
|
|
5769
6071
|
} catch (err) {
|
|
5770
|
-
setError(
|
|
6072
|
+
setError(chunkQJRP2LLQ_cjs.classifyMediaError(err, "camera"));
|
|
5771
6073
|
} finally {
|
|
5772
6074
|
setIsStarting(false);
|
|
5773
6075
|
}
|
|
@@ -5898,7 +6200,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5898
6200
|
}
|
|
5899
6201
|
) }),
|
|
5900
6202
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5901
|
-
|
|
6203
|
+
chunkWYZJLZ67_cjs.Button,
|
|
5902
6204
|
{
|
|
5903
6205
|
type: "button",
|
|
5904
6206
|
size: "lg",
|
|
@@ -5916,7 +6218,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5916
6218
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTMPDW7J5_cjs.ImageViewer, { blob: capturedBlob, alt: "Captured photo" }) }),
|
|
5917
6219
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5918
6220
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5919
|
-
|
|
6221
|
+
chunkWYZJLZ67_cjs.Button,
|
|
5920
6222
|
{
|
|
5921
6223
|
type: "button",
|
|
5922
6224
|
variant: "outline",
|
|
@@ -5930,7 +6232,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5930
6232
|
}
|
|
5931
6233
|
),
|
|
5932
6234
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5933
|
-
|
|
6235
|
+
chunkWYZJLZ67_cjs.Button,
|
|
5934
6236
|
{
|
|
5935
6237
|
type: "button",
|
|
5936
6238
|
variant: "outline",
|
|
@@ -5944,7 +6246,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5944
6246
|
}
|
|
5945
6247
|
),
|
|
5946
6248
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5947
|
-
|
|
6249
|
+
chunkWYZJLZ67_cjs.Button,
|
|
5948
6250
|
{
|
|
5949
6251
|
type: "button",
|
|
5950
6252
|
onClick: handleSave,
|
|
@@ -6003,10 +6305,10 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
6003
6305
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
|
|
6004
6306
|
] }),
|
|
6005
6307
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-semibold uppercase tracking-wide text-red-500", children: "Rec" }),
|
|
6006
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children:
|
|
6308
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkQJRP2LLQ_cjs.formatElapsed(recorder.elapsedMs) })
|
|
6007
6309
|
] }),
|
|
6008
6310
|
recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6009
|
-
|
|
6311
|
+
chunkWYZJLZ67_cjs.Button,
|
|
6010
6312
|
{
|
|
6011
6313
|
type: "button",
|
|
6012
6314
|
size: "lg",
|
|
@@ -6016,7 +6318,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
6016
6318
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-5 w-5 fill-current" })
|
|
6017
6319
|
}
|
|
6018
6320
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
6019
|
-
|
|
6321
|
+
chunkWYZJLZ67_cjs.Button,
|
|
6020
6322
|
{
|
|
6021
6323
|
type: "button",
|
|
6022
6324
|
size: "lg",
|
|
@@ -6033,7 +6335,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
6033
6335
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTMPDW7J5_cjs.VideoViewer, { blob: recorder.blob, title: "Captured video" }) }),
|
|
6034
6336
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
6035
6337
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6036
|
-
|
|
6338
|
+
chunkWYZJLZ67_cjs.Button,
|
|
6037
6339
|
{
|
|
6038
6340
|
type: "button",
|
|
6039
6341
|
variant: "outline",
|
|
@@ -6047,7 +6349,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
6047
6349
|
}
|
|
6048
6350
|
),
|
|
6049
6351
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6050
|
-
|
|
6352
|
+
chunkWYZJLZ67_cjs.Button,
|
|
6051
6353
|
{
|
|
6052
6354
|
type: "button",
|
|
6053
6355
|
variant: "outline",
|
|
@@ -6061,7 +6363,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
6061
6363
|
}
|
|
6062
6364
|
),
|
|
6063
6365
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6064
|
-
|
|
6366
|
+
chunkWYZJLZ67_cjs.Button,
|
|
6065
6367
|
{
|
|
6066
6368
|
type: "button",
|
|
6067
6369
|
onClick: handleSave,
|
|
@@ -6104,107 +6406,107 @@ function hasVideoTrack(blob) {
|
|
|
6104
6406
|
|
|
6105
6407
|
Object.defineProperty(exports, "DEFAULT_USD_PER_CREDIT", {
|
|
6106
6408
|
enumerable: true,
|
|
6107
|
-
get: function () { return
|
|
6409
|
+
get: function () { return chunkGE5TAR7Y_cjs.DEFAULT_USD_PER_CREDIT; }
|
|
6108
6410
|
});
|
|
6109
6411
|
Object.defineProperty(exports, "arbiQueryKeys", {
|
|
6110
6412
|
enumerable: true,
|
|
6111
|
-
get: function () { return
|
|
6413
|
+
get: function () { return chunkGE5TAR7Y_cjs.arbiQueryKeys; }
|
|
6112
6414
|
});
|
|
6113
6415
|
Object.defineProperty(exports, "creditsToUsd", {
|
|
6114
6416
|
enumerable: true,
|
|
6115
|
-
get: function () { return
|
|
6417
|
+
get: function () { return chunkGE5TAR7Y_cjs.creditsToUsd; }
|
|
6116
6418
|
});
|
|
6117
6419
|
Object.defineProperty(exports, "formatCredits", {
|
|
6118
6420
|
enumerable: true,
|
|
6119
|
-
get: function () { return
|
|
6421
|
+
get: function () { return chunkGE5TAR7Y_cjs.formatCredits; }
|
|
6120
6422
|
});
|
|
6121
6423
|
Object.defineProperty(exports, "isUsageMetered", {
|
|
6122
6424
|
enumerable: true,
|
|
6123
|
-
get: function () { return
|
|
6425
|
+
get: function () { return chunkGE5TAR7Y_cjs.isUsageMetered; }
|
|
6124
6426
|
});
|
|
6125
6427
|
Object.defineProperty(exports, "useActivity", {
|
|
6126
6428
|
enumerable: true,
|
|
6127
|
-
get: function () { return
|
|
6429
|
+
get: function () { return chunkGE5TAR7Y_cjs.useActivity; }
|
|
6128
6430
|
});
|
|
6129
6431
|
Object.defineProperty(exports, "useAgents", {
|
|
6130
6432
|
enumerable: true,
|
|
6131
|
-
get: function () { return
|
|
6433
|
+
get: function () { return chunkGE5TAR7Y_cjs.useAgents; }
|
|
6132
6434
|
});
|
|
6133
6435
|
Object.defineProperty(exports, "useAssistantQuery", {
|
|
6134
6436
|
enumerable: true,
|
|
6135
|
-
get: function () { return
|
|
6437
|
+
get: function () { return chunkGE5TAR7Y_cjs.useAssistantQuery; }
|
|
6136
6438
|
});
|
|
6137
6439
|
Object.defineProperty(exports, "useConfigs", {
|
|
6138
6440
|
enumerable: true,
|
|
6139
|
-
get: function () { return
|
|
6441
|
+
get: function () { return chunkGE5TAR7Y_cjs.useConfigs; }
|
|
6140
6442
|
});
|
|
6141
6443
|
Object.defineProperty(exports, "useConversationThreads", {
|
|
6142
6444
|
enumerable: true,
|
|
6143
|
-
get: function () { return
|
|
6445
|
+
get: function () { return chunkGE5TAR7Y_cjs.useConversationThreads; }
|
|
6144
6446
|
});
|
|
6145
6447
|
Object.defineProperty(exports, "useConversations", {
|
|
6146
6448
|
enumerable: true,
|
|
6147
|
-
get: function () { return
|
|
6449
|
+
get: function () { return chunkGE5TAR7Y_cjs.useConversations; }
|
|
6148
6450
|
});
|
|
6149
6451
|
Object.defineProperty(exports, "useDeleteAgents", {
|
|
6150
6452
|
enumerable: true,
|
|
6151
|
-
get: function () { return
|
|
6453
|
+
get: function () { return chunkGE5TAR7Y_cjs.useDeleteAgents; }
|
|
6152
6454
|
});
|
|
6153
6455
|
Object.defineProperty(exports, "useDocuments", {
|
|
6154
6456
|
enumerable: true,
|
|
6155
|
-
get: function () { return
|
|
6457
|
+
get: function () { return chunkGE5TAR7Y_cjs.useDocuments; }
|
|
6156
6458
|
});
|
|
6157
6459
|
Object.defineProperty(exports, "useFacts", {
|
|
6158
6460
|
enumerable: true,
|
|
6159
|
-
get: function () { return
|
|
6461
|
+
get: function () { return chunkGE5TAR7Y_cjs.useFacts; }
|
|
6160
6462
|
});
|
|
6161
6463
|
Object.defineProperty(exports, "useHealth", {
|
|
6162
6464
|
enumerable: true,
|
|
6163
|
-
get: function () { return
|
|
6465
|
+
get: function () { return chunkGE5TAR7Y_cjs.useHealth; }
|
|
6164
6466
|
});
|
|
6165
6467
|
Object.defineProperty(exports, "useParsedDocument", {
|
|
6166
6468
|
enumerable: true,
|
|
6167
|
-
get: function () { return
|
|
6469
|
+
get: function () { return chunkGE5TAR7Y_cjs.useParsedDocument; }
|
|
6168
6470
|
});
|
|
6169
6471
|
Object.defineProperty(exports, "useProjectInvoices", {
|
|
6170
6472
|
enumerable: true,
|
|
6171
|
-
get: function () { return
|
|
6473
|
+
get: function () { return chunkGE5TAR7Y_cjs.useProjectInvoices; }
|
|
6172
6474
|
});
|
|
6173
6475
|
Object.defineProperty(exports, "useProjectUsage", {
|
|
6174
6476
|
enumerable: true,
|
|
6175
|
-
get: function () { return
|
|
6477
|
+
get: function () { return chunkGE5TAR7Y_cjs.useProjectUsage; }
|
|
6176
6478
|
});
|
|
6177
6479
|
Object.defineProperty(exports, "useProjects", {
|
|
6178
6480
|
enumerable: true,
|
|
6179
|
-
get: function () { return
|
|
6481
|
+
get: function () { return chunkGE5TAR7Y_cjs.useProjects; }
|
|
6180
6482
|
});
|
|
6181
6483
|
Object.defineProperty(exports, "useProjectsUsage", {
|
|
6182
6484
|
enumerable: true,
|
|
6183
|
-
get: function () { return
|
|
6485
|
+
get: function () { return chunkGE5TAR7Y_cjs.useProjectsUsage; }
|
|
6184
6486
|
});
|
|
6185
6487
|
Object.defineProperty(exports, "useSessions", {
|
|
6186
6488
|
enumerable: true,
|
|
6187
|
-
get: function () { return
|
|
6489
|
+
get: function () { return chunkGE5TAR7Y_cjs.useSessions; }
|
|
6188
6490
|
});
|
|
6189
6491
|
Object.defineProperty(exports, "useTags", {
|
|
6190
6492
|
enumerable: true,
|
|
6191
|
-
get: function () { return
|
|
6493
|
+
get: function () { return chunkGE5TAR7Y_cjs.useTags; }
|
|
6192
6494
|
});
|
|
6193
6495
|
Object.defineProperty(exports, "useThumbnails", {
|
|
6194
6496
|
enumerable: true,
|
|
6195
|
-
get: function () { return
|
|
6497
|
+
get: function () { return chunkGE5TAR7Y_cjs.useThumbnails; }
|
|
6196
6498
|
});
|
|
6197
6499
|
Object.defineProperty(exports, "useUserUsageToday", {
|
|
6198
6500
|
enumerable: true,
|
|
6199
|
-
get: function () { return
|
|
6501
|
+
get: function () { return chunkGE5TAR7Y_cjs.useUserUsageToday; }
|
|
6200
6502
|
});
|
|
6201
6503
|
Object.defineProperty(exports, "useWorkspaceUsers", {
|
|
6202
6504
|
enumerable: true,
|
|
6203
|
-
get: function () { return
|
|
6505
|
+
get: function () { return chunkGE5TAR7Y_cjs.useWorkspaceUsers; }
|
|
6204
6506
|
});
|
|
6205
6507
|
Object.defineProperty(exports, "useWorkspaces", {
|
|
6206
6508
|
enumerable: true,
|
|
6207
|
-
get: function () { return
|
|
6509
|
+
get: function () { return chunkGE5TAR7Y_cjs.useWorkspaces; }
|
|
6208
6510
|
});
|
|
6209
6511
|
Object.defineProperty(exports, "cleanDraftMarkdown", {
|
|
6210
6512
|
enumerable: true,
|
|
@@ -6274,513 +6576,533 @@ Object.defineProperty(exports, "useNotify", {
|
|
|
6274
6576
|
enumerable: true,
|
|
6275
6577
|
get: function () { return chunkF7KQVVD2_cjs.useNotify; }
|
|
6276
6578
|
});
|
|
6579
|
+
Object.defineProperty(exports, "ArbiProvider", {
|
|
6580
|
+
enumerable: true,
|
|
6581
|
+
get: function () { return chunkIIT7DMQL_cjs.ArbiProvider; }
|
|
6582
|
+
});
|
|
6583
|
+
Object.defineProperty(exports, "useArbi", {
|
|
6584
|
+
enumerable: true,
|
|
6585
|
+
get: function () { return chunkIIT7DMQL_cjs.useArbi; }
|
|
6586
|
+
});
|
|
6587
|
+
Object.defineProperty(exports, "useDeploymentDomain", {
|
|
6588
|
+
enumerable: true,
|
|
6589
|
+
get: function () { return chunkIIT7DMQL_cjs.useDeploymentDomain; }
|
|
6590
|
+
});
|
|
6277
6591
|
Object.defineProperty(exports, "AgentBadge", {
|
|
6278
6592
|
enumerable: true,
|
|
6279
|
-
get: function () { return
|
|
6593
|
+
get: function () { return chunkQJRP2LLQ_cjs.AgentBadge; }
|
|
6280
6594
|
});
|
|
6281
6595
|
Object.defineProperty(exports, "AiMarkdown", {
|
|
6282
6596
|
enumerable: true,
|
|
6283
|
-
get: function () { return
|
|
6597
|
+
get: function () { return chunkQJRP2LLQ_cjs.AiMarkdown; }
|
|
6284
6598
|
});
|
|
6285
6599
|
Object.defineProperty(exports, "ArbiBotHeadIcon", {
|
|
6286
6600
|
enumerable: true,
|
|
6287
|
-
get: function () { return
|
|
6601
|
+
get: function () { return chunkQJRP2LLQ_cjs.ArbiBotHeadIcon; }
|
|
6288
6602
|
});
|
|
6289
6603
|
Object.defineProperty(exports, "AudIcon", {
|
|
6290
6604
|
enumerable: true,
|
|
6291
|
-
get: function () { return
|
|
6605
|
+
get: function () { return chunkQJRP2LLQ_cjs.AudIcon; }
|
|
6292
6606
|
});
|
|
6293
6607
|
Object.defineProperty(exports, "Avatar", {
|
|
6294
6608
|
enumerable: true,
|
|
6295
|
-
get: function () { return
|
|
6609
|
+
get: function () { return chunkQJRP2LLQ_cjs.Avatar; }
|
|
6296
6610
|
});
|
|
6297
6611
|
Object.defineProperty(exports, "AvatarFallback", {
|
|
6298
6612
|
enumerable: true,
|
|
6299
|
-
get: function () { return
|
|
6613
|
+
get: function () { return chunkQJRP2LLQ_cjs.AvatarFallback; }
|
|
6300
6614
|
});
|
|
6301
6615
|
Object.defineProperty(exports, "AvatarImage", {
|
|
6302
6616
|
enumerable: true,
|
|
6303
|
-
get: function () { return
|
|
6617
|
+
get: function () { return chunkQJRP2LLQ_cjs.AvatarImage; }
|
|
6304
6618
|
});
|
|
6305
6619
|
Object.defineProperty(exports, "BASE_COLORS", {
|
|
6306
6620
|
enumerable: true,
|
|
6307
|
-
get: function () { return
|
|
6621
|
+
get: function () { return chunkQJRP2LLQ_cjs.BASE_COLORS; }
|
|
6308
6622
|
});
|
|
6309
6623
|
Object.defineProperty(exports, "Badge", {
|
|
6310
6624
|
enumerable: true,
|
|
6311
|
-
get: function () { return
|
|
6625
|
+
get: function () { return chunkQJRP2LLQ_cjs.Badge; }
|
|
6312
6626
|
});
|
|
6313
6627
|
Object.defineProperty(exports, "Card", {
|
|
6314
6628
|
enumerable: true,
|
|
6315
|
-
get: function () { return
|
|
6629
|
+
get: function () { return chunkQJRP2LLQ_cjs.Card; }
|
|
6316
6630
|
});
|
|
6317
6631
|
Object.defineProperty(exports, "CardContent", {
|
|
6318
6632
|
enumerable: true,
|
|
6319
|
-
get: function () { return
|
|
6633
|
+
get: function () { return chunkQJRP2LLQ_cjs.CardContent; }
|
|
6320
6634
|
});
|
|
6321
6635
|
Object.defineProperty(exports, "CardDescription", {
|
|
6322
6636
|
enumerable: true,
|
|
6323
|
-
get: function () { return
|
|
6637
|
+
get: function () { return chunkQJRP2LLQ_cjs.CardDescription; }
|
|
6324
6638
|
});
|
|
6325
6639
|
Object.defineProperty(exports, "CardFooter", {
|
|
6326
6640
|
enumerable: true,
|
|
6327
|
-
get: function () { return
|
|
6641
|
+
get: function () { return chunkQJRP2LLQ_cjs.CardFooter; }
|
|
6328
6642
|
});
|
|
6329
6643
|
Object.defineProperty(exports, "CardHeader", {
|
|
6330
6644
|
enumerable: true,
|
|
6331
|
-
get: function () { return
|
|
6645
|
+
get: function () { return chunkQJRP2LLQ_cjs.CardHeader; }
|
|
6332
6646
|
});
|
|
6333
6647
|
Object.defineProperty(exports, "CardTitle", {
|
|
6334
6648
|
enumerable: true,
|
|
6335
|
-
get: function () { return
|
|
6649
|
+
get: function () { return chunkQJRP2LLQ_cjs.CardTitle; }
|
|
6336
6650
|
});
|
|
6337
6651
|
Object.defineProperty(exports, "Checkbox", {
|
|
6338
6652
|
enumerable: true,
|
|
6339
|
-
get: function () { return
|
|
6653
|
+
get: function () { return chunkQJRP2LLQ_cjs.Checkbox; }
|
|
6340
6654
|
});
|
|
6341
6655
|
Object.defineProperty(exports, "Collapsible", {
|
|
6342
6656
|
enumerable: true,
|
|
6343
|
-
get: function () { return
|
|
6657
|
+
get: function () { return chunkQJRP2LLQ_cjs.Collapsible; }
|
|
6344
6658
|
});
|
|
6345
6659
|
Object.defineProperty(exports, "CollapsibleContent", {
|
|
6346
6660
|
enumerable: true,
|
|
6347
|
-
get: function () { return
|
|
6661
|
+
get: function () { return chunkQJRP2LLQ_cjs.CollapsibleContent; }
|
|
6348
6662
|
});
|
|
6349
6663
|
Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
6350
6664
|
enumerable: true,
|
|
6351
|
-
get: function () { return
|
|
6665
|
+
get: function () { return chunkQJRP2LLQ_cjs.CollapsibleTrigger; }
|
|
6352
6666
|
});
|
|
6353
6667
|
Object.defineProperty(exports, "Command", {
|
|
6354
6668
|
enumerable: true,
|
|
6355
|
-
get: function () { return
|
|
6669
|
+
get: function () { return chunkQJRP2LLQ_cjs.Command; }
|
|
6356
6670
|
});
|
|
6357
6671
|
Object.defineProperty(exports, "CommandDialog", {
|
|
6358
6672
|
enumerable: true,
|
|
6359
|
-
get: function () { return
|
|
6673
|
+
get: function () { return chunkQJRP2LLQ_cjs.CommandDialog; }
|
|
6360
6674
|
});
|
|
6361
6675
|
Object.defineProperty(exports, "CommandEmpty", {
|
|
6362
6676
|
enumerable: true,
|
|
6363
|
-
get: function () { return
|
|
6677
|
+
get: function () { return chunkQJRP2LLQ_cjs.CommandEmpty; }
|
|
6364
6678
|
});
|
|
6365
6679
|
Object.defineProperty(exports, "CommandGroup", {
|
|
6366
6680
|
enumerable: true,
|
|
6367
|
-
get: function () { return
|
|
6681
|
+
get: function () { return chunkQJRP2LLQ_cjs.CommandGroup; }
|
|
6368
6682
|
});
|
|
6369
6683
|
Object.defineProperty(exports, "CommandInput", {
|
|
6370
6684
|
enumerable: true,
|
|
6371
|
-
get: function () { return
|
|
6685
|
+
get: function () { return chunkQJRP2LLQ_cjs.CommandInput; }
|
|
6372
6686
|
});
|
|
6373
6687
|
Object.defineProperty(exports, "CommandItem", {
|
|
6374
6688
|
enumerable: true,
|
|
6375
|
-
get: function () { return
|
|
6689
|
+
get: function () { return chunkQJRP2LLQ_cjs.CommandItem; }
|
|
6376
6690
|
});
|
|
6377
6691
|
Object.defineProperty(exports, "CommandList", {
|
|
6378
6692
|
enumerable: true,
|
|
6379
|
-
get: function () { return
|
|
6693
|
+
get: function () { return chunkQJRP2LLQ_cjs.CommandList; }
|
|
6380
6694
|
});
|
|
6381
6695
|
Object.defineProperty(exports, "CommandSeparator", {
|
|
6382
6696
|
enumerable: true,
|
|
6383
|
-
get: function () { return
|
|
6697
|
+
get: function () { return chunkQJRP2LLQ_cjs.CommandSeparator; }
|
|
6384
6698
|
});
|
|
6385
6699
|
Object.defineProperty(exports, "CommandShortcut", {
|
|
6386
6700
|
enumerable: true,
|
|
6387
|
-
get: function () { return
|
|
6701
|
+
get: function () { return chunkQJRP2LLQ_cjs.CommandShortcut; }
|
|
6388
6702
|
});
|
|
6389
6703
|
Object.defineProperty(exports, "DictateProvider", {
|
|
6390
6704
|
enumerable: true,
|
|
6391
|
-
get: function () { return
|
|
6705
|
+
get: function () { return chunkQJRP2LLQ_cjs.DictateProvider; }
|
|
6392
6706
|
});
|
|
6393
6707
|
Object.defineProperty(exports, "DocIcon", {
|
|
6394
6708
|
enumerable: true,
|
|
6395
|
-
get: function () { return
|
|
6709
|
+
get: function () { return chunkQJRP2LLQ_cjs.DocIcon; }
|
|
6396
6710
|
});
|
|
6397
6711
|
Object.defineProperty(exports, "DocumentCard", {
|
|
6398
6712
|
enumerable: true,
|
|
6399
|
-
get: function () { return
|
|
6713
|
+
get: function () { return chunkQJRP2LLQ_cjs.DocumentCard; }
|
|
6400
6714
|
});
|
|
6401
6715
|
Object.defineProperty(exports, "DocumentEntity", {
|
|
6402
6716
|
enumerable: true,
|
|
6403
|
-
get: function () { return
|
|
6717
|
+
get: function () { return chunkQJRP2LLQ_cjs.DocumentEntity; }
|
|
6404
6718
|
});
|
|
6405
6719
|
Object.defineProperty(exports, "ENTITY_MAPPINGS", {
|
|
6406
6720
|
enumerable: true,
|
|
6407
|
-
get: function () { return
|
|
6721
|
+
get: function () { return chunkQJRP2LLQ_cjs.ENTITY_MAPPINGS; }
|
|
6408
6722
|
});
|
|
6409
6723
|
Object.defineProperty(exports, "EmlIcon", {
|
|
6410
6724
|
enumerable: true,
|
|
6411
|
-
get: function () { return
|
|
6725
|
+
get: function () { return chunkQJRP2LLQ_cjs.EmlIcon; }
|
|
6412
6726
|
});
|
|
6413
6727
|
Object.defineProperty(exports, "EntityIcon", {
|
|
6414
6728
|
enumerable: true,
|
|
6415
|
-
get: function () { return
|
|
6729
|
+
get: function () { return chunkQJRP2LLQ_cjs.EntityIcon; }
|
|
6416
6730
|
});
|
|
6417
6731
|
Object.defineProperty(exports, "EntityPill", {
|
|
6418
6732
|
enumerable: true,
|
|
6419
|
-
get: function () { return
|
|
6733
|
+
get: function () { return chunkQJRP2LLQ_cjs.EntityPill; }
|
|
6420
6734
|
});
|
|
6421
6735
|
Object.defineProperty(exports, "FILE_TYPE_COLORS", {
|
|
6422
6736
|
enumerable: true,
|
|
6423
|
-
get: function () { return
|
|
6737
|
+
get: function () { return chunkQJRP2LLQ_cjs.FILE_TYPE_COLORS; }
|
|
6424
6738
|
});
|
|
6425
6739
|
Object.defineProperty(exports, "HoverCard", {
|
|
6426
6740
|
enumerable: true,
|
|
6427
|
-
get: function () { return
|
|
6741
|
+
get: function () { return chunkQJRP2LLQ_cjs.HoverCard; }
|
|
6428
6742
|
});
|
|
6429
6743
|
Object.defineProperty(exports, "HoverCardContent", {
|
|
6430
6744
|
enumerable: true,
|
|
6431
|
-
get: function () { return
|
|
6745
|
+
get: function () { return chunkQJRP2LLQ_cjs.HoverCardContent; }
|
|
6432
6746
|
});
|
|
6433
6747
|
Object.defineProperty(exports, "HoverCardTrigger", {
|
|
6434
6748
|
enumerable: true,
|
|
6435
|
-
get: function () { return
|
|
6749
|
+
get: function () { return chunkQJRP2LLQ_cjs.HoverCardTrigger; }
|
|
6436
6750
|
});
|
|
6437
6751
|
Object.defineProperty(exports, "HtmlIcon", {
|
|
6438
6752
|
enumerable: true,
|
|
6439
|
-
get: function () { return
|
|
6753
|
+
get: function () { return chunkQJRP2LLQ_cjs.HtmlIcon; }
|
|
6440
6754
|
});
|
|
6441
6755
|
Object.defineProperty(exports, "IconToggle", {
|
|
6442
6756
|
enumerable: true,
|
|
6443
|
-
get: function () { return
|
|
6757
|
+
get: function () { return chunkQJRP2LLQ_cjs.IconToggle; }
|
|
6444
6758
|
});
|
|
6445
6759
|
Object.defineProperty(exports, "ImgIcon", {
|
|
6446
6760
|
enumerable: true,
|
|
6447
|
-
get: function () { return
|
|
6761
|
+
get: function () { return chunkQJRP2LLQ_cjs.ImgIcon; }
|
|
6448
6762
|
});
|
|
6449
6763
|
Object.defineProperty(exports, "InlineMicButton", {
|
|
6450
6764
|
enumerable: true,
|
|
6451
|
-
get: function () { return
|
|
6765
|
+
get: function () { return chunkQJRP2LLQ_cjs.InlineMicButton; }
|
|
6452
6766
|
});
|
|
6453
6767
|
Object.defineProperty(exports, "Input", {
|
|
6454
6768
|
enumerable: true,
|
|
6455
|
-
get: function () { return
|
|
6769
|
+
get: function () { return chunkQJRP2LLQ_cjs.Input; }
|
|
6456
6770
|
});
|
|
6457
6771
|
Object.defineProperty(exports, "Label", {
|
|
6458
6772
|
enumerable: true,
|
|
6459
|
-
get: function () { return
|
|
6773
|
+
get: function () { return chunkQJRP2LLQ_cjs.Label; }
|
|
6460
6774
|
});
|
|
6461
6775
|
Object.defineProperty(exports, "MarkMenu", {
|
|
6462
6776
|
enumerable: true,
|
|
6463
|
-
get: function () { return
|
|
6777
|
+
get: function () { return chunkQJRP2LLQ_cjs.MarkMenu; }
|
|
6464
6778
|
});
|
|
6465
6779
|
Object.defineProperty(exports, "MicRecordingOverlay", {
|
|
6466
6780
|
enumerable: true,
|
|
6467
|
-
get: function () { return
|
|
6781
|
+
get: function () { return chunkQJRP2LLQ_cjs.MicRecordingOverlay; }
|
|
6468
6782
|
});
|
|
6469
6783
|
Object.defineProperty(exports, "MicWaveformIndicator", {
|
|
6470
6784
|
enumerable: true,
|
|
6471
|
-
get: function () { return
|
|
6785
|
+
get: function () { return chunkQJRP2LLQ_cjs.MicWaveformIndicator; }
|
|
6472
6786
|
});
|
|
6473
6787
|
Object.defineProperty(exports, "NEUTRAL_GRAY", {
|
|
6474
6788
|
enumerable: true,
|
|
6475
|
-
get: function () { return
|
|
6789
|
+
get: function () { return chunkQJRP2LLQ_cjs.NEUTRAL_GRAY; }
|
|
6476
6790
|
});
|
|
6477
6791
|
Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
|
|
6478
6792
|
enumerable: true,
|
|
6479
|
-
get: function () { return
|
|
6793
|
+
get: function () { return chunkQJRP2LLQ_cjs.PLACEHOLDER_COLOR; }
|
|
6480
6794
|
});
|
|
6481
6795
|
Object.defineProperty(exports, "PassageCard", {
|
|
6482
6796
|
enumerable: true,
|
|
6483
|
-
get: function () { return
|
|
6797
|
+
get: function () { return chunkQJRP2LLQ_cjs.PassageCard; }
|
|
6484
6798
|
});
|
|
6485
6799
|
Object.defineProperty(exports, "PdfIcon", {
|
|
6486
6800
|
enumerable: true,
|
|
6487
|
-
get: function () { return
|
|
6801
|
+
get: function () { return chunkQJRP2LLQ_cjs.PdfIcon; }
|
|
6488
6802
|
});
|
|
6489
6803
|
Object.defineProperty(exports, "Popover", {
|
|
6490
6804
|
enumerable: true,
|
|
6491
|
-
get: function () { return
|
|
6805
|
+
get: function () { return chunkQJRP2LLQ_cjs.Popover; }
|
|
6492
6806
|
});
|
|
6493
6807
|
Object.defineProperty(exports, "PopoverAnchor", {
|
|
6494
6808
|
enumerable: true,
|
|
6495
|
-
get: function () { return
|
|
6809
|
+
get: function () { return chunkQJRP2LLQ_cjs.PopoverAnchor; }
|
|
6496
6810
|
});
|
|
6497
6811
|
Object.defineProperty(exports, "PopoverContent", {
|
|
6498
6812
|
enumerable: true,
|
|
6499
|
-
get: function () { return
|
|
6813
|
+
get: function () { return chunkQJRP2LLQ_cjs.PopoverContent; }
|
|
6500
6814
|
});
|
|
6501
6815
|
Object.defineProperty(exports, "PopoverTrigger", {
|
|
6502
6816
|
enumerable: true,
|
|
6503
|
-
get: function () { return
|
|
6817
|
+
get: function () { return chunkQJRP2LLQ_cjs.PopoverTrigger; }
|
|
6504
6818
|
});
|
|
6505
6819
|
Object.defineProperty(exports, "PresenceLabel", {
|
|
6506
6820
|
enumerable: true,
|
|
6507
|
-
get: function () { return
|
|
6821
|
+
get: function () { return chunkQJRP2LLQ_cjs.PresenceLabel; }
|
|
6508
6822
|
});
|
|
6509
6823
|
Object.defineProperty(exports, "Progress", {
|
|
6510
6824
|
enumerable: true,
|
|
6511
|
-
get: function () { return
|
|
6825
|
+
get: function () { return chunkQJRP2LLQ_cjs.Progress; }
|
|
6512
6826
|
});
|
|
6513
6827
|
Object.defineProperty(exports, "ProjectEntity", {
|
|
6514
6828
|
enumerable: true,
|
|
6515
|
-
get: function () { return
|
|
6829
|
+
get: function () { return chunkQJRP2LLQ_cjs.ProjectEntity; }
|
|
6516
6830
|
});
|
|
6517
6831
|
Object.defineProperty(exports, "RadioGroup", {
|
|
6518
6832
|
enumerable: true,
|
|
6519
|
-
get: function () { return
|
|
6833
|
+
get: function () { return chunkQJRP2LLQ_cjs.RadioGroup; }
|
|
6520
6834
|
});
|
|
6521
6835
|
Object.defineProperty(exports, "RadioGroupItem", {
|
|
6522
6836
|
enumerable: true,
|
|
6523
|
-
get: function () { return
|
|
6837
|
+
get: function () { return chunkQJRP2LLQ_cjs.RadioGroupItem; }
|
|
6524
6838
|
});
|
|
6525
6839
|
Object.defineProperty(exports, "RagDot", {
|
|
6526
6840
|
enumerable: true,
|
|
6527
|
-
get: function () { return
|
|
6841
|
+
get: function () { return chunkQJRP2LLQ_cjs.RagDot; }
|
|
6528
6842
|
});
|
|
6529
6843
|
Object.defineProperty(exports, "RelevanceDot", {
|
|
6530
6844
|
enumerable: true,
|
|
6531
|
-
get: function () { return
|
|
6845
|
+
get: function () { return chunkQJRP2LLQ_cjs.RelevanceDot; }
|
|
6532
6846
|
});
|
|
6533
6847
|
Object.defineProperty(exports, "Select", {
|
|
6534
6848
|
enumerable: true,
|
|
6535
|
-
get: function () { return
|
|
6849
|
+
get: function () { return chunkQJRP2LLQ_cjs.Select; }
|
|
6536
6850
|
});
|
|
6537
6851
|
Object.defineProperty(exports, "SelectContent", {
|
|
6538
6852
|
enumerable: true,
|
|
6539
|
-
get: function () { return
|
|
6853
|
+
get: function () { return chunkQJRP2LLQ_cjs.SelectContent; }
|
|
6540
6854
|
});
|
|
6541
6855
|
Object.defineProperty(exports, "SelectGroup", {
|
|
6542
6856
|
enumerable: true,
|
|
6543
|
-
get: function () { return
|
|
6857
|
+
get: function () { return chunkQJRP2LLQ_cjs.SelectGroup; }
|
|
6544
6858
|
});
|
|
6545
6859
|
Object.defineProperty(exports, "SelectItem", {
|
|
6546
6860
|
enumerable: true,
|
|
6547
|
-
get: function () { return
|
|
6861
|
+
get: function () { return chunkQJRP2LLQ_cjs.SelectItem; }
|
|
6548
6862
|
});
|
|
6549
6863
|
Object.defineProperty(exports, "SelectLabel", {
|
|
6550
6864
|
enumerable: true,
|
|
6551
|
-
get: function () { return
|
|
6865
|
+
get: function () { return chunkQJRP2LLQ_cjs.SelectLabel; }
|
|
6552
6866
|
});
|
|
6553
6867
|
Object.defineProperty(exports, "SelectScrollDownButton", {
|
|
6554
6868
|
enumerable: true,
|
|
6555
|
-
get: function () { return
|
|
6869
|
+
get: function () { return chunkQJRP2LLQ_cjs.SelectScrollDownButton; }
|
|
6556
6870
|
});
|
|
6557
6871
|
Object.defineProperty(exports, "SelectScrollUpButton", {
|
|
6558
6872
|
enumerable: true,
|
|
6559
|
-
get: function () { return
|
|
6873
|
+
get: function () { return chunkQJRP2LLQ_cjs.SelectScrollUpButton; }
|
|
6560
6874
|
});
|
|
6561
6875
|
Object.defineProperty(exports, "SelectSeparator", {
|
|
6562
6876
|
enumerable: true,
|
|
6563
|
-
get: function () { return
|
|
6877
|
+
get: function () { return chunkQJRP2LLQ_cjs.SelectSeparator; }
|
|
6564
6878
|
});
|
|
6565
6879
|
Object.defineProperty(exports, "SelectTrigger", {
|
|
6566
6880
|
enumerable: true,
|
|
6567
|
-
get: function () { return
|
|
6881
|
+
get: function () { return chunkQJRP2LLQ_cjs.SelectTrigger; }
|
|
6568
6882
|
});
|
|
6569
6883
|
Object.defineProperty(exports, "SelectValue", {
|
|
6570
6884
|
enumerable: true,
|
|
6571
|
-
get: function () { return
|
|
6885
|
+
get: function () { return chunkQJRP2LLQ_cjs.SelectValue; }
|
|
6572
6886
|
});
|
|
6573
6887
|
Object.defineProperty(exports, "Separator", {
|
|
6574
6888
|
enumerable: true,
|
|
6575
|
-
get: function () { return
|
|
6889
|
+
get: function () { return chunkQJRP2LLQ_cjs.Separator; }
|
|
6576
6890
|
});
|
|
6577
6891
|
Object.defineProperty(exports, "Slider", {
|
|
6578
6892
|
enumerable: true,
|
|
6579
|
-
get: function () { return
|
|
6893
|
+
get: function () { return chunkQJRP2LLQ_cjs.Slider; }
|
|
6580
6894
|
});
|
|
6581
6895
|
Object.defineProperty(exports, "StatusPill", {
|
|
6582
6896
|
enumerable: true,
|
|
6583
|
-
get: function () { return
|
|
6897
|
+
get: function () { return chunkQJRP2LLQ_cjs.StatusPill; }
|
|
6584
6898
|
});
|
|
6585
6899
|
Object.defineProperty(exports, "Switch", {
|
|
6586
6900
|
enumerable: true,
|
|
6587
|
-
get: function () { return
|
|
6901
|
+
get: function () { return chunkQJRP2LLQ_cjs.Switch; }
|
|
6588
6902
|
});
|
|
6589
6903
|
Object.defineProperty(exports, "TAG_TYPE_ICONS", {
|
|
6590
6904
|
enumerable: true,
|
|
6591
|
-
get: function () { return
|
|
6905
|
+
get: function () { return chunkQJRP2LLQ_cjs.TAG_TYPE_ICONS; }
|
|
6592
6906
|
});
|
|
6593
6907
|
Object.defineProperty(exports, "TAG_TYPE_LABELS", {
|
|
6594
6908
|
enumerable: true,
|
|
6595
|
-
get: function () { return
|
|
6909
|
+
get: function () { return chunkQJRP2LLQ_cjs.TAG_TYPE_LABELS; }
|
|
6596
6910
|
});
|
|
6597
6911
|
Object.defineProperty(exports, "Table", {
|
|
6598
6912
|
enumerable: true,
|
|
6599
|
-
get: function () { return
|
|
6913
|
+
get: function () { return chunkQJRP2LLQ_cjs.Table; }
|
|
6600
6914
|
});
|
|
6601
6915
|
Object.defineProperty(exports, "TableBody", {
|
|
6602
6916
|
enumerable: true,
|
|
6603
|
-
get: function () { return
|
|
6917
|
+
get: function () { return chunkQJRP2LLQ_cjs.TableBody; }
|
|
6604
6918
|
});
|
|
6605
6919
|
Object.defineProperty(exports, "TableCaption", {
|
|
6606
6920
|
enumerable: true,
|
|
6607
|
-
get: function () { return
|
|
6921
|
+
get: function () { return chunkQJRP2LLQ_cjs.TableCaption; }
|
|
6608
6922
|
});
|
|
6609
6923
|
Object.defineProperty(exports, "TableCell", {
|
|
6610
6924
|
enumerable: true,
|
|
6611
|
-
get: function () { return
|
|
6925
|
+
get: function () { return chunkQJRP2LLQ_cjs.TableCell; }
|
|
6612
6926
|
});
|
|
6613
6927
|
Object.defineProperty(exports, "TableFooter", {
|
|
6614
6928
|
enumerable: true,
|
|
6615
|
-
get: function () { return
|
|
6929
|
+
get: function () { return chunkQJRP2LLQ_cjs.TableFooter; }
|
|
6616
6930
|
});
|
|
6617
6931
|
Object.defineProperty(exports, "TableHead", {
|
|
6618
6932
|
enumerable: true,
|
|
6619
|
-
get: function () { return
|
|
6933
|
+
get: function () { return chunkQJRP2LLQ_cjs.TableHead; }
|
|
6620
6934
|
});
|
|
6621
6935
|
Object.defineProperty(exports, "TableHeader", {
|
|
6622
6936
|
enumerable: true,
|
|
6623
|
-
get: function () { return
|
|
6937
|
+
get: function () { return chunkQJRP2LLQ_cjs.TableHeader; }
|
|
6624
6938
|
});
|
|
6625
6939
|
Object.defineProperty(exports, "TableRow", {
|
|
6626
6940
|
enumerable: true,
|
|
6627
|
-
get: function () { return
|
|
6941
|
+
get: function () { return chunkQJRP2LLQ_cjs.TableRow; }
|
|
6628
6942
|
});
|
|
6629
6943
|
Object.defineProperty(exports, "Tabs", {
|
|
6630
6944
|
enumerable: true,
|
|
6631
|
-
get: function () { return
|
|
6945
|
+
get: function () { return chunkQJRP2LLQ_cjs.Tabs; }
|
|
6632
6946
|
});
|
|
6633
6947
|
Object.defineProperty(exports, "TabsContent", {
|
|
6634
6948
|
enumerable: true,
|
|
6635
|
-
get: function () { return
|
|
6949
|
+
get: function () { return chunkQJRP2LLQ_cjs.TabsContent; }
|
|
6636
6950
|
});
|
|
6637
6951
|
Object.defineProperty(exports, "TabsList", {
|
|
6638
6952
|
enumerable: true,
|
|
6639
|
-
get: function () { return
|
|
6953
|
+
get: function () { return chunkQJRP2LLQ_cjs.TabsList; }
|
|
6640
6954
|
});
|
|
6641
6955
|
Object.defineProperty(exports, "TabsTrigger", {
|
|
6642
6956
|
enumerable: true,
|
|
6643
|
-
get: function () { return
|
|
6957
|
+
get: function () { return chunkQJRP2LLQ_cjs.TabsTrigger; }
|
|
6644
6958
|
});
|
|
6645
6959
|
Object.defineProperty(exports, "TagEntity", {
|
|
6646
6960
|
enumerable: true,
|
|
6647
|
-
get: function () { return
|
|
6961
|
+
get: function () { return chunkQJRP2LLQ_cjs.TagEntity; }
|
|
6648
6962
|
});
|
|
6649
6963
|
Object.defineProperty(exports, "Textarea", {
|
|
6650
6964
|
enumerable: true,
|
|
6651
|
-
get: function () { return
|
|
6965
|
+
get: function () { return chunkQJRP2LLQ_cjs.Textarea; }
|
|
6652
6966
|
});
|
|
6653
6967
|
Object.defineProperty(exports, "ThreadVisibilityIcon", {
|
|
6654
6968
|
enumerable: true,
|
|
6655
|
-
get: function () { return
|
|
6969
|
+
get: function () { return chunkQJRP2LLQ_cjs.ThreadVisibilityIcon; }
|
|
6656
6970
|
});
|
|
6657
6971
|
Object.defineProperty(exports, "Toggle", {
|
|
6658
6972
|
enumerable: true,
|
|
6659
|
-
get: function () { return
|
|
6973
|
+
get: function () { return chunkQJRP2LLQ_cjs.Toggle; }
|
|
6660
6974
|
});
|
|
6661
6975
|
Object.defineProperty(exports, "ToggleGroup", {
|
|
6662
6976
|
enumerable: true,
|
|
6663
|
-
get: function () { return
|
|
6977
|
+
get: function () { return chunkQJRP2LLQ_cjs.ToggleGroup; }
|
|
6664
6978
|
});
|
|
6665
6979
|
Object.defineProperty(exports, "ToggleGroupItem", {
|
|
6666
6980
|
enumerable: true,
|
|
6667
|
-
get: function () { return
|
|
6981
|
+
get: function () { return chunkQJRP2LLQ_cjs.ToggleGroupItem; }
|
|
6668
6982
|
});
|
|
6669
6983
|
Object.defineProperty(exports, "Tooltip", {
|
|
6670
6984
|
enumerable: true,
|
|
6671
|
-
get: function () { return
|
|
6985
|
+
get: function () { return chunkQJRP2LLQ_cjs.Tooltip; }
|
|
6672
6986
|
});
|
|
6673
6987
|
Object.defineProperty(exports, "TooltipContent", {
|
|
6674
6988
|
enumerable: true,
|
|
6675
|
-
get: function () { return
|
|
6989
|
+
get: function () { return chunkQJRP2LLQ_cjs.TooltipContent; }
|
|
6676
6990
|
});
|
|
6677
6991
|
Object.defineProperty(exports, "TooltipProvider", {
|
|
6678
6992
|
enumerable: true,
|
|
6679
|
-
get: function () { return
|
|
6993
|
+
get: function () { return chunkQJRP2LLQ_cjs.TooltipProvider; }
|
|
6680
6994
|
});
|
|
6681
6995
|
Object.defineProperty(exports, "TooltipTrigger", {
|
|
6682
6996
|
enumerable: true,
|
|
6683
|
-
get: function () { return
|
|
6997
|
+
get: function () { return chunkQJRP2LLQ_cjs.TooltipTrigger; }
|
|
6684
6998
|
});
|
|
6685
6999
|
Object.defineProperty(exports, "TxtIcon", {
|
|
6686
7000
|
enumerable: true,
|
|
6687
|
-
get: function () { return
|
|
7001
|
+
get: function () { return chunkQJRP2LLQ_cjs.TxtIcon; }
|
|
6688
7002
|
});
|
|
6689
7003
|
Object.defineProperty(exports, "UserEntity", {
|
|
6690
7004
|
enumerable: true,
|
|
6691
|
-
get: function () { return
|
|
7005
|
+
get: function () { return chunkQJRP2LLQ_cjs.UserEntity; }
|
|
6692
7006
|
});
|
|
6693
7007
|
Object.defineProperty(exports, "UserMenu", {
|
|
6694
7008
|
enumerable: true,
|
|
6695
|
-
get: function () { return
|
|
7009
|
+
get: function () { return chunkQJRP2LLQ_cjs.UserMenu; }
|
|
6696
7010
|
});
|
|
6697
7011
|
Object.defineProperty(exports, "VISIBILITY_ICONS", {
|
|
6698
7012
|
enumerable: true,
|
|
6699
|
-
get: function () { return
|
|
7013
|
+
get: function () { return chunkQJRP2LLQ_cjs.VISIBILITY_ICONS; }
|
|
7014
|
+
});
|
|
7015
|
+
Object.defineProperty(exports, "VerifiedBadge", {
|
|
7016
|
+
enumerable: true,
|
|
7017
|
+
get: function () { return chunkQJRP2LLQ_cjs.VerifiedBadge; }
|
|
6700
7018
|
});
|
|
6701
7019
|
Object.defineProperty(exports, "VidIcon", {
|
|
6702
7020
|
enumerable: true,
|
|
6703
|
-
get: function () { return
|
|
7021
|
+
get: function () { return chunkQJRP2LLQ_cjs.VidIcon; }
|
|
6704
7022
|
});
|
|
6705
7023
|
Object.defineProperty(exports, "VisibilityIcon", {
|
|
6706
7024
|
enumerable: true,
|
|
6707
|
-
get: function () { return
|
|
7025
|
+
get: function () { return chunkQJRP2LLQ_cjs.VisibilityIcon; }
|
|
6708
7026
|
});
|
|
6709
7027
|
Object.defineProperty(exports, "VisibilityToggle", {
|
|
6710
7028
|
enumerable: true,
|
|
6711
|
-
get: function () { return
|
|
7029
|
+
get: function () { return chunkQJRP2LLQ_cjs.VisibilityToggle; }
|
|
6712
7030
|
});
|
|
6713
7031
|
Object.defineProperty(exports, "XlsIcon", {
|
|
6714
7032
|
enumerable: true,
|
|
6715
|
-
get: function () { return
|
|
7033
|
+
get: function () { return chunkQJRP2LLQ_cjs.XlsIcon; }
|
|
6716
7034
|
});
|
|
6717
7035
|
Object.defineProperty(exports, "badgeVariants", {
|
|
6718
7036
|
enumerable: true,
|
|
6719
|
-
get: function () { return
|
|
7037
|
+
get: function () { return chunkQJRP2LLQ_cjs.badgeVariants; }
|
|
6720
7038
|
});
|
|
6721
7039
|
Object.defineProperty(exports, "cardVariants", {
|
|
6722
7040
|
enumerable: true,
|
|
6723
|
-
get: function () { return
|
|
7041
|
+
get: function () { return chunkQJRP2LLQ_cjs.cardVariants; }
|
|
7042
|
+
});
|
|
7043
|
+
Object.defineProperty(exports, "classifyMediaError", {
|
|
7044
|
+
enumerable: true,
|
|
7045
|
+
get: function () { return chunkQJRP2LLQ_cjs.classifyMediaError; }
|
|
6724
7046
|
});
|
|
6725
7047
|
Object.defineProperty(exports, "configureEntityRegistry", {
|
|
6726
7048
|
enumerable: true,
|
|
6727
|
-
get: function () { return
|
|
7049
|
+
get: function () { return chunkQJRP2LLQ_cjs.configureEntityRegistry; }
|
|
6728
7050
|
});
|
|
6729
7051
|
Object.defineProperty(exports, "configureRagLabels", {
|
|
6730
7052
|
enumerable: true,
|
|
6731
|
-
get: function () { return
|
|
7053
|
+
get: function () { return chunkQJRP2LLQ_cjs.configureRagLabels; }
|
|
6732
7054
|
});
|
|
6733
7055
|
Object.defineProperty(exports, "configureStatusRegistry", {
|
|
6734
7056
|
enumerable: true,
|
|
6735
|
-
get: function () { return
|
|
7057
|
+
get: function () { return chunkQJRP2LLQ_cjs.configureStatusRegistry; }
|
|
6736
7058
|
});
|
|
6737
7059
|
Object.defineProperty(exports, "formatElapsed", {
|
|
6738
7060
|
enumerable: true,
|
|
6739
|
-
get: function () { return
|
|
7061
|
+
get: function () { return chunkQJRP2LLQ_cjs.formatElapsed; }
|
|
6740
7062
|
});
|
|
6741
7063
|
Object.defineProperty(exports, "getDocIcon", {
|
|
6742
7064
|
enumerable: true,
|
|
6743
|
-
get: function () { return
|
|
7065
|
+
get: function () { return chunkQJRP2LLQ_cjs.getDocIcon; }
|
|
6744
7066
|
});
|
|
6745
7067
|
Object.defineProperty(exports, "getEntityColor", {
|
|
6746
7068
|
enumerable: true,
|
|
6747
|
-
get: function () { return
|
|
7069
|
+
get: function () { return chunkQJRP2LLQ_cjs.getEntityColor; }
|
|
6748
7070
|
});
|
|
6749
7071
|
Object.defineProperty(exports, "getEntityColorStyles", {
|
|
6750
7072
|
enumerable: true,
|
|
6751
|
-
get: function () { return
|
|
7073
|
+
get: function () { return chunkQJRP2LLQ_cjs.getEntityColorStyles; }
|
|
6752
7074
|
});
|
|
6753
7075
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
6754
7076
|
enumerable: true,
|
|
6755
|
-
get: function () { return
|
|
7077
|
+
get: function () { return chunkQJRP2LLQ_cjs.getEntityIcon; }
|
|
6756
7078
|
});
|
|
6757
7079
|
Object.defineProperty(exports, "getEntityLabel", {
|
|
6758
7080
|
enumerable: true,
|
|
6759
|
-
get: function () { return
|
|
7081
|
+
get: function () { return chunkQJRP2LLQ_cjs.getEntityLabel; }
|
|
6760
7082
|
});
|
|
6761
7083
|
Object.defineProperty(exports, "getStatusVariant", {
|
|
6762
7084
|
enumerable: true,
|
|
6763
|
-
get: function () { return
|
|
7085
|
+
get: function () { return chunkQJRP2LLQ_cjs.getStatusVariant; }
|
|
6764
7086
|
});
|
|
6765
7087
|
Object.defineProperty(exports, "getTagTypeIcon", {
|
|
6766
7088
|
enumerable: true,
|
|
6767
|
-
get: function () { return
|
|
7089
|
+
get: function () { return chunkQJRP2LLQ_cjs.getTagTypeIcon; }
|
|
6768
7090
|
});
|
|
6769
7091
|
Object.defineProperty(exports, "getTagTypeLabel", {
|
|
6770
7092
|
enumerable: true,
|
|
6771
|
-
get: function () { return
|
|
7093
|
+
get: function () { return chunkQJRP2LLQ_cjs.getTagTypeLabel; }
|
|
6772
7094
|
});
|
|
6773
7095
|
Object.defineProperty(exports, "getWorkspaceColor", {
|
|
6774
7096
|
enumerable: true,
|
|
6775
|
-
get: function () { return
|
|
7097
|
+
get: function () { return chunkQJRP2LLQ_cjs.getWorkspaceColor; }
|
|
6776
7098
|
});
|
|
6777
7099
|
Object.defineProperty(exports, "toggleVariants", {
|
|
6778
7100
|
enumerable: true,
|
|
6779
|
-
get: function () { return
|
|
7101
|
+
get: function () { return chunkQJRP2LLQ_cjs.toggleVariants; }
|
|
6780
7102
|
});
|
|
6781
7103
|
Object.defineProperty(exports, "useAudioRecorder", {
|
|
6782
7104
|
enumerable: true,
|
|
6783
|
-
get: function () { return
|
|
7105
|
+
get: function () { return chunkQJRP2LLQ_cjs.useAudioRecorder; }
|
|
6784
7106
|
});
|
|
6785
7107
|
Object.defineProperty(exports, "MarkdownRenderer", {
|
|
6786
7108
|
enumerable: true,
|
|
@@ -6800,51 +7122,51 @@ Object.defineProperty(exports, "splitMarkdownBlocks", {
|
|
|
6800
7122
|
});
|
|
6801
7123
|
Object.defineProperty(exports, "Button", {
|
|
6802
7124
|
enumerable: true,
|
|
6803
|
-
get: function () { return
|
|
7125
|
+
get: function () { return chunkWYZJLZ67_cjs.Button; }
|
|
6804
7126
|
});
|
|
6805
7127
|
Object.defineProperty(exports, "Dialog", {
|
|
6806
7128
|
enumerable: true,
|
|
6807
|
-
get: function () { return
|
|
7129
|
+
get: function () { return chunkWYZJLZ67_cjs.Dialog; }
|
|
6808
7130
|
});
|
|
6809
7131
|
Object.defineProperty(exports, "DialogClose", {
|
|
6810
7132
|
enumerable: true,
|
|
6811
|
-
get: function () { return
|
|
7133
|
+
get: function () { return chunkWYZJLZ67_cjs.DialogClose; }
|
|
6812
7134
|
});
|
|
6813
7135
|
Object.defineProperty(exports, "DialogContent", {
|
|
6814
7136
|
enumerable: true,
|
|
6815
|
-
get: function () { return
|
|
7137
|
+
get: function () { return chunkWYZJLZ67_cjs.DialogContent; }
|
|
6816
7138
|
});
|
|
6817
7139
|
Object.defineProperty(exports, "DialogDescription", {
|
|
6818
7140
|
enumerable: true,
|
|
6819
|
-
get: function () { return
|
|
7141
|
+
get: function () { return chunkWYZJLZ67_cjs.DialogDescription; }
|
|
6820
7142
|
});
|
|
6821
7143
|
Object.defineProperty(exports, "DialogFooter", {
|
|
6822
7144
|
enumerable: true,
|
|
6823
|
-
get: function () { return
|
|
7145
|
+
get: function () { return chunkWYZJLZ67_cjs.DialogFooter; }
|
|
6824
7146
|
});
|
|
6825
7147
|
Object.defineProperty(exports, "DialogHeader", {
|
|
6826
7148
|
enumerable: true,
|
|
6827
|
-
get: function () { return
|
|
7149
|
+
get: function () { return chunkWYZJLZ67_cjs.DialogHeader; }
|
|
6828
7150
|
});
|
|
6829
7151
|
Object.defineProperty(exports, "DialogOverlay", {
|
|
6830
7152
|
enumerable: true,
|
|
6831
|
-
get: function () { return
|
|
7153
|
+
get: function () { return chunkWYZJLZ67_cjs.DialogOverlay; }
|
|
6832
7154
|
});
|
|
6833
7155
|
Object.defineProperty(exports, "DialogPortal", {
|
|
6834
7156
|
enumerable: true,
|
|
6835
|
-
get: function () { return
|
|
7157
|
+
get: function () { return chunkWYZJLZ67_cjs.DialogPortal; }
|
|
6836
7158
|
});
|
|
6837
7159
|
Object.defineProperty(exports, "DialogTitle", {
|
|
6838
7160
|
enumerable: true,
|
|
6839
|
-
get: function () { return
|
|
7161
|
+
get: function () { return chunkWYZJLZ67_cjs.DialogTitle; }
|
|
6840
7162
|
});
|
|
6841
7163
|
Object.defineProperty(exports, "DialogTrigger", {
|
|
6842
7164
|
enumerable: true,
|
|
6843
|
-
get: function () { return
|
|
7165
|
+
get: function () { return chunkWYZJLZ67_cjs.DialogTrigger; }
|
|
6844
7166
|
});
|
|
6845
7167
|
Object.defineProperty(exports, "buttonVariants", {
|
|
6846
7168
|
enumerable: true,
|
|
6847
|
-
get: function () { return
|
|
7169
|
+
get: function () { return chunkWYZJLZ67_cjs.buttonVariants; }
|
|
6848
7170
|
});
|
|
6849
7171
|
Object.defineProperty(exports, "closeOpenEmphasis", {
|
|
6850
7172
|
enumerable: true,
|
|
@@ -6938,18 +7260,6 @@ Object.defineProperty(exports, "cn", {
|
|
|
6938
7260
|
enumerable: true,
|
|
6939
7261
|
get: function () { return chunkS6A6FSG7_cjs.cn; }
|
|
6940
7262
|
});
|
|
6941
|
-
Object.defineProperty(exports, "ArbiProvider", {
|
|
6942
|
-
enumerable: true,
|
|
6943
|
-
get: function () { return chunkIIT7DMQL_cjs.ArbiProvider; }
|
|
6944
|
-
});
|
|
6945
|
-
Object.defineProperty(exports, "useArbi", {
|
|
6946
|
-
enumerable: true,
|
|
6947
|
-
get: function () { return chunkIIT7DMQL_cjs.useArbi; }
|
|
6948
|
-
});
|
|
6949
|
-
Object.defineProperty(exports, "useDeploymentDomain", {
|
|
6950
|
-
enumerable: true,
|
|
6951
|
-
get: function () { return chunkIIT7DMQL_cjs.useDeploymentDomain; }
|
|
6952
|
-
});
|
|
6953
7263
|
Object.defineProperty(exports, "Arbi", {
|
|
6954
7264
|
enumerable: true,
|
|
6955
7265
|
get: function () { return browser.Arbi; }
|
|
@@ -7016,12 +7326,15 @@ exports.captureFrameAsBlob = captureFrameAsBlob;
|
|
|
7016
7326
|
exports.cropImage = cropImage;
|
|
7017
7327
|
exports.dayKey = dayKey;
|
|
7018
7328
|
exports.describeActivity = describeActivity;
|
|
7329
|
+
exports.formatIdentityPrice = formatIdentityPrice;
|
|
7019
7330
|
exports.getNotificationTypeMeta = getNotificationTypeMeta;
|
|
7020
7331
|
exports.getWorkspaceActionText = getWorkspaceActionText;
|
|
7021
7332
|
exports.getWorkspaceKind = getWorkspaceKind;
|
|
7022
7333
|
exports.getWorkspaceSentPhrase = getWorkspaceSentPhrase;
|
|
7023
7334
|
exports.hasVideoTrack = hasVideoTrack;
|
|
7335
|
+
exports.identityStepFor = identityStepFor;
|
|
7024
7336
|
exports.isWorkspaceNotificationType = isWorkspaceNotificationType;
|
|
7337
|
+
exports.mountDiditVerification = mountDiditVerification;
|
|
7025
7338
|
exports.parseActivityContent = parseActivityContent;
|
|
7026
7339
|
exports.parseDeleteAccountBlockers = parseDeleteAccountBlockers;
|
|
7027
7340
|
exports.pickRecentWorkspaces = pickRecentWorkspaces;
|
|
@@ -7071,6 +7384,8 @@ exports.useDeleteWorkflow = useDeleteWorkflow;
|
|
|
7071
7384
|
exports.useDirectMessages = useDirectMessages;
|
|
7072
7385
|
exports.useEmailChange = useEmailChange;
|
|
7073
7386
|
exports.useGrantAgentAccess = useGrantAgentAccess;
|
|
7387
|
+
exports.useIdentityVerification = useIdentityVerification;
|
|
7388
|
+
exports.useIdentityVerificationFlow = useIdentityVerificationFlow;
|
|
7074
7389
|
exports.useLogoutAllSessions = useLogoutAllSessions;
|
|
7075
7390
|
exports.useNameEditor = useNameEditor;
|
|
7076
7391
|
exports.useNotificationPreferences = useNotificationPreferences;
|