@arbidocs/react 0.4.150 → 0.4.151
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/artifacts/index.cjs +20 -20
- package/dist/artifacts/index.js +3 -3
- package/dist/{chunk-KD7CKXWQ.js → chunk-D2XIJSSI.js} +3 -3
- package/dist/{chunk-KD7CKXWQ.js.map → chunk-D2XIJSSI.js.map} +1 -1
- package/dist/{chunk-IQIDM3KM.cjs → chunk-I7UUV7FP.cjs} +11 -3
- package/dist/chunk-I7UUV7FP.cjs.map +1 -0
- package/dist/{chunk-JQ7Y723H.js → chunk-OKDZDDJM.js} +11 -3
- package/dist/chunk-OKDZDDJM.js.map +1 -0
- package/dist/{chunk-L66ZJ2UI.cjs → chunk-QCQFV5KO.cjs} +3 -3
- package/dist/{chunk-L66ZJ2UI.cjs.map → chunk-QCQFV5KO.cjs.map} +1 -1
- package/dist/index.cjs +455 -455
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/ui/index.cjs +161 -161
- package/dist/ui/index.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-IQIDM3KM.cjs.map +0 -1
- package/dist/chunk-JQ7Y723H.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var chunkIQIDM3KM_cjs = require('./chunk-IQIDM3KM.cjs');
|
|
4
3
|
var chunkL57RRAII_cjs = require('./chunk-L57RRAII.cjs');
|
|
4
|
+
var chunkI7UUV7FP_cjs = require('./chunk-I7UUV7FP.cjs');
|
|
5
5
|
var chunkZWFMFOGP_cjs = require('./chunk-ZWFMFOGP.cjs');
|
|
6
6
|
require('./chunk-VOFNX4P6.cjs');
|
|
7
7
|
var chunkJFKWH6EP_cjs = require('./chunk-JFKWH6EP.cjs');
|
|
8
|
-
var
|
|
9
|
-
var chunkOC7F5SNA_cjs = require('./chunk-OC7F5SNA.cjs');
|
|
8
|
+
var chunkQCQFV5KO_cjs = require('./chunk-QCQFV5KO.cjs');
|
|
10
9
|
var chunkWYZJLZ67_cjs = require('./chunk-WYZJLZ67.cjs');
|
|
10
|
+
var chunkOC7F5SNA_cjs = require('./chunk-OC7F5SNA.cjs');
|
|
11
11
|
var chunkZ3LLUO32_cjs = require('./chunk-Z3LLUO32.cjs');
|
|
12
12
|
var chunkHUZB36QU_cjs = require('./chunk-HUZB36QU.cjs');
|
|
13
13
|
var chunkHJDR5HEO_cjs = require('./chunk-HJDR5HEO.cjs');
|
|
@@ -43,7 +43,7 @@ function useUpdateConversation() {
|
|
|
43
43
|
conversationId,
|
|
44
44
|
patch
|
|
45
45
|
}) => arbi.conversations.update(conversationId, patch),
|
|
46
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
46
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allConversations() })
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
49
|
function useCreateWork() {
|
|
@@ -51,7 +51,7 @@ function useCreateWork() {
|
|
|
51
51
|
const qc = reactQuery.useQueryClient();
|
|
52
52
|
return reactQuery.useMutation({
|
|
53
53
|
mutationFn: (body) => arbi.conversations.createWork(body),
|
|
54
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
54
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allConversations() })
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
function useRunConversation() {
|
|
@@ -59,7 +59,7 @@ function useRunConversation() {
|
|
|
59
59
|
const qc = reactQuery.useQueryClient();
|
|
60
60
|
return reactQuery.useMutation({
|
|
61
61
|
mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
|
|
62
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
62
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allConversations() })
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
function useActOnStep() {
|
|
@@ -70,7 +70,7 @@ function useActOnStep() {
|
|
|
70
70
|
conversationId,
|
|
71
71
|
body
|
|
72
72
|
}) => arbi.conversations.actOnStep(conversationId, body),
|
|
73
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
73
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allConversations() })
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
function useSendBackStep() {
|
|
@@ -83,7 +83,7 @@ function useSendBackStep() {
|
|
|
83
83
|
to,
|
|
84
84
|
note
|
|
85
85
|
}) => arbi.conversations.sendBackStep(conversationId, step, { to, note }),
|
|
86
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
86
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allConversations() })
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
89
|
function usePlanWork() {
|
|
@@ -95,7 +95,7 @@ function usePlanWork() {
|
|
|
95
95
|
function useConversationPendingAuth(conversationId, options) {
|
|
96
96
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
97
97
|
return reactQuery.useQuery({
|
|
98
|
-
queryKey: [...
|
|
98
|
+
queryKey: [...chunkI7UUV7FP_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "pending-auth"],
|
|
99
99
|
queryFn: () => arbi.conversations.pendingAuth(conversationId),
|
|
100
100
|
enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
|
|
101
101
|
retry: false
|
|
@@ -104,7 +104,7 @@ function useConversationPendingAuth(conversationId, options) {
|
|
|
104
104
|
function useConversationActivity(conversationId, options) {
|
|
105
105
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
106
106
|
return reactQuery.useQuery({
|
|
107
|
-
queryKey:
|
|
107
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.conversationActivity(conversationId ?? ""),
|
|
108
108
|
queryFn: () => arbi.conversations.activity(conversationId),
|
|
109
109
|
enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
|
|
110
110
|
refetchInterval: options?.live ? 2500 : false
|
|
@@ -113,7 +113,7 @@ function useConversationActivity(conversationId, options) {
|
|
|
113
113
|
function useWorkflows(options) {
|
|
114
114
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
115
115
|
return reactQuery.useQuery({
|
|
116
|
-
queryKey:
|
|
116
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workflows(),
|
|
117
117
|
queryFn: () => arbi.workflows.list(),
|
|
118
118
|
// A clock or event can fire while the list is open, without a write here.
|
|
119
119
|
refetchInterval: options?.live ? 1e4 : false,
|
|
@@ -123,7 +123,7 @@ function useWorkflows(options) {
|
|
|
123
123
|
function useWorkflowRuns(workflowId) {
|
|
124
124
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
125
125
|
return reactQuery.useQuery({
|
|
126
|
-
queryKey:
|
|
126
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workflowRuns(workflowId ?? ""),
|
|
127
127
|
queryFn: () => arbi.workflows.runs(workflowId),
|
|
128
128
|
enabled: !!workflowId && arbi.isLoggedIn,
|
|
129
129
|
refetchInterval: 3e3,
|
|
@@ -136,7 +136,7 @@ function useCreateWorkflow() {
|
|
|
136
136
|
const qc = reactQuery.useQueryClient();
|
|
137
137
|
return reactQuery.useMutation({
|
|
138
138
|
mutationFn: (body) => arbi.workflows.create(body),
|
|
139
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
139
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workflows() })
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
142
|
function useUpdateWorkflow() {
|
|
@@ -147,7 +147,7 @@ function useUpdateWorkflow() {
|
|
|
147
147
|
workflowId,
|
|
148
148
|
patch
|
|
149
149
|
}) => arbi.workflows.update(workflowId, patch),
|
|
150
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
150
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workflows() })
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
153
|
function useDeleteWorkflow() {
|
|
@@ -155,18 +155,18 @@ function useDeleteWorkflow() {
|
|
|
155
155
|
const qc = reactQuery.useQueryClient();
|
|
156
156
|
return reactQuery.useMutation({
|
|
157
157
|
mutationFn: (workflowId) => arbi.workflows.delete(workflowId),
|
|
158
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
158
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workflows() })
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
161
|
function useRunWorkflow() {
|
|
162
162
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
163
163
|
const qc = reactQuery.useQueryClient();
|
|
164
164
|
return reactQuery.useMutation({
|
|
165
|
-
mutationKey:
|
|
165
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.runWorkflow(),
|
|
166
166
|
mutationFn: (workflowId) => arbi.workflows.run(workflowId),
|
|
167
167
|
onSuccess: () => Promise.all([
|
|
168
|
-
qc.invalidateQueries({ queryKey:
|
|
169
|
-
qc.invalidateQueries({ queryKey:
|
|
168
|
+
qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workflows() }),
|
|
169
|
+
qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allConversations() })
|
|
170
170
|
])
|
|
171
171
|
});
|
|
172
172
|
}
|
|
@@ -175,7 +175,7 @@ function useCreateAgent() {
|
|
|
175
175
|
const qc = reactQuery.useQueryClient();
|
|
176
176
|
return reactQuery.useMutation({
|
|
177
177
|
mutationFn: (name) => arbi.agents.create(name),
|
|
178
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
178
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.agents() })
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
181
|
function useGenerateAgentAvatar() {
|
|
@@ -183,13 +183,13 @@ function useGenerateAgentAvatar() {
|
|
|
183
183
|
const qc = reactQuery.useQueryClient();
|
|
184
184
|
return reactQuery.useMutation({
|
|
185
185
|
mutationFn: ({ agentExtId, prompt }) => arbi.agents.generateAvatar(agentExtId, prompt),
|
|
186
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
186
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.agents() })
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
189
|
function useAuthorizeLimits(options) {
|
|
190
190
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
191
191
|
return reactQuery.useQuery({
|
|
192
|
-
queryKey:
|
|
192
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.authorizeLimits(),
|
|
193
193
|
queryFn: () => arbi.agents.authorizeLimits(),
|
|
194
194
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
195
195
|
});
|
|
@@ -197,7 +197,7 @@ function useAuthorizeLimits(options) {
|
|
|
197
197
|
function useMcpTools(options) {
|
|
198
198
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
199
199
|
return reactQuery.useQuery({
|
|
200
|
-
queryKey:
|
|
200
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.mcpTools(),
|
|
201
201
|
queryFn: () => arbi.health.mcpTools(),
|
|
202
202
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
203
203
|
});
|
|
@@ -205,7 +205,7 @@ function useMcpTools(options) {
|
|
|
205
205
|
function useAgentConfig(agentExtId, options) {
|
|
206
206
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
207
207
|
return reactQuery.useQuery({
|
|
208
|
-
queryKey:
|
|
208
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.agentConfig(agentExtId),
|
|
209
209
|
queryFn: async () => agentExtId ? await arbi.agents.getConfig(agentExtId) : await arbi.agentConfig.get("default"),
|
|
210
210
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
211
211
|
});
|
|
@@ -213,7 +213,7 @@ function useAgentConfig(agentExtId, options) {
|
|
|
213
213
|
function useAgentModels(options) {
|
|
214
214
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
215
215
|
return reactQuery.useQuery({
|
|
216
|
-
queryKey:
|
|
216
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.models(),
|
|
217
217
|
queryFn: async () => (await arbi.agentConfig.getModels()).models.map((m) => m.model_name),
|
|
218
218
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
219
219
|
});
|
|
@@ -236,17 +236,17 @@ function useSaveAgentConfig() {
|
|
|
236
236
|
});
|
|
237
237
|
},
|
|
238
238
|
onSuccess: (_saved, { agentExtId }) => Promise.all([
|
|
239
|
-
qc.invalidateQueries({ queryKey:
|
|
240
|
-
qc.invalidateQueries({ queryKey:
|
|
239
|
+
qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.configs() }),
|
|
240
|
+
qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.agentConfig(agentExtId) }),
|
|
241
241
|
// The agent list shows the pinned persona/model, so it refreshes too.
|
|
242
|
-
qc.invalidateQueries({ queryKey:
|
|
242
|
+
qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.agents() })
|
|
243
243
|
])
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
246
|
function useAgentWorkspaces(agentExtId, options) {
|
|
247
247
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
248
248
|
return reactQuery.useQuery({
|
|
249
|
-
queryKey:
|
|
249
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
|
|
250
250
|
queryFn: () => arbi.agents.listWorkspaces(agentExtId),
|
|
251
251
|
enabled: (options?.enabled ?? true) && !!agentExtId && arbi.isLoggedIn
|
|
252
252
|
});
|
|
@@ -267,7 +267,7 @@ function useGrantAgentAccess() {
|
|
|
267
267
|
if (!agent?.email) throw new Error("The agent's address is unknown.");
|
|
268
268
|
return arbi.workspaces.grantAccess({ workspaceId, emails: [agent.email] });
|
|
269
269
|
},
|
|
270
|
-
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey:
|
|
270
|
+
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
|
|
271
271
|
});
|
|
272
272
|
}
|
|
273
273
|
function useRevokeAgentAccess() {
|
|
@@ -286,13 +286,13 @@ function useRevokeAgentAccess() {
|
|
|
286
286
|
if (previous && previous !== workspaceId) await arbi.selectWorkspace(previous);
|
|
287
287
|
}
|
|
288
288
|
},
|
|
289
|
-
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey:
|
|
289
|
+
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
|
|
290
290
|
});
|
|
291
291
|
}
|
|
292
292
|
function useSkills(options) {
|
|
293
293
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
294
294
|
return reactQuery.useQuery({
|
|
295
|
-
queryKey: [...
|
|
295
|
+
queryKey: [...chunkI7UUV7FP_cjs.arbiQueryKeys.skills(), options?.includeHidden ?? false],
|
|
296
296
|
queryFn: () => arbi.assistant.listSkills({ includeHidden: options?.includeHidden }),
|
|
297
297
|
refetchInterval: options?.live ? 5e3 : false,
|
|
298
298
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn,
|
|
@@ -324,13 +324,13 @@ function useUploadSkillFiles() {
|
|
|
324
324
|
}
|
|
325
325
|
return results;
|
|
326
326
|
},
|
|
327
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
327
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.skills() })
|
|
328
328
|
});
|
|
329
329
|
}
|
|
330
330
|
function useSkillSource(docExtId, options) {
|
|
331
331
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
332
332
|
return reactQuery.useQuery({
|
|
333
|
-
queryKey:
|
|
333
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.skillSource(docExtId ?? ""),
|
|
334
334
|
queryFn: async () => {
|
|
335
335
|
const response = await arbi.documents.download(docExtId);
|
|
336
336
|
if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
|
|
@@ -345,7 +345,7 @@ function useDeleteSkill() {
|
|
|
345
345
|
const qc = reactQuery.useQueryClient();
|
|
346
346
|
return reactQuery.useMutation({
|
|
347
347
|
mutationFn: (docExtId) => arbi.documents.delete([docExtId]),
|
|
348
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
348
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.skills() })
|
|
349
349
|
});
|
|
350
350
|
}
|
|
351
351
|
function useSetSkillVisibility() {
|
|
@@ -353,7 +353,7 @@ function useSetSkillVisibility() {
|
|
|
353
353
|
const qc = reactQuery.useQueryClient();
|
|
354
354
|
return reactQuery.useMutation({
|
|
355
355
|
mutationFn: ({ docExtId, visibility }) => arbi.documents.update([{ external_id: docExtId, shared: visibility === "global" }]),
|
|
356
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
356
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.skills() })
|
|
357
357
|
});
|
|
358
358
|
}
|
|
359
359
|
function useStartWorkQuery() {
|
|
@@ -380,13 +380,13 @@ function useStartWorkQuery() {
|
|
|
380
380
|
`The run ${response.id} started, but its thread is not available yet. Do not submit it again.`
|
|
381
381
|
);
|
|
382
382
|
},
|
|
383
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
383
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allConversations() })
|
|
384
384
|
});
|
|
385
385
|
}
|
|
386
386
|
function useAgentSession(agentId, options) {
|
|
387
387
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
388
388
|
return reactQuery.useQuery({
|
|
389
|
-
queryKey:
|
|
389
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.agentSession(agentId ?? ""),
|
|
390
390
|
queryFn: () => arbi.agents.getSession(agentId),
|
|
391
391
|
enabled: !!agentId && arbi.isLoggedIn && (options?.enabled ?? true),
|
|
392
392
|
refetchInterval: 5e3
|
|
@@ -395,7 +395,7 @@ function useAgentSession(agentId, options) {
|
|
|
395
395
|
function useAgentChats(agentId) {
|
|
396
396
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
397
397
|
return reactQuery.useQuery({
|
|
398
|
-
queryKey:
|
|
398
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.agentChats(agentId ?? ""),
|
|
399
399
|
queryFn: () => arbi.agents.listChats(agentId),
|
|
400
400
|
enabled: !!agentId && arbi.isLoggedIn,
|
|
401
401
|
refetchInterval: 5e3
|
|
@@ -404,10 +404,10 @@ function useAgentChats(agentId) {
|
|
|
404
404
|
function refreshAgentSession(qc, agentId) {
|
|
405
405
|
return Promise.all(
|
|
406
406
|
[
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
407
|
+
chunkI7UUV7FP_cjs.arbiQueryKeys.agentSession(agentId),
|
|
408
|
+
chunkI7UUV7FP_cjs.arbiQueryKeys.agentWorkspaces(agentId),
|
|
409
|
+
chunkI7UUV7FP_cjs.arbiQueryKeys.agentChats(agentId),
|
|
410
|
+
chunkI7UUV7FP_cjs.arbiQueryKeys.sessions()
|
|
411
411
|
].map((queryKey) => qc.invalidateQueries({ queryKey }))
|
|
412
412
|
);
|
|
413
413
|
}
|
|
@@ -555,8 +555,8 @@ function useArbiChat(options = {}) {
|
|
|
555
555
|
const recoveryTimeoutMs = streamRecovery?.timeoutMs ?? 12e4;
|
|
556
556
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
557
557
|
const queryClient = reactQuery.useQueryClient();
|
|
558
|
-
const { data: docs = [], isLoading: isLoadingDocuments } =
|
|
559
|
-
const ordinaryHistory =
|
|
558
|
+
const { data: docs = [], isLoading: isLoadingDocuments } = chunkI7UUV7FP_cjs.useDocuments(workspaceId);
|
|
559
|
+
const ordinaryHistory = chunkI7UUV7FP_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
|
|
560
560
|
const agentHistory = useAgentChats(agentId);
|
|
561
561
|
const stored = React3.useMemo(
|
|
562
562
|
() => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
|
|
@@ -571,7 +571,7 @@ function useArbiChat(options = {}) {
|
|
|
571
571
|
);
|
|
572
572
|
const isLoadingThreads = agentId ? agentHistory.isLoading : ordinaryHistory.isLoading;
|
|
573
573
|
const refetchConversations = agentId ? agentHistory.refetch : ordinaryHistory.refetch;
|
|
574
|
-
const query =
|
|
574
|
+
const query = chunkI7UUV7FP_cjs.useAssistantQuery();
|
|
575
575
|
const { mutateAsync } = query;
|
|
576
576
|
const [stagedFiles, setStagedFiles] = React3.useState([]);
|
|
577
577
|
const [threads, setThreads] = React3.useState(() => [emptyThread()]);
|
|
@@ -631,7 +631,7 @@ function useArbiChat(options = {}) {
|
|
|
631
631
|
(conversation) => conversation.external_id === active.conversationId && conversation.status === "generating"
|
|
632
632
|
) || active.messages.some((message) => message.status === "streaming");
|
|
633
633
|
const needsLoad = !!active.conversationId && !active.isLoaded;
|
|
634
|
-
const loaded =
|
|
634
|
+
const loaded = chunkI7UUV7FP_cjs.useConversationThreads(workspaceId, active.conversationId ?? void 0, {
|
|
635
635
|
enabled: needsLoad || liveHistory && !isRunning && !isPostingComment,
|
|
636
636
|
live: liveHistory
|
|
637
637
|
});
|
|
@@ -1106,7 +1106,7 @@ function useArbiChat(options = {}) {
|
|
|
1106
1106
|
} else
|
|
1107
1107
|
uploaded.push(...(await arbi.documents.uploadFile(file, file.name)).doc_ext_ids ?? []);
|
|
1108
1108
|
}
|
|
1109
|
-
if (uploaded.length) await
|
|
1109
|
+
if (uploaded.length) await chunkI7UUV7FP_cjs.refreshDocuments(queryClient, arbi, uploaded);
|
|
1110
1110
|
} catch (e) {
|
|
1111
1111
|
setUploadError(messageOf(e, "The upload failed."));
|
|
1112
1112
|
} finally {
|
|
@@ -1408,14 +1408,14 @@ function useArbiDocumentSync(workspaceId) {
|
|
|
1408
1408
|
if (!workspaceId) return;
|
|
1409
1409
|
if (client.isMessageType(msg, "batch_complete")) {
|
|
1410
1410
|
if (msg.workspace_ext_id !== workspaceId) return;
|
|
1411
|
-
if (msg.doc_ext_ids?.length) void
|
|
1412
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
1411
|
+
if (msg.doc_ext_ids?.length) void chunkI7UUV7FP_cjs.refreshDocuments(queryClient, arbi, msg.doc_ext_ids);
|
|
1412
|
+
void queryClient.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.tags(workspaceId) });
|
|
1413
1413
|
return;
|
|
1414
1414
|
}
|
|
1415
1415
|
if (client.isMessageType(msg, "task_update")) {
|
|
1416
1416
|
if (msg.workspace_ext_id !== workspaceId) return;
|
|
1417
|
-
if (
|
|
1418
|
-
void
|
|
1417
|
+
if (chunkI7UUV7FP_cjs.FINISHED_DOCUMENT_STATUSES.has(msg.status))
|
|
1418
|
+
void chunkI7UUV7FP_cjs.refreshDocuments(queryClient, arbi, [msg.doc_ext_id]);
|
|
1419
1419
|
}
|
|
1420
1420
|
});
|
|
1421
1421
|
}
|
|
@@ -1543,7 +1543,7 @@ function useShellWorkspaces(options) {
|
|
|
1543
1543
|
}
|
|
1544
1544
|
function useArbiShellWorkspaces(options = {}) {
|
|
1545
1545
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
1546
|
-
const query =
|
|
1546
|
+
const query = chunkI7UUV7FP_cjs.useWorkspaces();
|
|
1547
1547
|
const { select, ...rest } = options;
|
|
1548
1548
|
const defaultSelect = React3.useCallback(
|
|
1549
1549
|
(workspace) => arbi.selectWorkspace(workspace.id),
|
|
@@ -1562,7 +1562,7 @@ function useUpdateWorkspace() {
|
|
|
1562
1562
|
const qc = reactQuery.useQueryClient();
|
|
1563
1563
|
return reactQuery.useMutation({
|
|
1564
1564
|
mutationFn: (body) => arbi.workspaces.update(body),
|
|
1565
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
1565
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workspaces() })
|
|
1566
1566
|
});
|
|
1567
1567
|
}
|
|
1568
1568
|
var MEMBERS_STALE_MS = 15 * 60 * 1e3;
|
|
@@ -1570,7 +1570,7 @@ function useWorkspaceUsers(workspaceId, options) {
|
|
|
1570
1570
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
1571
1571
|
const workspace = workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : "");
|
|
1572
1572
|
return reactQuery.useQuery({
|
|
1573
|
-
queryKey:
|
|
1573
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workspaceUsers(workspace),
|
|
1574
1574
|
enabled: !!workspace && (options?.enabled ?? arbi.hasWorkspace),
|
|
1575
1575
|
queryFn: async () => {
|
|
1576
1576
|
await options?.beforeFetch?.();
|
|
@@ -1582,21 +1582,21 @@ function useWorkspaceUsers(workspaceId, options) {
|
|
|
1582
1582
|
}
|
|
1583
1583
|
function settleMembership(qc) {
|
|
1584
1584
|
return Promise.all([
|
|
1585
|
-
qc.invalidateQueries({ queryKey:
|
|
1586
|
-
qc.invalidateQueries({ queryKey:
|
|
1585
|
+
qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allWorkspaceUsers() }),
|
|
1586
|
+
qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workspaces() }),
|
|
1587
1587
|
// A project's collaborator quota counts workspace members.
|
|
1588
|
-
qc.invalidateQueries({ queryKey:
|
|
1588
|
+
qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.projects() })
|
|
1589
1589
|
]);
|
|
1590
1590
|
}
|
|
1591
1591
|
function useAddWorkspaceMembers() {
|
|
1592
1592
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
1593
1593
|
const qc = reactQuery.useQueryClient();
|
|
1594
1594
|
return reactQuery.useMutation({
|
|
1595
|
-
mutationKey:
|
|
1595
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.workspaceMembership(),
|
|
1596
1596
|
mutationFn: (request) => arbi.workspaces.addMembers(request),
|
|
1597
1597
|
onSuccess: () => Promise.all([
|
|
1598
1598
|
settleMembership(qc),
|
|
1599
|
-
qc.invalidateQueries({ queryKey:
|
|
1599
|
+
qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.contacts() })
|
|
1600
1600
|
])
|
|
1601
1601
|
});
|
|
1602
1602
|
}
|
|
@@ -1604,7 +1604,7 @@ function useRemoveWorkspaceMembers() {
|
|
|
1604
1604
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
1605
1605
|
const qc = reactQuery.useQueryClient();
|
|
1606
1606
|
return reactQuery.useMutation({
|
|
1607
|
-
mutationKey:
|
|
1607
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.workspaceMembership(),
|
|
1608
1608
|
mutationFn: (userIds) => arbi.workspaces.removeUsers(userIds),
|
|
1609
1609
|
onSuccess: () => settleMembership(qc)
|
|
1610
1610
|
});
|
|
@@ -1613,11 +1613,11 @@ function useSetWorkspaceMemberRoles() {
|
|
|
1613
1613
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
1614
1614
|
const qc = reactQuery.useQueryClient();
|
|
1615
1615
|
return reactQuery.useMutation({
|
|
1616
|
-
mutationKey:
|
|
1616
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.setWorkspaceMemberRoles(),
|
|
1617
1617
|
mutationFn: ({ userIds, role }) => arbi.workspaces.setUserRole(userIds, role),
|
|
1618
1618
|
onSuccess: () => Promise.all([
|
|
1619
|
-
qc.invalidateQueries({ queryKey:
|
|
1620
|
-
qc.invalidateQueries({ queryKey:
|
|
1619
|
+
qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allWorkspaceUsers() }),
|
|
1620
|
+
qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workspaces() })
|
|
1621
1621
|
])
|
|
1622
1622
|
});
|
|
1623
1623
|
}
|
|
@@ -1626,7 +1626,7 @@ function useFacts(workspaceId, options) {
|
|
|
1626
1626
|
const { enabled = true, ...filter } = options ?? {};
|
|
1627
1627
|
const workspace = workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : "");
|
|
1628
1628
|
return reactQuery.useQuery({
|
|
1629
|
-
queryKey: [...
|
|
1629
|
+
queryKey: [...chunkI7UUV7FP_cjs.arbiQueryKeys.facts(workspace), filter],
|
|
1630
1630
|
queryFn: () => arbi.facts.list(filter),
|
|
1631
1631
|
enabled: enabled && !!workspace && arbi.hasWorkspace,
|
|
1632
1632
|
staleTime: 3e4
|
|
@@ -1634,7 +1634,7 @@ function useFacts(workspaceId, options) {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
function useRefreshFacts() {
|
|
1636
1636
|
const qc = reactQuery.useQueryClient();
|
|
1637
|
-
return () => qc.invalidateQueries({ queryKey:
|
|
1637
|
+
return () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allFacts() });
|
|
1638
1638
|
}
|
|
1639
1639
|
function useCreateFact() {
|
|
1640
1640
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
@@ -1688,7 +1688,7 @@ function usePassageQuotes(docIds) {
|
|
|
1688
1688
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
1689
1689
|
const passages = reactQuery.useQueries({
|
|
1690
1690
|
queries: [...new Set(docIds ?? [])].map((docId) => ({
|
|
1691
|
-
queryKey:
|
|
1691
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.parsedDoc(docId, "final"),
|
|
1692
1692
|
queryFn: () => arbi.documents.getParsedContent(docId, "final"),
|
|
1693
1693
|
enabled: arbi.hasWorkspace,
|
|
1694
1694
|
staleTime: PARSED_STALE_TIME
|
|
@@ -1718,7 +1718,7 @@ function useDocumentsSupport() {
|
|
|
1718
1718
|
function applyOptimisticDocumentEdit(qc, updates) {
|
|
1719
1719
|
const byId = new Map(updates.map((update) => [update.external_id, update]));
|
|
1720
1720
|
const previous = [];
|
|
1721
|
-
|
|
1721
|
+
chunkI7UUV7FP_cjs.patchDocuments(qc, (old) => {
|
|
1722
1722
|
let changed = false;
|
|
1723
1723
|
const next = old.map((doc) => {
|
|
1724
1724
|
const update = byId.get(doc.external_id);
|
|
@@ -1731,9 +1731,9 @@ function applyOptimisticDocumentEdit(qc, updates) {
|
|
|
1731
1731
|
});
|
|
1732
1732
|
const previousOwn = updates.map((update) => {
|
|
1733
1733
|
const own = qc.getQueryData(
|
|
1734
|
-
|
|
1734
|
+
chunkI7UUV7FP_cjs.arbiQueryKeys.document(update.external_id)
|
|
1735
1735
|
);
|
|
1736
|
-
if (own)
|
|
1736
|
+
if (own) chunkI7UUV7FP_cjs.setCachedDocument(qc, { ...own, ...update });
|
|
1737
1737
|
return [update.external_id, own];
|
|
1738
1738
|
});
|
|
1739
1739
|
return { optimistic: true, previous, previousOwn };
|
|
@@ -1743,38 +1743,38 @@ function rollbackOptimisticDocumentEdit(qc, context) {
|
|
|
1743
1743
|
if (!edit?.optimistic) return;
|
|
1744
1744
|
if (edit.previous.length) {
|
|
1745
1745
|
const restore = new Map(edit.previous.map((doc) => [doc.external_id, doc]));
|
|
1746
|
-
|
|
1746
|
+
chunkI7UUV7FP_cjs.patchDocuments(
|
|
1747
1747
|
qc,
|
|
1748
1748
|
(old) => old.some((doc) => restore.has(doc.external_id)) ? old.map((doc) => restore.get(doc.external_id) ?? doc) : old
|
|
1749
1749
|
);
|
|
1750
1750
|
}
|
|
1751
|
-
for (const [id, own] of edit.previousOwn) qc.setQueryData(
|
|
1751
|
+
for (const [id, own] of edit.previousOwn) qc.setQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.document(id), own);
|
|
1752
1752
|
}
|
|
1753
1753
|
function settleUpdatedDocuments(qc, updated) {
|
|
1754
1754
|
if (!updated.length) return;
|
|
1755
1755
|
const byId = new Map(updated.map((doc) => [doc.external_id, doc]));
|
|
1756
|
-
|
|
1756
|
+
chunkI7UUV7FP_cjs.patchDocuments(
|
|
1757
1757
|
qc,
|
|
1758
1758
|
(old) => old.some((doc) => byId.has(doc.external_id)) ? old.map((doc) => byId.get(doc.external_id) ?? doc) : old
|
|
1759
1759
|
);
|
|
1760
|
-
for (const doc of updated)
|
|
1760
|
+
for (const doc of updated) chunkI7UUV7FP_cjs.setCachedDocument(qc, doc);
|
|
1761
1761
|
}
|
|
1762
1762
|
function patchEachDocument(qc, docIds, reducer) {
|
|
1763
1763
|
const ids = new Set(docIds);
|
|
1764
|
-
|
|
1764
|
+
chunkI7UUV7FP_cjs.patchDocuments(
|
|
1765
1765
|
qc,
|
|
1766
1766
|
(old) => old.some((doc) => ids.has(doc.external_id)) ? old.map((doc) => ids.has(doc.external_id) ? reducer(doc) : doc) : old
|
|
1767
1767
|
);
|
|
1768
|
-
for (const id of ids)
|
|
1768
|
+
for (const id of ids) chunkI7UUV7FP_cjs.patchCachedDocument(qc, id, reducer);
|
|
1769
1769
|
}
|
|
1770
1770
|
function workspaceOf(qc, docId) {
|
|
1771
1771
|
for (const [, docs] of qc.getQueriesData({
|
|
1772
|
-
queryKey:
|
|
1772
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allDocuments()
|
|
1773
1773
|
})) {
|
|
1774
1774
|
const doc = Array.isArray(docs) ? docs.find((d) => d.external_id === docId) : void 0;
|
|
1775
1775
|
if (doc) return doc.workspace_ext_id;
|
|
1776
1776
|
}
|
|
1777
|
-
return qc.getQueryData(
|
|
1777
|
+
return qc.getQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.document(docId))?.workspace_ext_id;
|
|
1778
1778
|
}
|
|
1779
1779
|
function settleAssignedDocTags(qc, created) {
|
|
1780
1780
|
const byDoc = /* @__PURE__ */ new Map();
|
|
@@ -1792,13 +1792,13 @@ function settleAssignedDocTags(qc, created) {
|
|
|
1792
1792
|
...doc,
|
|
1793
1793
|
doctags: [...doc.doctags ?? [], ...byDoc.get(doc.external_id) ?? []]
|
|
1794
1794
|
}));
|
|
1795
|
-
for (const [workspaceId, delta] of workspaces)
|
|
1795
|
+
for (const [workspaceId, delta] of workspaces) chunkI7UUV7FP_cjs.adjustTagCounts(qc, workspaceId, delta);
|
|
1796
1796
|
}
|
|
1797
1797
|
function settleRemovedDocTags(qc, { tagId, docIds }) {
|
|
1798
1798
|
const ids = new Set(docIds);
|
|
1799
1799
|
const removedByWorkspace = /* @__PURE__ */ new Map();
|
|
1800
1800
|
for (const [, docs] of qc.getQueriesData({
|
|
1801
|
-
queryKey:
|
|
1801
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allDocuments()
|
|
1802
1802
|
})) {
|
|
1803
1803
|
for (const doc of Array.isArray(docs) ? docs : []) {
|
|
1804
1804
|
if (!ids.has(doc.external_id)) continue;
|
|
@@ -1814,7 +1814,7 @@ function settleRemovedDocTags(qc, { tagId, docIds }) {
|
|
|
1814
1814
|
doctags: (doc.doctags ?? []).filter((dt) => dt.tag_ext_id !== tagId)
|
|
1815
1815
|
}));
|
|
1816
1816
|
for (const [workspaceId, removed] of removedByWorkspace)
|
|
1817
|
-
|
|
1817
|
+
chunkI7UUV7FP_cjs.adjustTagCounts(qc, workspaceId, /* @__PURE__ */ new Map([[tagId, -removed]]));
|
|
1818
1818
|
}
|
|
1819
1819
|
function settleUpdatedDocTag(qc, updated) {
|
|
1820
1820
|
patchEachDocument(qc, [updated.doc_ext_id], (doc) => ({
|
|
@@ -1824,22 +1824,22 @@ function settleUpdatedDocTag(qc, updated) {
|
|
|
1824
1824
|
}
|
|
1825
1825
|
var replayableDocumentMutations = [
|
|
1826
1826
|
{
|
|
1827
|
-
mutationKey:
|
|
1827
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.updateDocuments(),
|
|
1828
1828
|
run: (client, input) => browser.documents.updateDocuments(client, input.documents),
|
|
1829
1829
|
settle: (qc, updated) => settleUpdatedDocuments(qc, updated)
|
|
1830
1830
|
},
|
|
1831
1831
|
{
|
|
1832
|
-
mutationKey:
|
|
1832
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.assignDocTags(),
|
|
1833
1833
|
run: (client, input) => browser.doctags.assignDocTags(client, input.tagId, input.docIds, input.note, input.citations),
|
|
1834
1834
|
settle: (qc, created) => settleAssignedDocTags(qc, created)
|
|
1835
1835
|
},
|
|
1836
1836
|
{
|
|
1837
|
-
mutationKey:
|
|
1837
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.removeDocTags(),
|
|
1838
1838
|
run: (client, input) => browser.doctags.removeDocTags(client, input.tagId, input.docIds),
|
|
1839
1839
|
settle: (qc, _data, input) => settleRemovedDocTags(qc, input)
|
|
1840
1840
|
},
|
|
1841
1841
|
{
|
|
1842
|
-
mutationKey:
|
|
1842
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.updateDocTag(),
|
|
1843
1843
|
run: (client, input) => browser.doctags.updateDocTag(client, input.tagId, input.docId, {
|
|
1844
1844
|
note: input.note,
|
|
1845
1845
|
citations: input.citations
|
|
@@ -1862,7 +1862,7 @@ function useUpdateDocuments() {
|
|
|
1862
1862
|
const qc = reactQuery.useQueryClient();
|
|
1863
1863
|
return resolvingOffline(
|
|
1864
1864
|
reactQuery.useMutation({
|
|
1865
|
-
mutationKey:
|
|
1865
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.updateDocuments(),
|
|
1866
1866
|
mutationFn: ({ documents }) => arbi.documents.update(documents),
|
|
1867
1867
|
onMutate: ({ documents }) => reactQuery.onlineManager.isOnline() || !documents.length ? void 0 : applyOptimisticDocumentEdit(qc, documents),
|
|
1868
1868
|
onError: (_error, _input, context) => rollbackOptimisticDocumentEdit(qc, context),
|
|
@@ -1875,30 +1875,30 @@ function useDeleteDocuments() {
|
|
|
1875
1875
|
const qc = reactQuery.useQueryClient();
|
|
1876
1876
|
const { onDocumentsDeleted } = useDocumentsSupport();
|
|
1877
1877
|
return reactQuery.useMutation({
|
|
1878
|
-
mutationKey:
|
|
1878
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.deleteDocuments(),
|
|
1879
1879
|
mutationFn: (docIds) => arbi.documents.delete(docIds),
|
|
1880
1880
|
onSuccess: (_data, docIds) => {
|
|
1881
1881
|
const gone = new Set(docIds);
|
|
1882
|
-
|
|
1882
|
+
chunkI7UUV7FP_cjs.patchDocuments(
|
|
1883
1883
|
qc,
|
|
1884
1884
|
(old) => old.some((doc) => gone.has(doc.external_id)) ? old.filter((doc) => !gone.has(doc.external_id)) : old
|
|
1885
1885
|
);
|
|
1886
|
-
|
|
1886
|
+
chunkI7UUV7FP_cjs.forgetDocuments(qc, docIds);
|
|
1887
1887
|
onDocumentsDeleted?.(docIds);
|
|
1888
|
-
return qc.invalidateQueries({ queryKey:
|
|
1888
|
+
return qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workspaces() });
|
|
1889
1889
|
}
|
|
1890
1890
|
});
|
|
1891
1891
|
}
|
|
1892
1892
|
async function settleUpload(qc, arbi, docIds, processingStatus) {
|
|
1893
|
-
if (docIds?.length) await
|
|
1894
|
-
await qc.invalidateQueries({ queryKey:
|
|
1893
|
+
if (docIds?.length) await chunkI7UUV7FP_cjs.refreshDocuments(qc, arbi, docIds, { processingStatus });
|
|
1894
|
+
await qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workspaces() });
|
|
1895
1895
|
}
|
|
1896
1896
|
function useUploadDocuments() {
|
|
1897
1897
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
1898
1898
|
const qc = reactQuery.useQueryClient();
|
|
1899
1899
|
const { processingStatus } = useDocumentsSupport();
|
|
1900
1900
|
return reactQuery.useMutation({
|
|
1901
|
-
mutationKey:
|
|
1901
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.uploadDocuments(),
|
|
1902
1902
|
mutationFn: ({ files, options }) => arbi.documents.upload(files, options),
|
|
1903
1903
|
onSuccess: (result) => settleUpload(qc, arbi, result.doc_ext_ids, processingStatus)
|
|
1904
1904
|
});
|
|
@@ -1908,7 +1908,7 @@ function useUploadUrls() {
|
|
|
1908
1908
|
const qc = reactQuery.useQueryClient();
|
|
1909
1909
|
const { processingStatus } = useDocumentsSupport();
|
|
1910
1910
|
return reactQuery.useMutation({
|
|
1911
|
-
mutationKey:
|
|
1911
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.uploadUrls(),
|
|
1912
1912
|
mutationFn: ({ urls, shared, configExtId }) => arbi.documents.uploadUrl(urls, { shared, configExtId }),
|
|
1913
1913
|
onSuccess: (result) => settleUpload(qc, arbi, result.doc_ext_ids, processingStatus)
|
|
1914
1914
|
});
|
|
@@ -1918,7 +1918,7 @@ function useAssignDocTags() {
|
|
|
1918
1918
|
const qc = reactQuery.useQueryClient();
|
|
1919
1919
|
return resolvingOffline(
|
|
1920
1920
|
reactQuery.useMutation({
|
|
1921
|
-
mutationKey:
|
|
1921
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.assignDocTags(),
|
|
1922
1922
|
mutationFn: ({ tagId, docIds, note, citations }) => arbi.doctags.assign(tagId, docIds, note, citations),
|
|
1923
1923
|
onSuccess: (created) => settleAssignedDocTags(qc, created)
|
|
1924
1924
|
})
|
|
@@ -1929,7 +1929,7 @@ function useRemoveDocTags() {
|
|
|
1929
1929
|
const qc = reactQuery.useQueryClient();
|
|
1930
1930
|
return resolvingOffline(
|
|
1931
1931
|
reactQuery.useMutation({
|
|
1932
|
-
mutationKey:
|
|
1932
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.removeDocTags(),
|
|
1933
1933
|
mutationFn: ({ tagId, docIds }) => arbi.doctags.remove(tagId, docIds),
|
|
1934
1934
|
onSuccess: (_data, input) => settleRemovedDocTags(qc, input)
|
|
1935
1935
|
})
|
|
@@ -1940,7 +1940,7 @@ function useUpdateDocTag() {
|
|
|
1940
1940
|
const qc = reactQuery.useQueryClient();
|
|
1941
1941
|
return resolvingOffline(
|
|
1942
1942
|
reactQuery.useMutation({
|
|
1943
|
-
mutationKey:
|
|
1943
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.updateDocTag(),
|
|
1944
1944
|
mutationFn: ({ tagId, docId, note, citations }) => arbi.doctags.update(tagId, docId, { note, citations }),
|
|
1945
1945
|
onSuccess: (updated) => settleUpdatedDocTag(qc, updated)
|
|
1946
1946
|
})
|
|
@@ -1951,13 +1951,13 @@ function useGenerateDocTags() {
|
|
|
1951
1951
|
const qc = reactQuery.useQueryClient();
|
|
1952
1952
|
const { onProcessingQueued } = useDocumentsSupport();
|
|
1953
1953
|
return reactQuery.useMutation({
|
|
1954
|
-
mutationKey:
|
|
1954
|
+
mutationKey: chunkI7UUV7FP_cjs.arbiMutationKeys.generateDocTags(),
|
|
1955
1955
|
mutationFn: ({ tagIds, docIds, overwrite }) => arbi.doctags.generate(tagIds, docIds, { overwrite }),
|
|
1956
1956
|
onMutate: ({ docIds }) => {
|
|
1957
1957
|
if (!onProcessingQueued || !docIds.length) return void 0;
|
|
1958
1958
|
const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : "";
|
|
1959
1959
|
const listed = new Map(
|
|
1960
|
-
(
|
|
1960
|
+
(chunkI7UUV7FP_cjs.getCachedDocuments(qc, workspaceId) ?? []).map((doc) => [doc.external_id, doc])
|
|
1961
1961
|
);
|
|
1962
1962
|
return {
|
|
1963
1963
|
undo: onProcessingQueued(
|
|
@@ -1979,13 +1979,13 @@ function useFinaliseTranslation() {
|
|
|
1979
1979
|
const { processingStatus } = useDocumentsSupport();
|
|
1980
1980
|
return reactQuery.useMutation({
|
|
1981
1981
|
mutationFn: (docId) => arbi.documents.finaliseTranslation(docId),
|
|
1982
|
-
onSuccess: (result) => void
|
|
1982
|
+
onSuccess: (result) => void chunkI7UUV7FP_cjs.refreshDocuments(qc, arbi, [result.document_ext_id], { processingStatus })
|
|
1983
1983
|
});
|
|
1984
1984
|
}
|
|
1985
1985
|
|
|
1986
1986
|
// src/offline.ts
|
|
1987
1987
|
var REPLAYABLE = [
|
|
1988
|
-
...
|
|
1988
|
+
...chunkI7UUV7FP_cjs.replayableTagMutations,
|
|
1989
1989
|
...replayableDocumentMutations
|
|
1990
1990
|
];
|
|
1991
1991
|
function isReplayableArbiMutation(mutationKey) {
|
|
@@ -2015,13 +2015,13 @@ function isRestorableArbiQueryOnline(queryKey, data) {
|
|
|
2015
2015
|
const docs = Array.isArray(data) ? data : [data];
|
|
2016
2016
|
return !docs.some((doc) => {
|
|
2017
2017
|
const status = doc?.status;
|
|
2018
|
-
return !!status && !
|
|
2018
|
+
return !!status && !chunkI7UUV7FP_cjs.FINISHED_DOCUMENT_STATUSES.has(status);
|
|
2019
2019
|
});
|
|
2020
2020
|
}
|
|
2021
2021
|
function useFilteredProjects(filters, options) {
|
|
2022
2022
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2023
2023
|
return reactQuery.useQuery({
|
|
2024
|
-
queryKey:
|
|
2024
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.projectsFiltered(filters.stage, filters.leadUser),
|
|
2025
2025
|
queryFn: () => arbi.projects.list(filters),
|
|
2026
2026
|
enabled: options?.enabled ?? arbi.isLoggedIn
|
|
2027
2027
|
});
|
|
@@ -2035,8 +2035,8 @@ function useUpdateProjectFields() {
|
|
|
2035
2035
|
patch
|
|
2036
2036
|
}) => arbi.projects.update(projectExtId, patch),
|
|
2037
2037
|
onSuccess: () => {
|
|
2038
|
-
void qc.invalidateQueries({ queryKey:
|
|
2039
|
-
void qc.invalidateQueries({ queryKey:
|
|
2038
|
+
void qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.projects() });
|
|
2039
|
+
void qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workspaces() });
|
|
2040
2040
|
}
|
|
2041
2041
|
});
|
|
2042
2042
|
}
|
|
@@ -2044,7 +2044,7 @@ function useProjectEvents(projectExtId, options) {
|
|
|
2044
2044
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2045
2045
|
return reactQuery.useQuery({
|
|
2046
2046
|
queryKey: [
|
|
2047
|
-
...
|
|
2047
|
+
...chunkI7UUV7FP_cjs.arbiQueryKeys.projectEvents(projectExtId ?? ""),
|
|
2048
2048
|
options?.kind ?? "all",
|
|
2049
2049
|
options?.limit ?? "default"
|
|
2050
2050
|
],
|
|
@@ -2055,7 +2055,7 @@ function useProjectEvents(projectExtId, options) {
|
|
|
2055
2055
|
function useConversationUsage(conversationId, options) {
|
|
2056
2056
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2057
2057
|
return reactQuery.useQuery({
|
|
2058
|
-
queryKey:
|
|
2058
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.conversationUsage(conversationId ?? ""),
|
|
2059
2059
|
queryFn: () => arbi.conversations.usage(conversationId),
|
|
2060
2060
|
enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
|
|
2061
2061
|
refetchInterval: options?.live ? 1e4 : false
|
|
@@ -2064,7 +2064,7 @@ function useConversationUsage(conversationId, options) {
|
|
|
2064
2064
|
function useProjectConversationUsage(projectExtId, monthsBack = 0, options) {
|
|
2065
2065
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2066
2066
|
return reactQuery.useQuery({
|
|
2067
|
-
queryKey:
|
|
2067
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.projectConversationUsage(projectExtId ?? "", monthsBack),
|
|
2068
2068
|
queryFn: () => arbi.projects.usageByConversation(projectExtId, monthsBack),
|
|
2069
2069
|
enabled: (options?.enabled ?? true) && !!projectExtId && arbi.isLoggedIn
|
|
2070
2070
|
});
|
|
@@ -2091,7 +2091,7 @@ function useChargeWatch(project, isPending) {
|
|
|
2091
2091
|
React3.useEffect(() => {
|
|
2092
2092
|
if (!isSlow) return;
|
|
2093
2093
|
const timer = setInterval(
|
|
2094
|
-
() => queryClient.invalidateQueries({ queryKey:
|
|
2094
|
+
() => queryClient.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.projects(), exact: true }),
|
|
2095
2095
|
POLL_EVERY_MS
|
|
2096
2096
|
);
|
|
2097
2097
|
return () => clearInterval(timer);
|
|
@@ -2118,8 +2118,8 @@ function useChargeWatch(project, isPending) {
|
|
|
2118
2118
|
if (!watch2 || watch2.settled) return;
|
|
2119
2119
|
let fresh;
|
|
2120
2120
|
try {
|
|
2121
|
-
await queryClient.refetchQueries({ queryKey:
|
|
2122
|
-
fresh = queryClient.getQueryData(
|
|
2121
|
+
await queryClient.refetchQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.projects(), exact: true });
|
|
2122
|
+
fresh = queryClient.getQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.projects())?.find((p) => p.external_id === project.external_id);
|
|
2123
2123
|
} catch {
|
|
2124
2124
|
fresh = void 0;
|
|
2125
2125
|
}
|
|
@@ -2132,21 +2132,21 @@ function useChargeWatch(project, isPending) {
|
|
|
2132
2132
|
|
|
2133
2133
|
// src/billing.ts
|
|
2134
2134
|
function refreshProjects(qc, wide = false) {
|
|
2135
|
-
void qc.invalidateQueries({ queryKey:
|
|
2135
|
+
void qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.projects() });
|
|
2136
2136
|
if (wide) {
|
|
2137
|
-
void qc.invalidateQueries({ queryKey:
|
|
2138
|
-
void qc.invalidateQueries({ queryKey:
|
|
2137
|
+
void qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings() });
|
|
2138
|
+
void qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workspaces() });
|
|
2139
2139
|
}
|
|
2140
2140
|
}
|
|
2141
2141
|
var retryAbortOnly = (failureCount, error) => failureCount < 1 && error?.name === "AbortError";
|
|
2142
2142
|
function useInvalidateProjects() {
|
|
2143
2143
|
const qc = reactQuery.useQueryClient();
|
|
2144
|
-
return () => qc.invalidateQueries({ queryKey:
|
|
2144
|
+
return () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.projects() });
|
|
2145
2145
|
}
|
|
2146
2146
|
function useProducts(options) {
|
|
2147
2147
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2148
2148
|
return reactQuery.useQuery({
|
|
2149
|
-
queryKey:
|
|
2149
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.products(),
|
|
2150
2150
|
queryFn: () => arbi.projects.products(),
|
|
2151
2151
|
staleTime: 5 * 6e4,
|
|
2152
2152
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
@@ -2199,15 +2199,15 @@ function useCancelProjectSubscription() {
|
|
|
2199
2199
|
return reactQuery.useMutation({
|
|
2200
2200
|
mutationFn: (projectExtId) => arbi.projects.cancelSubscription(projectExtId),
|
|
2201
2201
|
onSuccess: () => {
|
|
2202
|
-
void qc.invalidateQueries({ queryKey:
|
|
2203
|
-
void qc.invalidateQueries({ queryKey:
|
|
2202
|
+
void qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.projects() });
|
|
2203
|
+
void qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings() });
|
|
2204
2204
|
}
|
|
2205
2205
|
});
|
|
2206
2206
|
}
|
|
2207
2207
|
function usePreviewProjectPlanChange(projectExtId, change) {
|
|
2208
2208
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2209
2209
|
return reactQuery.useQuery({
|
|
2210
|
-
queryKey: [...
|
|
2210
|
+
queryKey: [...chunkI7UUV7FP_cjs.arbiQueryKeys.billingQuotes(), "preview", projectExtId, change],
|
|
2211
2211
|
queryFn: () => arbi.projects.previewPlanChange(projectExtId, change),
|
|
2212
2212
|
enabled: !!change && arbi.isLoggedIn,
|
|
2213
2213
|
staleTime: 6e4,
|
|
@@ -2217,7 +2217,7 @@ function usePreviewProjectPlanChange(projectExtId, change) {
|
|
|
2217
2217
|
function usePlanQuote(projectExtId, body) {
|
|
2218
2218
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2219
2219
|
return reactQuery.useQuery({
|
|
2220
|
-
queryKey: [...
|
|
2220
|
+
queryKey: [...chunkI7UUV7FP_cjs.arbiQueryKeys.billingQuotes(), "plan", projectExtId ?? null, body],
|
|
2221
2221
|
queryFn: () => arbi.projects.quotePlan(projectExtId ?? null, body),
|
|
2222
2222
|
enabled: !!body && arbi.isLoggedIn,
|
|
2223
2223
|
staleTime: 5 * 6e4,
|
|
@@ -2227,7 +2227,7 @@ function usePlanQuote(projectExtId, body) {
|
|
|
2227
2227
|
function useAddonQuote(projectExtId, kind, enabled = true) {
|
|
2228
2228
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2229
2229
|
return reactQuery.useQuery({
|
|
2230
|
-
queryKey: [...
|
|
2230
|
+
queryKey: [...chunkI7UUV7FP_cjs.arbiQueryKeys.billingQuotes(), "addon", projectExtId, kind],
|
|
2231
2231
|
queryFn: () => arbi.projects.quoteAddon(projectExtId, kind),
|
|
2232
2232
|
enabled: enabled && arbi.isLoggedIn,
|
|
2233
2233
|
staleTime: 6e4,
|
|
@@ -2273,7 +2273,7 @@ function useUpdateProjectAddonSettings() {
|
|
|
2273
2273
|
function useContacts(options) {
|
|
2274
2274
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2275
2275
|
return reactQuery.useQuery({
|
|
2276
|
-
queryKey:
|
|
2276
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.contacts(),
|
|
2277
2277
|
queryFn: () => arbi.contacts.list(),
|
|
2278
2278
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
2279
2279
|
});
|
|
@@ -2288,7 +2288,7 @@ function usePendingContacts(options) {
|
|
|
2288
2288
|
}
|
|
2289
2289
|
function useInvalidateContacts() {
|
|
2290
2290
|
const qc = reactQuery.useQueryClient();
|
|
2291
|
-
return () => qc.invalidateQueries({ queryKey:
|
|
2291
|
+
return () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.contacts() });
|
|
2292
2292
|
}
|
|
2293
2293
|
function useInviteContacts() {
|
|
2294
2294
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
@@ -2326,7 +2326,7 @@ function useSearchContacts(q, { debounceMs = 200 } = {}) {
|
|
|
2326
2326
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2327
2327
|
const term = useDebounced(q.trim(), debounceMs);
|
|
2328
2328
|
return reactQuery.useQuery({
|
|
2329
|
-
queryKey: [...
|
|
2329
|
+
queryKey: [...chunkI7UUV7FP_cjs.arbiQueryKeys.contacts(), "search", term],
|
|
2330
2330
|
queryFn: () => arbi.contacts.search(term),
|
|
2331
2331
|
enabled: term.length > 0 && arbi.isLoggedIn,
|
|
2332
2332
|
staleTime: 6e4,
|
|
@@ -2345,7 +2345,7 @@ function useDebounced(value, ms) {
|
|
|
2345
2345
|
function useHouseTemplateCandidates(workspaceId, enabled, staleTime = 6e4) {
|
|
2346
2346
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2347
2347
|
return reactQuery.useQuery({
|
|
2348
|
-
queryKey:
|
|
2348
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.houseTemplateCandidates(workspaceId ?? ""),
|
|
2349
2349
|
enabled: enabled && !!workspaceId && arbi.hasWorkspace,
|
|
2350
2350
|
staleTime,
|
|
2351
2351
|
queryFn: () => arbi.houseTemplates.candidates()
|
|
@@ -2356,7 +2356,7 @@ function useSetWorkspaceHouseTemplate() {
|
|
|
2356
2356
|
const queryClient = reactQuery.useQueryClient();
|
|
2357
2357
|
return reactQuery.useMutation({
|
|
2358
2358
|
mutationFn: (documentId) => arbi.houseTemplates.setWorkspace(documentId),
|
|
2359
|
-
onSuccess: () => queryClient.invalidateQueries({ queryKey:
|
|
2359
|
+
onSuccess: () => queryClient.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workspaces() })
|
|
2360
2360
|
});
|
|
2361
2361
|
}
|
|
2362
2362
|
var supportsHouseTemplates = browser.houseTemplates.supportsHouseTemplates;
|
|
@@ -2457,11 +2457,11 @@ function useProfile(options) {
|
|
|
2457
2457
|
const { client, enabled } = useAccountClient();
|
|
2458
2458
|
const qc = reactQuery.useQueryClient();
|
|
2459
2459
|
React3.useEffect(
|
|
2460
|
-
() => client.onProfileChange(() => qc.setQueryData(
|
|
2460
|
+
() => client.onProfileChange(() => qc.setQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.profile(), client.profile())),
|
|
2461
2461
|
[client, qc]
|
|
2462
2462
|
);
|
|
2463
2463
|
return reactQuery.useQuery({
|
|
2464
|
-
queryKey:
|
|
2464
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.profile(),
|
|
2465
2465
|
queryFn: () => client.profile(),
|
|
2466
2466
|
enabled: (options?.enabled ?? true) && enabled,
|
|
2467
2467
|
staleTime: Infinity
|
|
@@ -2476,9 +2476,9 @@ function useUpdateProfile() {
|
|
|
2476
2476
|
return client.profile();
|
|
2477
2477
|
},
|
|
2478
2478
|
onSuccess: (profile) => {
|
|
2479
|
-
qc.setQueryData(
|
|
2480
|
-
void qc.invalidateQueries({ queryKey:
|
|
2481
|
-
return qc.invalidateQueries({ queryKey:
|
|
2479
|
+
qc.setQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.profile(), profile);
|
|
2480
|
+
void qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.identity() });
|
|
2481
|
+
return qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workspaces() });
|
|
2482
2482
|
}
|
|
2483
2483
|
});
|
|
2484
2484
|
}
|
|
@@ -2561,7 +2561,7 @@ function useConfirmEmailChange() {
|
|
|
2561
2561
|
const qc = reactQuery.useQueryClient();
|
|
2562
2562
|
return reactQuery.useMutation({
|
|
2563
2563
|
mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
|
|
2564
|
-
onSuccess: () => qc.setQueryData(
|
|
2564
|
+
onSuccess: () => qc.setQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.profile(), client.profile())
|
|
2565
2565
|
});
|
|
2566
2566
|
}
|
|
2567
2567
|
function useEmailChange({
|
|
@@ -2720,7 +2720,7 @@ function usePasswordChangeForm({
|
|
|
2720
2720
|
function useUserSettings(options) {
|
|
2721
2721
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2722
2722
|
return reactQuery.useQuery({
|
|
2723
|
-
queryKey:
|
|
2723
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings(),
|
|
2724
2724
|
queryFn: () => arbi.settings.get(),
|
|
2725
2725
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
2726
2726
|
});
|
|
@@ -2731,18 +2731,18 @@ function useUpdateUserSettings() {
|
|
|
2731
2731
|
return reactQuery.useMutation({
|
|
2732
2732
|
mutationFn: (patch) => arbi.settings.update(patch),
|
|
2733
2733
|
onMutate: async (patch) => {
|
|
2734
|
-
await qc.cancelQueries({ queryKey:
|
|
2735
|
-
const previous = qc.getQueryData(
|
|
2734
|
+
await qc.cancelQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings() });
|
|
2735
|
+
const previous = qc.getQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings());
|
|
2736
2736
|
qc.setQueryData(
|
|
2737
|
-
|
|
2737
|
+
chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings(),
|
|
2738
2738
|
(old) => old ? { ...old, ...patch } : old
|
|
2739
2739
|
);
|
|
2740
2740
|
return { previous };
|
|
2741
2741
|
},
|
|
2742
2742
|
onError: (_err, _patch, context) => {
|
|
2743
|
-
qc.setQueryData(
|
|
2743
|
+
qc.setQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings(), context?.previous);
|
|
2744
2744
|
},
|
|
2745
|
-
onSettled: () => qc.invalidateQueries({ queryKey:
|
|
2745
|
+
onSettled: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings() })
|
|
2746
2746
|
});
|
|
2747
2747
|
}
|
|
2748
2748
|
function toNotificationPreferences(stored, keys) {
|
|
@@ -2762,18 +2762,18 @@ function useNotificationPreferences(keys, options) {
|
|
|
2762
2762
|
const save = reactQuery.useMutation({
|
|
2763
2763
|
mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
|
|
2764
2764
|
onMutate: async (patch) => {
|
|
2765
|
-
await qc.cancelQueries({ queryKey:
|
|
2766
|
-
const previous = qc.getQueryData(
|
|
2765
|
+
await qc.cancelQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings() });
|
|
2766
|
+
const previous = qc.getQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings());
|
|
2767
2767
|
qc.setQueryData(
|
|
2768
|
-
|
|
2768
|
+
chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings(),
|
|
2769
2769
|
(old) => old ? { ...old, email_notifications: { ...old.email_notifications, ...patch } } : old
|
|
2770
2770
|
);
|
|
2771
2771
|
return { previous };
|
|
2772
2772
|
},
|
|
2773
2773
|
onError: (_err, _patch, context) => {
|
|
2774
|
-
qc.setQueryData(
|
|
2774
|
+
qc.setQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings(), context?.previous);
|
|
2775
2775
|
},
|
|
2776
|
-
onSettled: () => qc.invalidateQueries({ queryKey:
|
|
2776
|
+
onSettled: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings() })
|
|
2777
2777
|
});
|
|
2778
2778
|
const model = React3.useMemo(() => toNotificationPreferences(stored, keys), [stored, keys]);
|
|
2779
2779
|
const setAll = React3.useCallback(
|
|
@@ -2800,18 +2800,18 @@ function useRelevanceSave() {
|
|
|
2800
2800
|
return reactQuery.useMutation({
|
|
2801
2801
|
mutationFn: (patch) => arbi.settings.update(patch),
|
|
2802
2802
|
onMutate: async (patch) => {
|
|
2803
|
-
await qc.cancelQueries({ queryKey:
|
|
2804
|
-
const previous = qc.getQueryData(
|
|
2803
|
+
await qc.cancelQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings() });
|
|
2804
|
+
const previous = qc.getQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings());
|
|
2805
2805
|
qc.setQueryData(
|
|
2806
|
-
|
|
2806
|
+
chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings(),
|
|
2807
2807
|
(old) => old ? { ...old, ...patch } : old
|
|
2808
2808
|
);
|
|
2809
2809
|
return { previous };
|
|
2810
2810
|
},
|
|
2811
2811
|
onError: (_err, _patch, context) => {
|
|
2812
|
-
qc.setQueryData(
|
|
2812
|
+
qc.setQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings(), context?.previous);
|
|
2813
2813
|
},
|
|
2814
|
-
onSettled: () => qc.invalidateQueries({ queryKey:
|
|
2814
|
+
onSettled: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings() })
|
|
2815
2815
|
});
|
|
2816
2816
|
}
|
|
2817
2817
|
function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
@@ -2822,7 +2822,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
|
2822
2822
|
const setLevel = React3.useCallback(
|
|
2823
2823
|
(next) => {
|
|
2824
2824
|
if (!workspaceId) return;
|
|
2825
|
-
const current = qc.getQueryData(
|
|
2825
|
+
const current = qc.getQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings()) ?? settings.data;
|
|
2826
2826
|
save.mutate(browser.settings.workspaceLevelPatch(current, workspaceId, next));
|
|
2827
2827
|
},
|
|
2828
2828
|
[qc, save, settings.data, workspaceId]
|
|
@@ -2843,7 +2843,7 @@ function useFollowThread(conversationId, options) {
|
|
|
2843
2843
|
const setFollowing = React3.useCallback(
|
|
2844
2844
|
(on, callbacks) => {
|
|
2845
2845
|
if (!conversationId) return;
|
|
2846
|
-
const current = qc.getQueryData(
|
|
2846
|
+
const current = qc.getQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.userSettings()) ?? settings.data;
|
|
2847
2847
|
save.mutate(
|
|
2848
2848
|
{
|
|
2849
2849
|
followed_threads: browser.settings.withMembership(
|
|
@@ -2868,7 +2868,7 @@ function useFollowThread(conversationId, options) {
|
|
|
2868
2868
|
function useSessions(options) {
|
|
2869
2869
|
const { client, enabled } = useAccountClient();
|
|
2870
2870
|
return reactQuery.useQuery({
|
|
2871
|
-
queryKey:
|
|
2871
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.sessions(),
|
|
2872
2872
|
queryFn: () => client.listSessions(),
|
|
2873
2873
|
enabled: (options?.enabled ?? true) && enabled
|
|
2874
2874
|
});
|
|
@@ -2878,7 +2878,7 @@ function useTerminateSession() {
|
|
|
2878
2878
|
const qc = reactQuery.useQueryClient();
|
|
2879
2879
|
return reactQuery.useMutation({
|
|
2880
2880
|
mutationFn: (sessionId) => client.terminateSession(sessionId),
|
|
2881
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
2881
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.sessions() })
|
|
2882
2882
|
});
|
|
2883
2883
|
}
|
|
2884
2884
|
function useSignOut() {
|
|
@@ -3021,7 +3021,7 @@ function useIdentityVerificationFlow(api, {
|
|
|
3021
3021
|
const apiRef = React3.useRef(api);
|
|
3022
3022
|
apiRef.current = api;
|
|
3023
3023
|
const query = reactQuery.useQuery({
|
|
3024
|
-
queryKey:
|
|
3024
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.identity(),
|
|
3025
3025
|
queryFn: () => apiRef.current.status(),
|
|
3026
3026
|
enabled,
|
|
3027
3027
|
staleTime: 6e4
|
|
@@ -3039,7 +3039,7 @@ function useIdentityVerificationFlow(api, {
|
|
|
3039
3039
|
const lastVerified = React3.useRef(void 0);
|
|
3040
3040
|
const apply = React3.useCallback(
|
|
3041
3041
|
(next) => {
|
|
3042
|
-
qc.setQueryData(
|
|
3042
|
+
qc.setQueryData(chunkI7UUV7FP_cjs.arbiQueryKeys.identity(), next);
|
|
3043
3043
|
if (lastVerified.current !== void 0 && lastVerified.current !== next.verified) {
|
|
3044
3044
|
onVerifiedChange?.(next.verified);
|
|
3045
3045
|
}
|
|
@@ -3234,12 +3234,12 @@ function useIdentityVerification(options = {}) {
|
|
|
3234
3234
|
enabled,
|
|
3235
3235
|
formatPrice,
|
|
3236
3236
|
onVerifiedChange: (verified) => {
|
|
3237
|
-
void qc.invalidateQueries({ queryKey:
|
|
3237
|
+
void qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.profile() });
|
|
3238
3238
|
onVerifiedChange?.(verified);
|
|
3239
3239
|
},
|
|
3240
3240
|
onNameAccepted: (name) => {
|
|
3241
|
-
void qc.invalidateQueries({ queryKey:
|
|
3242
|
-
void qc.invalidateQueries({ queryKey:
|
|
3241
|
+
void qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.profile() });
|
|
3242
|
+
void qc.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.workspaces() });
|
|
3243
3243
|
onNameAccepted?.(name);
|
|
3244
3244
|
}
|
|
3245
3245
|
});
|
|
@@ -4511,7 +4511,7 @@ function useDeleteBookingPage() {
|
|
|
4511
4511
|
});
|
|
4512
4512
|
}
|
|
4513
4513
|
function useWorkspaceDocs(workspaceId) {
|
|
4514
|
-
const { data: docs = [], isLoading, isError } =
|
|
4514
|
+
const { data: docs = [], isLoading, isError } = chunkI7UUV7FP_cjs.useDocuments(workspaceId);
|
|
4515
4515
|
const docIds = React3.useMemo(
|
|
4516
4516
|
() => docs.map((d) => d.external_id).filter((id) => !!id),
|
|
4517
4517
|
[docs]
|
|
@@ -4519,7 +4519,7 @@ function useWorkspaceDocs(workspaceId) {
|
|
|
4519
4519
|
return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
|
|
4520
4520
|
}
|
|
4521
4521
|
function useAiTask() {
|
|
4522
|
-
const mutation =
|
|
4522
|
+
const mutation = chunkI7UUV7FP_cjs.useAssistantQuery();
|
|
4523
4523
|
const [status, setStatus] = React3.useState("idle");
|
|
4524
4524
|
const [text, setText] = React3.useState("");
|
|
4525
4525
|
const [stepCount, setStepCount] = React3.useState(0);
|
|
@@ -4688,7 +4688,7 @@ function AiAnswer({
|
|
|
4688
4688
|
}
|
|
4689
4689
|
),
|
|
4690
4690
|
hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4691
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4691
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQCQFV5KO_cjs.AiMarkdown, { isStreaming: running, children: text }),
|
|
4692
4692
|
!running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
|
|
4693
4693
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
|
|
4694
4694
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
|
|
@@ -4733,7 +4733,7 @@ function AiActionCard({
|
|
|
4733
4733
|
const p = typeof prompt === "function" ? prompt() : prompt;
|
|
4734
4734
|
void task.run(p, docIds);
|
|
4735
4735
|
};
|
|
4736
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4736
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQCQFV5KO_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
|
|
4737
4737
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
4738
4738
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
4739
4739
|
/* @__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" }) }),
|
|
@@ -4875,11 +4875,11 @@ function ArtifactCanvas({
|
|
|
4875
4875
|
children: active.title
|
|
4876
4876
|
}
|
|
4877
4877
|
),
|
|
4878
|
-
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4878
|
+
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkQCQFV5KO_cjs.Badge, { variant: "accent", className: "gap-1", children: [
|
|
4879
4879
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
|
|
4880
4880
|
" Redline"
|
|
4881
4881
|
] }),
|
|
4882
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4882
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkQCQFV5KO_cjs.Badge, { variant: "secondary", children: [
|
|
4883
4883
|
"v",
|
|
4884
4884
|
active.version
|
|
4885
4885
|
] }),
|
|
@@ -4935,7 +4935,7 @@ function ArtifactCanvas({
|
|
|
4935
4935
|
animate: { opacity: 1, y: 0 },
|
|
4936
4936
|
transition: { duration: 0.2 },
|
|
4937
4937
|
className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
|
|
4938
|
-
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(
|
|
4938
|
+
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(chunkQCQFV5KO_cjs.AiMarkdown, { children: active.content })
|
|
4939
4939
|
},
|
|
4940
4940
|
active.doc_ext_id
|
|
4941
4941
|
) }) })
|
|
@@ -4979,7 +4979,7 @@ function MessageArtifactCard({
|
|
|
4979
4979
|
const labels = labelsFor(mode);
|
|
4980
4980
|
const Icon = labels.Icon;
|
|
4981
4981
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4982
|
-
|
|
4982
|
+
chunkQCQFV5KO_cjs.Card,
|
|
4983
4983
|
{
|
|
4984
4984
|
variant: "outline",
|
|
4985
4985
|
className: "mt-3 flex items-center gap-3 px-3 py-2.5",
|
|
@@ -5124,7 +5124,7 @@ function DocSearch({
|
|
|
5124
5124
|
status === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": "doc-search-results", children: [
|
|
5125
5125
|
/* @__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` }),
|
|
5126
5126
|
results.slice(0, 8).map((r, i) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5127
|
-
|
|
5127
|
+
chunkQCQFV5KO_cjs.Card,
|
|
5128
5128
|
{
|
|
5129
5129
|
variant: "elevated",
|
|
5130
5130
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -5137,7 +5137,7 @@ function DocSearch({
|
|
|
5137
5137
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1 flex items-center gap-2", children: [
|
|
5138
5138
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 text-ai-accent" }),
|
|
5139
5139
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: r.docTitle || "Document" }),
|
|
5140
|
-
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5140
|
+
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkQCQFV5KO_cjs.Badge, { variant: "secondary", children: [
|
|
5141
5141
|
"p.",
|
|
5142
5142
|
r.page
|
|
5143
5143
|
] }),
|
|
@@ -5174,7 +5174,7 @@ Question: ${question}`,
|
|
|
5174
5174
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 space-y-3", "data-testid": "doc-qa", children: [
|
|
5175
5175
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
5176
5176
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5177
|
-
|
|
5177
|
+
chunkQCQFV5KO_cjs.Input,
|
|
5178
5178
|
{
|
|
5179
5179
|
value: q,
|
|
5180
5180
|
onChange: (e) => setQ(e.target.value),
|
|
@@ -5376,7 +5376,7 @@ var CitationPopover = ({
|
|
|
5376
5376
|
return () => {
|
|
5377
5377
|
if (!restoreFocusRef.current) return;
|
|
5378
5378
|
restoreFocusRef.current = false;
|
|
5379
|
-
if (triggerRef.current)
|
|
5379
|
+
if (triggerRef.current) chunkQCQFV5KO_cjs.returnFocusToMark(triggerRef.current);
|
|
5380
5380
|
};
|
|
5381
5381
|
}, [open]);
|
|
5382
5382
|
React3.useEffect(() => {
|
|
@@ -5577,7 +5577,7 @@ var CitationLink = ({
|
|
|
5577
5577
|
triggerRef,
|
|
5578
5578
|
children
|
|
5579
5579
|
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5580
|
-
|
|
5580
|
+
chunkQCQFV5KO_cjs.MarkMenu,
|
|
5581
5581
|
{
|
|
5582
5582
|
triggerRef,
|
|
5583
5583
|
items,
|
|
@@ -5618,8 +5618,8 @@ var FileIcon = ({ size = 16, className = "" }) => {
|
|
|
5618
5618
|
"path",
|
|
5619
5619
|
{
|
|
5620
5620
|
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
5621
|
-
fill:
|
|
5622
|
-
stroke:
|
|
5621
|
+
fill: chunkQCQFV5KO_cjs.FILE_TYPE_COLORS.generic,
|
|
5622
|
+
stroke: chunkQCQFV5KO_cjs.FILE_TYPE_COLORS.generic,
|
|
5623
5623
|
strokeWidth: "1",
|
|
5624
5624
|
strokeLinecap: "round",
|
|
5625
5625
|
strokeLinejoin: "round"
|
|
@@ -5630,7 +5630,7 @@ var FileIcon = ({ size = 16, className = "" }) => {
|
|
|
5630
5630
|
{
|
|
5631
5631
|
d: "M14 2v6h6",
|
|
5632
5632
|
fill: "none",
|
|
5633
|
-
stroke:
|
|
5633
|
+
stroke: chunkQCQFV5KO_cjs.FILE_TYPE_COLORS.white,
|
|
5634
5634
|
strokeWidth: "1",
|
|
5635
5635
|
strokeLinecap: "round",
|
|
5636
5636
|
strokeLinejoin: "round"
|
|
@@ -5968,7 +5968,7 @@ var ArbiBotIcon = ({ size = 24, className = "" }) => {
|
|
|
5968
5968
|
);
|
|
5969
5969
|
};
|
|
5970
5970
|
function getNotificationTypeMeta(type) {
|
|
5971
|
-
const WorkspaceIcon =
|
|
5971
|
+
const WorkspaceIcon = chunkQCQFV5KO_cjs.getEntityIcon("WORKSPACE");
|
|
5972
5972
|
switch (type) {
|
|
5973
5973
|
case "agent_input_requested":
|
|
5974
5974
|
return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Input needed" };
|
|
@@ -6101,7 +6101,7 @@ function describeActivity(content) {
|
|
|
6101
6101
|
}
|
|
6102
6102
|
default:
|
|
6103
6103
|
return {
|
|
6104
|
-
Icon: parsed.workspace_ext_id ?
|
|
6104
|
+
Icon: parsed.workspace_ext_id ? chunkQCQFV5KO_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
|
|
6105
6105
|
iconClassName: "text-muted-foreground",
|
|
6106
6106
|
title: humaniseEvent(parsed.event)
|
|
6107
6107
|
};
|
|
@@ -6131,7 +6131,7 @@ function ActivityFeed({
|
|
|
6131
6131
|
enabled,
|
|
6132
6132
|
"data-testid": testId = "activity-feed"
|
|
6133
6133
|
}) {
|
|
6134
|
-
const { data, isLoading, isError } =
|
|
6134
|
+
const { data, isLoading, isError } = chunkI7UUV7FP_cjs.useActivity({ limit, enabled });
|
|
6135
6135
|
if (isLoading) {
|
|
6136
6136
|
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: [
|
|
6137
6137
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
|
|
@@ -6208,12 +6208,12 @@ function useNotifications(options = {}) {
|
|
|
6208
6208
|
React3.useEffect(
|
|
6209
6209
|
() => ws?.subscribe((message) => {
|
|
6210
6210
|
if ("sender" in message && "recipient" in message)
|
|
6211
|
-
void queries.invalidateQueries({ queryKey:
|
|
6211
|
+
void queries.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allNotifications() });
|
|
6212
6212
|
}),
|
|
6213
6213
|
[ws, queries]
|
|
6214
6214
|
);
|
|
6215
6215
|
return reactQuery.useQuery({
|
|
6216
|
-
queryKey:
|
|
6216
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.notifications(limit),
|
|
6217
6217
|
queryFn: () => arbi.notifications.list({ limit }),
|
|
6218
6218
|
enabled: (options.enabled ?? true) && arbi.isLoggedIn
|
|
6219
6219
|
});
|
|
@@ -6223,7 +6223,7 @@ function useDeleteNotifications() {
|
|
|
6223
6223
|
const queries = reactQuery.useQueryClient();
|
|
6224
6224
|
return reactQuery.useMutation({
|
|
6225
6225
|
mutationFn: (ids) => arbi.notifications.delete(ids),
|
|
6226
|
-
onSuccess: () => queries.invalidateQueries({ queryKey:
|
|
6226
|
+
onSuccess: () => queries.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allNotifications() })
|
|
6227
6227
|
});
|
|
6228
6228
|
}
|
|
6229
6229
|
function useMarkNotificationsRead() {
|
|
@@ -6231,7 +6231,7 @@ function useMarkNotificationsRead() {
|
|
|
6231
6231
|
const queries = reactQuery.useQueryClient();
|
|
6232
6232
|
return reactQuery.useMutation({
|
|
6233
6233
|
mutationFn: (ids) => arbi.notifications.markRead(ids),
|
|
6234
|
-
onSuccess: () => queries.invalidateQueries({ queryKey:
|
|
6234
|
+
onSuccess: () => queries.invalidateQueries({ queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.allNotifications() })
|
|
6235
6235
|
});
|
|
6236
6236
|
}
|
|
6237
6237
|
|
|
@@ -6685,7 +6685,7 @@ function useDirectMessages(options) {
|
|
|
6685
6685
|
enabled
|
|
6686
6686
|
});
|
|
6687
6687
|
const contactsQuery = reactQuery.useQuery({
|
|
6688
|
-
queryKey:
|
|
6688
|
+
queryKey: chunkI7UUV7FP_cjs.arbiQueryKeys.contacts(),
|
|
6689
6689
|
queryFn: () => arbi.contacts.list(),
|
|
6690
6690
|
enabled
|
|
6691
6691
|
});
|
|
@@ -6771,7 +6771,7 @@ function DmAvatar({ user, className, size = "lg" }) {
|
|
|
6771
6771
|
const presence = useArbiWsStore((s) => s.presence[user.external_id]);
|
|
6772
6772
|
const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
|
|
6773
6773
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6774
|
-
|
|
6774
|
+
chunkQCQFV5KO_cjs.UserEntity,
|
|
6775
6775
|
{
|
|
6776
6776
|
variant: "icon",
|
|
6777
6777
|
size,
|
|
@@ -6781,7 +6781,7 @@ function DmAvatar({ user, className, size = "lg" }) {
|
|
|
6781
6781
|
initials: userInitials(user),
|
|
6782
6782
|
displayName: userDisplayName(user),
|
|
6783
6783
|
picture: user.picture,
|
|
6784
|
-
avatarStyle:
|
|
6784
|
+
avatarStyle: chunkQCQFV5KO_cjs.getEntityColorStyles(user.external_id),
|
|
6785
6785
|
isAgent: isAgentUser(user),
|
|
6786
6786
|
displayStatus
|
|
6787
6787
|
}
|
|
@@ -6837,10 +6837,10 @@ function ConversationList({
|
|
|
6837
6837
|
children: c.title ?? userDisplayName(peer)
|
|
6838
6838
|
}
|
|
6839
6839
|
),
|
|
6840
|
-
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6840
|
+
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkQCQFV5KO_cjs.AgentBadge, {}) : null)
|
|
6841
6841
|
] }),
|
|
6842
6842
|
c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6843
|
-
|
|
6843
|
+
chunkQCQFV5KO_cjs.Badge,
|
|
6844
6844
|
{
|
|
6845
6845
|
variant: "outline",
|
|
6846
6846
|
className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
|
|
@@ -6851,7 +6851,7 @@ function ConversationList({
|
|
|
6851
6851
|
// shouted louder than the message it was counting.
|
|
6852
6852
|
// Enough to catch the eye scanning the list, no more.
|
|
6853
6853
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6854
|
-
|
|
6854
|
+
chunkQCQFV5KO_cjs.Badge,
|
|
6855
6855
|
{
|
|
6856
6856
|
variant: "accent",
|
|
6857
6857
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -7176,7 +7176,7 @@ function DmComposer({
|
|
|
7176
7176
|
)
|
|
7177
7177
|
] }),
|
|
7178
7178
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7179
|
-
|
|
7179
|
+
chunkQCQFV5KO_cjs.Textarea,
|
|
7180
7180
|
{
|
|
7181
7181
|
ref: inputRef,
|
|
7182
7182
|
value: draft,
|
|
@@ -7270,9 +7270,9 @@ function StartByEmail({
|
|
|
7270
7270
|
void submit();
|
|
7271
7271
|
},
|
|
7272
7272
|
children: [
|
|
7273
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7273
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQCQFV5KO_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
|
|
7274
7274
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7275
|
-
|
|
7275
|
+
chunkQCQFV5KO_cjs.Input,
|
|
7276
7276
|
{
|
|
7277
7277
|
id: `${uid}-email`,
|
|
7278
7278
|
type: "email",
|
|
@@ -7286,9 +7286,9 @@ function StartByEmail({
|
|
|
7286
7286
|
}
|
|
7287
7287
|
),
|
|
7288
7288
|
email !== "" && !valid && /* @__PURE__ */ jsxRuntime.jsx("p", { id: `${uid}-bad`, className: "text-xs text-destructive", children: l.invalidEmail }),
|
|
7289
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7289
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQCQFV5KO_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
|
|
7290
7290
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7291
|
-
|
|
7291
|
+
chunkQCQFV5KO_cjs.Textarea,
|
|
7292
7292
|
{
|
|
7293
7293
|
id: `${uid}-text`,
|
|
7294
7294
|
value: text,
|
|
@@ -7505,7 +7505,7 @@ function ImageCropper({
|
|
|
7505
7505
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
7506
7506
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
|
|
7507
7507
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7508
|
-
|
|
7508
|
+
chunkQCQFV5KO_cjs.Slider,
|
|
7509
7509
|
{
|
|
7510
7510
|
value: [zoom],
|
|
7511
7511
|
onValueChange: ([v]) => setZoom(v ?? 1),
|
|
@@ -7968,10 +7968,10 @@ function DocumentTable({
|
|
|
7968
7968
|
extraColumns,
|
|
7969
7969
|
className
|
|
7970
7970
|
}) {
|
|
7971
|
-
const query =
|
|
7971
|
+
const query = chunkI7UUV7FP_cjs.useDocuments(workspaceId, { enabled: !documents });
|
|
7972
7972
|
const rows = documents ?? query.data ?? [];
|
|
7973
7973
|
const isLoading = !documents && query.isLoading;
|
|
7974
|
-
const tagsQuery =
|
|
7974
|
+
const tagsQuery = chunkI7UUV7FP_cjs.useTags(workspaceId);
|
|
7975
7975
|
const tagNameById = React3__default.default.useMemo(() => {
|
|
7976
7976
|
const map = /* @__PURE__ */ new Map();
|
|
7977
7977
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -8031,7 +8031,7 @@ function DocumentTable({
|
|
|
8031
8031
|
const doc = p.data;
|
|
8032
8032
|
if (!doc) return null;
|
|
8033
8033
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8034
|
-
|
|
8034
|
+
chunkQCQFV5KO_cjs.DocumentEntity,
|
|
8035
8035
|
{
|
|
8036
8036
|
doc,
|
|
8037
8037
|
size: "base",
|
|
@@ -8054,7 +8054,7 @@ function DocumentTable({
|
|
|
8054
8054
|
cellRenderer: (p) => {
|
|
8055
8055
|
const status = p.data?.status;
|
|
8056
8056
|
if (!status) return null;
|
|
8057
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8057
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkQCQFV5KO_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
|
|
8058
8058
|
}
|
|
8059
8059
|
},
|
|
8060
8060
|
{
|
|
@@ -8068,7 +8068,7 @@ function DocumentTable({
|
|
|
8068
8068
|
const doctags = p.data?.doctags ?? [];
|
|
8069
8069
|
if (doctags.length === 0) return null;
|
|
8070
8070
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center gap-1 py-1", children: doctags.map((dt) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
8071
|
-
|
|
8071
|
+
chunkQCQFV5KO_cjs.TagEntity,
|
|
8072
8072
|
{
|
|
8073
8073
|
size: "sm",
|
|
8074
8074
|
tag: {
|
|
@@ -8241,10 +8241,10 @@ function DocumentGallery({
|
|
|
8241
8241
|
minTileWidth = 148,
|
|
8242
8242
|
className
|
|
8243
8243
|
}) {
|
|
8244
|
-
const query =
|
|
8244
|
+
const query = chunkI7UUV7FP_cjs.useDocuments(workspaceId, { enabled: !documents });
|
|
8245
8245
|
const rows = documents ?? query.data ?? [];
|
|
8246
8246
|
const isLoading = !documents && query.isLoading;
|
|
8247
|
-
const tagsQuery =
|
|
8247
|
+
const tagsQuery = chunkI7UUV7FP_cjs.useTags(workspaceId);
|
|
8248
8248
|
const tagNameById = React3__default.default.useMemo(() => {
|
|
8249
8249
|
const map = /* @__PURE__ */ new Map();
|
|
8250
8250
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -8256,7 +8256,7 @@ function DocumentGallery({
|
|
|
8256
8256
|
() => rows.map((d) => d.external_id).filter((id) => !!id),
|
|
8257
8257
|
[rows]
|
|
8258
8258
|
);
|
|
8259
|
-
const thumbsQuery =
|
|
8259
|
+
const thumbsQuery = chunkI7UUV7FP_cjs.useThumbnails(docIds);
|
|
8260
8260
|
const thumbs = thumbsQuery.data ?? {};
|
|
8261
8261
|
const session = useArbiSessionStore();
|
|
8262
8262
|
const storeSelected = useArbiSessionState((s) => s.selectedDocumentIds);
|
|
@@ -8327,7 +8327,7 @@ function DocumentGallery({
|
|
|
8327
8327
|
(dt) => tagNameById.get(dt.tag_ext_id) ?? dt.tag_ext_id.slice(0, 8)
|
|
8328
8328
|
);
|
|
8329
8329
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-doc-id": id, "data-testid": "document-gallery-card", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8330
|
-
|
|
8330
|
+
chunkQCQFV5KO_cjs.DocumentCard,
|
|
8331
8331
|
{
|
|
8332
8332
|
doc,
|
|
8333
8333
|
thumbnailUrl: thumbs[id],
|
|
@@ -8365,8 +8365,8 @@ function DocumentReview({
|
|
|
8365
8365
|
onClose,
|
|
8366
8366
|
className
|
|
8367
8367
|
}) {
|
|
8368
|
-
const parsedQuery =
|
|
8369
|
-
const tagsQuery =
|
|
8368
|
+
const parsedQuery = chunkI7UUV7FP_cjs.useParsedDocument(docId, stage);
|
|
8369
|
+
const tagsQuery = chunkI7UUV7FP_cjs.useTags(workspaceId);
|
|
8370
8370
|
const tagNameById = React3__default.default.useMemo(() => {
|
|
8371
8371
|
const map = /* @__PURE__ */ new Map();
|
|
8372
8372
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -8433,7 +8433,7 @@ function DocumentReview({
|
|
|
8433
8433
|
findings.length ? ` \xB7 ${findings.length} findings` : ""
|
|
8434
8434
|
] })
|
|
8435
8435
|
] }),
|
|
8436
|
-
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8436
|
+
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunkQCQFV5KO_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
|
|
8437
8437
|
onClose ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8438
8438
|
"button",
|
|
8439
8439
|
{
|
|
@@ -8470,7 +8470,7 @@ function DocumentReview({
|
|
|
8470
8470
|
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",
|
|
8471
8471
|
children: [
|
|
8472
8472
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8473
|
-
|
|
8473
|
+
chunkQCQFV5KO_cjs.TagEntity,
|
|
8474
8474
|
{
|
|
8475
8475
|
size: "sm",
|
|
8476
8476
|
tag: {
|
|
@@ -8515,7 +8515,7 @@ function DocumentReview({
|
|
|
8515
8515
|
),
|
|
8516
8516
|
children: [
|
|
8517
8517
|
highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8518
|
-
|
|
8518
|
+
chunkQCQFV5KO_cjs.TagEntity,
|
|
8519
8519
|
{
|
|
8520
8520
|
size: "sm",
|
|
8521
8521
|
tag: {
|
|
@@ -8544,7 +8544,7 @@ function VoiceNoteRecorder({
|
|
|
8544
8544
|
isSaving = false,
|
|
8545
8545
|
transcribe
|
|
8546
8546
|
}) {
|
|
8547
|
-
const recorder =
|
|
8547
|
+
const recorder = chunkQCQFV5KO_cjs.useAudioRecorder();
|
|
8548
8548
|
const [transcript, setTranscript] = React3.useState(null);
|
|
8549
8549
|
const [isTranscribing, setIsTranscribing] = React3.useState(false);
|
|
8550
8550
|
React3.useEffect(() => {
|
|
@@ -8590,7 +8590,7 @@ function VoiceNoteRecorder({
|
|
|
8590
8590
|
] }),
|
|
8591
8591
|
(recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
8592
8592
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8593
|
-
|
|
8593
|
+
chunkQCQFV5KO_cjs.MicWaveformIndicator,
|
|
8594
8594
|
{
|
|
8595
8595
|
level: recorder.level,
|
|
8596
8596
|
elapsedMs: recorder.elapsedMs,
|
|
@@ -8712,7 +8712,7 @@ function DraftTitleControls({
|
|
|
8712
8712
|
}
|
|
8713
8713
|
),
|
|
8714
8714
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8715
|
-
|
|
8715
|
+
chunkQCQFV5KO_cjs.IconToggle,
|
|
8716
8716
|
{
|
|
8717
8717
|
icon: lucideReact.Sparkles,
|
|
8718
8718
|
isActive: autoRename,
|
|
@@ -8746,7 +8746,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
|
|
|
8746
8746
|
streamRef.current = media;
|
|
8747
8747
|
setStream(media);
|
|
8748
8748
|
} catch (err) {
|
|
8749
|
-
setError(
|
|
8749
|
+
setError(chunkQCQFV5KO_cjs.classifyMediaError(err, "camera"));
|
|
8750
8750
|
} finally {
|
|
8751
8751
|
setIsStarting(false);
|
|
8752
8752
|
}
|
|
@@ -8982,7 +8982,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
8982
8982
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
|
|
8983
8983
|
] }),
|
|
8984
8984
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-semibold uppercase tracking-wide text-red-500", children: "Rec" }),
|
|
8985
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children:
|
|
8985
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkQCQFV5KO_cjs.formatElapsed(recorder.elapsedMs) })
|
|
8986
8986
|
] }),
|
|
8987
8987
|
recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8988
8988
|
chunkWYZJLZ67_cjs.Button,
|
|
@@ -9083,243 +9083,243 @@ function hasVideoTrack(blob) {
|
|
|
9083
9083
|
|
|
9084
9084
|
Object.defineProperty(exports, "DOCUMENTS_FIRST_PAGE_MEASURE", {
|
|
9085
9085
|
enumerable: true,
|
|
9086
|
-
get: function () { return
|
|
9086
|
+
get: function () { return chunkI7UUV7FP_cjs.DOCUMENTS_FIRST_PAGE_MEASURE; }
|
|
9087
9087
|
});
|
|
9088
9088
|
Object.defineProperty(exports, "DOCUMENTS_FIRST_PAGE_SIZE", {
|
|
9089
9089
|
enumerable: true,
|
|
9090
|
-
get: function () { return
|
|
9090
|
+
get: function () { return chunkI7UUV7FP_cjs.DOCUMENTS_FIRST_PAGE_SIZE; }
|
|
9091
9091
|
});
|
|
9092
9092
|
Object.defineProperty(exports, "DOCUMENTS_PAGE_SIZE", {
|
|
9093
9093
|
enumerable: true,
|
|
9094
|
-
get: function () { return
|
|
9094
|
+
get: function () { return chunkI7UUV7FP_cjs.DOCUMENTS_PAGE_SIZE; }
|
|
9095
9095
|
});
|
|
9096
9096
|
Object.defineProperty(exports, "FINISHED_DOCUMENT_STATUSES", {
|
|
9097
9097
|
enumerable: true,
|
|
9098
|
-
get: function () { return
|
|
9098
|
+
get: function () { return chunkI7UUV7FP_cjs.FINISHED_DOCUMENT_STATUSES; }
|
|
9099
9099
|
});
|
|
9100
9100
|
Object.defineProperty(exports, "PROJECT_CREATION_DENIED_REASON", {
|
|
9101
9101
|
enumerable: true,
|
|
9102
|
-
get: function () { return
|
|
9102
|
+
get: function () { return chunkI7UUV7FP_cjs.PROJECT_CREATION_DENIED_REASON; }
|
|
9103
9103
|
});
|
|
9104
9104
|
Object.defineProperty(exports, "SIMILARITY_THRESHOLD", {
|
|
9105
9105
|
enumerable: true,
|
|
9106
|
-
get: function () { return
|
|
9106
|
+
get: function () { return chunkI7UUV7FP_cjs.SIMILARITY_THRESHOLD; }
|
|
9107
9107
|
});
|
|
9108
9108
|
Object.defineProperty(exports, "adjustTagCounts", {
|
|
9109
9109
|
enumerable: true,
|
|
9110
|
-
get: function () { return
|
|
9110
|
+
get: function () { return chunkI7UUV7FP_cjs.adjustTagCounts; }
|
|
9111
9111
|
});
|
|
9112
9112
|
Object.defineProperty(exports, "arbiMutationKeys", {
|
|
9113
9113
|
enumerable: true,
|
|
9114
|
-
get: function () { return
|
|
9114
|
+
get: function () { return chunkI7UUV7FP_cjs.arbiMutationKeys; }
|
|
9115
9115
|
});
|
|
9116
9116
|
Object.defineProperty(exports, "arbiQueryKeys", {
|
|
9117
9117
|
enumerable: true,
|
|
9118
|
-
get: function () { return
|
|
9118
|
+
get: function () { return chunkI7UUV7FP_cjs.arbiQueryKeys; }
|
|
9119
9119
|
});
|
|
9120
9120
|
Object.defineProperty(exports, "forgetDocuments", {
|
|
9121
9121
|
enumerable: true,
|
|
9122
|
-
get: function () { return
|
|
9122
|
+
get: function () { return chunkI7UUV7FP_cjs.forgetDocuments; }
|
|
9123
9123
|
});
|
|
9124
9124
|
Object.defineProperty(exports, "getCachedDocuments", {
|
|
9125
9125
|
enumerable: true,
|
|
9126
|
-
get: function () { return
|
|
9126
|
+
get: function () { return chunkI7UUV7FP_cjs.getCachedDocuments; }
|
|
9127
9127
|
});
|
|
9128
9128
|
Object.defineProperty(exports, "invalidateTagData", {
|
|
9129
9129
|
enumerable: true,
|
|
9130
|
-
get: function () { return
|
|
9130
|
+
get: function () { return chunkI7UUV7FP_cjs.invalidateTagData; }
|
|
9131
9131
|
});
|
|
9132
9132
|
Object.defineProperty(exports, "invalidateTagTables", {
|
|
9133
9133
|
enumerable: true,
|
|
9134
|
-
get: function () { return
|
|
9134
|
+
get: function () { return chunkI7UUV7FP_cjs.invalidateTagTables; }
|
|
9135
9135
|
});
|
|
9136
9136
|
Object.defineProperty(exports, "isDocumentsLoading", {
|
|
9137
9137
|
enumerable: true,
|
|
9138
|
-
get: function () { return
|
|
9138
|
+
get: function () { return chunkI7UUV7FP_cjs.isDocumentsLoading; }
|
|
9139
9139
|
});
|
|
9140
9140
|
Object.defineProperty(exports, "isUsageMetered", {
|
|
9141
9141
|
enumerable: true,
|
|
9142
|
-
get: function () { return
|
|
9142
|
+
get: function () { return chunkI7UUV7FP_cjs.isUsageMetered; }
|
|
9143
9143
|
});
|
|
9144
9144
|
Object.defineProperty(exports, "patchCachedDocument", {
|
|
9145
9145
|
enumerable: true,
|
|
9146
|
-
get: function () { return
|
|
9146
|
+
get: function () { return chunkI7UUV7FP_cjs.patchCachedDocument; }
|
|
9147
9147
|
});
|
|
9148
9148
|
Object.defineProperty(exports, "patchDocuments", {
|
|
9149
9149
|
enumerable: true,
|
|
9150
|
-
get: function () { return
|
|
9150
|
+
get: function () { return chunkI7UUV7FP_cjs.patchDocuments; }
|
|
9151
9151
|
});
|
|
9152
9152
|
Object.defineProperty(exports, "patchWorkspaceTags", {
|
|
9153
9153
|
enumerable: true,
|
|
9154
|
-
get: function () { return
|
|
9154
|
+
get: function () { return chunkI7UUV7FP_cjs.patchWorkspaceTags; }
|
|
9155
9155
|
});
|
|
9156
9156
|
Object.defineProperty(exports, "refreshDocuments", {
|
|
9157
9157
|
enumerable: true,
|
|
9158
|
-
get: function () { return
|
|
9158
|
+
get: function () { return chunkI7UUV7FP_cjs.refreshDocuments; }
|
|
9159
9159
|
});
|
|
9160
9160
|
Object.defineProperty(exports, "setCachedDocument", {
|
|
9161
9161
|
enumerable: true,
|
|
9162
|
-
get: function () { return
|
|
9162
|
+
get: function () { return chunkI7UUV7FP_cjs.setCachedDocument; }
|
|
9163
9163
|
});
|
|
9164
9164
|
Object.defineProperty(exports, "stopDocumentsLoading", {
|
|
9165
9165
|
enumerable: true,
|
|
9166
|
-
get: function () { return
|
|
9166
|
+
get: function () { return chunkI7UUV7FP_cjs.stopDocumentsLoading; }
|
|
9167
9167
|
});
|
|
9168
9168
|
Object.defineProperty(exports, "subscribeDocumentRows", {
|
|
9169
9169
|
enumerable: true,
|
|
9170
|
-
get: function () { return
|
|
9170
|
+
get: function () { return chunkI7UUV7FP_cjs.subscribeDocumentRows; }
|
|
9171
9171
|
});
|
|
9172
9172
|
Object.defineProperty(exports, "upsertDocuments", {
|
|
9173
9173
|
enumerable: true,
|
|
9174
|
-
get: function () { return
|
|
9174
|
+
get: function () { return chunkI7UUV7FP_cjs.upsertDocuments; }
|
|
9175
9175
|
});
|
|
9176
9176
|
Object.defineProperty(exports, "useActivity", {
|
|
9177
9177
|
enumerable: true,
|
|
9178
|
-
get: function () { return
|
|
9178
|
+
get: function () { return chunkI7UUV7FP_cjs.useActivity; }
|
|
9179
9179
|
});
|
|
9180
9180
|
Object.defineProperty(exports, "useAgents", {
|
|
9181
9181
|
enumerable: true,
|
|
9182
|
-
get: function () { return
|
|
9182
|
+
get: function () { return chunkI7UUV7FP_cjs.useAgents; }
|
|
9183
9183
|
});
|
|
9184
9184
|
Object.defineProperty(exports, "useAssistantQuery", {
|
|
9185
9185
|
enumerable: true,
|
|
9186
|
-
get: function () { return
|
|
9186
|
+
get: function () { return chunkI7UUV7FP_cjs.useAssistantQuery; }
|
|
9187
9187
|
});
|
|
9188
9188
|
Object.defineProperty(exports, "useAvailableModels", {
|
|
9189
9189
|
enumerable: true,
|
|
9190
|
-
get: function () { return
|
|
9190
|
+
get: function () { return chunkI7UUV7FP_cjs.useAvailableModels; }
|
|
9191
9191
|
});
|
|
9192
9192
|
Object.defineProperty(exports, "useCanCreateProjects", {
|
|
9193
9193
|
enumerable: true,
|
|
9194
|
-
get: function () { return
|
|
9194
|
+
get: function () { return chunkI7UUV7FP_cjs.useCanCreateProjects; }
|
|
9195
9195
|
});
|
|
9196
9196
|
Object.defineProperty(exports, "useConfigs", {
|
|
9197
9197
|
enumerable: true,
|
|
9198
|
-
get: function () { return
|
|
9198
|
+
get: function () { return chunkI7UUV7FP_cjs.useConfigs; }
|
|
9199
9199
|
});
|
|
9200
9200
|
Object.defineProperty(exports, "useConversationThreads", {
|
|
9201
9201
|
enumerable: true,
|
|
9202
|
-
get: function () { return
|
|
9202
|
+
get: function () { return chunkI7UUV7FP_cjs.useConversationThreads; }
|
|
9203
9203
|
});
|
|
9204
9204
|
Object.defineProperty(exports, "useConversations", {
|
|
9205
9205
|
enumerable: true,
|
|
9206
|
-
get: function () { return
|
|
9206
|
+
get: function () { return chunkI7UUV7FP_cjs.useConversations; }
|
|
9207
9207
|
});
|
|
9208
9208
|
Object.defineProperty(exports, "useCreateTag", {
|
|
9209
9209
|
enumerable: true,
|
|
9210
|
-
get: function () { return
|
|
9210
|
+
get: function () { return chunkI7UUV7FP_cjs.useCreateTag; }
|
|
9211
9211
|
});
|
|
9212
9212
|
Object.defineProperty(exports, "useCurrentUser", {
|
|
9213
9213
|
enumerable: true,
|
|
9214
|
-
get: function () { return
|
|
9214
|
+
get: function () { return chunkI7UUV7FP_cjs.useCurrentUser; }
|
|
9215
9215
|
});
|
|
9216
9216
|
Object.defineProperty(exports, "useDeleteAgents", {
|
|
9217
9217
|
enumerable: true,
|
|
9218
|
-
get: function () { return
|
|
9218
|
+
get: function () { return chunkI7UUV7FP_cjs.useDeleteAgents; }
|
|
9219
9219
|
});
|
|
9220
9220
|
Object.defineProperty(exports, "useDeleteTag", {
|
|
9221
9221
|
enumerable: true,
|
|
9222
|
-
get: function () { return
|
|
9222
|
+
get: function () { return chunkI7UUV7FP_cjs.useDeleteTag; }
|
|
9223
9223
|
});
|
|
9224
9224
|
Object.defineProperty(exports, "useDocument", {
|
|
9225
9225
|
enumerable: true,
|
|
9226
|
-
get: function () { return
|
|
9226
|
+
get: function () { return chunkI7UUV7FP_cjs.useDocument; }
|
|
9227
9227
|
});
|
|
9228
9228
|
Object.defineProperty(exports, "useDocumentVersionList", {
|
|
9229
9229
|
enumerable: true,
|
|
9230
|
-
get: function () { return
|
|
9230
|
+
get: function () { return chunkI7UUV7FP_cjs.useDocumentVersionList; }
|
|
9231
9231
|
});
|
|
9232
9232
|
Object.defineProperty(exports, "useDocuments", {
|
|
9233
9233
|
enumerable: true,
|
|
9234
|
-
get: function () { return
|
|
9234
|
+
get: function () { return chunkI7UUV7FP_cjs.useDocuments; }
|
|
9235
9235
|
});
|
|
9236
9236
|
Object.defineProperty(exports, "useDocumentsById", {
|
|
9237
9237
|
enumerable: true,
|
|
9238
|
-
get: function () { return
|
|
9238
|
+
get: function () { return chunkI7UUV7FP_cjs.useDocumentsById; }
|
|
9239
9239
|
});
|
|
9240
9240
|
Object.defineProperty(exports, "useDocumentsLoading", {
|
|
9241
9241
|
enumerable: true,
|
|
9242
|
-
get: function () { return
|
|
9242
|
+
get: function () { return chunkI7UUV7FP_cjs.useDocumentsLoading; }
|
|
9243
9243
|
});
|
|
9244
9244
|
Object.defineProperty(exports, "useExtractEntities", {
|
|
9245
9245
|
enumerable: true,
|
|
9246
|
-
get: function () { return
|
|
9246
|
+
get: function () { return chunkI7UUV7FP_cjs.useExtractEntities; }
|
|
9247
9247
|
});
|
|
9248
9248
|
Object.defineProperty(exports, "useFirmPool", {
|
|
9249
9249
|
enumerable: true,
|
|
9250
|
-
get: function () { return
|
|
9250
|
+
get: function () { return chunkI7UUV7FP_cjs.useFirmPool; }
|
|
9251
9251
|
});
|
|
9252
9252
|
Object.defineProperty(exports, "useHealth", {
|
|
9253
9253
|
enumerable: true,
|
|
9254
|
-
get: function () { return
|
|
9254
|
+
get: function () { return chunkI7UUV7FP_cjs.useHealth; }
|
|
9255
9255
|
});
|
|
9256
9256
|
Object.defineProperty(exports, "useInvalidateTagData", {
|
|
9257
9257
|
enumerable: true,
|
|
9258
|
-
get: function () { return
|
|
9258
|
+
get: function () { return chunkI7UUV7FP_cjs.useInvalidateTagData; }
|
|
9259
9259
|
});
|
|
9260
9260
|
Object.defineProperty(exports, "useParsedDocument", {
|
|
9261
9261
|
enumerable: true,
|
|
9262
|
-
get: function () { return
|
|
9262
|
+
get: function () { return chunkI7UUV7FP_cjs.useParsedDocument; }
|
|
9263
9263
|
});
|
|
9264
9264
|
Object.defineProperty(exports, "useProjectInvoices", {
|
|
9265
9265
|
enumerable: true,
|
|
9266
|
-
get: function () { return
|
|
9266
|
+
get: function () { return chunkI7UUV7FP_cjs.useProjectInvoices; }
|
|
9267
9267
|
});
|
|
9268
9268
|
Object.defineProperty(exports, "useProjectUsage", {
|
|
9269
9269
|
enumerable: true,
|
|
9270
|
-
get: function () { return
|
|
9270
|
+
get: function () { return chunkI7UUV7FP_cjs.useProjectUsage; }
|
|
9271
9271
|
});
|
|
9272
9272
|
Object.defineProperty(exports, "useProjects", {
|
|
9273
9273
|
enumerable: true,
|
|
9274
|
-
get: function () { return
|
|
9274
|
+
get: function () { return chunkI7UUV7FP_cjs.useProjects; }
|
|
9275
9275
|
});
|
|
9276
9276
|
Object.defineProperty(exports, "useProjectsUsage", {
|
|
9277
9277
|
enumerable: true,
|
|
9278
|
-
get: function () { return
|
|
9278
|
+
get: function () { return chunkI7UUV7FP_cjs.useProjectsUsage; }
|
|
9279
9279
|
});
|
|
9280
9280
|
Object.defineProperty(exports, "useSetTagValues", {
|
|
9281
9281
|
enumerable: true,
|
|
9282
|
-
get: function () { return
|
|
9282
|
+
get: function () { return chunkI7UUV7FP_cjs.useSetTagValues; }
|
|
9283
9283
|
});
|
|
9284
9284
|
Object.defineProperty(exports, "useSimilarDocuments", {
|
|
9285
9285
|
enumerable: true,
|
|
9286
|
-
get: function () { return
|
|
9286
|
+
get: function () { return chunkI7UUV7FP_cjs.useSimilarDocuments; }
|
|
9287
9287
|
});
|
|
9288
9288
|
Object.defineProperty(exports, "useTagKindSchema", {
|
|
9289
9289
|
enumerable: true,
|
|
9290
|
-
get: function () { return
|
|
9290
|
+
get: function () { return chunkI7UUV7FP_cjs.useTagKindSchema; }
|
|
9291
9291
|
});
|
|
9292
9292
|
Object.defineProperty(exports, "useTags", {
|
|
9293
9293
|
enumerable: true,
|
|
9294
|
-
get: function () { return
|
|
9294
|
+
get: function () { return chunkI7UUV7FP_cjs.useTags; }
|
|
9295
9295
|
});
|
|
9296
9296
|
Object.defineProperty(exports, "useThumbnails", {
|
|
9297
9297
|
enumerable: true,
|
|
9298
|
-
get: function () { return
|
|
9298
|
+
get: function () { return chunkI7UUV7FP_cjs.useThumbnails; }
|
|
9299
9299
|
});
|
|
9300
9300
|
Object.defineProperty(exports, "useTopUpFirmPool", {
|
|
9301
9301
|
enumerable: true,
|
|
9302
|
-
get: function () { return
|
|
9302
|
+
get: function () { return chunkI7UUV7FP_cjs.useTopUpFirmPool; }
|
|
9303
9303
|
});
|
|
9304
9304
|
Object.defineProperty(exports, "useUpdateTag", {
|
|
9305
9305
|
enumerable: true,
|
|
9306
|
-
get: function () { return
|
|
9306
|
+
get: function () { return chunkI7UUV7FP_cjs.useUpdateTag; }
|
|
9307
9307
|
});
|
|
9308
9308
|
Object.defineProperty(exports, "useUpdateTagKindSchema", {
|
|
9309
9309
|
enumerable: true,
|
|
9310
|
-
get: function () { return
|
|
9310
|
+
get: function () { return chunkI7UUV7FP_cjs.useUpdateTagKindSchema; }
|
|
9311
9311
|
});
|
|
9312
9312
|
Object.defineProperty(exports, "useUserUsageToday", {
|
|
9313
9313
|
enumerable: true,
|
|
9314
|
-
get: function () { return
|
|
9314
|
+
get: function () { return chunkI7UUV7FP_cjs.useUserUsageToday; }
|
|
9315
9315
|
});
|
|
9316
9316
|
Object.defineProperty(exports, "useWorkspaceActivity", {
|
|
9317
9317
|
enumerable: true,
|
|
9318
|
-
get: function () { return
|
|
9318
|
+
get: function () { return chunkI7UUV7FP_cjs.useWorkspaceActivity; }
|
|
9319
9319
|
});
|
|
9320
9320
|
Object.defineProperty(exports, "useWorkspaces", {
|
|
9321
9321
|
enumerable: true,
|
|
9322
|
-
get: function () { return
|
|
9322
|
+
get: function () { return chunkI7UUV7FP_cjs.useWorkspaces; }
|
|
9323
9323
|
});
|
|
9324
9324
|
Object.defineProperty(exports, "cleanDraftMarkdown", {
|
|
9325
9325
|
enumerable: true,
|
|
@@ -9427,659 +9427,631 @@ Object.defineProperty(exports, "useNotify", {
|
|
|
9427
9427
|
});
|
|
9428
9428
|
Object.defineProperty(exports, "AUDIO_MIME_PREFERENCE", {
|
|
9429
9429
|
enumerable: true,
|
|
9430
|
-
get: function () { return
|
|
9430
|
+
get: function () { return chunkQCQFV5KO_cjs.AUDIO_MIME_PREFERENCE; }
|
|
9431
9431
|
});
|
|
9432
9432
|
Object.defineProperty(exports, "AgentBadge", {
|
|
9433
9433
|
enumerable: true,
|
|
9434
|
-
get: function () { return
|
|
9434
|
+
get: function () { return chunkQCQFV5KO_cjs.AgentBadge; }
|
|
9435
9435
|
});
|
|
9436
9436
|
Object.defineProperty(exports, "AiMarkdown", {
|
|
9437
9437
|
enumerable: true,
|
|
9438
|
-
get: function () { return
|
|
9438
|
+
get: function () { return chunkQCQFV5KO_cjs.AiMarkdown; }
|
|
9439
9439
|
});
|
|
9440
9440
|
Object.defineProperty(exports, "ArbiBotHeadIcon", {
|
|
9441
9441
|
enumerable: true,
|
|
9442
|
-
get: function () { return
|
|
9442
|
+
get: function () { return chunkQCQFV5KO_cjs.ArbiBotHeadIcon; }
|
|
9443
9443
|
});
|
|
9444
9444
|
Object.defineProperty(exports, "ArbiIcon", {
|
|
9445
9445
|
enumerable: true,
|
|
9446
|
-
get: function () { return
|
|
9446
|
+
get: function () { return chunkQCQFV5KO_cjs.ArbiIcon; }
|
|
9447
9447
|
});
|
|
9448
9448
|
Object.defineProperty(exports, "AudIcon", {
|
|
9449
9449
|
enumerable: true,
|
|
9450
|
-
get: function () { return
|
|
9450
|
+
get: function () { return chunkQCQFV5KO_cjs.AudIcon; }
|
|
9451
9451
|
});
|
|
9452
9452
|
Object.defineProperty(exports, "Avatar", {
|
|
9453
9453
|
enumerable: true,
|
|
9454
|
-
get: function () { return
|
|
9454
|
+
get: function () { return chunkQCQFV5KO_cjs.Avatar; }
|
|
9455
9455
|
});
|
|
9456
9456
|
Object.defineProperty(exports, "AvatarFallback", {
|
|
9457
9457
|
enumerable: true,
|
|
9458
|
-
get: function () { return
|
|
9458
|
+
get: function () { return chunkQCQFV5KO_cjs.AvatarFallback; }
|
|
9459
9459
|
});
|
|
9460
9460
|
Object.defineProperty(exports, "AvatarImage", {
|
|
9461
9461
|
enumerable: true,
|
|
9462
|
-
get: function () { return
|
|
9462
|
+
get: function () { return chunkQCQFV5KO_cjs.AvatarImage; }
|
|
9463
9463
|
});
|
|
9464
9464
|
Object.defineProperty(exports, "BASE_COLORS", {
|
|
9465
9465
|
enumerable: true,
|
|
9466
|
-
get: function () { return
|
|
9466
|
+
get: function () { return chunkQCQFV5KO_cjs.BASE_COLORS; }
|
|
9467
9467
|
});
|
|
9468
9468
|
Object.defineProperty(exports, "Badge", {
|
|
9469
9469
|
enumerable: true,
|
|
9470
|
-
get: function () { return
|
|
9470
|
+
get: function () { return chunkQCQFV5KO_cjs.Badge; }
|
|
9471
9471
|
});
|
|
9472
9472
|
Object.defineProperty(exports, "Card", {
|
|
9473
9473
|
enumerable: true,
|
|
9474
|
-
get: function () { return
|
|
9474
|
+
get: function () { return chunkQCQFV5KO_cjs.Card; }
|
|
9475
9475
|
});
|
|
9476
9476
|
Object.defineProperty(exports, "CardContent", {
|
|
9477
9477
|
enumerable: true,
|
|
9478
|
-
get: function () { return
|
|
9478
|
+
get: function () { return chunkQCQFV5KO_cjs.CardContent; }
|
|
9479
9479
|
});
|
|
9480
9480
|
Object.defineProperty(exports, "CardDescription", {
|
|
9481
9481
|
enumerable: true,
|
|
9482
|
-
get: function () { return
|
|
9482
|
+
get: function () { return chunkQCQFV5KO_cjs.CardDescription; }
|
|
9483
9483
|
});
|
|
9484
9484
|
Object.defineProperty(exports, "CardFooter", {
|
|
9485
9485
|
enumerable: true,
|
|
9486
|
-
get: function () { return
|
|
9486
|
+
get: function () { return chunkQCQFV5KO_cjs.CardFooter; }
|
|
9487
9487
|
});
|
|
9488
9488
|
Object.defineProperty(exports, "CardHeader", {
|
|
9489
9489
|
enumerable: true,
|
|
9490
|
-
get: function () { return
|
|
9490
|
+
get: function () { return chunkQCQFV5KO_cjs.CardHeader; }
|
|
9491
9491
|
});
|
|
9492
9492
|
Object.defineProperty(exports, "CardTitle", {
|
|
9493
9493
|
enumerable: true,
|
|
9494
|
-
get: function () { return
|
|
9494
|
+
get: function () { return chunkQCQFV5KO_cjs.CardTitle; }
|
|
9495
9495
|
});
|
|
9496
9496
|
Object.defineProperty(exports, "Checkbox", {
|
|
9497
9497
|
enumerable: true,
|
|
9498
|
-
get: function () { return
|
|
9498
|
+
get: function () { return chunkQCQFV5KO_cjs.Checkbox; }
|
|
9499
9499
|
});
|
|
9500
9500
|
Object.defineProperty(exports, "Collapsible", {
|
|
9501
9501
|
enumerable: true,
|
|
9502
|
-
get: function () { return
|
|
9502
|
+
get: function () { return chunkQCQFV5KO_cjs.Collapsible; }
|
|
9503
9503
|
});
|
|
9504
9504
|
Object.defineProperty(exports, "CollapsibleContent", {
|
|
9505
9505
|
enumerable: true,
|
|
9506
|
-
get: function () { return
|
|
9506
|
+
get: function () { return chunkQCQFV5KO_cjs.CollapsibleContent; }
|
|
9507
9507
|
});
|
|
9508
9508
|
Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
9509
9509
|
enumerable: true,
|
|
9510
|
-
get: function () { return
|
|
9510
|
+
get: function () { return chunkQCQFV5KO_cjs.CollapsibleTrigger; }
|
|
9511
9511
|
});
|
|
9512
9512
|
Object.defineProperty(exports, "Command", {
|
|
9513
9513
|
enumerable: true,
|
|
9514
|
-
get: function () { return
|
|
9514
|
+
get: function () { return chunkQCQFV5KO_cjs.Command; }
|
|
9515
9515
|
});
|
|
9516
9516
|
Object.defineProperty(exports, "CommandDialog", {
|
|
9517
9517
|
enumerable: true,
|
|
9518
|
-
get: function () { return
|
|
9518
|
+
get: function () { return chunkQCQFV5KO_cjs.CommandDialog; }
|
|
9519
9519
|
});
|
|
9520
9520
|
Object.defineProperty(exports, "CommandEmpty", {
|
|
9521
9521
|
enumerable: true,
|
|
9522
|
-
get: function () { return
|
|
9522
|
+
get: function () { return chunkQCQFV5KO_cjs.CommandEmpty; }
|
|
9523
9523
|
});
|
|
9524
9524
|
Object.defineProperty(exports, "CommandGroup", {
|
|
9525
9525
|
enumerable: true,
|
|
9526
|
-
get: function () { return
|
|
9526
|
+
get: function () { return chunkQCQFV5KO_cjs.CommandGroup; }
|
|
9527
9527
|
});
|
|
9528
9528
|
Object.defineProperty(exports, "CommandInput", {
|
|
9529
9529
|
enumerable: true,
|
|
9530
|
-
get: function () { return
|
|
9530
|
+
get: function () { return chunkQCQFV5KO_cjs.CommandInput; }
|
|
9531
9531
|
});
|
|
9532
9532
|
Object.defineProperty(exports, "CommandItem", {
|
|
9533
9533
|
enumerable: true,
|
|
9534
|
-
get: function () { return
|
|
9534
|
+
get: function () { return chunkQCQFV5KO_cjs.CommandItem; }
|
|
9535
9535
|
});
|
|
9536
9536
|
Object.defineProperty(exports, "CommandList", {
|
|
9537
9537
|
enumerable: true,
|
|
9538
|
-
get: function () { return
|
|
9538
|
+
get: function () { return chunkQCQFV5KO_cjs.CommandList; }
|
|
9539
9539
|
});
|
|
9540
9540
|
Object.defineProperty(exports, "CommandSeparator", {
|
|
9541
9541
|
enumerable: true,
|
|
9542
|
-
get: function () { return
|
|
9542
|
+
get: function () { return chunkQCQFV5KO_cjs.CommandSeparator; }
|
|
9543
9543
|
});
|
|
9544
9544
|
Object.defineProperty(exports, "CommandShortcut", {
|
|
9545
9545
|
enumerable: true,
|
|
9546
|
-
get: function () { return
|
|
9546
|
+
get: function () { return chunkQCQFV5KO_cjs.CommandShortcut; }
|
|
9547
9547
|
});
|
|
9548
9548
|
Object.defineProperty(exports, "DEFAULT_SEGMENTER_CONFIG", {
|
|
9549
9549
|
enumerable: true,
|
|
9550
|
-
get: function () { return
|
|
9550
|
+
get: function () { return chunkQCQFV5KO_cjs.DEFAULT_SEGMENTER_CONFIG; }
|
|
9551
9551
|
});
|
|
9552
9552
|
Object.defineProperty(exports, "DebouncedInput", {
|
|
9553
9553
|
enumerable: true,
|
|
9554
|
-
get: function () { return
|
|
9554
|
+
get: function () { return chunkQCQFV5KO_cjs.DebouncedInput; }
|
|
9555
9555
|
});
|
|
9556
9556
|
Object.defineProperty(exports, "DictateProvider", {
|
|
9557
9557
|
enumerable: true,
|
|
9558
|
-
get: function () { return
|
|
9558
|
+
get: function () { return chunkQCQFV5KO_cjs.DictateProvider; }
|
|
9559
9559
|
});
|
|
9560
9560
|
Object.defineProperty(exports, "DocIcon", {
|
|
9561
9561
|
enumerable: true,
|
|
9562
|
-
get: function () { return
|
|
9562
|
+
get: function () { return chunkQCQFV5KO_cjs.DocIcon; }
|
|
9563
9563
|
});
|
|
9564
9564
|
Object.defineProperty(exports, "DocumentCard", {
|
|
9565
9565
|
enumerable: true,
|
|
9566
|
-
get: function () { return
|
|
9566
|
+
get: function () { return chunkQCQFV5KO_cjs.DocumentCard; }
|
|
9567
9567
|
});
|
|
9568
9568
|
Object.defineProperty(exports, "DocumentEntity", {
|
|
9569
9569
|
enumerable: true,
|
|
9570
|
-
get: function () { return
|
|
9570
|
+
get: function () { return chunkQCQFV5KO_cjs.DocumentEntity; }
|
|
9571
9571
|
});
|
|
9572
9572
|
Object.defineProperty(exports, "ENTITY_MAPPINGS", {
|
|
9573
9573
|
enumerable: true,
|
|
9574
|
-
get: function () { return
|
|
9574
|
+
get: function () { return chunkQCQFV5KO_cjs.ENTITY_MAPPINGS; }
|
|
9575
9575
|
});
|
|
9576
9576
|
Object.defineProperty(exports, "EmlIcon", {
|
|
9577
9577
|
enumerable: true,
|
|
9578
|
-
get: function () { return
|
|
9578
|
+
get: function () { return chunkQCQFV5KO_cjs.EmlIcon; }
|
|
9579
9579
|
});
|
|
9580
9580
|
Object.defineProperty(exports, "EntityIcon", {
|
|
9581
9581
|
enumerable: true,
|
|
9582
|
-
get: function () { return
|
|
9582
|
+
get: function () { return chunkQCQFV5KO_cjs.EntityIcon; }
|
|
9583
9583
|
});
|
|
9584
9584
|
Object.defineProperty(exports, "EntityPill", {
|
|
9585
9585
|
enumerable: true,
|
|
9586
|
-
get: function () { return
|
|
9586
|
+
get: function () { return chunkQCQFV5KO_cjs.EntityPill; }
|
|
9587
9587
|
});
|
|
9588
9588
|
Object.defineProperty(exports, "FILE_TYPE_COLORS", {
|
|
9589
9589
|
enumerable: true,
|
|
9590
|
-
get: function () { return
|
|
9590
|
+
get: function () { return chunkQCQFV5KO_cjs.FILE_TYPE_COLORS; }
|
|
9591
9591
|
});
|
|
9592
9592
|
Object.defineProperty(exports, "HoverCard", {
|
|
9593
9593
|
enumerable: true,
|
|
9594
|
-
get: function () { return
|
|
9594
|
+
get: function () { return chunkQCQFV5KO_cjs.HoverCard; }
|
|
9595
9595
|
});
|
|
9596
9596
|
Object.defineProperty(exports, "HoverCardContent", {
|
|
9597
9597
|
enumerable: true,
|
|
9598
|
-
get: function () { return
|
|
9598
|
+
get: function () { return chunkQCQFV5KO_cjs.HoverCardContent; }
|
|
9599
9599
|
});
|
|
9600
9600
|
Object.defineProperty(exports, "HoverCardTrigger", {
|
|
9601
9601
|
enumerable: true,
|
|
9602
|
-
get: function () { return
|
|
9602
|
+
get: function () { return chunkQCQFV5KO_cjs.HoverCardTrigger; }
|
|
9603
9603
|
});
|
|
9604
9604
|
Object.defineProperty(exports, "HtmlIcon", {
|
|
9605
9605
|
enumerable: true,
|
|
9606
|
-
get: function () { return
|
|
9606
|
+
get: function () { return chunkQCQFV5KO_cjs.HtmlIcon; }
|
|
9607
9607
|
});
|
|
9608
9608
|
Object.defineProperty(exports, "INITIAL_SEGMENTER_STATE", {
|
|
9609
9609
|
enumerable: true,
|
|
9610
|
-
get: function () { return
|
|
9610
|
+
get: function () { return chunkQCQFV5KO_cjs.INITIAL_SEGMENTER_STATE; }
|
|
9611
9611
|
});
|
|
9612
9612
|
Object.defineProperty(exports, "IconToggle", {
|
|
9613
9613
|
enumerable: true,
|
|
9614
|
-
get: function () { return
|
|
9614
|
+
get: function () { return chunkQCQFV5KO_cjs.IconToggle; }
|
|
9615
9615
|
});
|
|
9616
9616
|
Object.defineProperty(exports, "ImgIcon", {
|
|
9617
9617
|
enumerable: true,
|
|
9618
|
-
get: function () { return
|
|
9618
|
+
get: function () { return chunkQCQFV5KO_cjs.ImgIcon; }
|
|
9619
9619
|
});
|
|
9620
9620
|
Object.defineProperty(exports, "InlineMicButton", {
|
|
9621
9621
|
enumerable: true,
|
|
9622
|
-
get: function () { return
|
|
9622
|
+
get: function () { return chunkQCQFV5KO_cjs.InlineMicButton; }
|
|
9623
9623
|
});
|
|
9624
9624
|
Object.defineProperty(exports, "Input", {
|
|
9625
9625
|
enumerable: true,
|
|
9626
|
-
get: function () { return
|
|
9626
|
+
get: function () { return chunkQCQFV5KO_cjs.Input; }
|
|
9627
9627
|
});
|
|
9628
9628
|
Object.defineProperty(exports, "Label", {
|
|
9629
9629
|
enumerable: true,
|
|
9630
|
-
get: function () { return
|
|
9630
|
+
get: function () { return chunkQCQFV5KO_cjs.Label; }
|
|
9631
9631
|
});
|
|
9632
9632
|
Object.defineProperty(exports, "MarkMenu", {
|
|
9633
9633
|
enumerable: true,
|
|
9634
|
-
get: function () { return
|
|
9634
|
+
get: function () { return chunkQCQFV5KO_cjs.MarkMenu; }
|
|
9635
9635
|
});
|
|
9636
9636
|
Object.defineProperty(exports, "MicRecordingOverlay", {
|
|
9637
9637
|
enumerable: true,
|
|
9638
|
-
get: function () { return
|
|
9638
|
+
get: function () { return chunkQCQFV5KO_cjs.MicRecordingOverlay; }
|
|
9639
9639
|
});
|
|
9640
9640
|
Object.defineProperty(exports, "MicWaveformIndicator", {
|
|
9641
9641
|
enumerable: true,
|
|
9642
|
-
get: function () { return
|
|
9642
|
+
get: function () { return chunkQCQFV5KO_cjs.MicWaveformIndicator; }
|
|
9643
9643
|
});
|
|
9644
9644
|
Object.defineProperty(exports, "NEUTRAL_GRAY", {
|
|
9645
9645
|
enumerable: true,
|
|
9646
|
-
get: function () { return
|
|
9646
|
+
get: function () { return chunkQCQFV5KO_cjs.NEUTRAL_GRAY; }
|
|
9647
9647
|
});
|
|
9648
9648
|
Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
|
|
9649
9649
|
enumerable: true,
|
|
9650
|
-
get: function () { return
|
|
9650
|
+
get: function () { return chunkQCQFV5KO_cjs.PLACEHOLDER_COLOR; }
|
|
9651
9651
|
});
|
|
9652
9652
|
Object.defineProperty(exports, "PassageCard", {
|
|
9653
9653
|
enumerable: true,
|
|
9654
|
-
get: function () { return
|
|
9654
|
+
get: function () { return chunkQCQFV5KO_cjs.PassageCard; }
|
|
9655
9655
|
});
|
|
9656
9656
|
Object.defineProperty(exports, "PdfIcon", {
|
|
9657
9657
|
enumerable: true,
|
|
9658
|
-
get: function () { return
|
|
9658
|
+
get: function () { return chunkQCQFV5KO_cjs.PdfIcon; }
|
|
9659
9659
|
});
|
|
9660
9660
|
Object.defineProperty(exports, "Popover", {
|
|
9661
9661
|
enumerable: true,
|
|
9662
|
-
get: function () { return
|
|
9662
|
+
get: function () { return chunkQCQFV5KO_cjs.Popover; }
|
|
9663
9663
|
});
|
|
9664
9664
|
Object.defineProperty(exports, "PopoverAnchor", {
|
|
9665
9665
|
enumerable: true,
|
|
9666
|
-
get: function () { return
|
|
9666
|
+
get: function () { return chunkQCQFV5KO_cjs.PopoverAnchor; }
|
|
9667
9667
|
});
|
|
9668
9668
|
Object.defineProperty(exports, "PopoverClose", {
|
|
9669
9669
|
enumerable: true,
|
|
9670
|
-
get: function () { return
|
|
9670
|
+
get: function () { return chunkQCQFV5KO_cjs.PopoverClose; }
|
|
9671
9671
|
});
|
|
9672
9672
|
Object.defineProperty(exports, "PopoverContent", {
|
|
9673
9673
|
enumerable: true,
|
|
9674
|
-
get: function () { return
|
|
9674
|
+
get: function () { return chunkQCQFV5KO_cjs.PopoverContent; }
|
|
9675
9675
|
});
|
|
9676
9676
|
Object.defineProperty(exports, "PopoverTrigger", {
|
|
9677
9677
|
enumerable: true,
|
|
9678
|
-
get: function () { return
|
|
9678
|
+
get: function () { return chunkQCQFV5KO_cjs.PopoverTrigger; }
|
|
9679
9679
|
});
|
|
9680
9680
|
Object.defineProperty(exports, "PresenceLabel", {
|
|
9681
9681
|
enumerable: true,
|
|
9682
|
-
get: function () { return
|
|
9682
|
+
get: function () { return chunkQCQFV5KO_cjs.PresenceLabel; }
|
|
9683
9683
|
});
|
|
9684
9684
|
Object.defineProperty(exports, "Progress", {
|
|
9685
9685
|
enumerable: true,
|
|
9686
|
-
get: function () { return
|
|
9686
|
+
get: function () { return chunkQCQFV5KO_cjs.Progress; }
|
|
9687
9687
|
});
|
|
9688
9688
|
Object.defineProperty(exports, "ProjectEntity", {
|
|
9689
9689
|
enumerable: true,
|
|
9690
|
-
get: function () { return
|
|
9690
|
+
get: function () { return chunkQCQFV5KO_cjs.ProjectEntity; }
|
|
9691
9691
|
});
|
|
9692
9692
|
Object.defineProperty(exports, "RadioGroup", {
|
|
9693
9693
|
enumerable: true,
|
|
9694
|
-
get: function () { return
|
|
9694
|
+
get: function () { return chunkQCQFV5KO_cjs.RadioGroup; }
|
|
9695
9695
|
});
|
|
9696
9696
|
Object.defineProperty(exports, "RadioGroupItem", {
|
|
9697
9697
|
enumerable: true,
|
|
9698
|
-
get: function () { return
|
|
9698
|
+
get: function () { return chunkQCQFV5KO_cjs.RadioGroupItem; }
|
|
9699
9699
|
});
|
|
9700
9700
|
Object.defineProperty(exports, "RagDot", {
|
|
9701
9701
|
enumerable: true,
|
|
9702
|
-
get: function () { return
|
|
9702
|
+
get: function () { return chunkQCQFV5KO_cjs.RagDot; }
|
|
9703
9703
|
});
|
|
9704
9704
|
Object.defineProperty(exports, "RelevanceDot", {
|
|
9705
9705
|
enumerable: true,
|
|
9706
|
-
get: function () { return
|
|
9706
|
+
get: function () { return chunkQCQFV5KO_cjs.RelevanceDot; }
|
|
9707
9707
|
});
|
|
9708
9708
|
Object.defineProperty(exports, "Select", {
|
|
9709
9709
|
enumerable: true,
|
|
9710
|
-
get: function () { return
|
|
9710
|
+
get: function () { return chunkQCQFV5KO_cjs.Select; }
|
|
9711
9711
|
});
|
|
9712
9712
|
Object.defineProperty(exports, "SelectContent", {
|
|
9713
9713
|
enumerable: true,
|
|
9714
|
-
get: function () { return
|
|
9714
|
+
get: function () { return chunkQCQFV5KO_cjs.SelectContent; }
|
|
9715
9715
|
});
|
|
9716
9716
|
Object.defineProperty(exports, "SelectGroup", {
|
|
9717
9717
|
enumerable: true,
|
|
9718
|
-
get: function () { return
|
|
9718
|
+
get: function () { return chunkQCQFV5KO_cjs.SelectGroup; }
|
|
9719
9719
|
});
|
|
9720
9720
|
Object.defineProperty(exports, "SelectItem", {
|
|
9721
9721
|
enumerable: true,
|
|
9722
|
-
get: function () { return
|
|
9722
|
+
get: function () { return chunkQCQFV5KO_cjs.SelectItem; }
|
|
9723
9723
|
});
|
|
9724
9724
|
Object.defineProperty(exports, "SelectLabel", {
|
|
9725
9725
|
enumerable: true,
|
|
9726
|
-
get: function () { return
|
|
9726
|
+
get: function () { return chunkQCQFV5KO_cjs.SelectLabel; }
|
|
9727
9727
|
});
|
|
9728
9728
|
Object.defineProperty(exports, "SelectScrollDownButton", {
|
|
9729
9729
|
enumerable: true,
|
|
9730
|
-
get: function () { return
|
|
9730
|
+
get: function () { return chunkQCQFV5KO_cjs.SelectScrollDownButton; }
|
|
9731
9731
|
});
|
|
9732
9732
|
Object.defineProperty(exports, "SelectScrollUpButton", {
|
|
9733
9733
|
enumerable: true,
|
|
9734
|
-
get: function () { return
|
|
9734
|
+
get: function () { return chunkQCQFV5KO_cjs.SelectScrollUpButton; }
|
|
9735
9735
|
});
|
|
9736
9736
|
Object.defineProperty(exports, "SelectSeparator", {
|
|
9737
9737
|
enumerable: true,
|
|
9738
|
-
get: function () { return
|
|
9738
|
+
get: function () { return chunkQCQFV5KO_cjs.SelectSeparator; }
|
|
9739
9739
|
});
|
|
9740
9740
|
Object.defineProperty(exports, "SelectTrigger", {
|
|
9741
9741
|
enumerable: true,
|
|
9742
|
-
get: function () { return
|
|
9742
|
+
get: function () { return chunkQCQFV5KO_cjs.SelectTrigger; }
|
|
9743
9743
|
});
|
|
9744
9744
|
Object.defineProperty(exports, "SelectValue", {
|
|
9745
9745
|
enumerable: true,
|
|
9746
|
-
get: function () { return
|
|
9746
|
+
get: function () { return chunkQCQFV5KO_cjs.SelectValue; }
|
|
9747
9747
|
});
|
|
9748
9748
|
Object.defineProperty(exports, "Separator", {
|
|
9749
9749
|
enumerable: true,
|
|
9750
|
-
get: function () { return
|
|
9750
|
+
get: function () { return chunkQCQFV5KO_cjs.Separator; }
|
|
9751
9751
|
});
|
|
9752
9752
|
Object.defineProperty(exports, "ShieldIcon", {
|
|
9753
9753
|
enumerable: true,
|
|
9754
|
-
get: function () { return
|
|
9754
|
+
get: function () { return chunkQCQFV5KO_cjs.ShieldIcon; }
|
|
9755
9755
|
});
|
|
9756
9756
|
Object.defineProperty(exports, "Slider", {
|
|
9757
9757
|
enumerable: true,
|
|
9758
|
-
get: function () { return
|
|
9758
|
+
get: function () { return chunkQCQFV5KO_cjs.Slider; }
|
|
9759
9759
|
});
|
|
9760
9760
|
Object.defineProperty(exports, "StatusPill", {
|
|
9761
9761
|
enumerable: true,
|
|
9762
|
-
get: function () { return
|
|
9762
|
+
get: function () { return chunkQCQFV5KO_cjs.StatusPill; }
|
|
9763
9763
|
});
|
|
9764
9764
|
Object.defineProperty(exports, "Switch", {
|
|
9765
9765
|
enumerable: true,
|
|
9766
|
-
get: function () { return
|
|
9766
|
+
get: function () { return chunkQCQFV5KO_cjs.Switch; }
|
|
9767
9767
|
});
|
|
9768
9768
|
Object.defineProperty(exports, "TAG_TYPE_ICONS", {
|
|
9769
9769
|
enumerable: true,
|
|
9770
|
-
get: function () { return
|
|
9770
|
+
get: function () { return chunkQCQFV5KO_cjs.TAG_TYPE_ICONS; }
|
|
9771
9771
|
});
|
|
9772
9772
|
Object.defineProperty(exports, "TAG_TYPE_LABELS", {
|
|
9773
9773
|
enumerable: true,
|
|
9774
|
-
get: function () { return
|
|
9774
|
+
get: function () { return chunkQCQFV5KO_cjs.TAG_TYPE_LABELS; }
|
|
9775
9775
|
});
|
|
9776
9776
|
Object.defineProperty(exports, "Table", {
|
|
9777
9777
|
enumerable: true,
|
|
9778
|
-
get: function () { return
|
|
9778
|
+
get: function () { return chunkQCQFV5KO_cjs.Table; }
|
|
9779
9779
|
});
|
|
9780
9780
|
Object.defineProperty(exports, "TableBody", {
|
|
9781
9781
|
enumerable: true,
|
|
9782
|
-
get: function () { return
|
|
9782
|
+
get: function () { return chunkQCQFV5KO_cjs.TableBody; }
|
|
9783
9783
|
});
|
|
9784
9784
|
Object.defineProperty(exports, "TableCaption", {
|
|
9785
9785
|
enumerable: true,
|
|
9786
|
-
get: function () { return
|
|
9786
|
+
get: function () { return chunkQCQFV5KO_cjs.TableCaption; }
|
|
9787
9787
|
});
|
|
9788
9788
|
Object.defineProperty(exports, "TableCell", {
|
|
9789
9789
|
enumerable: true,
|
|
9790
|
-
get: function () { return
|
|
9790
|
+
get: function () { return chunkQCQFV5KO_cjs.TableCell; }
|
|
9791
9791
|
});
|
|
9792
9792
|
Object.defineProperty(exports, "TableFooter", {
|
|
9793
9793
|
enumerable: true,
|
|
9794
|
-
get: function () { return
|
|
9794
|
+
get: function () { return chunkQCQFV5KO_cjs.TableFooter; }
|
|
9795
9795
|
});
|
|
9796
9796
|
Object.defineProperty(exports, "TableHead", {
|
|
9797
9797
|
enumerable: true,
|
|
9798
|
-
get: function () { return
|
|
9798
|
+
get: function () { return chunkQCQFV5KO_cjs.TableHead; }
|
|
9799
9799
|
});
|
|
9800
9800
|
Object.defineProperty(exports, "TableHeader", {
|
|
9801
9801
|
enumerable: true,
|
|
9802
|
-
get: function () { return
|
|
9802
|
+
get: function () { return chunkQCQFV5KO_cjs.TableHeader; }
|
|
9803
9803
|
});
|
|
9804
9804
|
Object.defineProperty(exports, "TableRow", {
|
|
9805
9805
|
enumerable: true,
|
|
9806
|
-
get: function () { return
|
|
9806
|
+
get: function () { return chunkQCQFV5KO_cjs.TableRow; }
|
|
9807
9807
|
});
|
|
9808
9808
|
Object.defineProperty(exports, "Tabs", {
|
|
9809
9809
|
enumerable: true,
|
|
9810
|
-
get: function () { return
|
|
9810
|
+
get: function () { return chunkQCQFV5KO_cjs.Tabs; }
|
|
9811
9811
|
});
|
|
9812
9812
|
Object.defineProperty(exports, "TabsContent", {
|
|
9813
9813
|
enumerable: true,
|
|
9814
|
-
get: function () { return
|
|
9814
|
+
get: function () { return chunkQCQFV5KO_cjs.TabsContent; }
|
|
9815
9815
|
});
|
|
9816
9816
|
Object.defineProperty(exports, "TabsList", {
|
|
9817
9817
|
enumerable: true,
|
|
9818
|
-
get: function () { return
|
|
9818
|
+
get: function () { return chunkQCQFV5KO_cjs.TabsList; }
|
|
9819
9819
|
});
|
|
9820
9820
|
Object.defineProperty(exports, "TabsTrigger", {
|
|
9821
9821
|
enumerable: true,
|
|
9822
|
-
get: function () { return
|
|
9822
|
+
get: function () { return chunkQCQFV5KO_cjs.TabsTrigger; }
|
|
9823
9823
|
});
|
|
9824
9824
|
Object.defineProperty(exports, "TagEntity", {
|
|
9825
9825
|
enumerable: true,
|
|
9826
|
-
get: function () { return
|
|
9826
|
+
get: function () { return chunkQCQFV5KO_cjs.TagEntity; }
|
|
9827
9827
|
});
|
|
9828
9828
|
Object.defineProperty(exports, "Textarea", {
|
|
9829
9829
|
enumerable: true,
|
|
9830
|
-
get: function () { return
|
|
9830
|
+
get: function () { return chunkQCQFV5KO_cjs.Textarea; }
|
|
9831
9831
|
});
|
|
9832
9832
|
Object.defineProperty(exports, "ThreadVisibilityIcon", {
|
|
9833
9833
|
enumerable: true,
|
|
9834
|
-
get: function () { return
|
|
9834
|
+
get: function () { return chunkQCQFV5KO_cjs.ThreadVisibilityIcon; }
|
|
9835
9835
|
});
|
|
9836
9836
|
Object.defineProperty(exports, "Toggle", {
|
|
9837
9837
|
enumerable: true,
|
|
9838
|
-
get: function () { return
|
|
9838
|
+
get: function () { return chunkQCQFV5KO_cjs.Toggle; }
|
|
9839
9839
|
});
|
|
9840
9840
|
Object.defineProperty(exports, "ToggleGroup", {
|
|
9841
9841
|
enumerable: true,
|
|
9842
|
-
get: function () { return
|
|
9842
|
+
get: function () { return chunkQCQFV5KO_cjs.ToggleGroup; }
|
|
9843
9843
|
});
|
|
9844
9844
|
Object.defineProperty(exports, "ToggleGroupItem", {
|
|
9845
9845
|
enumerable: true,
|
|
9846
|
-
get: function () { return
|
|
9846
|
+
get: function () { return chunkQCQFV5KO_cjs.ToggleGroupItem; }
|
|
9847
9847
|
});
|
|
9848
9848
|
Object.defineProperty(exports, "Tooltip", {
|
|
9849
9849
|
enumerable: true,
|
|
9850
|
-
get: function () { return
|
|
9850
|
+
get: function () { return chunkQCQFV5KO_cjs.Tooltip; }
|
|
9851
9851
|
});
|
|
9852
9852
|
Object.defineProperty(exports, "TooltipContent", {
|
|
9853
9853
|
enumerable: true,
|
|
9854
|
-
get: function () { return
|
|
9854
|
+
get: function () { return chunkQCQFV5KO_cjs.TooltipContent; }
|
|
9855
9855
|
});
|
|
9856
9856
|
Object.defineProperty(exports, "TooltipProvider", {
|
|
9857
9857
|
enumerable: true,
|
|
9858
|
-
get: function () { return
|
|
9858
|
+
get: function () { return chunkQCQFV5KO_cjs.TooltipProvider; }
|
|
9859
9859
|
});
|
|
9860
9860
|
Object.defineProperty(exports, "TooltipTrigger", {
|
|
9861
9861
|
enumerable: true,
|
|
9862
|
-
get: function () { return
|
|
9862
|
+
get: function () { return chunkQCQFV5KO_cjs.TooltipTrigger; }
|
|
9863
9863
|
});
|
|
9864
9864
|
Object.defineProperty(exports, "TxtIcon", {
|
|
9865
9865
|
enumerable: true,
|
|
9866
|
-
get: function () { return
|
|
9866
|
+
get: function () { return chunkQCQFV5KO_cjs.TxtIcon; }
|
|
9867
9867
|
});
|
|
9868
9868
|
Object.defineProperty(exports, "UserEntity", {
|
|
9869
9869
|
enumerable: true,
|
|
9870
|
-
get: function () { return
|
|
9870
|
+
get: function () { return chunkQCQFV5KO_cjs.UserEntity; }
|
|
9871
9871
|
});
|
|
9872
9872
|
Object.defineProperty(exports, "UserMenu", {
|
|
9873
9873
|
enumerable: true,
|
|
9874
|
-
get: function () { return
|
|
9874
|
+
get: function () { return chunkQCQFV5KO_cjs.UserMenu; }
|
|
9875
9875
|
});
|
|
9876
9876
|
Object.defineProperty(exports, "VIDEO_MIME_PREFERENCE", {
|
|
9877
9877
|
enumerable: true,
|
|
9878
|
-
get: function () { return
|
|
9878
|
+
get: function () { return chunkQCQFV5KO_cjs.VIDEO_MIME_PREFERENCE; }
|
|
9879
9879
|
});
|
|
9880
9880
|
Object.defineProperty(exports, "VISIBILITY_ICONS", {
|
|
9881
9881
|
enumerable: true,
|
|
9882
|
-
get: function () { return
|
|
9882
|
+
get: function () { return chunkQCQFV5KO_cjs.VISIBILITY_ICONS; }
|
|
9883
9883
|
});
|
|
9884
9884
|
Object.defineProperty(exports, "VerifiedBadge", {
|
|
9885
9885
|
enumerable: true,
|
|
9886
|
-
get: function () { return
|
|
9886
|
+
get: function () { return chunkQCQFV5KO_cjs.VerifiedBadge; }
|
|
9887
9887
|
});
|
|
9888
9888
|
Object.defineProperty(exports, "VerifiedToggle", {
|
|
9889
9889
|
enumerable: true,
|
|
9890
|
-
get: function () { return
|
|
9890
|
+
get: function () { return chunkQCQFV5KO_cjs.VerifiedToggle; }
|
|
9891
9891
|
});
|
|
9892
9892
|
Object.defineProperty(exports, "VidIcon", {
|
|
9893
9893
|
enumerable: true,
|
|
9894
|
-
get: function () { return
|
|
9894
|
+
get: function () { return chunkQCQFV5KO_cjs.VidIcon; }
|
|
9895
9895
|
});
|
|
9896
9896
|
Object.defineProperty(exports, "VisibilityIcon", {
|
|
9897
9897
|
enumerable: true,
|
|
9898
|
-
get: function () { return
|
|
9898
|
+
get: function () { return chunkQCQFV5KO_cjs.VisibilityIcon; }
|
|
9899
9899
|
});
|
|
9900
9900
|
Object.defineProperty(exports, "VisibilityToggle", {
|
|
9901
9901
|
enumerable: true,
|
|
9902
|
-
get: function () { return
|
|
9902
|
+
get: function () { return chunkQCQFV5KO_cjs.VisibilityToggle; }
|
|
9903
9903
|
});
|
|
9904
9904
|
Object.defineProperty(exports, "XlsIcon", {
|
|
9905
9905
|
enumerable: true,
|
|
9906
|
-
get: function () { return
|
|
9906
|
+
get: function () { return chunkQCQFV5KO_cjs.XlsIcon; }
|
|
9907
9907
|
});
|
|
9908
9908
|
Object.defineProperty(exports, "agentAvatarColors", {
|
|
9909
9909
|
enumerable: true,
|
|
9910
|
-
get: function () { return
|
|
9910
|
+
get: function () { return chunkQCQFV5KO_cjs.agentAvatarColors; }
|
|
9911
9911
|
});
|
|
9912
9912
|
Object.defineProperty(exports, "badgeVariants", {
|
|
9913
9913
|
enumerable: true,
|
|
9914
|
-
get: function () { return
|
|
9914
|
+
get: function () { return chunkQCQFV5KO_cjs.badgeVariants; }
|
|
9915
9915
|
});
|
|
9916
9916
|
Object.defineProperty(exports, "cardVariants", {
|
|
9917
9917
|
enumerable: true,
|
|
9918
|
-
get: function () { return
|
|
9918
|
+
get: function () { return chunkQCQFV5KO_cjs.cardVariants; }
|
|
9919
9919
|
});
|
|
9920
9920
|
Object.defineProperty(exports, "classifyMediaError", {
|
|
9921
9921
|
enumerable: true,
|
|
9922
|
-
get: function () { return
|
|
9922
|
+
get: function () { return chunkQCQFV5KO_cjs.classifyMediaError; }
|
|
9923
9923
|
});
|
|
9924
9924
|
Object.defineProperty(exports, "configureEntityRegistry", {
|
|
9925
9925
|
enumerable: true,
|
|
9926
|
-
get: function () { return
|
|
9926
|
+
get: function () { return chunkQCQFV5KO_cjs.configureEntityRegistry; }
|
|
9927
9927
|
});
|
|
9928
9928
|
Object.defineProperty(exports, "configureRagLabels", {
|
|
9929
9929
|
enumerable: true,
|
|
9930
|
-
get: function () { return
|
|
9930
|
+
get: function () { return chunkQCQFV5KO_cjs.configureRagLabels; }
|
|
9931
9931
|
});
|
|
9932
9932
|
Object.defineProperty(exports, "configureStatusRegistry", {
|
|
9933
9933
|
enumerable: true,
|
|
9934
|
-
get: function () { return
|
|
9934
|
+
get: function () { return chunkQCQFV5KO_cjs.configureStatusRegistry; }
|
|
9935
9935
|
});
|
|
9936
9936
|
Object.defineProperty(exports, "createChunkedRecorder", {
|
|
9937
9937
|
enumerable: true,
|
|
9938
|
-
get: function () { return
|
|
9938
|
+
get: function () { return chunkQCQFV5KO_cjs.createChunkedRecorder; }
|
|
9939
9939
|
});
|
|
9940
9940
|
Object.defineProperty(exports, "flushSegmenter", {
|
|
9941
9941
|
enumerable: true,
|
|
9942
|
-
get: function () { return
|
|
9942
|
+
get: function () { return chunkQCQFV5KO_cjs.flushSegmenter; }
|
|
9943
9943
|
});
|
|
9944
9944
|
Object.defineProperty(exports, "formatElapsed", {
|
|
9945
9945
|
enumerable: true,
|
|
9946
|
-
get: function () { return
|
|
9946
|
+
get: function () { return chunkQCQFV5KO_cjs.formatElapsed; }
|
|
9947
9947
|
});
|
|
9948
9948
|
Object.defineProperty(exports, "formatFriendlyDate", {
|
|
9949
9949
|
enumerable: true,
|
|
9950
|
-
get: function () { return
|
|
9950
|
+
get: function () { return chunkQCQFV5KO_cjs.formatFriendlyDate; }
|
|
9951
9951
|
});
|
|
9952
9952
|
Object.defineProperty(exports, "friendlyFileType", {
|
|
9953
9953
|
enumerable: true,
|
|
9954
|
-
get: function () { return
|
|
9954
|
+
get: function () { return chunkQCQFV5KO_cjs.friendlyFileType; }
|
|
9955
9955
|
});
|
|
9956
9956
|
Object.defineProperty(exports, "getDocIcon", {
|
|
9957
9957
|
enumerable: true,
|
|
9958
|
-
get: function () { return
|
|
9958
|
+
get: function () { return chunkQCQFV5KO_cjs.getDocIcon; }
|
|
9959
9959
|
});
|
|
9960
9960
|
Object.defineProperty(exports, "getDocumentTitle", {
|
|
9961
9961
|
enumerable: true,
|
|
9962
|
-
get: function () { return
|
|
9962
|
+
get: function () { return chunkQCQFV5KO_cjs.getDocumentTitle; }
|
|
9963
9963
|
});
|
|
9964
9964
|
Object.defineProperty(exports, "getEntityColor", {
|
|
9965
9965
|
enumerable: true,
|
|
9966
|
-
get: function () { return
|
|
9966
|
+
get: function () { return chunkQCQFV5KO_cjs.getEntityColor; }
|
|
9967
9967
|
});
|
|
9968
9968
|
Object.defineProperty(exports, "getEntityColorStyles", {
|
|
9969
9969
|
enumerable: true,
|
|
9970
|
-
get: function () { return
|
|
9970
|
+
get: function () { return chunkQCQFV5KO_cjs.getEntityColorStyles; }
|
|
9971
9971
|
});
|
|
9972
9972
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
9973
9973
|
enumerable: true,
|
|
9974
|
-
get: function () { return
|
|
9974
|
+
get: function () { return chunkQCQFV5KO_cjs.getEntityIcon; }
|
|
9975
9975
|
});
|
|
9976
9976
|
Object.defineProperty(exports, "getEntityLabel", {
|
|
9977
9977
|
enumerable: true,
|
|
9978
|
-
get: function () { return
|
|
9978
|
+
get: function () { return chunkQCQFV5KO_cjs.getEntityLabel; }
|
|
9979
9979
|
});
|
|
9980
9980
|
Object.defineProperty(exports, "getStatusVariant", {
|
|
9981
9981
|
enumerable: true,
|
|
9982
|
-
get: function () { return
|
|
9982
|
+
get: function () { return chunkQCQFV5KO_cjs.getStatusVariant; }
|
|
9983
9983
|
});
|
|
9984
9984
|
Object.defineProperty(exports, "getTagTypeIcon", {
|
|
9985
9985
|
enumerable: true,
|
|
9986
|
-
get: function () { return
|
|
9986
|
+
get: function () { return chunkQCQFV5KO_cjs.getTagTypeIcon; }
|
|
9987
9987
|
});
|
|
9988
9988
|
Object.defineProperty(exports, "getTagTypeLabel", {
|
|
9989
9989
|
enumerable: true,
|
|
9990
|
-
get: function () { return
|
|
9990
|
+
get: function () { return chunkQCQFV5KO_cjs.getTagTypeLabel; }
|
|
9991
9991
|
});
|
|
9992
9992
|
Object.defineProperty(exports, "getWorkspaceColor", {
|
|
9993
9993
|
enumerable: true,
|
|
9994
|
-
get: function () { return
|
|
9994
|
+
get: function () { return chunkQCQFV5KO_cjs.getWorkspaceColor; }
|
|
9995
9995
|
});
|
|
9996
9996
|
Object.defineProperty(exports, "isAudioFile", {
|
|
9997
9997
|
enumerable: true,
|
|
9998
|
-
get: function () { return
|
|
9998
|
+
get: function () { return chunkQCQFV5KO_cjs.isAudioFile; }
|
|
9999
9999
|
});
|
|
10000
10000
|
Object.defineProperty(exports, "isDownloadOnlyFile", {
|
|
10001
10001
|
enumerable: true,
|
|
10002
|
-
get: function () { return
|
|
10002
|
+
get: function () { return chunkQCQFV5KO_cjs.isDownloadOnlyFile; }
|
|
10003
10003
|
});
|
|
10004
10004
|
Object.defineProperty(exports, "isImageDocument", {
|
|
10005
10005
|
enumerable: true,
|
|
10006
|
-
get: function () { return
|
|
10006
|
+
get: function () { return chunkQCQFV5KO_cjs.isImageDocument; }
|
|
10007
10007
|
});
|
|
10008
10008
|
Object.defineProperty(exports, "isImageFile", {
|
|
10009
10009
|
enumerable: true,
|
|
10010
|
-
get: function () { return
|
|
10010
|
+
get: function () { return chunkQCQFV5KO_cjs.isImageFile; }
|
|
10011
10011
|
});
|
|
10012
10012
|
Object.defineProperty(exports, "isMediaFile", {
|
|
10013
10013
|
enumerable: true,
|
|
10014
|
-
get: function () { return
|
|
10014
|
+
get: function () { return chunkQCQFV5KO_cjs.isMediaFile; }
|
|
10015
10015
|
});
|
|
10016
10016
|
Object.defineProperty(exports, "isVideoFile", {
|
|
10017
10017
|
enumerable: true,
|
|
10018
|
-
get: function () { return
|
|
10018
|
+
get: function () { return chunkQCQFV5KO_cjs.isVideoFile; }
|
|
10019
10019
|
});
|
|
10020
10020
|
Object.defineProperty(exports, "levelFromRms", {
|
|
10021
10021
|
enumerable: true,
|
|
10022
|
-
get: function () { return
|
|
10022
|
+
get: function () { return chunkQCQFV5KO_cjs.levelFromRms; }
|
|
10023
10023
|
});
|
|
10024
10024
|
Object.defineProperty(exports, "pickRecorderMimeType", {
|
|
10025
10025
|
enumerable: true,
|
|
10026
|
-
get: function () { return
|
|
10026
|
+
get: function () { return chunkQCQFV5KO_cjs.pickRecorderMimeType; }
|
|
10027
10027
|
});
|
|
10028
10028
|
Object.defineProperty(exports, "stepSegmenter", {
|
|
10029
10029
|
enumerable: true,
|
|
10030
|
-
get: function () { return
|
|
10030
|
+
get: function () { return chunkQCQFV5KO_cjs.stepSegmenter; }
|
|
10031
10031
|
});
|
|
10032
10032
|
Object.defineProperty(exports, "tagKindNouns", {
|
|
10033
10033
|
enumerable: true,
|
|
10034
|
-
get: function () { return
|
|
10034
|
+
get: function () { return chunkQCQFV5KO_cjs.tagKindNouns; }
|
|
10035
10035
|
});
|
|
10036
10036
|
Object.defineProperty(exports, "tagKindTitle", {
|
|
10037
10037
|
enumerable: true,
|
|
10038
|
-
get: function () { return
|
|
10038
|
+
get: function () { return chunkQCQFV5KO_cjs.tagKindTitle; }
|
|
10039
10039
|
});
|
|
10040
10040
|
Object.defineProperty(exports, "toggleVariants", {
|
|
10041
10041
|
enumerable: true,
|
|
10042
|
-
get: function () { return
|
|
10042
|
+
get: function () { return chunkQCQFV5KO_cjs.toggleVariants; }
|
|
10043
10043
|
});
|
|
10044
10044
|
Object.defineProperty(exports, "useAudioRecorder", {
|
|
10045
10045
|
enumerable: true,
|
|
10046
|
-
get: function () { return
|
|
10046
|
+
get: function () { return chunkQCQFV5KO_cjs.useAudioRecorder; }
|
|
10047
10047
|
});
|
|
10048
10048
|
Object.defineProperty(exports, "useDictateContext", {
|
|
10049
10049
|
enumerable: true,
|
|
10050
|
-
get: function () { return
|
|
10050
|
+
get: function () { return chunkQCQFV5KO_cjs.useDictateContext; }
|
|
10051
10051
|
});
|
|
10052
10052
|
Object.defineProperty(exports, "usesOriginalBytesForViewer", {
|
|
10053
10053
|
enumerable: true,
|
|
10054
|
-
get: function () { return
|
|
10055
|
-
});
|
|
10056
|
-
Object.defineProperty(exports, "MarkdownCode", {
|
|
10057
|
-
enumerable: true,
|
|
10058
|
-
get: function () { return chunkOC7F5SNA_cjs.MarkdownCode; }
|
|
10059
|
-
});
|
|
10060
|
-
Object.defineProperty(exports, "MarkdownLink", {
|
|
10061
|
-
enumerable: true,
|
|
10062
|
-
get: function () { return chunkOC7F5SNA_cjs.MarkdownLink; }
|
|
10063
|
-
});
|
|
10064
|
-
Object.defineProperty(exports, "MarkdownRenderer", {
|
|
10065
|
-
enumerable: true,
|
|
10066
|
-
get: function () { return chunkOC7F5SNA_cjs.MarkdownRenderer; }
|
|
10067
|
-
});
|
|
10068
|
-
Object.defineProperty(exports, "MarkdownStreamingContext", {
|
|
10069
|
-
enumerable: true,
|
|
10070
|
-
get: function () { return chunkOC7F5SNA_cjs.MarkdownStreamingContext; }
|
|
10071
|
-
});
|
|
10072
|
-
Object.defineProperty(exports, "markdownBaseComponents", {
|
|
10073
|
-
enumerable: true,
|
|
10074
|
-
get: function () { return chunkOC7F5SNA_cjs.markdownBaseComponents; }
|
|
10075
|
-
});
|
|
10076
|
-
Object.defineProperty(exports, "markdownSanitizeSchema", {
|
|
10077
|
-
enumerable: true,
|
|
10078
|
-
get: function () { return chunkOC7F5SNA_cjs.markdownSanitizeSchema; }
|
|
10079
|
-
});
|
|
10080
|
-
Object.defineProperty(exports, "splitMarkdownBlocks", {
|
|
10081
|
-
enumerable: true,
|
|
10082
|
-
get: function () { return chunkOC7F5SNA_cjs.splitMarkdownBlocks; }
|
|
10054
|
+
get: function () { return chunkQCQFV5KO_cjs.usesOriginalBytesForViewer; }
|
|
10083
10055
|
});
|
|
10084
10056
|
Object.defineProperty(exports, "Button", {
|
|
10085
10057
|
enumerable: true,
|
|
@@ -10129,6 +10101,34 @@ Object.defineProperty(exports, "buttonVariants", {
|
|
|
10129
10101
|
enumerable: true,
|
|
10130
10102
|
get: function () { return chunkWYZJLZ67_cjs.buttonVariants; }
|
|
10131
10103
|
});
|
|
10104
|
+
Object.defineProperty(exports, "MarkdownCode", {
|
|
10105
|
+
enumerable: true,
|
|
10106
|
+
get: function () { return chunkOC7F5SNA_cjs.MarkdownCode; }
|
|
10107
|
+
});
|
|
10108
|
+
Object.defineProperty(exports, "MarkdownLink", {
|
|
10109
|
+
enumerable: true,
|
|
10110
|
+
get: function () { return chunkOC7F5SNA_cjs.MarkdownLink; }
|
|
10111
|
+
});
|
|
10112
|
+
Object.defineProperty(exports, "MarkdownRenderer", {
|
|
10113
|
+
enumerable: true,
|
|
10114
|
+
get: function () { return chunkOC7F5SNA_cjs.MarkdownRenderer; }
|
|
10115
|
+
});
|
|
10116
|
+
Object.defineProperty(exports, "MarkdownStreamingContext", {
|
|
10117
|
+
enumerable: true,
|
|
10118
|
+
get: function () { return chunkOC7F5SNA_cjs.MarkdownStreamingContext; }
|
|
10119
|
+
});
|
|
10120
|
+
Object.defineProperty(exports, "markdownBaseComponents", {
|
|
10121
|
+
enumerable: true,
|
|
10122
|
+
get: function () { return chunkOC7F5SNA_cjs.markdownBaseComponents; }
|
|
10123
|
+
});
|
|
10124
|
+
Object.defineProperty(exports, "markdownSanitizeSchema", {
|
|
10125
|
+
enumerable: true,
|
|
10126
|
+
get: function () { return chunkOC7F5SNA_cjs.markdownSanitizeSchema; }
|
|
10127
|
+
});
|
|
10128
|
+
Object.defineProperty(exports, "splitMarkdownBlocks", {
|
|
10129
|
+
enumerable: true,
|
|
10130
|
+
get: function () { return chunkOC7F5SNA_cjs.splitMarkdownBlocks; }
|
|
10131
|
+
});
|
|
10132
10132
|
Object.defineProperty(exports, "closeOpenEmphasis", {
|
|
10133
10133
|
enumerable: true,
|
|
10134
10134
|
get: function () { return chunkZ3LLUO32_cjs.closeOpenEmphasis; }
|