@arbidocs/react 0.4.153 → 0.4.155
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-YYTX3W6C.js → chunk-2HNEVAXO.js} +68 -3
- package/dist/chunk-2HNEVAXO.js.map +1 -0
- package/dist/{chunk-I7UUV7FP.cjs → chunk-37TQBT7Y.cjs} +14 -3
- package/dist/chunk-37TQBT7Y.cjs.map +1 -0
- package/dist/{chunk-KD7CKXWQ.js → chunk-6FGO7SCY.js} +182 -42
- package/dist/chunk-6FGO7SCY.js.map +1 -0
- package/dist/{chunk-OKDZDDJM.js → chunk-HKIR456G.js} +15 -4
- package/dist/chunk-HKIR456G.js.map +1 -0
- package/dist/{chunk-L57RRAII.cjs → chunk-QKNJ6FRD.cjs} +71 -2
- package/dist/chunk-QKNJ6FRD.cjs.map +1 -0
- package/dist/{chunk-L66ZJ2UI.cjs → chunk-VKWGRGY6.cjs} +188 -40
- package/dist/chunk-VKWGRGY6.cjs.map +1 -0
- package/dist/document-tools/index.cjs +41 -93
- package/dist/document-tools/index.cjs.map +1 -1
- package/dist/document-tools/index.js +3 -67
- package/dist/document-tools/index.js.map +1 -1
- package/dist/{index-BV7pBlgY.d.ts → index-CDTwtUr9.d.cts} +89 -1
- package/dist/{index-BV7pBlgY.d.cts → index-CDTwtUr9.d.ts} +89 -1
- package/dist/index.cjs +850 -457
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +193 -3
- package/dist/index.d.ts +193 -3
- package/dist/index.js +350 -9
- package/dist/index.js.map +1 -1
- package/dist/ui/index.cjs +193 -161
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +2 -2
- package/package.json +7 -5
- package/dist/chunk-I7UUV7FP.cjs.map +0 -1
- package/dist/chunk-KD7CKXWQ.js.map +0 -1
- package/dist/chunk-L57RRAII.cjs.map +0 -1
- package/dist/chunk-L66ZJ2UI.cjs.map +0 -1
- package/dist/chunk-OKDZDDJM.js.map +0 -1
- package/dist/chunk-YYTX3W6C.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkQKNJ6FRD_cjs = require('./chunk-QKNJ6FRD.cjs');
|
|
4
|
+
var chunk37TQBT7Y_cjs = require('./chunk-37TQBT7Y.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 chunkVKWGRGY6_cjs = require('./chunk-VKWGRGY6.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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: [...chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_cjs.arbiQueryKeys.workflows() }),
|
|
169
|
+
qc.invalidateQueries({ queryKey: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_cjs.arbiQueryKeys.configs() }),
|
|
240
|
+
qc.invalidateQueries({ queryKey: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: [...chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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
|
+
chunk37TQBT7Y_cjs.arbiQueryKeys.agentSession(agentId),
|
|
408
|
+
chunk37TQBT7Y_cjs.arbiQueryKeys.agentWorkspaces(agentId),
|
|
409
|
+
chunk37TQBT7Y_cjs.arbiQueryKeys.agentChats(agentId),
|
|
410
|
+
chunk37TQBT7Y_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 } = chunk37TQBT7Y_cjs.useDocuments(workspaceId);
|
|
559
|
+
const ordinaryHistory = chunk37TQBT7Y_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 = chunk37TQBT7Y_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 = chunk37TQBT7Y_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 chunk37TQBT7Y_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 chunk37TQBT7Y_cjs.refreshDocuments(queryClient, arbi, msg.doc_ext_ids);
|
|
1412
|
+
void queryClient.invalidateQueries({ queryKey: chunk37TQBT7Y_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 (chunk37TQBT7Y_cjs.FINISHED_DOCUMENT_STATUSES.has(msg.status))
|
|
1418
|
+
void chunk37TQBT7Y_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 = chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_cjs.arbiQueryKeys.allWorkspaceUsers() }),
|
|
1586
|
+
qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.workspaces() }),
|
|
1587
1587
|
// A project's collaborator quota counts workspace members.
|
|
1588
|
-
qc.invalidateQueries({ queryKey:
|
|
1588
|
+
qc.invalidateQueries({ queryKey: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_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: chunk37TQBT7Y_cjs.arbiMutationKeys.workspaceMembership(),
|
|
1608
1608
|
mutationFn: (userIds) => arbi.workspaces.removeUsers(userIds),
|
|
1609
1609
|
onSuccess: () => settleMembership(qc)
|
|
1610
1610
|
});
|
|
@@ -1613,20 +1613,28 @@ function useSetWorkspaceMemberRoles() {
|
|
|
1613
1613
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
1614
1614
|
const qc = reactQuery.useQueryClient();
|
|
1615
1615
|
return reactQuery.useMutation({
|
|
1616
|
-
mutationKey:
|
|
1616
|
+
mutationKey: chunk37TQBT7Y_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: chunk37TQBT7Y_cjs.arbiQueryKeys.allWorkspaceUsers() }),
|
|
1620
|
+
qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.workspaces() })
|
|
1621
1621
|
])
|
|
1622
1622
|
});
|
|
1623
1623
|
}
|
|
1624
|
+
function useDeleteWorkspaces() {
|
|
1625
|
+
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
1626
|
+
const qc = reactQuery.useQueryClient();
|
|
1627
|
+
return reactQuery.useMutation({
|
|
1628
|
+
mutationFn: (workspaceIds) => arbi.workspaces.delete(workspaceIds),
|
|
1629
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.workspaces() })
|
|
1630
|
+
});
|
|
1631
|
+
}
|
|
1624
1632
|
function useFacts(workspaceId, options) {
|
|
1625
1633
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
1626
1634
|
const { enabled = true, ...filter } = options ?? {};
|
|
1627
1635
|
const workspace = workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : "");
|
|
1628
1636
|
return reactQuery.useQuery({
|
|
1629
|
-
queryKey: [...
|
|
1637
|
+
queryKey: [...chunk37TQBT7Y_cjs.arbiQueryKeys.facts(workspace), filter],
|
|
1630
1638
|
queryFn: () => arbi.facts.list(filter),
|
|
1631
1639
|
enabled: enabled && !!workspace && arbi.hasWorkspace,
|
|
1632
1640
|
staleTime: 3e4
|
|
@@ -1634,7 +1642,7 @@ function useFacts(workspaceId, options) {
|
|
|
1634
1642
|
}
|
|
1635
1643
|
function useRefreshFacts() {
|
|
1636
1644
|
const qc = reactQuery.useQueryClient();
|
|
1637
|
-
return () => qc.invalidateQueries({ queryKey:
|
|
1645
|
+
return () => qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.allFacts() });
|
|
1638
1646
|
}
|
|
1639
1647
|
function useCreateFact() {
|
|
1640
1648
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
@@ -1688,7 +1696,7 @@ function usePassageQuotes(docIds) {
|
|
|
1688
1696
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
1689
1697
|
const passages = reactQuery.useQueries({
|
|
1690
1698
|
queries: [...new Set(docIds ?? [])].map((docId) => ({
|
|
1691
|
-
queryKey:
|
|
1699
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.parsedDoc(docId, "final"),
|
|
1692
1700
|
queryFn: () => arbi.documents.getParsedContent(docId, "final"),
|
|
1693
1701
|
enabled: arbi.hasWorkspace,
|
|
1694
1702
|
staleTime: PARSED_STALE_TIME
|
|
@@ -1713,12 +1721,24 @@ function DocumentsSupportProvider({
|
|
|
1713
1721
|
function useDocumentsSupport() {
|
|
1714
1722
|
return React3.useContext(DocumentsSupportContext);
|
|
1715
1723
|
}
|
|
1724
|
+
function useProcessingTasks() {
|
|
1725
|
+
const { useProcessingTasks: useHostTasks } = useDocumentsSupport();
|
|
1726
|
+
const own = useArbiWsStore((state) => state.tasks);
|
|
1727
|
+
const host = useHostTasks?.();
|
|
1728
|
+
return host ?? own;
|
|
1729
|
+
}
|
|
1730
|
+
function useProcessingTask(docId) {
|
|
1731
|
+
const { useProcessingTask: useHostTask } = useDocumentsSupport();
|
|
1732
|
+
const own = useArbiWsStore((state) => state.tasks[docId]);
|
|
1733
|
+
const host = useHostTask?.(docId);
|
|
1734
|
+
return useHostTask ? host : own;
|
|
1735
|
+
}
|
|
1716
1736
|
|
|
1717
1737
|
// src/documents/documents-writes.ts
|
|
1718
1738
|
function applyOptimisticDocumentEdit(qc, updates) {
|
|
1719
1739
|
const byId = new Map(updates.map((update) => [update.external_id, update]));
|
|
1720
1740
|
const previous = [];
|
|
1721
|
-
|
|
1741
|
+
chunk37TQBT7Y_cjs.patchDocuments(qc, (old) => {
|
|
1722
1742
|
let changed = false;
|
|
1723
1743
|
const next = old.map((doc) => {
|
|
1724
1744
|
const update = byId.get(doc.external_id);
|
|
@@ -1731,9 +1751,9 @@ function applyOptimisticDocumentEdit(qc, updates) {
|
|
|
1731
1751
|
});
|
|
1732
1752
|
const previousOwn = updates.map((update) => {
|
|
1733
1753
|
const own = qc.getQueryData(
|
|
1734
|
-
|
|
1754
|
+
chunk37TQBT7Y_cjs.arbiQueryKeys.document(update.external_id)
|
|
1735
1755
|
);
|
|
1736
|
-
if (own)
|
|
1756
|
+
if (own) chunk37TQBT7Y_cjs.setCachedDocument(qc, { ...own, ...update });
|
|
1737
1757
|
return [update.external_id, own];
|
|
1738
1758
|
});
|
|
1739
1759
|
return { optimistic: true, previous, previousOwn };
|
|
@@ -1743,38 +1763,38 @@ function rollbackOptimisticDocumentEdit(qc, context) {
|
|
|
1743
1763
|
if (!edit?.optimistic) return;
|
|
1744
1764
|
if (edit.previous.length) {
|
|
1745
1765
|
const restore = new Map(edit.previous.map((doc) => [doc.external_id, doc]));
|
|
1746
|
-
|
|
1766
|
+
chunk37TQBT7Y_cjs.patchDocuments(
|
|
1747
1767
|
qc,
|
|
1748
1768
|
(old) => old.some((doc) => restore.has(doc.external_id)) ? old.map((doc) => restore.get(doc.external_id) ?? doc) : old
|
|
1749
1769
|
);
|
|
1750
1770
|
}
|
|
1751
|
-
for (const [id, own] of edit.previousOwn) qc.setQueryData(
|
|
1771
|
+
for (const [id, own] of edit.previousOwn) qc.setQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.document(id), own);
|
|
1752
1772
|
}
|
|
1753
1773
|
function settleUpdatedDocuments(qc, updated) {
|
|
1754
1774
|
if (!updated.length) return;
|
|
1755
1775
|
const byId = new Map(updated.map((doc) => [doc.external_id, doc]));
|
|
1756
|
-
|
|
1776
|
+
chunk37TQBT7Y_cjs.patchDocuments(
|
|
1757
1777
|
qc,
|
|
1758
1778
|
(old) => old.some((doc) => byId.has(doc.external_id)) ? old.map((doc) => byId.get(doc.external_id) ?? doc) : old
|
|
1759
1779
|
);
|
|
1760
|
-
for (const doc of updated)
|
|
1780
|
+
for (const doc of updated) chunk37TQBT7Y_cjs.setCachedDocument(qc, doc);
|
|
1761
1781
|
}
|
|
1762
1782
|
function patchEachDocument(qc, docIds, reducer) {
|
|
1763
1783
|
const ids = new Set(docIds);
|
|
1764
|
-
|
|
1784
|
+
chunk37TQBT7Y_cjs.patchDocuments(
|
|
1765
1785
|
qc,
|
|
1766
1786
|
(old) => old.some((doc) => ids.has(doc.external_id)) ? old.map((doc) => ids.has(doc.external_id) ? reducer(doc) : doc) : old
|
|
1767
1787
|
);
|
|
1768
|
-
for (const id of ids)
|
|
1788
|
+
for (const id of ids) chunk37TQBT7Y_cjs.patchCachedDocument(qc, id, reducer);
|
|
1769
1789
|
}
|
|
1770
1790
|
function workspaceOf(qc, docId) {
|
|
1771
1791
|
for (const [, docs] of qc.getQueriesData({
|
|
1772
|
-
queryKey:
|
|
1792
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.allDocuments()
|
|
1773
1793
|
})) {
|
|
1774
1794
|
const doc = Array.isArray(docs) ? docs.find((d) => d.external_id === docId) : void 0;
|
|
1775
1795
|
if (doc) return doc.workspace_ext_id;
|
|
1776
1796
|
}
|
|
1777
|
-
return qc.getQueryData(
|
|
1797
|
+
return qc.getQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.document(docId))?.workspace_ext_id;
|
|
1778
1798
|
}
|
|
1779
1799
|
function settleAssignedDocTags(qc, created) {
|
|
1780
1800
|
const byDoc = /* @__PURE__ */ new Map();
|
|
@@ -1792,13 +1812,13 @@ function settleAssignedDocTags(qc, created) {
|
|
|
1792
1812
|
...doc,
|
|
1793
1813
|
doctags: [...doc.doctags ?? [], ...byDoc.get(doc.external_id) ?? []]
|
|
1794
1814
|
}));
|
|
1795
|
-
for (const [workspaceId, delta] of workspaces)
|
|
1815
|
+
for (const [workspaceId, delta] of workspaces) chunk37TQBT7Y_cjs.adjustTagCounts(qc, workspaceId, delta);
|
|
1796
1816
|
}
|
|
1797
1817
|
function settleRemovedDocTags(qc, { tagId, docIds }) {
|
|
1798
1818
|
const ids = new Set(docIds);
|
|
1799
1819
|
const removedByWorkspace = /* @__PURE__ */ new Map();
|
|
1800
1820
|
for (const [, docs] of qc.getQueriesData({
|
|
1801
|
-
queryKey:
|
|
1821
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.allDocuments()
|
|
1802
1822
|
})) {
|
|
1803
1823
|
for (const doc of Array.isArray(docs) ? docs : []) {
|
|
1804
1824
|
if (!ids.has(doc.external_id)) continue;
|
|
@@ -1814,7 +1834,7 @@ function settleRemovedDocTags(qc, { tagId, docIds }) {
|
|
|
1814
1834
|
doctags: (doc.doctags ?? []).filter((dt) => dt.tag_ext_id !== tagId)
|
|
1815
1835
|
}));
|
|
1816
1836
|
for (const [workspaceId, removed] of removedByWorkspace)
|
|
1817
|
-
|
|
1837
|
+
chunk37TQBT7Y_cjs.adjustTagCounts(qc, workspaceId, /* @__PURE__ */ new Map([[tagId, -removed]]));
|
|
1818
1838
|
}
|
|
1819
1839
|
function settleUpdatedDocTag(qc, updated) {
|
|
1820
1840
|
patchEachDocument(qc, [updated.doc_ext_id], (doc) => ({
|
|
@@ -1824,22 +1844,22 @@ function settleUpdatedDocTag(qc, updated) {
|
|
|
1824
1844
|
}
|
|
1825
1845
|
var replayableDocumentMutations = [
|
|
1826
1846
|
{
|
|
1827
|
-
mutationKey:
|
|
1847
|
+
mutationKey: chunk37TQBT7Y_cjs.arbiMutationKeys.updateDocuments(),
|
|
1828
1848
|
run: (client, input) => browser.documents.updateDocuments(client, input.documents),
|
|
1829
1849
|
settle: (qc, updated) => settleUpdatedDocuments(qc, updated)
|
|
1830
1850
|
},
|
|
1831
1851
|
{
|
|
1832
|
-
mutationKey:
|
|
1852
|
+
mutationKey: chunk37TQBT7Y_cjs.arbiMutationKeys.assignDocTags(),
|
|
1833
1853
|
run: (client, input) => browser.doctags.assignDocTags(client, input.tagId, input.docIds, input.note, input.citations),
|
|
1834
1854
|
settle: (qc, created) => settleAssignedDocTags(qc, created)
|
|
1835
1855
|
},
|
|
1836
1856
|
{
|
|
1837
|
-
mutationKey:
|
|
1857
|
+
mutationKey: chunk37TQBT7Y_cjs.arbiMutationKeys.removeDocTags(),
|
|
1838
1858
|
run: (client, input) => browser.doctags.removeDocTags(client, input.tagId, input.docIds),
|
|
1839
1859
|
settle: (qc, _data, input) => settleRemovedDocTags(qc, input)
|
|
1840
1860
|
},
|
|
1841
1861
|
{
|
|
1842
|
-
mutationKey:
|
|
1862
|
+
mutationKey: chunk37TQBT7Y_cjs.arbiMutationKeys.updateDocTag(),
|
|
1843
1863
|
run: (client, input) => browser.doctags.updateDocTag(client, input.tagId, input.docId, {
|
|
1844
1864
|
note: input.note,
|
|
1845
1865
|
citations: input.citations
|
|
@@ -1862,7 +1882,7 @@ function useUpdateDocuments() {
|
|
|
1862
1882
|
const qc = reactQuery.useQueryClient();
|
|
1863
1883
|
return resolvingOffline(
|
|
1864
1884
|
reactQuery.useMutation({
|
|
1865
|
-
mutationKey:
|
|
1885
|
+
mutationKey: chunk37TQBT7Y_cjs.arbiMutationKeys.updateDocuments(),
|
|
1866
1886
|
mutationFn: ({ documents }) => arbi.documents.update(documents),
|
|
1867
1887
|
onMutate: ({ documents }) => reactQuery.onlineManager.isOnline() || !documents.length ? void 0 : applyOptimisticDocumentEdit(qc, documents),
|
|
1868
1888
|
onError: (_error, _input, context) => rollbackOptimisticDocumentEdit(qc, context),
|
|
@@ -1870,35 +1890,70 @@ function useUpdateDocuments() {
|
|
|
1870
1890
|
})
|
|
1871
1891
|
);
|
|
1872
1892
|
}
|
|
1893
|
+
function folderSegments(folder) {
|
|
1894
|
+
return (folder ?? "").split("/").map((segment) => segment.trim()).filter(Boolean);
|
|
1895
|
+
}
|
|
1896
|
+
function useRenameFolder() {
|
|
1897
|
+
const qc = reactQuery.useQueryClient();
|
|
1898
|
+
const { mutateAsync } = useUpdateDocuments();
|
|
1899
|
+
return React3.useCallback(
|
|
1900
|
+
async (documents, from, to) => {
|
|
1901
|
+
const moved = (folder) => {
|
|
1902
|
+
const segments = folderSegments(folder);
|
|
1903
|
+
if (from.length === 0 || segments.length < from.length) return void 0;
|
|
1904
|
+
if (!from.every((segment, i) => segments[i] === segment)) return void 0;
|
|
1905
|
+
const next = [...to, ...segments.slice(from.length)];
|
|
1906
|
+
return next.length > 0 ? next.join("/") : null;
|
|
1907
|
+
};
|
|
1908
|
+
const updates = documents.flatMap((doc) => {
|
|
1909
|
+
const folder = moved(doc.folder);
|
|
1910
|
+
return folder === void 0 ? [] : [{ external_id: doc.external_id, folder }];
|
|
1911
|
+
});
|
|
1912
|
+
if (updates.length > 0) await mutateAsync({ documents: updates });
|
|
1913
|
+
chunk37TQBT7Y_cjs.patchDocuments(qc, (rows) => {
|
|
1914
|
+
let changed = false;
|
|
1915
|
+
const next = rows.map((doc) => {
|
|
1916
|
+
const folder = moved(doc.folder);
|
|
1917
|
+
if (folder === void 0 || folder === doc.folder) return doc;
|
|
1918
|
+
changed = true;
|
|
1919
|
+
return { ...doc, folder };
|
|
1920
|
+
});
|
|
1921
|
+
return changed ? next : rows;
|
|
1922
|
+
});
|
|
1923
|
+
return updates.length;
|
|
1924
|
+
},
|
|
1925
|
+
[qc, mutateAsync]
|
|
1926
|
+
);
|
|
1927
|
+
}
|
|
1873
1928
|
function useDeleteDocuments() {
|
|
1874
1929
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
1875
1930
|
const qc = reactQuery.useQueryClient();
|
|
1876
1931
|
const { onDocumentsDeleted } = useDocumentsSupport();
|
|
1877
1932
|
return reactQuery.useMutation({
|
|
1878
|
-
mutationKey:
|
|
1933
|
+
mutationKey: chunk37TQBT7Y_cjs.arbiMutationKeys.deleteDocuments(),
|
|
1879
1934
|
mutationFn: (docIds) => arbi.documents.delete(docIds),
|
|
1880
1935
|
onSuccess: (_data, docIds) => {
|
|
1881
1936
|
const gone = new Set(docIds);
|
|
1882
|
-
|
|
1937
|
+
chunk37TQBT7Y_cjs.patchDocuments(
|
|
1883
1938
|
qc,
|
|
1884
1939
|
(old) => old.some((doc) => gone.has(doc.external_id)) ? old.filter((doc) => !gone.has(doc.external_id)) : old
|
|
1885
1940
|
);
|
|
1886
|
-
|
|
1941
|
+
chunk37TQBT7Y_cjs.forgetDocuments(qc, docIds);
|
|
1887
1942
|
onDocumentsDeleted?.(docIds);
|
|
1888
|
-
return qc.invalidateQueries({ queryKey:
|
|
1943
|
+
return qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.workspaces() });
|
|
1889
1944
|
}
|
|
1890
1945
|
});
|
|
1891
1946
|
}
|
|
1892
1947
|
async function settleUpload(qc, arbi, docIds, processingStatus) {
|
|
1893
|
-
if (docIds?.length) await
|
|
1894
|
-
await qc.invalidateQueries({ queryKey:
|
|
1948
|
+
if (docIds?.length) await chunk37TQBT7Y_cjs.refreshDocuments(qc, arbi, docIds, { processingStatus });
|
|
1949
|
+
await qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.workspaces() });
|
|
1895
1950
|
}
|
|
1896
1951
|
function useUploadDocuments() {
|
|
1897
1952
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
1898
1953
|
const qc = reactQuery.useQueryClient();
|
|
1899
1954
|
const { processingStatus } = useDocumentsSupport();
|
|
1900
1955
|
return reactQuery.useMutation({
|
|
1901
|
-
mutationKey:
|
|
1956
|
+
mutationKey: chunk37TQBT7Y_cjs.arbiMutationKeys.uploadDocuments(),
|
|
1902
1957
|
mutationFn: ({ files, options }) => arbi.documents.upload(files, options),
|
|
1903
1958
|
onSuccess: (result) => settleUpload(qc, arbi, result.doc_ext_ids, processingStatus)
|
|
1904
1959
|
});
|
|
@@ -1908,7 +1963,7 @@ function useUploadUrls() {
|
|
|
1908
1963
|
const qc = reactQuery.useQueryClient();
|
|
1909
1964
|
const { processingStatus } = useDocumentsSupport();
|
|
1910
1965
|
return reactQuery.useMutation({
|
|
1911
|
-
mutationKey:
|
|
1966
|
+
mutationKey: chunk37TQBT7Y_cjs.arbiMutationKeys.uploadUrls(),
|
|
1912
1967
|
mutationFn: ({ urls, shared, configExtId }) => arbi.documents.uploadUrl(urls, { shared, configExtId }),
|
|
1913
1968
|
onSuccess: (result) => settleUpload(qc, arbi, result.doc_ext_ids, processingStatus)
|
|
1914
1969
|
});
|
|
@@ -1918,7 +1973,7 @@ function useAssignDocTags() {
|
|
|
1918
1973
|
const qc = reactQuery.useQueryClient();
|
|
1919
1974
|
return resolvingOffline(
|
|
1920
1975
|
reactQuery.useMutation({
|
|
1921
|
-
mutationKey:
|
|
1976
|
+
mutationKey: chunk37TQBT7Y_cjs.arbiMutationKeys.assignDocTags(),
|
|
1922
1977
|
mutationFn: ({ tagId, docIds, note, citations }) => arbi.doctags.assign(tagId, docIds, note, citations),
|
|
1923
1978
|
onSuccess: (created) => settleAssignedDocTags(qc, created)
|
|
1924
1979
|
})
|
|
@@ -1929,7 +1984,7 @@ function useRemoveDocTags() {
|
|
|
1929
1984
|
const qc = reactQuery.useQueryClient();
|
|
1930
1985
|
return resolvingOffline(
|
|
1931
1986
|
reactQuery.useMutation({
|
|
1932
|
-
mutationKey:
|
|
1987
|
+
mutationKey: chunk37TQBT7Y_cjs.arbiMutationKeys.removeDocTags(),
|
|
1933
1988
|
mutationFn: ({ tagId, docIds }) => arbi.doctags.remove(tagId, docIds),
|
|
1934
1989
|
onSuccess: (_data, input) => settleRemovedDocTags(qc, input)
|
|
1935
1990
|
})
|
|
@@ -1940,7 +1995,7 @@ function useUpdateDocTag() {
|
|
|
1940
1995
|
const qc = reactQuery.useQueryClient();
|
|
1941
1996
|
return resolvingOffline(
|
|
1942
1997
|
reactQuery.useMutation({
|
|
1943
|
-
mutationKey:
|
|
1998
|
+
mutationKey: chunk37TQBT7Y_cjs.arbiMutationKeys.updateDocTag(),
|
|
1944
1999
|
mutationFn: ({ tagId, docId, note, citations }) => arbi.doctags.update(tagId, docId, { note, citations }),
|
|
1945
2000
|
onSuccess: (updated) => settleUpdatedDocTag(qc, updated)
|
|
1946
2001
|
})
|
|
@@ -1951,13 +2006,13 @@ function useGenerateDocTags() {
|
|
|
1951
2006
|
const qc = reactQuery.useQueryClient();
|
|
1952
2007
|
const { onProcessingQueued } = useDocumentsSupport();
|
|
1953
2008
|
return reactQuery.useMutation({
|
|
1954
|
-
mutationKey:
|
|
2009
|
+
mutationKey: chunk37TQBT7Y_cjs.arbiMutationKeys.generateDocTags(),
|
|
1955
2010
|
mutationFn: ({ tagIds, docIds, overwrite }) => arbi.doctags.generate(tagIds, docIds, { overwrite }),
|
|
1956
2011
|
onMutate: ({ docIds }) => {
|
|
1957
2012
|
if (!onProcessingQueued || !docIds.length) return void 0;
|
|
1958
2013
|
const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : "";
|
|
1959
2014
|
const listed = new Map(
|
|
1960
|
-
(
|
|
2015
|
+
(chunk37TQBT7Y_cjs.getCachedDocuments(qc, workspaceId) ?? []).map((doc) => [doc.external_id, doc])
|
|
1961
2016
|
);
|
|
1962
2017
|
return {
|
|
1963
2018
|
undo: onProcessingQueued(
|
|
@@ -1979,13 +2034,13 @@ function useFinaliseTranslation() {
|
|
|
1979
2034
|
const { processingStatus } = useDocumentsSupport();
|
|
1980
2035
|
return reactQuery.useMutation({
|
|
1981
2036
|
mutationFn: (docId) => arbi.documents.finaliseTranslation(docId),
|
|
1982
|
-
onSuccess: (result) => void
|
|
2037
|
+
onSuccess: (result) => void chunk37TQBT7Y_cjs.refreshDocuments(qc, arbi, [result.document_ext_id], { processingStatus })
|
|
1983
2038
|
});
|
|
1984
2039
|
}
|
|
1985
2040
|
|
|
1986
2041
|
// src/offline.ts
|
|
1987
2042
|
var REPLAYABLE = [
|
|
1988
|
-
...
|
|
2043
|
+
...chunk37TQBT7Y_cjs.replayableTagMutations,
|
|
1989
2044
|
...replayableDocumentMutations
|
|
1990
2045
|
];
|
|
1991
2046
|
function isReplayableArbiMutation(mutationKey) {
|
|
@@ -2015,13 +2070,13 @@ function isRestorableArbiQueryOnline(queryKey, data) {
|
|
|
2015
2070
|
const docs = Array.isArray(data) ? data : [data];
|
|
2016
2071
|
return !docs.some((doc) => {
|
|
2017
2072
|
const status = doc?.status;
|
|
2018
|
-
return !!status && !
|
|
2073
|
+
return !!status && !chunk37TQBT7Y_cjs.FINISHED_DOCUMENT_STATUSES.has(status);
|
|
2019
2074
|
});
|
|
2020
2075
|
}
|
|
2021
2076
|
function useFilteredProjects(filters, options) {
|
|
2022
2077
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2023
2078
|
return reactQuery.useQuery({
|
|
2024
|
-
queryKey:
|
|
2079
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.projectsFiltered(filters.stage, filters.leadUser),
|
|
2025
2080
|
queryFn: () => arbi.projects.list(filters),
|
|
2026
2081
|
enabled: options?.enabled ?? arbi.isLoggedIn
|
|
2027
2082
|
});
|
|
@@ -2035,8 +2090,8 @@ function useUpdateProjectFields() {
|
|
|
2035
2090
|
patch
|
|
2036
2091
|
}) => arbi.projects.update(projectExtId, patch),
|
|
2037
2092
|
onSuccess: () => {
|
|
2038
|
-
void qc.invalidateQueries({ queryKey:
|
|
2039
|
-
void qc.invalidateQueries({ queryKey:
|
|
2093
|
+
void qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.projects() });
|
|
2094
|
+
void qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.workspaces() });
|
|
2040
2095
|
}
|
|
2041
2096
|
});
|
|
2042
2097
|
}
|
|
@@ -2044,7 +2099,7 @@ function useProjectEvents(projectExtId, options) {
|
|
|
2044
2099
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2045
2100
|
return reactQuery.useQuery({
|
|
2046
2101
|
queryKey: [
|
|
2047
|
-
...
|
|
2102
|
+
...chunk37TQBT7Y_cjs.arbiQueryKeys.projectEvents(projectExtId ?? ""),
|
|
2048
2103
|
options?.kind ?? "all",
|
|
2049
2104
|
options?.limit ?? "default"
|
|
2050
2105
|
],
|
|
@@ -2055,7 +2110,7 @@ function useProjectEvents(projectExtId, options) {
|
|
|
2055
2110
|
function useConversationUsage(conversationId, options) {
|
|
2056
2111
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2057
2112
|
return reactQuery.useQuery({
|
|
2058
|
-
queryKey:
|
|
2113
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.conversationUsage(conversationId ?? ""),
|
|
2059
2114
|
queryFn: () => arbi.conversations.usage(conversationId),
|
|
2060
2115
|
enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
|
|
2061
2116
|
refetchInterval: options?.live ? 1e4 : false
|
|
@@ -2064,7 +2119,7 @@ function useConversationUsage(conversationId, options) {
|
|
|
2064
2119
|
function useProjectConversationUsage(projectExtId, monthsBack = 0, options) {
|
|
2065
2120
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2066
2121
|
return reactQuery.useQuery({
|
|
2067
|
-
queryKey:
|
|
2122
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.projectConversationUsage(projectExtId ?? "", monthsBack),
|
|
2068
2123
|
queryFn: () => arbi.projects.usageByConversation(projectExtId, monthsBack),
|
|
2069
2124
|
enabled: (options?.enabled ?? true) && !!projectExtId && arbi.isLoggedIn
|
|
2070
2125
|
});
|
|
@@ -2091,7 +2146,7 @@ function useChargeWatch(project, isPending) {
|
|
|
2091
2146
|
React3.useEffect(() => {
|
|
2092
2147
|
if (!isSlow) return;
|
|
2093
2148
|
const timer = setInterval(
|
|
2094
|
-
() => queryClient.invalidateQueries({ queryKey:
|
|
2149
|
+
() => queryClient.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.projects(), exact: true }),
|
|
2095
2150
|
POLL_EVERY_MS
|
|
2096
2151
|
);
|
|
2097
2152
|
return () => clearInterval(timer);
|
|
@@ -2118,8 +2173,8 @@ function useChargeWatch(project, isPending) {
|
|
|
2118
2173
|
if (!watch2 || watch2.settled) return;
|
|
2119
2174
|
let fresh;
|
|
2120
2175
|
try {
|
|
2121
|
-
await queryClient.refetchQueries({ queryKey:
|
|
2122
|
-
fresh = queryClient.getQueryData(
|
|
2176
|
+
await queryClient.refetchQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.projects(), exact: true });
|
|
2177
|
+
fresh = queryClient.getQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.projects())?.find((p) => p.external_id === project.external_id);
|
|
2123
2178
|
} catch {
|
|
2124
2179
|
fresh = void 0;
|
|
2125
2180
|
}
|
|
@@ -2132,21 +2187,21 @@ function useChargeWatch(project, isPending) {
|
|
|
2132
2187
|
|
|
2133
2188
|
// src/billing.ts
|
|
2134
2189
|
function refreshProjects(qc, wide = false) {
|
|
2135
|
-
void qc.invalidateQueries({ queryKey:
|
|
2190
|
+
void qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.projects() });
|
|
2136
2191
|
if (wide) {
|
|
2137
|
-
void qc.invalidateQueries({ queryKey:
|
|
2138
|
-
void qc.invalidateQueries({ queryKey:
|
|
2192
|
+
void qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings() });
|
|
2193
|
+
void qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.workspaces() });
|
|
2139
2194
|
}
|
|
2140
2195
|
}
|
|
2141
2196
|
var retryAbortOnly = (failureCount, error) => failureCount < 1 && error?.name === "AbortError";
|
|
2142
2197
|
function useInvalidateProjects() {
|
|
2143
2198
|
const qc = reactQuery.useQueryClient();
|
|
2144
|
-
return () => qc.invalidateQueries({ queryKey:
|
|
2199
|
+
return () => qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.projects() });
|
|
2145
2200
|
}
|
|
2146
2201
|
function useProducts(options) {
|
|
2147
2202
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2148
2203
|
return reactQuery.useQuery({
|
|
2149
|
-
queryKey:
|
|
2204
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.products(),
|
|
2150
2205
|
queryFn: () => arbi.projects.products(),
|
|
2151
2206
|
staleTime: 5 * 6e4,
|
|
2152
2207
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
@@ -2199,15 +2254,15 @@ function useCancelProjectSubscription() {
|
|
|
2199
2254
|
return reactQuery.useMutation({
|
|
2200
2255
|
mutationFn: (projectExtId) => arbi.projects.cancelSubscription(projectExtId),
|
|
2201
2256
|
onSuccess: () => {
|
|
2202
|
-
void qc.invalidateQueries({ queryKey:
|
|
2203
|
-
void qc.invalidateQueries({ queryKey:
|
|
2257
|
+
void qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.projects() });
|
|
2258
|
+
void qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings() });
|
|
2204
2259
|
}
|
|
2205
2260
|
});
|
|
2206
2261
|
}
|
|
2207
2262
|
function usePreviewProjectPlanChange(projectExtId, change) {
|
|
2208
2263
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2209
2264
|
return reactQuery.useQuery({
|
|
2210
|
-
queryKey: [...
|
|
2265
|
+
queryKey: [...chunk37TQBT7Y_cjs.arbiQueryKeys.billingQuotes(), "preview", projectExtId, change],
|
|
2211
2266
|
queryFn: () => arbi.projects.previewPlanChange(projectExtId, change),
|
|
2212
2267
|
enabled: !!change && arbi.isLoggedIn,
|
|
2213
2268
|
staleTime: 6e4,
|
|
@@ -2217,7 +2272,7 @@ function usePreviewProjectPlanChange(projectExtId, change) {
|
|
|
2217
2272
|
function usePlanQuote(projectExtId, body) {
|
|
2218
2273
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2219
2274
|
return reactQuery.useQuery({
|
|
2220
|
-
queryKey: [...
|
|
2275
|
+
queryKey: [...chunk37TQBT7Y_cjs.arbiQueryKeys.billingQuotes(), "plan", projectExtId ?? null, body],
|
|
2221
2276
|
queryFn: () => arbi.projects.quotePlan(projectExtId ?? null, body),
|
|
2222
2277
|
enabled: !!body && arbi.isLoggedIn,
|
|
2223
2278
|
staleTime: 5 * 6e4,
|
|
@@ -2227,7 +2282,7 @@ function usePlanQuote(projectExtId, body) {
|
|
|
2227
2282
|
function useAddonQuote(projectExtId, kind, enabled = true) {
|
|
2228
2283
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2229
2284
|
return reactQuery.useQuery({
|
|
2230
|
-
queryKey: [...
|
|
2285
|
+
queryKey: [...chunk37TQBT7Y_cjs.arbiQueryKeys.billingQuotes(), "addon", projectExtId, kind],
|
|
2231
2286
|
queryFn: () => arbi.projects.quoteAddon(projectExtId, kind),
|
|
2232
2287
|
enabled: enabled && arbi.isLoggedIn,
|
|
2233
2288
|
staleTime: 6e4,
|
|
@@ -2273,7 +2328,7 @@ function useUpdateProjectAddonSettings() {
|
|
|
2273
2328
|
function useContacts(options) {
|
|
2274
2329
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2275
2330
|
return reactQuery.useQuery({
|
|
2276
|
-
queryKey:
|
|
2331
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.contacts(),
|
|
2277
2332
|
queryFn: () => arbi.contacts.list(),
|
|
2278
2333
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
2279
2334
|
});
|
|
@@ -2288,7 +2343,7 @@ function usePendingContacts(options) {
|
|
|
2288
2343
|
}
|
|
2289
2344
|
function useInvalidateContacts() {
|
|
2290
2345
|
const qc = reactQuery.useQueryClient();
|
|
2291
|
-
return () => qc.invalidateQueries({ queryKey:
|
|
2346
|
+
return () => qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.contacts() });
|
|
2292
2347
|
}
|
|
2293
2348
|
function useInviteContacts() {
|
|
2294
2349
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
@@ -2326,7 +2381,7 @@ function useSearchContacts(q, { debounceMs = 200 } = {}) {
|
|
|
2326
2381
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2327
2382
|
const term = useDebounced(q.trim(), debounceMs);
|
|
2328
2383
|
return reactQuery.useQuery({
|
|
2329
|
-
queryKey: [...
|
|
2384
|
+
queryKey: [...chunk37TQBT7Y_cjs.arbiQueryKeys.contacts(), "search", term],
|
|
2330
2385
|
queryFn: () => arbi.contacts.search(term),
|
|
2331
2386
|
enabled: term.length > 0 && arbi.isLoggedIn,
|
|
2332
2387
|
staleTime: 6e4,
|
|
@@ -2345,7 +2400,7 @@ function useDebounced(value, ms) {
|
|
|
2345
2400
|
function useHouseTemplateCandidates(workspaceId, enabled, staleTime = 6e4) {
|
|
2346
2401
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2347
2402
|
return reactQuery.useQuery({
|
|
2348
|
-
queryKey:
|
|
2403
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.houseTemplateCandidates(workspaceId ?? ""),
|
|
2349
2404
|
enabled: enabled && !!workspaceId && arbi.hasWorkspace,
|
|
2350
2405
|
staleTime,
|
|
2351
2406
|
queryFn: () => arbi.houseTemplates.candidates()
|
|
@@ -2356,7 +2411,7 @@ function useSetWorkspaceHouseTemplate() {
|
|
|
2356
2411
|
const queryClient = reactQuery.useQueryClient();
|
|
2357
2412
|
return reactQuery.useMutation({
|
|
2358
2413
|
mutationFn: (documentId) => arbi.houseTemplates.setWorkspace(documentId),
|
|
2359
|
-
onSuccess: () => queryClient.invalidateQueries({ queryKey:
|
|
2414
|
+
onSuccess: () => queryClient.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.workspaces() })
|
|
2360
2415
|
});
|
|
2361
2416
|
}
|
|
2362
2417
|
var supportsHouseTemplates = browser.houseTemplates.supportsHouseTemplates;
|
|
@@ -2457,11 +2512,11 @@ function useProfile(options) {
|
|
|
2457
2512
|
const { client, enabled } = useAccountClient();
|
|
2458
2513
|
const qc = reactQuery.useQueryClient();
|
|
2459
2514
|
React3.useEffect(
|
|
2460
|
-
() => client.onProfileChange(() => qc.setQueryData(
|
|
2515
|
+
() => client.onProfileChange(() => qc.setQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.profile(), client.profile())),
|
|
2461
2516
|
[client, qc]
|
|
2462
2517
|
);
|
|
2463
2518
|
return reactQuery.useQuery({
|
|
2464
|
-
queryKey:
|
|
2519
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.profile(),
|
|
2465
2520
|
queryFn: () => client.profile(),
|
|
2466
2521
|
enabled: (options?.enabled ?? true) && enabled,
|
|
2467
2522
|
staleTime: Infinity
|
|
@@ -2476,9 +2531,9 @@ function useUpdateProfile() {
|
|
|
2476
2531
|
return client.profile();
|
|
2477
2532
|
},
|
|
2478
2533
|
onSuccess: (profile) => {
|
|
2479
|
-
qc.setQueryData(
|
|
2480
|
-
void qc.invalidateQueries({ queryKey:
|
|
2481
|
-
return qc.invalidateQueries({ queryKey:
|
|
2534
|
+
qc.setQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.profile(), profile);
|
|
2535
|
+
void qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.identity() });
|
|
2536
|
+
return qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.workspaces() });
|
|
2482
2537
|
}
|
|
2483
2538
|
});
|
|
2484
2539
|
}
|
|
@@ -2561,7 +2616,7 @@ function useConfirmEmailChange() {
|
|
|
2561
2616
|
const qc = reactQuery.useQueryClient();
|
|
2562
2617
|
return reactQuery.useMutation({
|
|
2563
2618
|
mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
|
|
2564
|
-
onSuccess: () => qc.setQueryData(
|
|
2619
|
+
onSuccess: () => qc.setQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.profile(), client.profile())
|
|
2565
2620
|
});
|
|
2566
2621
|
}
|
|
2567
2622
|
function useEmailChange({
|
|
@@ -2720,7 +2775,7 @@ function usePasswordChangeForm({
|
|
|
2720
2775
|
function useUserSettings(options) {
|
|
2721
2776
|
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
2722
2777
|
return reactQuery.useQuery({
|
|
2723
|
-
queryKey:
|
|
2778
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings(),
|
|
2724
2779
|
queryFn: () => arbi.settings.get(),
|
|
2725
2780
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
2726
2781
|
});
|
|
@@ -2731,18 +2786,18 @@ function useUpdateUserSettings() {
|
|
|
2731
2786
|
return reactQuery.useMutation({
|
|
2732
2787
|
mutationFn: (patch) => arbi.settings.update(patch),
|
|
2733
2788
|
onMutate: async (patch) => {
|
|
2734
|
-
await qc.cancelQueries({ queryKey:
|
|
2735
|
-
const previous = qc.getQueryData(
|
|
2789
|
+
await qc.cancelQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings() });
|
|
2790
|
+
const previous = qc.getQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings());
|
|
2736
2791
|
qc.setQueryData(
|
|
2737
|
-
|
|
2792
|
+
chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings(),
|
|
2738
2793
|
(old) => old ? { ...old, ...patch } : old
|
|
2739
2794
|
);
|
|
2740
2795
|
return { previous };
|
|
2741
2796
|
},
|
|
2742
2797
|
onError: (_err, _patch, context) => {
|
|
2743
|
-
qc.setQueryData(
|
|
2798
|
+
qc.setQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings(), context?.previous);
|
|
2744
2799
|
},
|
|
2745
|
-
onSettled: () => qc.invalidateQueries({ queryKey:
|
|
2800
|
+
onSettled: () => qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings() })
|
|
2746
2801
|
});
|
|
2747
2802
|
}
|
|
2748
2803
|
function toNotificationPreferences(stored, keys) {
|
|
@@ -2762,18 +2817,18 @@ function useNotificationPreferences(keys, options) {
|
|
|
2762
2817
|
const save = reactQuery.useMutation({
|
|
2763
2818
|
mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
|
|
2764
2819
|
onMutate: async (patch) => {
|
|
2765
|
-
await qc.cancelQueries({ queryKey:
|
|
2766
|
-
const previous = qc.getQueryData(
|
|
2820
|
+
await qc.cancelQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings() });
|
|
2821
|
+
const previous = qc.getQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings());
|
|
2767
2822
|
qc.setQueryData(
|
|
2768
|
-
|
|
2823
|
+
chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings(),
|
|
2769
2824
|
(old) => old ? { ...old, email_notifications: { ...old.email_notifications, ...patch } } : old
|
|
2770
2825
|
);
|
|
2771
2826
|
return { previous };
|
|
2772
2827
|
},
|
|
2773
2828
|
onError: (_err, _patch, context) => {
|
|
2774
|
-
qc.setQueryData(
|
|
2829
|
+
qc.setQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings(), context?.previous);
|
|
2775
2830
|
},
|
|
2776
|
-
onSettled: () => qc.invalidateQueries({ queryKey:
|
|
2831
|
+
onSettled: () => qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings() })
|
|
2777
2832
|
});
|
|
2778
2833
|
const model = React3.useMemo(() => toNotificationPreferences(stored, keys), [stored, keys]);
|
|
2779
2834
|
const setAll = React3.useCallback(
|
|
@@ -2800,18 +2855,18 @@ function useRelevanceSave() {
|
|
|
2800
2855
|
return reactQuery.useMutation({
|
|
2801
2856
|
mutationFn: (patch) => arbi.settings.update(patch),
|
|
2802
2857
|
onMutate: async (patch) => {
|
|
2803
|
-
await qc.cancelQueries({ queryKey:
|
|
2804
|
-
const previous = qc.getQueryData(
|
|
2858
|
+
await qc.cancelQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings() });
|
|
2859
|
+
const previous = qc.getQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings());
|
|
2805
2860
|
qc.setQueryData(
|
|
2806
|
-
|
|
2861
|
+
chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings(),
|
|
2807
2862
|
(old) => old ? { ...old, ...patch } : old
|
|
2808
2863
|
);
|
|
2809
2864
|
return { previous };
|
|
2810
2865
|
},
|
|
2811
2866
|
onError: (_err, _patch, context) => {
|
|
2812
|
-
qc.setQueryData(
|
|
2867
|
+
qc.setQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings(), context?.previous);
|
|
2813
2868
|
},
|
|
2814
|
-
onSettled: () => qc.invalidateQueries({ queryKey:
|
|
2869
|
+
onSettled: () => qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings() })
|
|
2815
2870
|
});
|
|
2816
2871
|
}
|
|
2817
2872
|
function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
@@ -2822,7 +2877,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
|
2822
2877
|
const setLevel = React3.useCallback(
|
|
2823
2878
|
(next) => {
|
|
2824
2879
|
if (!workspaceId) return;
|
|
2825
|
-
const current = qc.getQueryData(
|
|
2880
|
+
const current = qc.getQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings()) ?? settings.data;
|
|
2826
2881
|
save.mutate(browser.settings.workspaceLevelPatch(current, workspaceId, next));
|
|
2827
2882
|
},
|
|
2828
2883
|
[qc, save, settings.data, workspaceId]
|
|
@@ -2843,7 +2898,7 @@ function useFollowThread(conversationId, options) {
|
|
|
2843
2898
|
const setFollowing = React3.useCallback(
|
|
2844
2899
|
(on, callbacks) => {
|
|
2845
2900
|
if (!conversationId) return;
|
|
2846
|
-
const current = qc.getQueryData(
|
|
2901
|
+
const current = qc.getQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.userSettings()) ?? settings.data;
|
|
2847
2902
|
save.mutate(
|
|
2848
2903
|
{
|
|
2849
2904
|
followed_threads: browser.settings.withMembership(
|
|
@@ -2868,7 +2923,7 @@ function useFollowThread(conversationId, options) {
|
|
|
2868
2923
|
function useSessions(options) {
|
|
2869
2924
|
const { client, enabled } = useAccountClient();
|
|
2870
2925
|
return reactQuery.useQuery({
|
|
2871
|
-
queryKey:
|
|
2926
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.sessions(),
|
|
2872
2927
|
queryFn: () => client.listSessions(),
|
|
2873
2928
|
enabled: (options?.enabled ?? true) && enabled
|
|
2874
2929
|
});
|
|
@@ -2878,7 +2933,7 @@ function useTerminateSession() {
|
|
|
2878
2933
|
const qc = reactQuery.useQueryClient();
|
|
2879
2934
|
return reactQuery.useMutation({
|
|
2880
2935
|
mutationFn: (sessionId) => client.terminateSession(sessionId),
|
|
2881
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
2936
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.sessions() })
|
|
2882
2937
|
});
|
|
2883
2938
|
}
|
|
2884
2939
|
function useSignOut() {
|
|
@@ -3021,7 +3076,7 @@ function useIdentityVerificationFlow(api, {
|
|
|
3021
3076
|
const apiRef = React3.useRef(api);
|
|
3022
3077
|
apiRef.current = api;
|
|
3023
3078
|
const query = reactQuery.useQuery({
|
|
3024
|
-
queryKey:
|
|
3079
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.identity(),
|
|
3025
3080
|
queryFn: () => apiRef.current.status(),
|
|
3026
3081
|
enabled,
|
|
3027
3082
|
staleTime: 6e4
|
|
@@ -3039,7 +3094,7 @@ function useIdentityVerificationFlow(api, {
|
|
|
3039
3094
|
const lastVerified = React3.useRef(void 0);
|
|
3040
3095
|
const apply = React3.useCallback(
|
|
3041
3096
|
(next) => {
|
|
3042
|
-
qc.setQueryData(
|
|
3097
|
+
qc.setQueryData(chunk37TQBT7Y_cjs.arbiQueryKeys.identity(), next);
|
|
3043
3098
|
if (lastVerified.current !== void 0 && lastVerified.current !== next.verified) {
|
|
3044
3099
|
onVerifiedChange?.(next.verified);
|
|
3045
3100
|
}
|
|
@@ -3234,12 +3289,12 @@ function useIdentityVerification(options = {}) {
|
|
|
3234
3289
|
enabled,
|
|
3235
3290
|
formatPrice,
|
|
3236
3291
|
onVerifiedChange: (verified) => {
|
|
3237
|
-
void qc.invalidateQueries({ queryKey:
|
|
3292
|
+
void qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.profile() });
|
|
3238
3293
|
onVerifiedChange?.(verified);
|
|
3239
3294
|
},
|
|
3240
3295
|
onNameAccepted: (name) => {
|
|
3241
|
-
void qc.invalidateQueries({ queryKey:
|
|
3242
|
-
void qc.invalidateQueries({ queryKey:
|
|
3296
|
+
void qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.profile() });
|
|
3297
|
+
void qc.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.workspaces() });
|
|
3243
3298
|
onNameAccepted?.(name);
|
|
3244
3299
|
}
|
|
3245
3300
|
});
|
|
@@ -3249,7 +3304,7 @@ async function downloadRecoveryFile(params) {
|
|
|
3249
3304
|
...params,
|
|
3250
3305
|
origin: params.origin ?? window.location.origin
|
|
3251
3306
|
});
|
|
3252
|
-
|
|
3307
|
+
chunkQKNJ6FRD_cjs.downloadBlob(new Blob([file.html], { type: "text/html" }), file.filename);
|
|
3253
3308
|
}
|
|
3254
3309
|
|
|
3255
3310
|
// src/mail/client.ts
|
|
@@ -4511,7 +4566,7 @@ function useDeleteBookingPage() {
|
|
|
4511
4566
|
});
|
|
4512
4567
|
}
|
|
4513
4568
|
function useWorkspaceDocs(workspaceId) {
|
|
4514
|
-
const { data: docs = [], isLoading, isError } =
|
|
4569
|
+
const { data: docs = [], isLoading, isError } = chunk37TQBT7Y_cjs.useDocuments(workspaceId);
|
|
4515
4570
|
const docIds = React3.useMemo(
|
|
4516
4571
|
() => docs.map((d) => d.external_id).filter((id) => !!id),
|
|
4517
4572
|
[docs]
|
|
@@ -4519,7 +4574,7 @@ function useWorkspaceDocs(workspaceId) {
|
|
|
4519
4574
|
return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
|
|
4520
4575
|
}
|
|
4521
4576
|
function useAiTask() {
|
|
4522
|
-
const mutation =
|
|
4577
|
+
const mutation = chunk37TQBT7Y_cjs.useAssistantQuery();
|
|
4523
4578
|
const [status, setStatus] = React3.useState("idle");
|
|
4524
4579
|
const [text, setText] = React3.useState("");
|
|
4525
4580
|
const [stepCount, setStepCount] = React3.useState(0);
|
|
@@ -4688,7 +4743,7 @@ function AiAnswer({
|
|
|
4688
4743
|
}
|
|
4689
4744
|
),
|
|
4690
4745
|
hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4691
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4746
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkVKWGRGY6_cjs.AiMarkdown, { isStreaming: running, children: text }),
|
|
4692
4747
|
!running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
|
|
4693
4748
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
|
|
4694
4749
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
|
|
@@ -4733,7 +4788,7 @@ function AiActionCard({
|
|
|
4733
4788
|
const p = typeof prompt === "function" ? prompt() : prompt;
|
|
4734
4789
|
void task.run(p, docIds);
|
|
4735
4790
|
};
|
|
4736
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4791
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkVKWGRGY6_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
|
|
4737
4792
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
4738
4793
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
4739
4794
|
/* @__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 +4930,11 @@ function ArtifactCanvas({
|
|
|
4875
4930
|
children: active.title
|
|
4876
4931
|
}
|
|
4877
4932
|
),
|
|
4878
|
-
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4933
|
+
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkVKWGRGY6_cjs.Badge, { variant: "accent", className: "gap-1", children: [
|
|
4879
4934
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
|
|
4880
4935
|
" Redline"
|
|
4881
4936
|
] }),
|
|
4882
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4937
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkVKWGRGY6_cjs.Badge, { variant: "secondary", children: [
|
|
4883
4938
|
"v",
|
|
4884
4939
|
active.version
|
|
4885
4940
|
] }),
|
|
@@ -4935,7 +4990,7 @@ function ArtifactCanvas({
|
|
|
4935
4990
|
animate: { opacity: 1, y: 0 },
|
|
4936
4991
|
transition: { duration: 0.2 },
|
|
4937
4992
|
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(
|
|
4993
|
+
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(chunkVKWGRGY6_cjs.AiMarkdown, { children: active.content })
|
|
4939
4994
|
},
|
|
4940
4995
|
active.doc_ext_id
|
|
4941
4996
|
) }) })
|
|
@@ -4979,7 +5034,7 @@ function MessageArtifactCard({
|
|
|
4979
5034
|
const labels = labelsFor(mode);
|
|
4980
5035
|
const Icon = labels.Icon;
|
|
4981
5036
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4982
|
-
|
|
5037
|
+
chunkVKWGRGY6_cjs.Card,
|
|
4983
5038
|
{
|
|
4984
5039
|
variant: "outline",
|
|
4985
5040
|
className: "mt-3 flex items-center gap-3 px-3 py-2.5",
|
|
@@ -5124,7 +5179,7 @@ function DocSearch({
|
|
|
5124
5179
|
status === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": "doc-search-results", children: [
|
|
5125
5180
|
/* @__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
5181
|
results.slice(0, 8).map((r, i) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5127
|
-
|
|
5182
|
+
chunkVKWGRGY6_cjs.Card,
|
|
5128
5183
|
{
|
|
5129
5184
|
variant: "elevated",
|
|
5130
5185
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -5137,7 +5192,7 @@ function DocSearch({
|
|
|
5137
5192
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1 flex items-center gap-2", children: [
|
|
5138
5193
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 text-ai-accent" }),
|
|
5139
5194
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: r.docTitle || "Document" }),
|
|
5140
|
-
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5195
|
+
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkVKWGRGY6_cjs.Badge, { variant: "secondary", children: [
|
|
5141
5196
|
"p.",
|
|
5142
5197
|
r.page
|
|
5143
5198
|
] }),
|
|
@@ -5174,7 +5229,7 @@ Question: ${question}`,
|
|
|
5174
5229
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 space-y-3", "data-testid": "doc-qa", children: [
|
|
5175
5230
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
5176
5231
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5177
|
-
|
|
5232
|
+
chunkVKWGRGY6_cjs.Input,
|
|
5178
5233
|
{
|
|
5179
5234
|
value: q,
|
|
5180
5235
|
onChange: (e) => setQ(e.target.value),
|
|
@@ -5376,7 +5431,7 @@ var CitationPopover = ({
|
|
|
5376
5431
|
return () => {
|
|
5377
5432
|
if (!restoreFocusRef.current) return;
|
|
5378
5433
|
restoreFocusRef.current = false;
|
|
5379
|
-
if (triggerRef.current)
|
|
5434
|
+
if (triggerRef.current) chunkVKWGRGY6_cjs.returnFocusToMark(triggerRef.current);
|
|
5380
5435
|
};
|
|
5381
5436
|
}, [open]);
|
|
5382
5437
|
React3.useEffect(() => {
|
|
@@ -5577,7 +5632,7 @@ var CitationLink = ({
|
|
|
5577
5632
|
triggerRef,
|
|
5578
5633
|
children
|
|
5579
5634
|
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5580
|
-
|
|
5635
|
+
chunkVKWGRGY6_cjs.MarkMenu,
|
|
5581
5636
|
{
|
|
5582
5637
|
triggerRef,
|
|
5583
5638
|
items,
|
|
@@ -5618,8 +5673,8 @@ var FileIcon = ({ size = 16, className = "" }) => {
|
|
|
5618
5673
|
"path",
|
|
5619
5674
|
{
|
|
5620
5675
|
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:
|
|
5676
|
+
fill: chunkVKWGRGY6_cjs.FILE_TYPE_COLORS.generic,
|
|
5677
|
+
stroke: chunkVKWGRGY6_cjs.FILE_TYPE_COLORS.generic,
|
|
5623
5678
|
strokeWidth: "1",
|
|
5624
5679
|
strokeLinecap: "round",
|
|
5625
5680
|
strokeLinejoin: "round"
|
|
@@ -5630,7 +5685,7 @@ var FileIcon = ({ size = 16, className = "" }) => {
|
|
|
5630
5685
|
{
|
|
5631
5686
|
d: "M14 2v6h6",
|
|
5632
5687
|
fill: "none",
|
|
5633
|
-
stroke:
|
|
5688
|
+
stroke: chunkVKWGRGY6_cjs.FILE_TYPE_COLORS.white,
|
|
5634
5689
|
strokeWidth: "1",
|
|
5635
5690
|
strokeLinecap: "round",
|
|
5636
5691
|
strokeLinejoin: "round"
|
|
@@ -5968,7 +6023,7 @@ var ArbiBotIcon = ({ size = 24, className = "" }) => {
|
|
|
5968
6023
|
);
|
|
5969
6024
|
};
|
|
5970
6025
|
function getNotificationTypeMeta(type) {
|
|
5971
|
-
const WorkspaceIcon =
|
|
6026
|
+
const WorkspaceIcon = chunkVKWGRGY6_cjs.getEntityIcon("WORKSPACE");
|
|
5972
6027
|
switch (type) {
|
|
5973
6028
|
case "agent_input_requested":
|
|
5974
6029
|
return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Input needed" };
|
|
@@ -6101,7 +6156,7 @@ function describeActivity(content) {
|
|
|
6101
6156
|
}
|
|
6102
6157
|
default:
|
|
6103
6158
|
return {
|
|
6104
|
-
Icon: parsed.workspace_ext_id ?
|
|
6159
|
+
Icon: parsed.workspace_ext_id ? chunkVKWGRGY6_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
|
|
6105
6160
|
iconClassName: "text-muted-foreground",
|
|
6106
6161
|
title: humaniseEvent(parsed.event)
|
|
6107
6162
|
};
|
|
@@ -6131,7 +6186,7 @@ function ActivityFeed({
|
|
|
6131
6186
|
enabled,
|
|
6132
6187
|
"data-testid": testId = "activity-feed"
|
|
6133
6188
|
}) {
|
|
6134
|
-
const { data, isLoading, isError } =
|
|
6189
|
+
const { data, isLoading, isError } = chunk37TQBT7Y_cjs.useActivity({ limit, enabled });
|
|
6135
6190
|
if (isLoading) {
|
|
6136
6191
|
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
6192
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
|
|
@@ -6208,12 +6263,12 @@ function useNotifications(options = {}) {
|
|
|
6208
6263
|
React3.useEffect(
|
|
6209
6264
|
() => ws?.subscribe((message) => {
|
|
6210
6265
|
if ("sender" in message && "recipient" in message)
|
|
6211
|
-
void queries.invalidateQueries({ queryKey:
|
|
6266
|
+
void queries.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.allNotifications() });
|
|
6212
6267
|
}),
|
|
6213
6268
|
[ws, queries]
|
|
6214
6269
|
);
|
|
6215
6270
|
return reactQuery.useQuery({
|
|
6216
|
-
queryKey:
|
|
6271
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.notifications(limit),
|
|
6217
6272
|
queryFn: () => arbi.notifications.list({ limit }),
|
|
6218
6273
|
enabled: (options.enabled ?? true) && arbi.isLoggedIn
|
|
6219
6274
|
});
|
|
@@ -6223,7 +6278,7 @@ function useDeleteNotifications() {
|
|
|
6223
6278
|
const queries = reactQuery.useQueryClient();
|
|
6224
6279
|
return reactQuery.useMutation({
|
|
6225
6280
|
mutationFn: (ids) => arbi.notifications.delete(ids),
|
|
6226
|
-
onSuccess: () => queries.invalidateQueries({ queryKey:
|
|
6281
|
+
onSuccess: () => queries.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.allNotifications() })
|
|
6227
6282
|
});
|
|
6228
6283
|
}
|
|
6229
6284
|
function useMarkNotificationsRead() {
|
|
@@ -6231,7 +6286,7 @@ function useMarkNotificationsRead() {
|
|
|
6231
6286
|
const queries = reactQuery.useQueryClient();
|
|
6232
6287
|
return reactQuery.useMutation({
|
|
6233
6288
|
mutationFn: (ids) => arbi.notifications.markRead(ids),
|
|
6234
|
-
onSuccess: () => queries.invalidateQueries({ queryKey:
|
|
6289
|
+
onSuccess: () => queries.invalidateQueries({ queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.allNotifications() })
|
|
6235
6290
|
});
|
|
6236
6291
|
}
|
|
6237
6292
|
|
|
@@ -6685,7 +6740,7 @@ function useDirectMessages(options) {
|
|
|
6685
6740
|
enabled
|
|
6686
6741
|
});
|
|
6687
6742
|
const contactsQuery = reactQuery.useQuery({
|
|
6688
|
-
queryKey:
|
|
6743
|
+
queryKey: chunk37TQBT7Y_cjs.arbiQueryKeys.contacts(),
|
|
6689
6744
|
queryFn: () => arbi.contacts.list(),
|
|
6690
6745
|
enabled
|
|
6691
6746
|
});
|
|
@@ -6771,7 +6826,7 @@ function DmAvatar({ user, className, size = "lg" }) {
|
|
|
6771
6826
|
const presence = useArbiWsStore((s) => s.presence[user.external_id]);
|
|
6772
6827
|
const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
|
|
6773
6828
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6774
|
-
|
|
6829
|
+
chunkVKWGRGY6_cjs.UserEntity,
|
|
6775
6830
|
{
|
|
6776
6831
|
variant: "icon",
|
|
6777
6832
|
size,
|
|
@@ -6781,7 +6836,7 @@ function DmAvatar({ user, className, size = "lg" }) {
|
|
|
6781
6836
|
initials: userInitials(user),
|
|
6782
6837
|
displayName: userDisplayName(user),
|
|
6783
6838
|
picture: user.picture,
|
|
6784
|
-
avatarStyle:
|
|
6839
|
+
avatarStyle: chunkVKWGRGY6_cjs.getEntityColorStyles(user.external_id),
|
|
6785
6840
|
isAgent: isAgentUser(user),
|
|
6786
6841
|
displayStatus
|
|
6787
6842
|
}
|
|
@@ -6837,10 +6892,10 @@ function ConversationList({
|
|
|
6837
6892
|
children: c.title ?? userDisplayName(peer)
|
|
6838
6893
|
}
|
|
6839
6894
|
),
|
|
6840
|
-
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6895
|
+
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkVKWGRGY6_cjs.AgentBadge, {}) : null)
|
|
6841
6896
|
] }),
|
|
6842
6897
|
c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6843
|
-
|
|
6898
|
+
chunkVKWGRGY6_cjs.Badge,
|
|
6844
6899
|
{
|
|
6845
6900
|
variant: "outline",
|
|
6846
6901
|
className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
|
|
@@ -6851,7 +6906,7 @@ function ConversationList({
|
|
|
6851
6906
|
// shouted louder than the message it was counting.
|
|
6852
6907
|
// Enough to catch the eye scanning the list, no more.
|
|
6853
6908
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6854
|
-
|
|
6909
|
+
chunkVKWGRGY6_cjs.Badge,
|
|
6855
6910
|
{
|
|
6856
6911
|
variant: "accent",
|
|
6857
6912
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -7176,7 +7231,7 @@ function DmComposer({
|
|
|
7176
7231
|
)
|
|
7177
7232
|
] }),
|
|
7178
7233
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7179
|
-
|
|
7234
|
+
chunkVKWGRGY6_cjs.Textarea,
|
|
7180
7235
|
{
|
|
7181
7236
|
ref: inputRef,
|
|
7182
7237
|
value: draft,
|
|
@@ -7270,9 +7325,9 @@ function StartByEmail({
|
|
|
7270
7325
|
void submit();
|
|
7271
7326
|
},
|
|
7272
7327
|
children: [
|
|
7273
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7328
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkVKWGRGY6_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
|
|
7274
7329
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7275
|
-
|
|
7330
|
+
chunkVKWGRGY6_cjs.Input,
|
|
7276
7331
|
{
|
|
7277
7332
|
id: `${uid}-email`,
|
|
7278
7333
|
type: "email",
|
|
@@ -7286,9 +7341,9 @@ function StartByEmail({
|
|
|
7286
7341
|
}
|
|
7287
7342
|
),
|
|
7288
7343
|
email !== "" && !valid && /* @__PURE__ */ jsxRuntime.jsx("p", { id: `${uid}-bad`, className: "text-xs text-destructive", children: l.invalidEmail }),
|
|
7289
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7344
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkVKWGRGY6_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
|
|
7290
7345
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7291
|
-
|
|
7346
|
+
chunkVKWGRGY6_cjs.Textarea,
|
|
7292
7347
|
{
|
|
7293
7348
|
id: `${uid}-text`,
|
|
7294
7349
|
value: text,
|
|
@@ -7505,7 +7560,7 @@ function ImageCropper({
|
|
|
7505
7560
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
7506
7561
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
|
|
7507
7562
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7508
|
-
|
|
7563
|
+
chunkVKWGRGY6_cjs.Slider,
|
|
7509
7564
|
{
|
|
7510
7565
|
value: [zoom],
|
|
7511
7566
|
onValueChange: ([v]) => setZoom(v ?? 1),
|
|
@@ -7839,6 +7894,292 @@ function CommandPaletteProvider({
|
|
|
7839
7894
|
] });
|
|
7840
7895
|
}
|
|
7841
7896
|
|
|
7897
|
+
// src/documents/document-fields.ts
|
|
7898
|
+
var ADDABLE_STATUSES = /* @__PURE__ */ new Set(["completed", "empty", "low-content"]);
|
|
7899
|
+
var isDocumentAddableToConversation = (document2) => {
|
|
7900
|
+
if (!document2) return false;
|
|
7901
|
+
if (!document2.status) return true;
|
|
7902
|
+
return ADDABLE_STATUSES.has(document2.status.toLowerCase());
|
|
7903
|
+
};
|
|
7904
|
+
var getDocumentDate = (document2) => {
|
|
7905
|
+
if (!document2) return void 0;
|
|
7906
|
+
return document2.doc_metadata?.doc_date;
|
|
7907
|
+
};
|
|
7908
|
+
var formatDocDate = (value) => {
|
|
7909
|
+
if (!value) return "";
|
|
7910
|
+
if (value.includes("T")) {
|
|
7911
|
+
const d = new Date(value);
|
|
7912
|
+
if (!Number.isNaN(d.getTime())) {
|
|
7913
|
+
const pad = (n) => String(n).padStart(2, "0");
|
|
7914
|
+
return `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())} ${pad(d.getHours())}:${pad(d.getMinutes())}`;
|
|
7915
|
+
}
|
|
7916
|
+
}
|
|
7917
|
+
return value;
|
|
7918
|
+
};
|
|
7919
|
+
var getDocumentNature = (document2) => {
|
|
7920
|
+
if (!document2) return void 0;
|
|
7921
|
+
return document2.doc_metadata?.doc_nature;
|
|
7922
|
+
};
|
|
7923
|
+
var getDocumentAuthor = (document2) => {
|
|
7924
|
+
if (!document2) return void 0;
|
|
7925
|
+
return document2.doc_metadata?.doc_author;
|
|
7926
|
+
};
|
|
7927
|
+
var getDocumentSubject = (document2) => {
|
|
7928
|
+
if (!document2) return void 0;
|
|
7929
|
+
return document2.doc_metadata?.doc_subject;
|
|
7930
|
+
};
|
|
7931
|
+
var DEFAULT_METADATA_TAGS = [
|
|
7932
|
+
{ name: "doc_date", label: "Date" },
|
|
7933
|
+
{ name: "doc_nature", label: "Type" },
|
|
7934
|
+
{ name: "doc_author", label: "Author" },
|
|
7935
|
+
{ name: "doc_subject", label: "Abstract" }
|
|
7936
|
+
];
|
|
7937
|
+
var canonicalFolderPath = (folder) => {
|
|
7938
|
+
if (!folder) return null;
|
|
7939
|
+
const segments = folder.split("/").map((segment) => segment.trim()).filter(Boolean);
|
|
7940
|
+
return segments.length > 0 ? segments.join("/") : null;
|
|
7941
|
+
};
|
|
7942
|
+
var buildFolderTree = (docs) => {
|
|
7943
|
+
const counts = /* @__PURE__ */ new Map();
|
|
7944
|
+
let unfiledCount = 0;
|
|
7945
|
+
for (const doc of docs) {
|
|
7946
|
+
const folder = canonicalFolderPath(doc.folder);
|
|
7947
|
+
if (!folder) {
|
|
7948
|
+
unfiledCount++;
|
|
7949
|
+
continue;
|
|
7950
|
+
}
|
|
7951
|
+
const parts = folder.split("/");
|
|
7952
|
+
for (let i = 1; i <= parts.length; i++) {
|
|
7953
|
+
const path = parts.slice(0, i).join("/");
|
|
7954
|
+
counts.set(path, (counts.get(path) ?? 0) + 1);
|
|
7955
|
+
}
|
|
7956
|
+
}
|
|
7957
|
+
const nodes = [...counts.keys()].sort((a, b) => a.localeCompare(b)).map((path) => ({
|
|
7958
|
+
path,
|
|
7959
|
+
label: path.split("/").pop() ?? path,
|
|
7960
|
+
depth: path.split("/").length - 1,
|
|
7961
|
+
count: counts.get(path) ?? 0
|
|
7962
|
+
}));
|
|
7963
|
+
return { nodes, unfiledCount };
|
|
7964
|
+
};
|
|
7965
|
+
var formatFolderLabel = (path) => {
|
|
7966
|
+
if (!path) return "";
|
|
7967
|
+
const parts = path.split("/");
|
|
7968
|
+
const name = parts[parts.length - 1] || path;
|
|
7969
|
+
const depth = parts.length - 1;
|
|
7970
|
+
if (depth === 0) return name;
|
|
7971
|
+
return "../".repeat(depth) + name;
|
|
7972
|
+
};
|
|
7973
|
+
var COLUMN_LABEL_FALLBACKS = {
|
|
7974
|
+
title: "Document Name",
|
|
7975
|
+
doc_nature: "Type",
|
|
7976
|
+
doc_author: "Author",
|
|
7977
|
+
doc_subject: "Abstract",
|
|
7978
|
+
doc_date: "Date",
|
|
7979
|
+
n_pages: "Pages",
|
|
7980
|
+
created_at: "Uploaded",
|
|
7981
|
+
updated_at: "Last modified",
|
|
7982
|
+
file_name: "File name",
|
|
7983
|
+
file_size: "Size",
|
|
7984
|
+
file_type: "File type",
|
|
7985
|
+
shared: "Shared",
|
|
7986
|
+
inConversation: "In chat",
|
|
7987
|
+
created_by: "By",
|
|
7988
|
+
sender: "From",
|
|
7989
|
+
all_tags: "Labels",
|
|
7990
|
+
doc_id: "DocID",
|
|
7991
|
+
related: "Related"
|
|
7992
|
+
};
|
|
7993
|
+
|
|
7994
|
+
// src/documents/document-download.ts
|
|
7995
|
+
function fallbackFileName(doc) {
|
|
7996
|
+
if (doc.file_name) return doc.file_name;
|
|
7997
|
+
const title = chunkVKWGRGY6_cjs.getDocumentTitle(doc, `document-${doc.external_id}`);
|
|
7998
|
+
const extension = doc.file_type || "pdf";
|
|
7999
|
+
const ext = extension.startsWith(".") ? extension : `.${extension}`;
|
|
8000
|
+
return title.toLowerCase().endsWith(ext.toLowerCase()) ? title : `${title}${ext}`;
|
|
8001
|
+
}
|
|
8002
|
+
var COLUMN_MAPPING = {
|
|
8003
|
+
file_name: {
|
|
8004
|
+
header: "File Name",
|
|
8005
|
+
getValue: (d) => d.file_name || chunkVKWGRGY6_cjs.getDocumentTitle(d, `document-${d.external_id}.pdf`)
|
|
8006
|
+
},
|
|
8007
|
+
title: { header: "Title", getValue: (d) => chunkVKWGRGY6_cjs.getDocumentTitle(d) },
|
|
8008
|
+
n_pages: { header: "Pages", getValue: (d) => d.n_pages || "" },
|
|
8009
|
+
doc_date: { header: "Document Date", getValue: (d) => getDocumentDate(d) || "" },
|
|
8010
|
+
doc_id: { header: "Document ID", getValue: (d) => d.external_id },
|
|
8011
|
+
status: { header: "Status", getValue: (d) => d.status || "" },
|
|
8012
|
+
uploaded: { header: "Upload Date", getValue: (d) => d.created_at || "" },
|
|
8013
|
+
updated_at: { header: "Last Modified", getValue: (d) => d.updated_at || "" },
|
|
8014
|
+
file_type: { header: "File Type", getValue: (d) => d.file_type || "" },
|
|
8015
|
+
file_size: { header: "File Size", getValue: (d) => d.file_size || "" },
|
|
8016
|
+
shared: { header: "Shared", getValue: (d) => d.shared ? "Yes" : "No" }
|
|
8017
|
+
};
|
|
8018
|
+
function buildDocumentMetadataRows(documents, selectedColumns) {
|
|
8019
|
+
const columns = selectedColumns || Object.keys(COLUMN_MAPPING);
|
|
8020
|
+
return documents.map((doc) => {
|
|
8021
|
+
const row = {};
|
|
8022
|
+
for (const colId of columns) {
|
|
8023
|
+
const standard = COLUMN_MAPPING[colId];
|
|
8024
|
+
if (standard) {
|
|
8025
|
+
row[standard.header] = standard.getValue(doc);
|
|
8026
|
+
} else if (colId.startsWith("tag-")) {
|
|
8027
|
+
const bare = colId.replace(/^tag-/, "");
|
|
8028
|
+
const doctag = doc.doctags?.find((dt) => dt.tag_ext_id === colId || dt.tag_ext_id === bare);
|
|
8029
|
+
if (doctag) row[colId] = doctag.note || "Yes";
|
|
8030
|
+
}
|
|
8031
|
+
}
|
|
8032
|
+
return row;
|
|
8033
|
+
});
|
|
8034
|
+
}
|
|
8035
|
+
function archiveName(workspaceName, suffix) {
|
|
8036
|
+
const date = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
8037
|
+
const sanitizedName = (workspaceName || "workspace").replace(/[^a-z0-9-_]/gi, "_");
|
|
8038
|
+
return `${date}_${sanitizedName}_${suffix}.zip`;
|
|
8039
|
+
}
|
|
8040
|
+
function useDownloadDocuments({ workspaceName } = {}) {
|
|
8041
|
+
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
8042
|
+
const [isDownloading, setIsDownloading] = React3.useState(false);
|
|
8043
|
+
const fetchNamedFile = React3.useCallback(
|
|
8044
|
+
async (doc) => {
|
|
8045
|
+
const blob = await chunkQKNJ6FRD_cjs.fetchDocumentFile(arbi.getClient().fetch, doc.external_id);
|
|
8046
|
+
return { blob, name: blob instanceof File && blob.name ? blob.name : fallbackFileName(doc) };
|
|
8047
|
+
},
|
|
8048
|
+
[arbi]
|
|
8049
|
+
);
|
|
8050
|
+
const downloadDocuments = React3.useCallback(
|
|
8051
|
+
// selectedColumns: undefined = all default columns; [] = files only (no index.csv)
|
|
8052
|
+
async (documents, selectedColumns) => {
|
|
8053
|
+
const includeMetadataCsv = selectedColumns === void 0 || selectedColumns.length > 0;
|
|
8054
|
+
if (documents.length === 0) {
|
|
8055
|
+
chunkJFKWH6EP_cjs.notify.error("No documents to download");
|
|
8056
|
+
return;
|
|
8057
|
+
}
|
|
8058
|
+
setIsDownloading(true);
|
|
8059
|
+
try {
|
|
8060
|
+
const JSZip = (await import('jszip')).default;
|
|
8061
|
+
const zip = new JSZip();
|
|
8062
|
+
const downloaded = [];
|
|
8063
|
+
const failedDocs = [];
|
|
8064
|
+
for (const doc of documents) {
|
|
8065
|
+
try {
|
|
8066
|
+
const file = await fetchNamedFile(doc);
|
|
8067
|
+
zip.file(file.name, file.blob);
|
|
8068
|
+
downloaded.push(doc);
|
|
8069
|
+
} catch (error) {
|
|
8070
|
+
console.error(`Failed to download document ${doc.external_id}:`, error);
|
|
8071
|
+
failedDocs.push(chunkVKWGRGY6_cjs.getDocumentTitle(doc, doc.external_id));
|
|
8072
|
+
}
|
|
8073
|
+
}
|
|
8074
|
+
const successCount = downloaded.length;
|
|
8075
|
+
if (successCount === 0) {
|
|
8076
|
+
chunkJFKWH6EP_cjs.notify.error("Failed to download documents");
|
|
8077
|
+
return;
|
|
8078
|
+
}
|
|
8079
|
+
if (includeMetadataCsv) {
|
|
8080
|
+
const Papa = (await import('papaparse')).default;
|
|
8081
|
+
zip.file(
|
|
8082
|
+
"index.csv",
|
|
8083
|
+
Papa.unparse(buildDocumentMetadataRows(downloaded, selectedColumns))
|
|
8084
|
+
);
|
|
8085
|
+
}
|
|
8086
|
+
const zipFileName = archiveName(workspaceName, `${successCount}_documents`);
|
|
8087
|
+
chunkQKNJ6FRD_cjs.downloadBlob(await zip.generateAsync({ type: "blob" }), zipFileName);
|
|
8088
|
+
const documentsLabel = `${successCount} document${successCount !== 1 ? "s" : ""}`;
|
|
8089
|
+
const contents = includeMetadataCsv ? `${documentsLabel} and index.csv in ${zipFileName}` : `${documentsLabel} in ${zipFileName}`;
|
|
8090
|
+
if (failedDocs.length === 0) chunkJFKWH6EP_cjs.notify.success(`Successfully downloaded ${contents}`);
|
|
8091
|
+
else chunkJFKWH6EP_cjs.notify.warning(`Downloaded ${contents}, ${failedDocs.length} failed`);
|
|
8092
|
+
} catch (error) {
|
|
8093
|
+
console.error("Failed to create zip file:", error);
|
|
8094
|
+
chunkJFKWH6EP_cjs.notify.error("Failed to download documents. Please try again.");
|
|
8095
|
+
} finally {
|
|
8096
|
+
setIsDownloading(false);
|
|
8097
|
+
}
|
|
8098
|
+
},
|
|
8099
|
+
[workspaceName, fetchNamedFile]
|
|
8100
|
+
);
|
|
8101
|
+
const downloadDocument = React3.useCallback(
|
|
8102
|
+
async (doc) => {
|
|
8103
|
+
setIsDownloading(true);
|
|
8104
|
+
try {
|
|
8105
|
+
const file = await fetchNamedFile(doc);
|
|
8106
|
+
chunkQKNJ6FRD_cjs.downloadBlob(file.blob, file.name);
|
|
8107
|
+
chunkJFKWH6EP_cjs.notify.success(`Successfully downloaded ${file.name}`);
|
|
8108
|
+
} catch (error) {
|
|
8109
|
+
console.error("Failed to download document", error);
|
|
8110
|
+
chunkJFKWH6EP_cjs.notify.error("Failed to download document. Please try again.");
|
|
8111
|
+
} finally {
|
|
8112
|
+
setIsDownloading(false);
|
|
8113
|
+
}
|
|
8114
|
+
},
|
|
8115
|
+
[fetchNamedFile]
|
|
8116
|
+
);
|
|
8117
|
+
return { downloadDocuments, downloadDocument, isDownloading };
|
|
8118
|
+
}
|
|
8119
|
+
var BATCH_SIZE = 200;
|
|
8120
|
+
var IN_PROGRESS = /* @__PURE__ */ new Set(["queued", "parsing", "encrypting", "indexing", "analysing"]);
|
|
8121
|
+
function useDocumentThumbnails(visibleIds) {
|
|
8122
|
+
const arbi = chunkR2MF7YCW_cjs.useArbi();
|
|
8123
|
+
const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
|
|
8124
|
+
const tasks = useProcessingTasks();
|
|
8125
|
+
const tasksRef = React3.useRef(tasks);
|
|
8126
|
+
tasksRef.current = tasks;
|
|
8127
|
+
const [thumbnails, setThumbnails] = React3.useState(/* @__PURE__ */ new Map());
|
|
8128
|
+
const resolvedRef = React3.useRef(/* @__PURE__ */ new Set());
|
|
8129
|
+
const inflightRef = React3.useRef(/* @__PURE__ */ new Set());
|
|
8130
|
+
const idsKey = visibleIds.join(",");
|
|
8131
|
+
React3.useEffect(() => {
|
|
8132
|
+
resolvedRef.current = /* @__PURE__ */ new Set();
|
|
8133
|
+
inflightRef.current = /* @__PURE__ */ new Set();
|
|
8134
|
+
setThumbnails(/* @__PURE__ */ new Map());
|
|
8135
|
+
}, [workspaceId]);
|
|
8136
|
+
const fetchMissing = React3.useCallback(
|
|
8137
|
+
async (ids) => {
|
|
8138
|
+
if (!workspaceId) return;
|
|
8139
|
+
const need = ids.filter((id) => !resolvedRef.current.has(id) && !inflightRef.current.has(id));
|
|
8140
|
+
if (need.length === 0) return;
|
|
8141
|
+
need.forEach((id) => inflightRef.current.add(id));
|
|
8142
|
+
try {
|
|
8143
|
+
const batches = [];
|
|
8144
|
+
for (let i = 0; i < need.length; i += BATCH_SIZE)
|
|
8145
|
+
batches.push(need.slice(i, i + BATCH_SIZE));
|
|
8146
|
+
const results = await Promise.all(
|
|
8147
|
+
batches.map((batch) => arbi.documents.getThumbnails(batch).catch(() => ({})))
|
|
8148
|
+
);
|
|
8149
|
+
const map = Object.assign({}, ...results);
|
|
8150
|
+
setThumbnails((prev) => {
|
|
8151
|
+
const next = new Map(prev);
|
|
8152
|
+
for (const id of need) {
|
|
8153
|
+
const uri = map[id];
|
|
8154
|
+
if (uri) {
|
|
8155
|
+
next.set(id, uri);
|
|
8156
|
+
resolvedRef.current.add(id);
|
|
8157
|
+
continue;
|
|
8158
|
+
}
|
|
8159
|
+
if (!IN_PROGRESS.has(tasksRef.current[id]?.status ?? "")) resolvedRef.current.add(id);
|
|
8160
|
+
}
|
|
8161
|
+
return next;
|
|
8162
|
+
});
|
|
8163
|
+
} finally {
|
|
8164
|
+
need.forEach((id) => inflightRef.current.delete(id));
|
|
8165
|
+
}
|
|
8166
|
+
},
|
|
8167
|
+
[arbi, workspaceId]
|
|
8168
|
+
);
|
|
8169
|
+
React3.useEffect(() => {
|
|
8170
|
+
if (visibleIds.length > 0) void fetchMissing(visibleIds);
|
|
8171
|
+
}, [idsKey, fetchMissing]);
|
|
8172
|
+
React3.useEffect(() => {
|
|
8173
|
+
for (const id of visibleIds)
|
|
8174
|
+
if (IN_PROGRESS.has(tasks[id]?.status ?? "")) resolvedRef.current.delete(id);
|
|
8175
|
+
const ready = visibleIds.filter(
|
|
8176
|
+
(id) => !resolvedRef.current.has(id) && chunk37TQBT7Y_cjs.FINISHED_DOCUMENT_STATUSES.has(tasks[id]?.status ?? "")
|
|
8177
|
+
);
|
|
8178
|
+
if (ready.length > 0) void fetchMissing(ready);
|
|
8179
|
+
}, [tasks, idsKey, fetchMissing]);
|
|
8180
|
+
return thumbnails;
|
|
8181
|
+
}
|
|
8182
|
+
|
|
7842
8183
|
// src/session/store.ts
|
|
7843
8184
|
var DEFAULT_DOCUMENT_VIEWER_STATE = {
|
|
7844
8185
|
tab: "pdf",
|
|
@@ -7968,10 +8309,10 @@ function DocumentTable({
|
|
|
7968
8309
|
extraColumns,
|
|
7969
8310
|
className
|
|
7970
8311
|
}) {
|
|
7971
|
-
const query =
|
|
8312
|
+
const query = chunk37TQBT7Y_cjs.useDocuments(workspaceId, { enabled: !documents });
|
|
7972
8313
|
const rows = documents ?? query.data ?? [];
|
|
7973
8314
|
const isLoading = !documents && query.isLoading;
|
|
7974
|
-
const tagsQuery =
|
|
8315
|
+
const tagsQuery = chunk37TQBT7Y_cjs.useTags(workspaceId);
|
|
7975
8316
|
const tagNameById = React3__default.default.useMemo(() => {
|
|
7976
8317
|
const map = /* @__PURE__ */ new Map();
|
|
7977
8318
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -8031,7 +8372,7 @@ function DocumentTable({
|
|
|
8031
8372
|
const doc = p.data;
|
|
8032
8373
|
if (!doc) return null;
|
|
8033
8374
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8034
|
-
|
|
8375
|
+
chunkVKWGRGY6_cjs.DocumentEntity,
|
|
8035
8376
|
{
|
|
8036
8377
|
doc,
|
|
8037
8378
|
size: "base",
|
|
@@ -8054,7 +8395,7 @@ function DocumentTable({
|
|
|
8054
8395
|
cellRenderer: (p) => {
|
|
8055
8396
|
const status = p.data?.status;
|
|
8056
8397
|
if (!status) return null;
|
|
8057
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8398
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkVKWGRGY6_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
|
|
8058
8399
|
}
|
|
8059
8400
|
},
|
|
8060
8401
|
{
|
|
@@ -8068,7 +8409,7 @@ function DocumentTable({
|
|
|
8068
8409
|
const doctags = p.data?.doctags ?? [];
|
|
8069
8410
|
if (doctags.length === 0) return null;
|
|
8070
8411
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center gap-1 py-1", children: doctags.map((dt) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
8071
|
-
|
|
8412
|
+
chunkVKWGRGY6_cjs.TagEntity,
|
|
8072
8413
|
{
|
|
8073
8414
|
size: "sm",
|
|
8074
8415
|
tag: {
|
|
@@ -8241,10 +8582,10 @@ function DocumentGallery({
|
|
|
8241
8582
|
minTileWidth = 148,
|
|
8242
8583
|
className
|
|
8243
8584
|
}) {
|
|
8244
|
-
const query =
|
|
8585
|
+
const query = chunk37TQBT7Y_cjs.useDocuments(workspaceId, { enabled: !documents });
|
|
8245
8586
|
const rows = documents ?? query.data ?? [];
|
|
8246
8587
|
const isLoading = !documents && query.isLoading;
|
|
8247
|
-
const tagsQuery =
|
|
8588
|
+
const tagsQuery = chunk37TQBT7Y_cjs.useTags(workspaceId);
|
|
8248
8589
|
const tagNameById = React3__default.default.useMemo(() => {
|
|
8249
8590
|
const map = /* @__PURE__ */ new Map();
|
|
8250
8591
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -8256,7 +8597,7 @@ function DocumentGallery({
|
|
|
8256
8597
|
() => rows.map((d) => d.external_id).filter((id) => !!id),
|
|
8257
8598
|
[rows]
|
|
8258
8599
|
);
|
|
8259
|
-
const thumbsQuery =
|
|
8600
|
+
const thumbsQuery = chunk37TQBT7Y_cjs.useThumbnails(docIds);
|
|
8260
8601
|
const thumbs = thumbsQuery.data ?? {};
|
|
8261
8602
|
const session = useArbiSessionStore();
|
|
8262
8603
|
const storeSelected = useArbiSessionState((s) => s.selectedDocumentIds);
|
|
@@ -8327,7 +8668,7 @@ function DocumentGallery({
|
|
|
8327
8668
|
(dt) => tagNameById.get(dt.tag_ext_id) ?? dt.tag_ext_id.slice(0, 8)
|
|
8328
8669
|
);
|
|
8329
8670
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-doc-id": id, "data-testid": "document-gallery-card", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8330
|
-
|
|
8671
|
+
chunkVKWGRGY6_cjs.DocumentCard,
|
|
8331
8672
|
{
|
|
8332
8673
|
doc,
|
|
8333
8674
|
thumbnailUrl: thumbs[id],
|
|
@@ -8365,8 +8706,8 @@ function DocumentReview({
|
|
|
8365
8706
|
onClose,
|
|
8366
8707
|
className
|
|
8367
8708
|
}) {
|
|
8368
|
-
const parsedQuery =
|
|
8369
|
-
const tagsQuery =
|
|
8709
|
+
const parsedQuery = chunk37TQBT7Y_cjs.useParsedDocument(docId, stage);
|
|
8710
|
+
const tagsQuery = chunk37TQBT7Y_cjs.useTags(workspaceId);
|
|
8370
8711
|
const tagNameById = React3__default.default.useMemo(() => {
|
|
8371
8712
|
const map = /* @__PURE__ */ new Map();
|
|
8372
8713
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -8433,7 +8774,7 @@ function DocumentReview({
|
|
|
8433
8774
|
findings.length ? ` \xB7 ${findings.length} findings` : ""
|
|
8434
8775
|
] })
|
|
8435
8776
|
] }),
|
|
8436
|
-
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8777
|
+
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunkVKWGRGY6_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
|
|
8437
8778
|
onClose ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8438
8779
|
"button",
|
|
8439
8780
|
{
|
|
@@ -8470,7 +8811,7 @@ function DocumentReview({
|
|
|
8470
8811
|
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
8812
|
children: [
|
|
8472
8813
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8473
|
-
|
|
8814
|
+
chunkVKWGRGY6_cjs.TagEntity,
|
|
8474
8815
|
{
|
|
8475
8816
|
size: "sm",
|
|
8476
8817
|
tag: {
|
|
@@ -8515,7 +8856,7 @@ function DocumentReview({
|
|
|
8515
8856
|
),
|
|
8516
8857
|
children: [
|
|
8517
8858
|
highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8518
|
-
|
|
8859
|
+
chunkVKWGRGY6_cjs.TagEntity,
|
|
8519
8860
|
{
|
|
8520
8861
|
size: "sm",
|
|
8521
8862
|
tag: {
|
|
@@ -8544,7 +8885,7 @@ function VoiceNoteRecorder({
|
|
|
8544
8885
|
isSaving = false,
|
|
8545
8886
|
transcribe
|
|
8546
8887
|
}) {
|
|
8547
|
-
const recorder =
|
|
8888
|
+
const recorder = chunkVKWGRGY6_cjs.useAudioRecorder();
|
|
8548
8889
|
const [transcript, setTranscript] = React3.useState(null);
|
|
8549
8890
|
const [isTranscribing, setIsTranscribing] = React3.useState(false);
|
|
8550
8891
|
React3.useEffect(() => {
|
|
@@ -8590,7 +8931,7 @@ function VoiceNoteRecorder({
|
|
|
8590
8931
|
] }),
|
|
8591
8932
|
(recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
8592
8933
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8593
|
-
|
|
8934
|
+
chunkVKWGRGY6_cjs.MicWaveformIndicator,
|
|
8594
8935
|
{
|
|
8595
8936
|
level: recorder.level,
|
|
8596
8937
|
elapsedMs: recorder.elapsedMs,
|
|
@@ -8712,7 +9053,7 @@ function DraftTitleControls({
|
|
|
8712
9053
|
}
|
|
8713
9054
|
),
|
|
8714
9055
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8715
|
-
|
|
9056
|
+
chunkVKWGRGY6_cjs.IconToggle,
|
|
8716
9057
|
{
|
|
8717
9058
|
icon: lucideReact.Sparkles,
|
|
8718
9059
|
isActive: autoRename,
|
|
@@ -8746,7 +9087,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
|
|
|
8746
9087
|
streamRef.current = media;
|
|
8747
9088
|
setStream(media);
|
|
8748
9089
|
} catch (err) {
|
|
8749
|
-
setError(
|
|
9090
|
+
setError(chunkVKWGRGY6_cjs.classifyMediaError(err, "camera"));
|
|
8750
9091
|
} finally {
|
|
8751
9092
|
setIsStarting(false);
|
|
8752
9093
|
}
|
|
@@ -8982,7 +9323,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
8982
9323
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
|
|
8983
9324
|
] }),
|
|
8984
9325
|
/* @__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:
|
|
9326
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkVKWGRGY6_cjs.formatElapsed(recorder.elapsedMs) })
|
|
8986
9327
|
] }),
|
|
8987
9328
|
recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8988
9329
|
chunkWYZJLZ67_cjs.Button,
|
|
@@ -9083,243 +9424,243 @@ function hasVideoTrack(blob) {
|
|
|
9083
9424
|
|
|
9084
9425
|
Object.defineProperty(exports, "DOCUMENTS_FIRST_PAGE_MEASURE", {
|
|
9085
9426
|
enumerable: true,
|
|
9086
|
-
get: function () { return
|
|
9427
|
+
get: function () { return chunk37TQBT7Y_cjs.DOCUMENTS_FIRST_PAGE_MEASURE; }
|
|
9087
9428
|
});
|
|
9088
9429
|
Object.defineProperty(exports, "DOCUMENTS_FIRST_PAGE_SIZE", {
|
|
9089
9430
|
enumerable: true,
|
|
9090
|
-
get: function () { return
|
|
9431
|
+
get: function () { return chunk37TQBT7Y_cjs.DOCUMENTS_FIRST_PAGE_SIZE; }
|
|
9091
9432
|
});
|
|
9092
9433
|
Object.defineProperty(exports, "DOCUMENTS_PAGE_SIZE", {
|
|
9093
9434
|
enumerable: true,
|
|
9094
|
-
get: function () { return
|
|
9435
|
+
get: function () { return chunk37TQBT7Y_cjs.DOCUMENTS_PAGE_SIZE; }
|
|
9095
9436
|
});
|
|
9096
9437
|
Object.defineProperty(exports, "FINISHED_DOCUMENT_STATUSES", {
|
|
9097
9438
|
enumerable: true,
|
|
9098
|
-
get: function () { return
|
|
9439
|
+
get: function () { return chunk37TQBT7Y_cjs.FINISHED_DOCUMENT_STATUSES; }
|
|
9099
9440
|
});
|
|
9100
9441
|
Object.defineProperty(exports, "PROJECT_CREATION_DENIED_REASON", {
|
|
9101
9442
|
enumerable: true,
|
|
9102
|
-
get: function () { return
|
|
9443
|
+
get: function () { return chunk37TQBT7Y_cjs.PROJECT_CREATION_DENIED_REASON; }
|
|
9103
9444
|
});
|
|
9104
9445
|
Object.defineProperty(exports, "SIMILARITY_THRESHOLD", {
|
|
9105
9446
|
enumerable: true,
|
|
9106
|
-
get: function () { return
|
|
9447
|
+
get: function () { return chunk37TQBT7Y_cjs.SIMILARITY_THRESHOLD; }
|
|
9107
9448
|
});
|
|
9108
9449
|
Object.defineProperty(exports, "adjustTagCounts", {
|
|
9109
9450
|
enumerable: true,
|
|
9110
|
-
get: function () { return
|
|
9451
|
+
get: function () { return chunk37TQBT7Y_cjs.adjustTagCounts; }
|
|
9111
9452
|
});
|
|
9112
9453
|
Object.defineProperty(exports, "arbiMutationKeys", {
|
|
9113
9454
|
enumerable: true,
|
|
9114
|
-
get: function () { return
|
|
9455
|
+
get: function () { return chunk37TQBT7Y_cjs.arbiMutationKeys; }
|
|
9115
9456
|
});
|
|
9116
9457
|
Object.defineProperty(exports, "arbiQueryKeys", {
|
|
9117
9458
|
enumerable: true,
|
|
9118
|
-
get: function () { return
|
|
9459
|
+
get: function () { return chunk37TQBT7Y_cjs.arbiQueryKeys; }
|
|
9119
9460
|
});
|
|
9120
9461
|
Object.defineProperty(exports, "forgetDocuments", {
|
|
9121
9462
|
enumerable: true,
|
|
9122
|
-
get: function () { return
|
|
9463
|
+
get: function () { return chunk37TQBT7Y_cjs.forgetDocuments; }
|
|
9123
9464
|
});
|
|
9124
9465
|
Object.defineProperty(exports, "getCachedDocuments", {
|
|
9125
9466
|
enumerable: true,
|
|
9126
|
-
get: function () { return
|
|
9467
|
+
get: function () { return chunk37TQBT7Y_cjs.getCachedDocuments; }
|
|
9127
9468
|
});
|
|
9128
9469
|
Object.defineProperty(exports, "invalidateTagData", {
|
|
9129
9470
|
enumerable: true,
|
|
9130
|
-
get: function () { return
|
|
9471
|
+
get: function () { return chunk37TQBT7Y_cjs.invalidateTagData; }
|
|
9131
9472
|
});
|
|
9132
9473
|
Object.defineProperty(exports, "invalidateTagTables", {
|
|
9133
9474
|
enumerable: true,
|
|
9134
|
-
get: function () { return
|
|
9475
|
+
get: function () { return chunk37TQBT7Y_cjs.invalidateTagTables; }
|
|
9135
9476
|
});
|
|
9136
9477
|
Object.defineProperty(exports, "isDocumentsLoading", {
|
|
9137
9478
|
enumerable: true,
|
|
9138
|
-
get: function () { return
|
|
9479
|
+
get: function () { return chunk37TQBT7Y_cjs.isDocumentsLoading; }
|
|
9139
9480
|
});
|
|
9140
9481
|
Object.defineProperty(exports, "isUsageMetered", {
|
|
9141
9482
|
enumerable: true,
|
|
9142
|
-
get: function () { return
|
|
9483
|
+
get: function () { return chunk37TQBT7Y_cjs.isUsageMetered; }
|
|
9143
9484
|
});
|
|
9144
9485
|
Object.defineProperty(exports, "patchCachedDocument", {
|
|
9145
9486
|
enumerable: true,
|
|
9146
|
-
get: function () { return
|
|
9487
|
+
get: function () { return chunk37TQBT7Y_cjs.patchCachedDocument; }
|
|
9147
9488
|
});
|
|
9148
9489
|
Object.defineProperty(exports, "patchDocuments", {
|
|
9149
9490
|
enumerable: true,
|
|
9150
|
-
get: function () { return
|
|
9491
|
+
get: function () { return chunk37TQBT7Y_cjs.patchDocuments; }
|
|
9151
9492
|
});
|
|
9152
9493
|
Object.defineProperty(exports, "patchWorkspaceTags", {
|
|
9153
9494
|
enumerable: true,
|
|
9154
|
-
get: function () { return
|
|
9495
|
+
get: function () { return chunk37TQBT7Y_cjs.patchWorkspaceTags; }
|
|
9155
9496
|
});
|
|
9156
9497
|
Object.defineProperty(exports, "refreshDocuments", {
|
|
9157
9498
|
enumerable: true,
|
|
9158
|
-
get: function () { return
|
|
9499
|
+
get: function () { return chunk37TQBT7Y_cjs.refreshDocuments; }
|
|
9159
9500
|
});
|
|
9160
9501
|
Object.defineProperty(exports, "setCachedDocument", {
|
|
9161
9502
|
enumerable: true,
|
|
9162
|
-
get: function () { return
|
|
9503
|
+
get: function () { return chunk37TQBT7Y_cjs.setCachedDocument; }
|
|
9163
9504
|
});
|
|
9164
9505
|
Object.defineProperty(exports, "stopDocumentsLoading", {
|
|
9165
9506
|
enumerable: true,
|
|
9166
|
-
get: function () { return
|
|
9507
|
+
get: function () { return chunk37TQBT7Y_cjs.stopDocumentsLoading; }
|
|
9167
9508
|
});
|
|
9168
9509
|
Object.defineProperty(exports, "subscribeDocumentRows", {
|
|
9169
9510
|
enumerable: true,
|
|
9170
|
-
get: function () { return
|
|
9511
|
+
get: function () { return chunk37TQBT7Y_cjs.subscribeDocumentRows; }
|
|
9171
9512
|
});
|
|
9172
9513
|
Object.defineProperty(exports, "upsertDocuments", {
|
|
9173
9514
|
enumerable: true,
|
|
9174
|
-
get: function () { return
|
|
9515
|
+
get: function () { return chunk37TQBT7Y_cjs.upsertDocuments; }
|
|
9175
9516
|
});
|
|
9176
9517
|
Object.defineProperty(exports, "useActivity", {
|
|
9177
9518
|
enumerable: true,
|
|
9178
|
-
get: function () { return
|
|
9519
|
+
get: function () { return chunk37TQBT7Y_cjs.useActivity; }
|
|
9179
9520
|
});
|
|
9180
9521
|
Object.defineProperty(exports, "useAgents", {
|
|
9181
9522
|
enumerable: true,
|
|
9182
|
-
get: function () { return
|
|
9523
|
+
get: function () { return chunk37TQBT7Y_cjs.useAgents; }
|
|
9183
9524
|
});
|
|
9184
9525
|
Object.defineProperty(exports, "useAssistantQuery", {
|
|
9185
9526
|
enumerable: true,
|
|
9186
|
-
get: function () { return
|
|
9527
|
+
get: function () { return chunk37TQBT7Y_cjs.useAssistantQuery; }
|
|
9187
9528
|
});
|
|
9188
9529
|
Object.defineProperty(exports, "useAvailableModels", {
|
|
9189
9530
|
enumerable: true,
|
|
9190
|
-
get: function () { return
|
|
9531
|
+
get: function () { return chunk37TQBT7Y_cjs.useAvailableModels; }
|
|
9191
9532
|
});
|
|
9192
9533
|
Object.defineProperty(exports, "useCanCreateProjects", {
|
|
9193
9534
|
enumerable: true,
|
|
9194
|
-
get: function () { return
|
|
9535
|
+
get: function () { return chunk37TQBT7Y_cjs.useCanCreateProjects; }
|
|
9195
9536
|
});
|
|
9196
9537
|
Object.defineProperty(exports, "useConfigs", {
|
|
9197
9538
|
enumerable: true,
|
|
9198
|
-
get: function () { return
|
|
9539
|
+
get: function () { return chunk37TQBT7Y_cjs.useConfigs; }
|
|
9199
9540
|
});
|
|
9200
9541
|
Object.defineProperty(exports, "useConversationThreads", {
|
|
9201
9542
|
enumerable: true,
|
|
9202
|
-
get: function () { return
|
|
9543
|
+
get: function () { return chunk37TQBT7Y_cjs.useConversationThreads; }
|
|
9203
9544
|
});
|
|
9204
9545
|
Object.defineProperty(exports, "useConversations", {
|
|
9205
9546
|
enumerable: true,
|
|
9206
|
-
get: function () { return
|
|
9547
|
+
get: function () { return chunk37TQBT7Y_cjs.useConversations; }
|
|
9207
9548
|
});
|
|
9208
9549
|
Object.defineProperty(exports, "useCreateTag", {
|
|
9209
9550
|
enumerable: true,
|
|
9210
|
-
get: function () { return
|
|
9551
|
+
get: function () { return chunk37TQBT7Y_cjs.useCreateTag; }
|
|
9211
9552
|
});
|
|
9212
9553
|
Object.defineProperty(exports, "useCurrentUser", {
|
|
9213
9554
|
enumerable: true,
|
|
9214
|
-
get: function () { return
|
|
9555
|
+
get: function () { return chunk37TQBT7Y_cjs.useCurrentUser; }
|
|
9215
9556
|
});
|
|
9216
9557
|
Object.defineProperty(exports, "useDeleteAgents", {
|
|
9217
9558
|
enumerable: true,
|
|
9218
|
-
get: function () { return
|
|
9559
|
+
get: function () { return chunk37TQBT7Y_cjs.useDeleteAgents; }
|
|
9219
9560
|
});
|
|
9220
9561
|
Object.defineProperty(exports, "useDeleteTag", {
|
|
9221
9562
|
enumerable: true,
|
|
9222
|
-
get: function () { return
|
|
9563
|
+
get: function () { return chunk37TQBT7Y_cjs.useDeleteTag; }
|
|
9223
9564
|
});
|
|
9224
9565
|
Object.defineProperty(exports, "useDocument", {
|
|
9225
9566
|
enumerable: true,
|
|
9226
|
-
get: function () { return
|
|
9567
|
+
get: function () { return chunk37TQBT7Y_cjs.useDocument; }
|
|
9227
9568
|
});
|
|
9228
9569
|
Object.defineProperty(exports, "useDocumentVersionList", {
|
|
9229
9570
|
enumerable: true,
|
|
9230
|
-
get: function () { return
|
|
9571
|
+
get: function () { return chunk37TQBT7Y_cjs.useDocumentVersionList; }
|
|
9231
9572
|
});
|
|
9232
9573
|
Object.defineProperty(exports, "useDocuments", {
|
|
9233
9574
|
enumerable: true,
|
|
9234
|
-
get: function () { return
|
|
9575
|
+
get: function () { return chunk37TQBT7Y_cjs.useDocuments; }
|
|
9235
9576
|
});
|
|
9236
9577
|
Object.defineProperty(exports, "useDocumentsById", {
|
|
9237
9578
|
enumerable: true,
|
|
9238
|
-
get: function () { return
|
|
9579
|
+
get: function () { return chunk37TQBT7Y_cjs.useDocumentsById; }
|
|
9239
9580
|
});
|
|
9240
9581
|
Object.defineProperty(exports, "useDocumentsLoading", {
|
|
9241
9582
|
enumerable: true,
|
|
9242
|
-
get: function () { return
|
|
9583
|
+
get: function () { return chunk37TQBT7Y_cjs.useDocumentsLoading; }
|
|
9243
9584
|
});
|
|
9244
9585
|
Object.defineProperty(exports, "useExtractEntities", {
|
|
9245
9586
|
enumerable: true,
|
|
9246
|
-
get: function () { return
|
|
9587
|
+
get: function () { return chunk37TQBT7Y_cjs.useExtractEntities; }
|
|
9247
9588
|
});
|
|
9248
9589
|
Object.defineProperty(exports, "useFirmPool", {
|
|
9249
9590
|
enumerable: true,
|
|
9250
|
-
get: function () { return
|
|
9591
|
+
get: function () { return chunk37TQBT7Y_cjs.useFirmPool; }
|
|
9251
9592
|
});
|
|
9252
9593
|
Object.defineProperty(exports, "useHealth", {
|
|
9253
9594
|
enumerable: true,
|
|
9254
|
-
get: function () { return
|
|
9595
|
+
get: function () { return chunk37TQBT7Y_cjs.useHealth; }
|
|
9255
9596
|
});
|
|
9256
9597
|
Object.defineProperty(exports, "useInvalidateTagData", {
|
|
9257
9598
|
enumerable: true,
|
|
9258
|
-
get: function () { return
|
|
9599
|
+
get: function () { return chunk37TQBT7Y_cjs.useInvalidateTagData; }
|
|
9259
9600
|
});
|
|
9260
9601
|
Object.defineProperty(exports, "useParsedDocument", {
|
|
9261
9602
|
enumerable: true,
|
|
9262
|
-
get: function () { return
|
|
9603
|
+
get: function () { return chunk37TQBT7Y_cjs.useParsedDocument; }
|
|
9263
9604
|
});
|
|
9264
9605
|
Object.defineProperty(exports, "useProjectInvoices", {
|
|
9265
9606
|
enumerable: true,
|
|
9266
|
-
get: function () { return
|
|
9607
|
+
get: function () { return chunk37TQBT7Y_cjs.useProjectInvoices; }
|
|
9267
9608
|
});
|
|
9268
9609
|
Object.defineProperty(exports, "useProjectUsage", {
|
|
9269
9610
|
enumerable: true,
|
|
9270
|
-
get: function () { return
|
|
9611
|
+
get: function () { return chunk37TQBT7Y_cjs.useProjectUsage; }
|
|
9271
9612
|
});
|
|
9272
9613
|
Object.defineProperty(exports, "useProjects", {
|
|
9273
9614
|
enumerable: true,
|
|
9274
|
-
get: function () { return
|
|
9615
|
+
get: function () { return chunk37TQBT7Y_cjs.useProjects; }
|
|
9275
9616
|
});
|
|
9276
9617
|
Object.defineProperty(exports, "useProjectsUsage", {
|
|
9277
9618
|
enumerable: true,
|
|
9278
|
-
get: function () { return
|
|
9619
|
+
get: function () { return chunk37TQBT7Y_cjs.useProjectsUsage; }
|
|
9279
9620
|
});
|
|
9280
9621
|
Object.defineProperty(exports, "useSetTagValues", {
|
|
9281
9622
|
enumerable: true,
|
|
9282
|
-
get: function () { return
|
|
9623
|
+
get: function () { return chunk37TQBT7Y_cjs.useSetTagValues; }
|
|
9283
9624
|
});
|
|
9284
9625
|
Object.defineProperty(exports, "useSimilarDocuments", {
|
|
9285
9626
|
enumerable: true,
|
|
9286
|
-
get: function () { return
|
|
9627
|
+
get: function () { return chunk37TQBT7Y_cjs.useSimilarDocuments; }
|
|
9287
9628
|
});
|
|
9288
9629
|
Object.defineProperty(exports, "useTagKindSchema", {
|
|
9289
9630
|
enumerable: true,
|
|
9290
|
-
get: function () { return
|
|
9631
|
+
get: function () { return chunk37TQBT7Y_cjs.useTagKindSchema; }
|
|
9291
9632
|
});
|
|
9292
9633
|
Object.defineProperty(exports, "useTags", {
|
|
9293
9634
|
enumerable: true,
|
|
9294
|
-
get: function () { return
|
|
9635
|
+
get: function () { return chunk37TQBT7Y_cjs.useTags; }
|
|
9295
9636
|
});
|
|
9296
9637
|
Object.defineProperty(exports, "useThumbnails", {
|
|
9297
9638
|
enumerable: true,
|
|
9298
|
-
get: function () { return
|
|
9639
|
+
get: function () { return chunk37TQBT7Y_cjs.useThumbnails; }
|
|
9299
9640
|
});
|
|
9300
9641
|
Object.defineProperty(exports, "useTopUpFirmPool", {
|
|
9301
9642
|
enumerable: true,
|
|
9302
|
-
get: function () { return
|
|
9643
|
+
get: function () { return chunk37TQBT7Y_cjs.useTopUpFirmPool; }
|
|
9303
9644
|
});
|
|
9304
9645
|
Object.defineProperty(exports, "useUpdateTag", {
|
|
9305
9646
|
enumerable: true,
|
|
9306
|
-
get: function () { return
|
|
9647
|
+
get: function () { return chunk37TQBT7Y_cjs.useUpdateTag; }
|
|
9307
9648
|
});
|
|
9308
9649
|
Object.defineProperty(exports, "useUpdateTagKindSchema", {
|
|
9309
9650
|
enumerable: true,
|
|
9310
|
-
get: function () { return
|
|
9651
|
+
get: function () { return chunk37TQBT7Y_cjs.useUpdateTagKindSchema; }
|
|
9311
9652
|
});
|
|
9312
9653
|
Object.defineProperty(exports, "useUserUsageToday", {
|
|
9313
9654
|
enumerable: true,
|
|
9314
|
-
get: function () { return
|
|
9655
|
+
get: function () { return chunk37TQBT7Y_cjs.useUserUsageToday; }
|
|
9315
9656
|
});
|
|
9316
9657
|
Object.defineProperty(exports, "useWorkspaceActivity", {
|
|
9317
9658
|
enumerable: true,
|
|
9318
|
-
get: function () { return
|
|
9659
|
+
get: function () { return chunk37TQBT7Y_cjs.useWorkspaceActivity; }
|
|
9319
9660
|
});
|
|
9320
9661
|
Object.defineProperty(exports, "useWorkspaces", {
|
|
9321
9662
|
enumerable: true,
|
|
9322
|
-
get: function () { return
|
|
9663
|
+
get: function () { return chunk37TQBT7Y_cjs.useWorkspaces; }
|
|
9323
9664
|
});
|
|
9324
9665
|
Object.defineProperty(exports, "cleanDraftMarkdown", {
|
|
9325
9666
|
enumerable: true,
|
|
@@ -9427,659 +9768,663 @@ Object.defineProperty(exports, "useNotify", {
|
|
|
9427
9768
|
});
|
|
9428
9769
|
Object.defineProperty(exports, "AUDIO_MIME_PREFERENCE", {
|
|
9429
9770
|
enumerable: true,
|
|
9430
|
-
get: function () { return
|
|
9771
|
+
get: function () { return chunkVKWGRGY6_cjs.AUDIO_MIME_PREFERENCE; }
|
|
9431
9772
|
});
|
|
9432
9773
|
Object.defineProperty(exports, "AgentBadge", {
|
|
9433
9774
|
enumerable: true,
|
|
9434
|
-
get: function () { return
|
|
9775
|
+
get: function () { return chunkVKWGRGY6_cjs.AgentBadge; }
|
|
9435
9776
|
});
|
|
9436
9777
|
Object.defineProperty(exports, "AiMarkdown", {
|
|
9437
9778
|
enumerable: true,
|
|
9438
|
-
get: function () { return
|
|
9779
|
+
get: function () { return chunkVKWGRGY6_cjs.AiMarkdown; }
|
|
9439
9780
|
});
|
|
9440
9781
|
Object.defineProperty(exports, "ArbiBotHeadIcon", {
|
|
9441
9782
|
enumerable: true,
|
|
9442
|
-
get: function () { return
|
|
9783
|
+
get: function () { return chunkVKWGRGY6_cjs.ArbiBotHeadIcon; }
|
|
9443
9784
|
});
|
|
9444
9785
|
Object.defineProperty(exports, "ArbiIcon", {
|
|
9445
9786
|
enumerable: true,
|
|
9446
|
-
get: function () { return
|
|
9787
|
+
get: function () { return chunkVKWGRGY6_cjs.ArbiIcon; }
|
|
9447
9788
|
});
|
|
9448
9789
|
Object.defineProperty(exports, "AudIcon", {
|
|
9449
9790
|
enumerable: true,
|
|
9450
|
-
get: function () { return
|
|
9791
|
+
get: function () { return chunkVKWGRGY6_cjs.AudIcon; }
|
|
9451
9792
|
});
|
|
9452
9793
|
Object.defineProperty(exports, "Avatar", {
|
|
9453
9794
|
enumerable: true,
|
|
9454
|
-
get: function () { return
|
|
9795
|
+
get: function () { return chunkVKWGRGY6_cjs.Avatar; }
|
|
9455
9796
|
});
|
|
9456
9797
|
Object.defineProperty(exports, "AvatarFallback", {
|
|
9457
9798
|
enumerable: true,
|
|
9458
|
-
get: function () { return
|
|
9799
|
+
get: function () { return chunkVKWGRGY6_cjs.AvatarFallback; }
|
|
9459
9800
|
});
|
|
9460
9801
|
Object.defineProperty(exports, "AvatarImage", {
|
|
9461
9802
|
enumerable: true,
|
|
9462
|
-
get: function () { return
|
|
9803
|
+
get: function () { return chunkVKWGRGY6_cjs.AvatarImage; }
|
|
9463
9804
|
});
|
|
9464
9805
|
Object.defineProperty(exports, "BASE_COLORS", {
|
|
9465
9806
|
enumerable: true,
|
|
9466
|
-
get: function () { return
|
|
9807
|
+
get: function () { return chunkVKWGRGY6_cjs.BASE_COLORS; }
|
|
9467
9808
|
});
|
|
9468
9809
|
Object.defineProperty(exports, "Badge", {
|
|
9469
9810
|
enumerable: true,
|
|
9470
|
-
get: function () { return
|
|
9811
|
+
get: function () { return chunkVKWGRGY6_cjs.Badge; }
|
|
9471
9812
|
});
|
|
9472
9813
|
Object.defineProperty(exports, "Card", {
|
|
9473
9814
|
enumerable: true,
|
|
9474
|
-
get: function () { return
|
|
9815
|
+
get: function () { return chunkVKWGRGY6_cjs.Card; }
|
|
9475
9816
|
});
|
|
9476
9817
|
Object.defineProperty(exports, "CardContent", {
|
|
9477
9818
|
enumerable: true,
|
|
9478
|
-
get: function () { return
|
|
9819
|
+
get: function () { return chunkVKWGRGY6_cjs.CardContent; }
|
|
9479
9820
|
});
|
|
9480
9821
|
Object.defineProperty(exports, "CardDescription", {
|
|
9481
9822
|
enumerable: true,
|
|
9482
|
-
get: function () { return
|
|
9823
|
+
get: function () { return chunkVKWGRGY6_cjs.CardDescription; }
|
|
9483
9824
|
});
|
|
9484
9825
|
Object.defineProperty(exports, "CardFooter", {
|
|
9485
9826
|
enumerable: true,
|
|
9486
|
-
get: function () { return
|
|
9827
|
+
get: function () { return chunkVKWGRGY6_cjs.CardFooter; }
|
|
9487
9828
|
});
|
|
9488
9829
|
Object.defineProperty(exports, "CardHeader", {
|
|
9489
9830
|
enumerable: true,
|
|
9490
|
-
get: function () { return
|
|
9831
|
+
get: function () { return chunkVKWGRGY6_cjs.CardHeader; }
|
|
9491
9832
|
});
|
|
9492
9833
|
Object.defineProperty(exports, "CardTitle", {
|
|
9493
9834
|
enumerable: true,
|
|
9494
|
-
get: function () { return
|
|
9835
|
+
get: function () { return chunkVKWGRGY6_cjs.CardTitle; }
|
|
9495
9836
|
});
|
|
9496
9837
|
Object.defineProperty(exports, "Checkbox", {
|
|
9497
9838
|
enumerable: true,
|
|
9498
|
-
get: function () { return
|
|
9839
|
+
get: function () { return chunkVKWGRGY6_cjs.Checkbox; }
|
|
9499
9840
|
});
|
|
9500
9841
|
Object.defineProperty(exports, "Collapsible", {
|
|
9501
9842
|
enumerable: true,
|
|
9502
|
-
get: function () { return
|
|
9843
|
+
get: function () { return chunkVKWGRGY6_cjs.Collapsible; }
|
|
9503
9844
|
});
|
|
9504
9845
|
Object.defineProperty(exports, "CollapsibleContent", {
|
|
9505
9846
|
enumerable: true,
|
|
9506
|
-
get: function () { return
|
|
9847
|
+
get: function () { return chunkVKWGRGY6_cjs.CollapsibleContent; }
|
|
9507
9848
|
});
|
|
9508
9849
|
Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
9509
9850
|
enumerable: true,
|
|
9510
|
-
get: function () { return
|
|
9851
|
+
get: function () { return chunkVKWGRGY6_cjs.CollapsibleTrigger; }
|
|
9511
9852
|
});
|
|
9512
9853
|
Object.defineProperty(exports, "Command", {
|
|
9513
9854
|
enumerable: true,
|
|
9514
|
-
get: function () { return
|
|
9855
|
+
get: function () { return chunkVKWGRGY6_cjs.Command; }
|
|
9515
9856
|
});
|
|
9516
9857
|
Object.defineProperty(exports, "CommandDialog", {
|
|
9517
9858
|
enumerable: true,
|
|
9518
|
-
get: function () { return
|
|
9859
|
+
get: function () { return chunkVKWGRGY6_cjs.CommandDialog; }
|
|
9519
9860
|
});
|
|
9520
9861
|
Object.defineProperty(exports, "CommandEmpty", {
|
|
9521
9862
|
enumerable: true,
|
|
9522
|
-
get: function () { return
|
|
9863
|
+
get: function () { return chunkVKWGRGY6_cjs.CommandEmpty; }
|
|
9523
9864
|
});
|
|
9524
9865
|
Object.defineProperty(exports, "CommandGroup", {
|
|
9525
9866
|
enumerable: true,
|
|
9526
|
-
get: function () { return
|
|
9867
|
+
get: function () { return chunkVKWGRGY6_cjs.CommandGroup; }
|
|
9527
9868
|
});
|
|
9528
9869
|
Object.defineProperty(exports, "CommandInput", {
|
|
9529
9870
|
enumerable: true,
|
|
9530
|
-
get: function () { return
|
|
9871
|
+
get: function () { return chunkVKWGRGY6_cjs.CommandInput; }
|
|
9531
9872
|
});
|
|
9532
9873
|
Object.defineProperty(exports, "CommandItem", {
|
|
9533
9874
|
enumerable: true,
|
|
9534
|
-
get: function () { return
|
|
9875
|
+
get: function () { return chunkVKWGRGY6_cjs.CommandItem; }
|
|
9535
9876
|
});
|
|
9536
9877
|
Object.defineProperty(exports, "CommandList", {
|
|
9537
9878
|
enumerable: true,
|
|
9538
|
-
get: function () { return
|
|
9879
|
+
get: function () { return chunkVKWGRGY6_cjs.CommandList; }
|
|
9539
9880
|
});
|
|
9540
9881
|
Object.defineProperty(exports, "CommandSeparator", {
|
|
9541
9882
|
enumerable: true,
|
|
9542
|
-
get: function () { return
|
|
9883
|
+
get: function () { return chunkVKWGRGY6_cjs.CommandSeparator; }
|
|
9543
9884
|
});
|
|
9544
9885
|
Object.defineProperty(exports, "CommandShortcut", {
|
|
9545
9886
|
enumerable: true,
|
|
9546
|
-
get: function () { return
|
|
9887
|
+
get: function () { return chunkVKWGRGY6_cjs.CommandShortcut; }
|
|
9547
9888
|
});
|
|
9548
9889
|
Object.defineProperty(exports, "DEFAULT_SEGMENTER_CONFIG", {
|
|
9549
9890
|
enumerable: true,
|
|
9550
|
-
get: function () { return
|
|
9891
|
+
get: function () { return chunkVKWGRGY6_cjs.DEFAULT_SEGMENTER_CONFIG; }
|
|
9551
9892
|
});
|
|
9552
9893
|
Object.defineProperty(exports, "DebouncedInput", {
|
|
9553
9894
|
enumerable: true,
|
|
9554
|
-
get: function () { return
|
|
9895
|
+
get: function () { return chunkVKWGRGY6_cjs.DebouncedInput; }
|
|
9555
9896
|
});
|
|
9556
9897
|
Object.defineProperty(exports, "DictateProvider", {
|
|
9557
9898
|
enumerable: true,
|
|
9558
|
-
get: function () { return
|
|
9899
|
+
get: function () { return chunkVKWGRGY6_cjs.DictateProvider; }
|
|
9559
9900
|
});
|
|
9560
9901
|
Object.defineProperty(exports, "DocIcon", {
|
|
9561
9902
|
enumerable: true,
|
|
9562
|
-
get: function () { return
|
|
9903
|
+
get: function () { return chunkVKWGRGY6_cjs.DocIcon; }
|
|
9563
9904
|
});
|
|
9564
9905
|
Object.defineProperty(exports, "DocumentCard", {
|
|
9565
9906
|
enumerable: true,
|
|
9566
|
-
get: function () { return
|
|
9907
|
+
get: function () { return chunkVKWGRGY6_cjs.DocumentCard; }
|
|
9567
9908
|
});
|
|
9568
9909
|
Object.defineProperty(exports, "DocumentEntity", {
|
|
9569
9910
|
enumerable: true,
|
|
9570
|
-
get: function () { return
|
|
9911
|
+
get: function () { return chunkVKWGRGY6_cjs.DocumentEntity; }
|
|
9571
9912
|
});
|
|
9572
9913
|
Object.defineProperty(exports, "ENTITY_MAPPINGS", {
|
|
9573
9914
|
enumerable: true,
|
|
9574
|
-
get: function () { return
|
|
9915
|
+
get: function () { return chunkVKWGRGY6_cjs.ENTITY_MAPPINGS; }
|
|
9575
9916
|
});
|
|
9576
9917
|
Object.defineProperty(exports, "EmlIcon", {
|
|
9577
9918
|
enumerable: true,
|
|
9578
|
-
get: function () { return
|
|
9919
|
+
get: function () { return chunkVKWGRGY6_cjs.EmlIcon; }
|
|
9579
9920
|
});
|
|
9580
9921
|
Object.defineProperty(exports, "EntityIcon", {
|
|
9581
9922
|
enumerable: true,
|
|
9582
|
-
get: function () { return
|
|
9923
|
+
get: function () { return chunkVKWGRGY6_cjs.EntityIcon; }
|
|
9583
9924
|
});
|
|
9584
9925
|
Object.defineProperty(exports, "EntityPill", {
|
|
9585
9926
|
enumerable: true,
|
|
9586
|
-
get: function () { return
|
|
9927
|
+
get: function () { return chunkVKWGRGY6_cjs.EntityPill; }
|
|
9587
9928
|
});
|
|
9588
9929
|
Object.defineProperty(exports, "FILE_TYPE_COLORS", {
|
|
9589
9930
|
enumerable: true,
|
|
9590
|
-
get: function () { return
|
|
9931
|
+
get: function () { return chunkVKWGRGY6_cjs.FILE_TYPE_COLORS; }
|
|
9591
9932
|
});
|
|
9592
9933
|
Object.defineProperty(exports, "HoverCard", {
|
|
9593
9934
|
enumerable: true,
|
|
9594
|
-
get: function () { return
|
|
9935
|
+
get: function () { return chunkVKWGRGY6_cjs.HoverCard; }
|
|
9595
9936
|
});
|
|
9596
9937
|
Object.defineProperty(exports, "HoverCardContent", {
|
|
9597
9938
|
enumerable: true,
|
|
9598
|
-
get: function () { return
|
|
9939
|
+
get: function () { return chunkVKWGRGY6_cjs.HoverCardContent; }
|
|
9599
9940
|
});
|
|
9600
9941
|
Object.defineProperty(exports, "HoverCardTrigger", {
|
|
9601
9942
|
enumerable: true,
|
|
9602
|
-
get: function () { return
|
|
9943
|
+
get: function () { return chunkVKWGRGY6_cjs.HoverCardTrigger; }
|
|
9603
9944
|
});
|
|
9604
9945
|
Object.defineProperty(exports, "HtmlIcon", {
|
|
9605
9946
|
enumerable: true,
|
|
9606
|
-
get: function () { return
|
|
9947
|
+
get: function () { return chunkVKWGRGY6_cjs.HtmlIcon; }
|
|
9607
9948
|
});
|
|
9608
9949
|
Object.defineProperty(exports, "INITIAL_SEGMENTER_STATE", {
|
|
9609
9950
|
enumerable: true,
|
|
9610
|
-
get: function () { return
|
|
9951
|
+
get: function () { return chunkVKWGRGY6_cjs.INITIAL_SEGMENTER_STATE; }
|
|
9611
9952
|
});
|
|
9612
9953
|
Object.defineProperty(exports, "IconToggle", {
|
|
9613
9954
|
enumerable: true,
|
|
9614
|
-
get: function () { return
|
|
9955
|
+
get: function () { return chunkVKWGRGY6_cjs.IconToggle; }
|
|
9615
9956
|
});
|
|
9616
9957
|
Object.defineProperty(exports, "ImgIcon", {
|
|
9617
9958
|
enumerable: true,
|
|
9618
|
-
get: function () { return
|
|
9959
|
+
get: function () { return chunkVKWGRGY6_cjs.ImgIcon; }
|
|
9619
9960
|
});
|
|
9620
9961
|
Object.defineProperty(exports, "InlineMicButton", {
|
|
9621
9962
|
enumerable: true,
|
|
9622
|
-
get: function () { return
|
|
9963
|
+
get: function () { return chunkVKWGRGY6_cjs.InlineMicButton; }
|
|
9623
9964
|
});
|
|
9624
9965
|
Object.defineProperty(exports, "Input", {
|
|
9625
9966
|
enumerable: true,
|
|
9626
|
-
get: function () { return
|
|
9967
|
+
get: function () { return chunkVKWGRGY6_cjs.Input; }
|
|
9627
9968
|
});
|
|
9628
9969
|
Object.defineProperty(exports, "Label", {
|
|
9629
9970
|
enumerable: true,
|
|
9630
|
-
get: function () { return
|
|
9971
|
+
get: function () { return chunkVKWGRGY6_cjs.Label; }
|
|
9631
9972
|
});
|
|
9632
9973
|
Object.defineProperty(exports, "MarkMenu", {
|
|
9633
9974
|
enumerable: true,
|
|
9634
|
-
get: function () { return
|
|
9975
|
+
get: function () { return chunkVKWGRGY6_cjs.MarkMenu; }
|
|
9635
9976
|
});
|
|
9636
9977
|
Object.defineProperty(exports, "MicRecordingOverlay", {
|
|
9637
9978
|
enumerable: true,
|
|
9638
|
-
get: function () { return
|
|
9979
|
+
get: function () { return chunkVKWGRGY6_cjs.MicRecordingOverlay; }
|
|
9639
9980
|
});
|
|
9640
9981
|
Object.defineProperty(exports, "MicWaveformIndicator", {
|
|
9641
9982
|
enumerable: true,
|
|
9642
|
-
get: function () { return
|
|
9983
|
+
get: function () { return chunkVKWGRGY6_cjs.MicWaveformIndicator; }
|
|
9643
9984
|
});
|
|
9644
9985
|
Object.defineProperty(exports, "NEUTRAL_GRAY", {
|
|
9645
9986
|
enumerable: true,
|
|
9646
|
-
get: function () { return
|
|
9987
|
+
get: function () { return chunkVKWGRGY6_cjs.NEUTRAL_GRAY; }
|
|
9647
9988
|
});
|
|
9648
9989
|
Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
|
|
9649
9990
|
enumerable: true,
|
|
9650
|
-
get: function () { return
|
|
9991
|
+
get: function () { return chunkVKWGRGY6_cjs.PLACEHOLDER_COLOR; }
|
|
9651
9992
|
});
|
|
9652
9993
|
Object.defineProperty(exports, "PassageCard", {
|
|
9653
9994
|
enumerable: true,
|
|
9654
|
-
get: function () { return
|
|
9995
|
+
get: function () { return chunkVKWGRGY6_cjs.PassageCard; }
|
|
9655
9996
|
});
|
|
9656
9997
|
Object.defineProperty(exports, "PdfIcon", {
|
|
9657
9998
|
enumerable: true,
|
|
9658
|
-
get: function () { return
|
|
9999
|
+
get: function () { return chunkVKWGRGY6_cjs.PdfIcon; }
|
|
9659
10000
|
});
|
|
9660
10001
|
Object.defineProperty(exports, "Popover", {
|
|
9661
10002
|
enumerable: true,
|
|
9662
|
-
get: function () { return
|
|
10003
|
+
get: function () { return chunkVKWGRGY6_cjs.Popover; }
|
|
9663
10004
|
});
|
|
9664
10005
|
Object.defineProperty(exports, "PopoverAnchor", {
|
|
9665
10006
|
enumerable: true,
|
|
9666
|
-
get: function () { return
|
|
10007
|
+
get: function () { return chunkVKWGRGY6_cjs.PopoverAnchor; }
|
|
9667
10008
|
});
|
|
9668
10009
|
Object.defineProperty(exports, "PopoverClose", {
|
|
9669
10010
|
enumerable: true,
|
|
9670
|
-
get: function () { return
|
|
10011
|
+
get: function () { return chunkVKWGRGY6_cjs.PopoverClose; }
|
|
9671
10012
|
});
|
|
9672
10013
|
Object.defineProperty(exports, "PopoverContent", {
|
|
9673
10014
|
enumerable: true,
|
|
9674
|
-
get: function () { return
|
|
10015
|
+
get: function () { return chunkVKWGRGY6_cjs.PopoverContent; }
|
|
9675
10016
|
});
|
|
9676
10017
|
Object.defineProperty(exports, "PopoverTrigger", {
|
|
9677
10018
|
enumerable: true,
|
|
9678
|
-
get: function () { return
|
|
10019
|
+
get: function () { return chunkVKWGRGY6_cjs.PopoverTrigger; }
|
|
9679
10020
|
});
|
|
9680
10021
|
Object.defineProperty(exports, "PresenceLabel", {
|
|
9681
10022
|
enumerable: true,
|
|
9682
|
-
get: function () { return
|
|
10023
|
+
get: function () { return chunkVKWGRGY6_cjs.PresenceLabel; }
|
|
9683
10024
|
});
|
|
9684
10025
|
Object.defineProperty(exports, "Progress", {
|
|
9685
10026
|
enumerable: true,
|
|
9686
|
-
get: function () { return
|
|
10027
|
+
get: function () { return chunkVKWGRGY6_cjs.Progress; }
|
|
9687
10028
|
});
|
|
9688
10029
|
Object.defineProperty(exports, "ProjectEntity", {
|
|
9689
10030
|
enumerable: true,
|
|
9690
|
-
get: function () { return
|
|
10031
|
+
get: function () { return chunkVKWGRGY6_cjs.ProjectEntity; }
|
|
9691
10032
|
});
|
|
9692
10033
|
Object.defineProperty(exports, "RadioGroup", {
|
|
9693
10034
|
enumerable: true,
|
|
9694
|
-
get: function () { return
|
|
10035
|
+
get: function () { return chunkVKWGRGY6_cjs.RadioGroup; }
|
|
9695
10036
|
});
|
|
9696
10037
|
Object.defineProperty(exports, "RadioGroupItem", {
|
|
9697
10038
|
enumerable: true,
|
|
9698
|
-
get: function () { return
|
|
10039
|
+
get: function () { return chunkVKWGRGY6_cjs.RadioGroupItem; }
|
|
9699
10040
|
});
|
|
9700
10041
|
Object.defineProperty(exports, "RagDot", {
|
|
9701
10042
|
enumerable: true,
|
|
9702
|
-
get: function () { return
|
|
10043
|
+
get: function () { return chunkVKWGRGY6_cjs.RagDot; }
|
|
9703
10044
|
});
|
|
9704
10045
|
Object.defineProperty(exports, "RelevanceDot", {
|
|
9705
10046
|
enumerable: true,
|
|
9706
|
-
get: function () { return
|
|
10047
|
+
get: function () { return chunkVKWGRGY6_cjs.RelevanceDot; }
|
|
9707
10048
|
});
|
|
9708
10049
|
Object.defineProperty(exports, "Select", {
|
|
9709
10050
|
enumerable: true,
|
|
9710
|
-
get: function () { return
|
|
10051
|
+
get: function () { return chunkVKWGRGY6_cjs.Select; }
|
|
9711
10052
|
});
|
|
9712
10053
|
Object.defineProperty(exports, "SelectContent", {
|
|
9713
10054
|
enumerable: true,
|
|
9714
|
-
get: function () { return
|
|
10055
|
+
get: function () { return chunkVKWGRGY6_cjs.SelectContent; }
|
|
9715
10056
|
});
|
|
9716
10057
|
Object.defineProperty(exports, "SelectGroup", {
|
|
9717
10058
|
enumerable: true,
|
|
9718
|
-
get: function () { return
|
|
10059
|
+
get: function () { return chunkVKWGRGY6_cjs.SelectGroup; }
|
|
9719
10060
|
});
|
|
9720
10061
|
Object.defineProperty(exports, "SelectItem", {
|
|
9721
10062
|
enumerable: true,
|
|
9722
|
-
get: function () { return
|
|
10063
|
+
get: function () { return chunkVKWGRGY6_cjs.SelectItem; }
|
|
9723
10064
|
});
|
|
9724
10065
|
Object.defineProperty(exports, "SelectLabel", {
|
|
9725
10066
|
enumerable: true,
|
|
9726
|
-
get: function () { return
|
|
10067
|
+
get: function () { return chunkVKWGRGY6_cjs.SelectLabel; }
|
|
9727
10068
|
});
|
|
9728
10069
|
Object.defineProperty(exports, "SelectScrollDownButton", {
|
|
9729
10070
|
enumerable: true,
|
|
9730
|
-
get: function () { return
|
|
10071
|
+
get: function () { return chunkVKWGRGY6_cjs.SelectScrollDownButton; }
|
|
9731
10072
|
});
|
|
9732
10073
|
Object.defineProperty(exports, "SelectScrollUpButton", {
|
|
9733
10074
|
enumerable: true,
|
|
9734
|
-
get: function () { return
|
|
10075
|
+
get: function () { return chunkVKWGRGY6_cjs.SelectScrollUpButton; }
|
|
9735
10076
|
});
|
|
9736
10077
|
Object.defineProperty(exports, "SelectSeparator", {
|
|
9737
10078
|
enumerable: true,
|
|
9738
|
-
get: function () { return
|
|
10079
|
+
get: function () { return chunkVKWGRGY6_cjs.SelectSeparator; }
|
|
9739
10080
|
});
|
|
9740
10081
|
Object.defineProperty(exports, "SelectTrigger", {
|
|
9741
10082
|
enumerable: true,
|
|
9742
|
-
get: function () { return
|
|
10083
|
+
get: function () { return chunkVKWGRGY6_cjs.SelectTrigger; }
|
|
9743
10084
|
});
|
|
9744
10085
|
Object.defineProperty(exports, "SelectValue", {
|
|
9745
10086
|
enumerable: true,
|
|
9746
|
-
get: function () { return
|
|
10087
|
+
get: function () { return chunkVKWGRGY6_cjs.SelectValue; }
|
|
9747
10088
|
});
|
|
9748
10089
|
Object.defineProperty(exports, "Separator", {
|
|
9749
10090
|
enumerable: true,
|
|
9750
|
-
get: function () { return
|
|
10091
|
+
get: function () { return chunkVKWGRGY6_cjs.Separator; }
|
|
9751
10092
|
});
|
|
9752
10093
|
Object.defineProperty(exports, "ShieldIcon", {
|
|
9753
10094
|
enumerable: true,
|
|
9754
|
-
get: function () { return
|
|
10095
|
+
get: function () { return chunkVKWGRGY6_cjs.ShieldIcon; }
|
|
9755
10096
|
});
|
|
9756
10097
|
Object.defineProperty(exports, "Slider", {
|
|
9757
10098
|
enumerable: true,
|
|
9758
|
-
get: function () { return
|
|
10099
|
+
get: function () { return chunkVKWGRGY6_cjs.Slider; }
|
|
9759
10100
|
});
|
|
9760
10101
|
Object.defineProperty(exports, "StatusPill", {
|
|
9761
10102
|
enumerable: true,
|
|
9762
|
-
get: function () { return
|
|
10103
|
+
get: function () { return chunkVKWGRGY6_cjs.StatusPill; }
|
|
9763
10104
|
});
|
|
9764
10105
|
Object.defineProperty(exports, "Switch", {
|
|
9765
10106
|
enumerable: true,
|
|
9766
|
-
get: function () { return
|
|
10107
|
+
get: function () { return chunkVKWGRGY6_cjs.Switch; }
|
|
9767
10108
|
});
|
|
9768
10109
|
Object.defineProperty(exports, "TAG_TYPE_ICONS", {
|
|
9769
10110
|
enumerable: true,
|
|
9770
|
-
get: function () { return
|
|
10111
|
+
get: function () { return chunkVKWGRGY6_cjs.TAG_TYPE_ICONS; }
|
|
9771
10112
|
});
|
|
9772
10113
|
Object.defineProperty(exports, "TAG_TYPE_LABELS", {
|
|
9773
10114
|
enumerable: true,
|
|
9774
|
-
get: function () { return
|
|
10115
|
+
get: function () { return chunkVKWGRGY6_cjs.TAG_TYPE_LABELS; }
|
|
9775
10116
|
});
|
|
9776
10117
|
Object.defineProperty(exports, "Table", {
|
|
9777
10118
|
enumerable: true,
|
|
9778
|
-
get: function () { return
|
|
10119
|
+
get: function () { return chunkVKWGRGY6_cjs.Table; }
|
|
9779
10120
|
});
|
|
9780
10121
|
Object.defineProperty(exports, "TableBody", {
|
|
9781
10122
|
enumerable: true,
|
|
9782
|
-
get: function () { return
|
|
10123
|
+
get: function () { return chunkVKWGRGY6_cjs.TableBody; }
|
|
9783
10124
|
});
|
|
9784
10125
|
Object.defineProperty(exports, "TableCaption", {
|
|
9785
10126
|
enumerable: true,
|
|
9786
|
-
get: function () { return
|
|
10127
|
+
get: function () { return chunkVKWGRGY6_cjs.TableCaption; }
|
|
9787
10128
|
});
|
|
9788
10129
|
Object.defineProperty(exports, "TableCell", {
|
|
9789
10130
|
enumerable: true,
|
|
9790
|
-
get: function () { return
|
|
10131
|
+
get: function () { return chunkVKWGRGY6_cjs.TableCell; }
|
|
9791
10132
|
});
|
|
9792
10133
|
Object.defineProperty(exports, "TableFooter", {
|
|
9793
10134
|
enumerable: true,
|
|
9794
|
-
get: function () { return
|
|
10135
|
+
get: function () { return chunkVKWGRGY6_cjs.TableFooter; }
|
|
9795
10136
|
});
|
|
9796
10137
|
Object.defineProperty(exports, "TableHead", {
|
|
9797
10138
|
enumerable: true,
|
|
9798
|
-
get: function () { return
|
|
10139
|
+
get: function () { return chunkVKWGRGY6_cjs.TableHead; }
|
|
9799
10140
|
});
|
|
9800
10141
|
Object.defineProperty(exports, "TableHeader", {
|
|
9801
10142
|
enumerable: true,
|
|
9802
|
-
get: function () { return
|
|
10143
|
+
get: function () { return chunkVKWGRGY6_cjs.TableHeader; }
|
|
9803
10144
|
});
|
|
9804
10145
|
Object.defineProperty(exports, "TableRow", {
|
|
9805
10146
|
enumerable: true,
|
|
9806
|
-
get: function () { return
|
|
10147
|
+
get: function () { return chunkVKWGRGY6_cjs.TableRow; }
|
|
9807
10148
|
});
|
|
9808
10149
|
Object.defineProperty(exports, "Tabs", {
|
|
9809
10150
|
enumerable: true,
|
|
9810
|
-
get: function () { return
|
|
10151
|
+
get: function () { return chunkVKWGRGY6_cjs.Tabs; }
|
|
9811
10152
|
});
|
|
9812
10153
|
Object.defineProperty(exports, "TabsContent", {
|
|
9813
10154
|
enumerable: true,
|
|
9814
|
-
get: function () { return
|
|
10155
|
+
get: function () { return chunkVKWGRGY6_cjs.TabsContent; }
|
|
9815
10156
|
});
|
|
9816
10157
|
Object.defineProperty(exports, "TabsList", {
|
|
9817
10158
|
enumerable: true,
|
|
9818
|
-
get: function () { return
|
|
10159
|
+
get: function () { return chunkVKWGRGY6_cjs.TabsList; }
|
|
9819
10160
|
});
|
|
9820
10161
|
Object.defineProperty(exports, "TabsTrigger", {
|
|
9821
10162
|
enumerable: true,
|
|
9822
|
-
get: function () { return
|
|
10163
|
+
get: function () { return chunkVKWGRGY6_cjs.TabsTrigger; }
|
|
9823
10164
|
});
|
|
9824
10165
|
Object.defineProperty(exports, "TagEntity", {
|
|
9825
10166
|
enumerable: true,
|
|
9826
|
-
get: function () { return
|
|
10167
|
+
get: function () { return chunkVKWGRGY6_cjs.TagEntity; }
|
|
9827
10168
|
});
|
|
9828
10169
|
Object.defineProperty(exports, "Textarea", {
|
|
9829
10170
|
enumerable: true,
|
|
9830
|
-
get: function () { return
|
|
10171
|
+
get: function () { return chunkVKWGRGY6_cjs.Textarea; }
|
|
9831
10172
|
});
|
|
9832
10173
|
Object.defineProperty(exports, "ThreadVisibilityIcon", {
|
|
9833
10174
|
enumerable: true,
|
|
9834
|
-
get: function () { return
|
|
10175
|
+
get: function () { return chunkVKWGRGY6_cjs.ThreadVisibilityIcon; }
|
|
9835
10176
|
});
|
|
9836
10177
|
Object.defineProperty(exports, "Toggle", {
|
|
9837
10178
|
enumerable: true,
|
|
9838
|
-
get: function () { return
|
|
10179
|
+
get: function () { return chunkVKWGRGY6_cjs.Toggle; }
|
|
9839
10180
|
});
|
|
9840
10181
|
Object.defineProperty(exports, "ToggleGroup", {
|
|
9841
10182
|
enumerable: true,
|
|
9842
|
-
get: function () { return
|
|
10183
|
+
get: function () { return chunkVKWGRGY6_cjs.ToggleGroup; }
|
|
9843
10184
|
});
|
|
9844
10185
|
Object.defineProperty(exports, "ToggleGroupItem", {
|
|
9845
10186
|
enumerable: true,
|
|
9846
|
-
get: function () { return
|
|
10187
|
+
get: function () { return chunkVKWGRGY6_cjs.ToggleGroupItem; }
|
|
9847
10188
|
});
|
|
9848
10189
|
Object.defineProperty(exports, "Tooltip", {
|
|
9849
10190
|
enumerable: true,
|
|
9850
|
-
get: function () { return
|
|
10191
|
+
get: function () { return chunkVKWGRGY6_cjs.Tooltip; }
|
|
9851
10192
|
});
|
|
9852
10193
|
Object.defineProperty(exports, "TooltipContent", {
|
|
9853
10194
|
enumerable: true,
|
|
9854
|
-
get: function () { return
|
|
10195
|
+
get: function () { return chunkVKWGRGY6_cjs.TooltipContent; }
|
|
9855
10196
|
});
|
|
9856
10197
|
Object.defineProperty(exports, "TooltipProvider", {
|
|
9857
10198
|
enumerable: true,
|
|
9858
|
-
get: function () { return
|
|
10199
|
+
get: function () { return chunkVKWGRGY6_cjs.TooltipProvider; }
|
|
9859
10200
|
});
|
|
9860
10201
|
Object.defineProperty(exports, "TooltipTrigger", {
|
|
9861
10202
|
enumerable: true,
|
|
9862
|
-
get: function () { return
|
|
10203
|
+
get: function () { return chunkVKWGRGY6_cjs.TooltipTrigger; }
|
|
9863
10204
|
});
|
|
9864
10205
|
Object.defineProperty(exports, "TxtIcon", {
|
|
9865
10206
|
enumerable: true,
|
|
9866
|
-
get: function () { return
|
|
10207
|
+
get: function () { return chunkVKWGRGY6_cjs.TxtIcon; }
|
|
9867
10208
|
});
|
|
9868
10209
|
Object.defineProperty(exports, "UserEntity", {
|
|
9869
10210
|
enumerable: true,
|
|
9870
|
-
get: function () { return
|
|
10211
|
+
get: function () { return chunkVKWGRGY6_cjs.UserEntity; }
|
|
9871
10212
|
});
|
|
9872
10213
|
Object.defineProperty(exports, "UserMenu", {
|
|
9873
10214
|
enumerable: true,
|
|
9874
|
-
get: function () { return
|
|
10215
|
+
get: function () { return chunkVKWGRGY6_cjs.UserMenu; }
|
|
9875
10216
|
});
|
|
9876
10217
|
Object.defineProperty(exports, "VIDEO_MIME_PREFERENCE", {
|
|
9877
10218
|
enumerable: true,
|
|
9878
|
-
get: function () { return
|
|
10219
|
+
get: function () { return chunkVKWGRGY6_cjs.VIDEO_MIME_PREFERENCE; }
|
|
9879
10220
|
});
|
|
9880
10221
|
Object.defineProperty(exports, "VISIBILITY_ICONS", {
|
|
9881
10222
|
enumerable: true,
|
|
9882
|
-
get: function () { return
|
|
10223
|
+
get: function () { return chunkVKWGRGY6_cjs.VISIBILITY_ICONS; }
|
|
9883
10224
|
});
|
|
9884
10225
|
Object.defineProperty(exports, "VerifiedBadge", {
|
|
9885
10226
|
enumerable: true,
|
|
9886
|
-
get: function () { return
|
|
10227
|
+
get: function () { return chunkVKWGRGY6_cjs.VerifiedBadge; }
|
|
9887
10228
|
});
|
|
9888
10229
|
Object.defineProperty(exports, "VerifiedToggle", {
|
|
9889
10230
|
enumerable: true,
|
|
9890
|
-
get: function () { return
|
|
10231
|
+
get: function () { return chunkVKWGRGY6_cjs.VerifiedToggle; }
|
|
9891
10232
|
});
|
|
9892
10233
|
Object.defineProperty(exports, "VidIcon", {
|
|
9893
10234
|
enumerable: true,
|
|
9894
|
-
get: function () { return
|
|
10235
|
+
get: function () { return chunkVKWGRGY6_cjs.VidIcon; }
|
|
9895
10236
|
});
|
|
9896
10237
|
Object.defineProperty(exports, "VisibilityIcon", {
|
|
9897
10238
|
enumerable: true,
|
|
9898
|
-
get: function () { return
|
|
10239
|
+
get: function () { return chunkVKWGRGY6_cjs.VisibilityIcon; }
|
|
9899
10240
|
});
|
|
9900
10241
|
Object.defineProperty(exports, "VisibilityToggle", {
|
|
9901
10242
|
enumerable: true,
|
|
9902
|
-
get: function () { return
|
|
10243
|
+
get: function () { return chunkVKWGRGY6_cjs.VisibilityToggle; }
|
|
9903
10244
|
});
|
|
9904
10245
|
Object.defineProperty(exports, "XlsIcon", {
|
|
9905
10246
|
enumerable: true,
|
|
9906
|
-
get: function () { return
|
|
10247
|
+
get: function () { return chunkVKWGRGY6_cjs.XlsIcon; }
|
|
9907
10248
|
});
|
|
9908
10249
|
Object.defineProperty(exports, "agentAvatarColors", {
|
|
9909
10250
|
enumerable: true,
|
|
9910
|
-
get: function () { return
|
|
10251
|
+
get: function () { return chunkVKWGRGY6_cjs.agentAvatarColors; }
|
|
9911
10252
|
});
|
|
9912
10253
|
Object.defineProperty(exports, "badgeVariants", {
|
|
9913
10254
|
enumerable: true,
|
|
9914
|
-
get: function () { return
|
|
10255
|
+
get: function () { return chunkVKWGRGY6_cjs.badgeVariants; }
|
|
9915
10256
|
});
|
|
9916
10257
|
Object.defineProperty(exports, "cardVariants", {
|
|
9917
10258
|
enumerable: true,
|
|
9918
|
-
get: function () { return
|
|
10259
|
+
get: function () { return chunkVKWGRGY6_cjs.cardVariants; }
|
|
9919
10260
|
});
|
|
9920
10261
|
Object.defineProperty(exports, "classifyMediaError", {
|
|
9921
10262
|
enumerable: true,
|
|
9922
|
-
get: function () { return
|
|
10263
|
+
get: function () { return chunkVKWGRGY6_cjs.classifyMediaError; }
|
|
9923
10264
|
});
|
|
9924
10265
|
Object.defineProperty(exports, "configureEntityRegistry", {
|
|
9925
10266
|
enumerable: true,
|
|
9926
|
-
get: function () { return
|
|
10267
|
+
get: function () { return chunkVKWGRGY6_cjs.configureEntityRegistry; }
|
|
9927
10268
|
});
|
|
9928
10269
|
Object.defineProperty(exports, "configureRagLabels", {
|
|
9929
10270
|
enumerable: true,
|
|
9930
|
-
get: function () { return
|
|
10271
|
+
get: function () { return chunkVKWGRGY6_cjs.configureRagLabels; }
|
|
9931
10272
|
});
|
|
9932
10273
|
Object.defineProperty(exports, "configureStatusRegistry", {
|
|
9933
10274
|
enumerable: true,
|
|
9934
|
-
get: function () { return
|
|
10275
|
+
get: function () { return chunkVKWGRGY6_cjs.configureStatusRegistry; }
|
|
9935
10276
|
});
|
|
9936
10277
|
Object.defineProperty(exports, "createChunkedRecorder", {
|
|
9937
10278
|
enumerable: true,
|
|
9938
|
-
get: function () { return
|
|
10279
|
+
get: function () { return chunkVKWGRGY6_cjs.createChunkedRecorder; }
|
|
10280
|
+
});
|
|
10281
|
+
Object.defineProperty(exports, "createUserAvatarIcon", {
|
|
10282
|
+
enumerable: true,
|
|
10283
|
+
get: function () { return chunkVKWGRGY6_cjs.createUserAvatarIcon; }
|
|
10284
|
+
});
|
|
10285
|
+
Object.defineProperty(exports, "extensionFromMime", {
|
|
10286
|
+
enumerable: true,
|
|
10287
|
+
get: function () { return chunkVKWGRGY6_cjs.extensionFromMime; }
|
|
9939
10288
|
});
|
|
9940
10289
|
Object.defineProperty(exports, "flushSegmenter", {
|
|
9941
10290
|
enumerable: true,
|
|
9942
|
-
get: function () { return
|
|
10291
|
+
get: function () { return chunkVKWGRGY6_cjs.flushSegmenter; }
|
|
9943
10292
|
});
|
|
9944
10293
|
Object.defineProperty(exports, "formatElapsed", {
|
|
9945
10294
|
enumerable: true,
|
|
9946
|
-
get: function () { return
|
|
10295
|
+
get: function () { return chunkVKWGRGY6_cjs.formatElapsed; }
|
|
9947
10296
|
});
|
|
9948
10297
|
Object.defineProperty(exports, "formatFriendlyDate", {
|
|
9949
10298
|
enumerable: true,
|
|
9950
|
-
get: function () { return
|
|
10299
|
+
get: function () { return chunkVKWGRGY6_cjs.formatFriendlyDate; }
|
|
9951
10300
|
});
|
|
9952
10301
|
Object.defineProperty(exports, "friendlyFileType", {
|
|
9953
10302
|
enumerable: true,
|
|
9954
|
-
get: function () { return
|
|
10303
|
+
get: function () { return chunkVKWGRGY6_cjs.friendlyFileType; }
|
|
9955
10304
|
});
|
|
9956
10305
|
Object.defineProperty(exports, "getDocIcon", {
|
|
9957
10306
|
enumerable: true,
|
|
9958
|
-
get: function () { return
|
|
10307
|
+
get: function () { return chunkVKWGRGY6_cjs.getDocIcon; }
|
|
9959
10308
|
});
|
|
9960
10309
|
Object.defineProperty(exports, "getDocumentTitle", {
|
|
9961
10310
|
enumerable: true,
|
|
9962
|
-
get: function () { return
|
|
10311
|
+
get: function () { return chunkVKWGRGY6_cjs.getDocumentTitle; }
|
|
9963
10312
|
});
|
|
9964
10313
|
Object.defineProperty(exports, "getEntityColor", {
|
|
9965
10314
|
enumerable: true,
|
|
9966
|
-
get: function () { return
|
|
10315
|
+
get: function () { return chunkVKWGRGY6_cjs.getEntityColor; }
|
|
9967
10316
|
});
|
|
9968
10317
|
Object.defineProperty(exports, "getEntityColorStyles", {
|
|
9969
10318
|
enumerable: true,
|
|
9970
|
-
get: function () { return
|
|
10319
|
+
get: function () { return chunkVKWGRGY6_cjs.getEntityColorStyles; }
|
|
9971
10320
|
});
|
|
9972
10321
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
9973
10322
|
enumerable: true,
|
|
9974
|
-
get: function () { return
|
|
10323
|
+
get: function () { return chunkVKWGRGY6_cjs.getEntityIcon; }
|
|
9975
10324
|
});
|
|
9976
10325
|
Object.defineProperty(exports, "getEntityLabel", {
|
|
9977
10326
|
enumerable: true,
|
|
9978
|
-
get: function () { return
|
|
10327
|
+
get: function () { return chunkVKWGRGY6_cjs.getEntityLabel; }
|
|
10328
|
+
});
|
|
10329
|
+
Object.defineProperty(exports, "getFileExtension", {
|
|
10330
|
+
enumerable: true,
|
|
10331
|
+
get: function () { return chunkVKWGRGY6_cjs.getFileExtension; }
|
|
10332
|
+
});
|
|
10333
|
+
Object.defineProperty(exports, "getFileTypeIcon", {
|
|
10334
|
+
enumerable: true,
|
|
10335
|
+
get: function () { return chunkVKWGRGY6_cjs.getFileTypeIcon; }
|
|
9979
10336
|
});
|
|
9980
10337
|
Object.defineProperty(exports, "getStatusVariant", {
|
|
9981
10338
|
enumerable: true,
|
|
9982
|
-
get: function () { return
|
|
10339
|
+
get: function () { return chunkVKWGRGY6_cjs.getStatusVariant; }
|
|
9983
10340
|
});
|
|
9984
10341
|
Object.defineProperty(exports, "getTagTypeIcon", {
|
|
9985
10342
|
enumerable: true,
|
|
9986
|
-
get: function () { return
|
|
10343
|
+
get: function () { return chunkVKWGRGY6_cjs.getTagTypeIcon; }
|
|
9987
10344
|
});
|
|
9988
10345
|
Object.defineProperty(exports, "getTagTypeLabel", {
|
|
9989
10346
|
enumerable: true,
|
|
9990
|
-
get: function () { return
|
|
10347
|
+
get: function () { return chunkVKWGRGY6_cjs.getTagTypeLabel; }
|
|
10348
|
+
});
|
|
10349
|
+
Object.defineProperty(exports, "getUserAvatarColor", {
|
|
10350
|
+
enumerable: true,
|
|
10351
|
+
get: function () { return chunkVKWGRGY6_cjs.getUserAvatarColor; }
|
|
10352
|
+
});
|
|
10353
|
+
Object.defineProperty(exports, "getUserDisplayName", {
|
|
10354
|
+
enumerable: true,
|
|
10355
|
+
get: function () { return chunkVKWGRGY6_cjs.getUserDisplayName; }
|
|
10356
|
+
});
|
|
10357
|
+
Object.defineProperty(exports, "getUserInitials", {
|
|
10358
|
+
enumerable: true,
|
|
10359
|
+
get: function () { return chunkVKWGRGY6_cjs.getUserInitials; }
|
|
9991
10360
|
});
|
|
9992
10361
|
Object.defineProperty(exports, "getWorkspaceColor", {
|
|
9993
10362
|
enumerable: true,
|
|
9994
|
-
get: function () { return
|
|
10363
|
+
get: function () { return chunkVKWGRGY6_cjs.getWorkspaceColor; }
|
|
10364
|
+
});
|
|
10365
|
+
Object.defineProperty(exports, "isAgent", {
|
|
10366
|
+
enumerable: true,
|
|
10367
|
+
get: function () { return chunkVKWGRGY6_cjs.isAgent; }
|
|
9995
10368
|
});
|
|
9996
10369
|
Object.defineProperty(exports, "isAudioFile", {
|
|
9997
10370
|
enumerable: true,
|
|
9998
|
-
get: function () { return
|
|
10371
|
+
get: function () { return chunkVKWGRGY6_cjs.isAudioFile; }
|
|
9999
10372
|
});
|
|
10000
10373
|
Object.defineProperty(exports, "isDownloadOnlyFile", {
|
|
10001
10374
|
enumerable: true,
|
|
10002
|
-
get: function () { return
|
|
10375
|
+
get: function () { return chunkVKWGRGY6_cjs.isDownloadOnlyFile; }
|
|
10003
10376
|
});
|
|
10004
10377
|
Object.defineProperty(exports, "isImageDocument", {
|
|
10005
10378
|
enumerable: true,
|
|
10006
|
-
get: function () { return
|
|
10379
|
+
get: function () { return chunkVKWGRGY6_cjs.isImageDocument; }
|
|
10007
10380
|
});
|
|
10008
10381
|
Object.defineProperty(exports, "isImageFile", {
|
|
10009
10382
|
enumerable: true,
|
|
10010
|
-
get: function () { return
|
|
10383
|
+
get: function () { return chunkVKWGRGY6_cjs.isImageFile; }
|
|
10011
10384
|
});
|
|
10012
10385
|
Object.defineProperty(exports, "isMediaFile", {
|
|
10013
10386
|
enumerable: true,
|
|
10014
|
-
get: function () { return
|
|
10387
|
+
get: function () { return chunkVKWGRGY6_cjs.isMediaFile; }
|
|
10015
10388
|
});
|
|
10016
10389
|
Object.defineProperty(exports, "isVideoFile", {
|
|
10017
10390
|
enumerable: true,
|
|
10018
|
-
get: function () { return
|
|
10391
|
+
get: function () { return chunkVKWGRGY6_cjs.isVideoFile; }
|
|
10019
10392
|
});
|
|
10020
10393
|
Object.defineProperty(exports, "levelFromRms", {
|
|
10021
10394
|
enumerable: true,
|
|
10022
|
-
get: function () { return
|
|
10395
|
+
get: function () { return chunkVKWGRGY6_cjs.levelFromRms; }
|
|
10023
10396
|
});
|
|
10024
10397
|
Object.defineProperty(exports, "pickRecorderMimeType", {
|
|
10025
10398
|
enumerable: true,
|
|
10026
|
-
get: function () { return
|
|
10399
|
+
get: function () { return chunkVKWGRGY6_cjs.pickRecorderMimeType; }
|
|
10027
10400
|
});
|
|
10028
10401
|
Object.defineProperty(exports, "stepSegmenter", {
|
|
10029
10402
|
enumerable: true,
|
|
10030
|
-
get: function () { return
|
|
10403
|
+
get: function () { return chunkVKWGRGY6_cjs.stepSegmenter; }
|
|
10031
10404
|
});
|
|
10032
10405
|
Object.defineProperty(exports, "tagKindNouns", {
|
|
10033
10406
|
enumerable: true,
|
|
10034
|
-
get: function () { return
|
|
10407
|
+
get: function () { return chunkVKWGRGY6_cjs.tagKindNouns; }
|
|
10035
10408
|
});
|
|
10036
10409
|
Object.defineProperty(exports, "tagKindTitle", {
|
|
10037
10410
|
enumerable: true,
|
|
10038
|
-
get: function () { return
|
|
10411
|
+
get: function () { return chunkVKWGRGY6_cjs.tagKindTitle; }
|
|
10039
10412
|
});
|
|
10040
10413
|
Object.defineProperty(exports, "toggleVariants", {
|
|
10041
10414
|
enumerable: true,
|
|
10042
|
-
get: function () { return
|
|
10415
|
+
get: function () { return chunkVKWGRGY6_cjs.toggleVariants; }
|
|
10043
10416
|
});
|
|
10044
10417
|
Object.defineProperty(exports, "useAudioRecorder", {
|
|
10045
10418
|
enumerable: true,
|
|
10046
|
-
get: function () { return
|
|
10419
|
+
get: function () { return chunkVKWGRGY6_cjs.useAudioRecorder; }
|
|
10047
10420
|
});
|
|
10048
10421
|
Object.defineProperty(exports, "useDictateContext", {
|
|
10049
10422
|
enumerable: true,
|
|
10050
|
-
get: function () { return
|
|
10423
|
+
get: function () { return chunkVKWGRGY6_cjs.useDictateContext; }
|
|
10051
10424
|
});
|
|
10052
10425
|
Object.defineProperty(exports, "usesOriginalBytesForViewer", {
|
|
10053
10426
|
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; }
|
|
10427
|
+
get: function () { return chunkVKWGRGY6_cjs.usesOriginalBytesForViewer; }
|
|
10083
10428
|
});
|
|
10084
10429
|
Object.defineProperty(exports, "Button", {
|
|
10085
10430
|
enumerable: true,
|
|
@@ -10129,6 +10474,34 @@ Object.defineProperty(exports, "buttonVariants", {
|
|
|
10129
10474
|
enumerable: true,
|
|
10130
10475
|
get: function () { return chunkWYZJLZ67_cjs.buttonVariants; }
|
|
10131
10476
|
});
|
|
10477
|
+
Object.defineProperty(exports, "MarkdownCode", {
|
|
10478
|
+
enumerable: true,
|
|
10479
|
+
get: function () { return chunkOC7F5SNA_cjs.MarkdownCode; }
|
|
10480
|
+
});
|
|
10481
|
+
Object.defineProperty(exports, "MarkdownLink", {
|
|
10482
|
+
enumerable: true,
|
|
10483
|
+
get: function () { return chunkOC7F5SNA_cjs.MarkdownLink; }
|
|
10484
|
+
});
|
|
10485
|
+
Object.defineProperty(exports, "MarkdownRenderer", {
|
|
10486
|
+
enumerable: true,
|
|
10487
|
+
get: function () { return chunkOC7F5SNA_cjs.MarkdownRenderer; }
|
|
10488
|
+
});
|
|
10489
|
+
Object.defineProperty(exports, "MarkdownStreamingContext", {
|
|
10490
|
+
enumerable: true,
|
|
10491
|
+
get: function () { return chunkOC7F5SNA_cjs.MarkdownStreamingContext; }
|
|
10492
|
+
});
|
|
10493
|
+
Object.defineProperty(exports, "markdownBaseComponents", {
|
|
10494
|
+
enumerable: true,
|
|
10495
|
+
get: function () { return chunkOC7F5SNA_cjs.markdownBaseComponents; }
|
|
10496
|
+
});
|
|
10497
|
+
Object.defineProperty(exports, "markdownSanitizeSchema", {
|
|
10498
|
+
enumerable: true,
|
|
10499
|
+
get: function () { return chunkOC7F5SNA_cjs.markdownSanitizeSchema; }
|
|
10500
|
+
});
|
|
10501
|
+
Object.defineProperty(exports, "splitMarkdownBlocks", {
|
|
10502
|
+
enumerable: true,
|
|
10503
|
+
get: function () { return chunkOC7F5SNA_cjs.splitMarkdownBlocks; }
|
|
10504
|
+
});
|
|
10132
10505
|
Object.defineProperty(exports, "closeOpenEmphasis", {
|
|
10133
10506
|
enumerable: true,
|
|
10134
10507
|
get: function () { return chunkZ3LLUO32_cjs.closeOpenEmphasis; }
|
|
@@ -10342,6 +10715,7 @@ exports.ArtifactCanvas = ArtifactCanvas;
|
|
|
10342
10715
|
exports.BOX_SEAT_REFUSED = BOX_SEAT_REFUSED;
|
|
10343
10716
|
exports.BOX_SEAT_REFUSED_ACTION = BOX_SEAT_REFUSED_ACTION;
|
|
10344
10717
|
exports.BOX_SEAT_REFUSED_TITLE = BOX_SEAT_REFUSED_TITLE;
|
|
10718
|
+
exports.COLUMN_LABEL_FALLBACKS = COLUMN_LABEL_FALLBACKS;
|
|
10345
10719
|
exports.CalendarSupportProvider = CalendarSupportProvider;
|
|
10346
10720
|
exports.ChatBubble = ChatBubble;
|
|
10347
10721
|
exports.CitationRenderer = CitationRenderer;
|
|
@@ -10351,6 +10725,7 @@ exports.CommandPaletteProvider = CommandPaletteProvider;
|
|
|
10351
10725
|
exports.ConversationList = ConversationList;
|
|
10352
10726
|
exports.DEFAULT_ASPECT_OPTIONS = DEFAULT_ASPECT_OPTIONS;
|
|
10353
10727
|
exports.DEFAULT_DOCUMENT_VIEWER_STATE = DEFAULT_DOCUMENT_VIEWER_STATE;
|
|
10728
|
+
exports.DEFAULT_METADATA_TAGS = DEFAULT_METADATA_TAGS;
|
|
10354
10729
|
exports.DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES = DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES;
|
|
10355
10730
|
exports.DEFAULT_START_BY_EMAIL_LABELS = DEFAULT_START_BY_EMAIL_LABELS;
|
|
10356
10731
|
exports.DateSeparator = DateSeparator;
|
|
@@ -10401,8 +10776,12 @@ exports.announceMailDraftReplaced = announceMailDraftReplaced;
|
|
|
10401
10776
|
exports.applyOptimisticDocumentEdit = applyOptimisticDocumentEdit;
|
|
10402
10777
|
exports.arbiAccountClient = arbiAccountClient;
|
|
10403
10778
|
exports.arbiMailClient = arbiMailClient;
|
|
10779
|
+
exports.archiveName = archiveName;
|
|
10780
|
+
exports.buildDocumentMetadataRows = buildDocumentMetadataRows;
|
|
10781
|
+
exports.buildFolderTree = buildFolderTree;
|
|
10404
10782
|
exports.calendarQueryKeys = calendarQueryKeys;
|
|
10405
10783
|
exports.callNotificationMeta = callNotificationMeta;
|
|
10784
|
+
exports.canonicalFolderPath = canonicalFolderPath;
|
|
10406
10785
|
exports.captureFrameAsBlob = captureFrameAsBlob;
|
|
10407
10786
|
exports.connectOAuthCalendarAccount = connectOAuthCalendarAccount;
|
|
10408
10787
|
exports.connectorErrorStatus = connectorErrorStatus;
|
|
@@ -10421,8 +10800,15 @@ exports.documentActivityPhrase = documentActivityPhrase;
|
|
|
10421
10800
|
exports.documentDisplayName = documentDisplayName;
|
|
10422
10801
|
exports.docxMentionMeta = docxMentionMeta;
|
|
10423
10802
|
exports.downloadRecoveryFile = downloadRecoveryFile;
|
|
10803
|
+
exports.fallbackFileName = fallbackFileName;
|
|
10424
10804
|
exports.fileAttachment = fileAttachment;
|
|
10805
|
+
exports.formatDocDate = formatDocDate;
|
|
10806
|
+
exports.formatFolderLabel = formatFolderLabel;
|
|
10425
10807
|
exports.formatIdentityPrice = formatIdentityPrice;
|
|
10808
|
+
exports.getDocumentAuthor = getDocumentAuthor;
|
|
10809
|
+
exports.getDocumentDate = getDocumentDate;
|
|
10810
|
+
exports.getDocumentNature = getDocumentNature;
|
|
10811
|
+
exports.getDocumentSubject = getDocumentSubject;
|
|
10426
10812
|
exports.getNotificationTypeMeta = getNotificationTypeMeta;
|
|
10427
10813
|
exports.getWorkspaceActionText = getWorkspaceActionText;
|
|
10428
10814
|
exports.getWorkspaceKind = getWorkspaceKind;
|
|
@@ -10435,6 +10821,7 @@ exports.invalidateCalendars = invalidateCalendars;
|
|
|
10435
10821
|
exports.isAliasTakenError = isAliasTakenError;
|
|
10436
10822
|
exports.isDeploymentAdmin = isDeploymentAdmin;
|
|
10437
10823
|
exports.isDeploymentUserNotification = isDeploymentUserNotification;
|
|
10824
|
+
exports.isDocumentAddableToConversation = isDocumentAddableToConversation;
|
|
10438
10825
|
exports.isOfflineReadableArbiQuery = isOfflineReadableArbiQuery;
|
|
10439
10826
|
exports.isQueuedCalendarWrite = isQueuedCalendarWrite;
|
|
10440
10827
|
exports.isReplayableArbiMutation = isReplayableArbiMutation;
|
|
@@ -10555,12 +10942,15 @@ exports.useDeleteNotifications = useDeleteNotifications;
|
|
|
10555
10942
|
exports.useDeleteProject = useDeleteProject;
|
|
10556
10943
|
exports.useDeleteSkill = useDeleteSkill;
|
|
10557
10944
|
exports.useDeleteWorkflow = useDeleteWorkflow;
|
|
10945
|
+
exports.useDeleteWorkspaces = useDeleteWorkspaces;
|
|
10558
10946
|
exports.useDirectMessages = useDirectMessages;
|
|
10559
10947
|
exports.useDisconnectCalendarAccount = useDisconnectCalendarAccount;
|
|
10560
10948
|
exports.useDisconnectConnector = useDisconnectConnector;
|
|
10561
10949
|
exports.useDisconnectMailAccount = useDisconnectMailAccount;
|
|
10562
10950
|
exports.useDisconnectSlack = useDisconnectSlack;
|
|
10951
|
+
exports.useDocumentThumbnails = useDocumentThumbnails;
|
|
10563
10952
|
exports.useDocumentsSupport = useDocumentsSupport;
|
|
10953
|
+
exports.useDownloadDocuments = useDownloadDocuments;
|
|
10564
10954
|
exports.useDriveFolderChildren = useDriveFolderChildren;
|
|
10565
10955
|
exports.useDriveFolderDocCount = useDriveFolderDocCount;
|
|
10566
10956
|
exports.useDriveFolders = useDriveFolders;
|
|
@@ -10617,6 +11007,8 @@ exports.usePendingContacts = usePendingContacts;
|
|
|
10617
11007
|
exports.usePlanQuote = usePlanQuote;
|
|
10618
11008
|
exports.usePlanWork = usePlanWork;
|
|
10619
11009
|
exports.usePreviewProjectPlanChange = usePreviewProjectPlanChange;
|
|
11010
|
+
exports.useProcessingTask = useProcessingTask;
|
|
11011
|
+
exports.useProcessingTasks = useProcessingTasks;
|
|
10620
11012
|
exports.useProducts = useProducts;
|
|
10621
11013
|
exports.useProfile = useProfile;
|
|
10622
11014
|
exports.useProjectBillingPortal = useProjectBillingPortal;
|
|
@@ -10628,6 +11020,7 @@ exports.useRefreshConnectorsOnRunEnd = useRefreshConnectorsOnRunEnd;
|
|
|
10628
11020
|
exports.useRefreshProject = useRefreshProject;
|
|
10629
11021
|
exports.useRemoveDocTags = useRemoveDocTags;
|
|
10630
11022
|
exports.useRemoveWorkspaceMembers = useRemoveWorkspaceMembers;
|
|
11023
|
+
exports.useRenameFolder = useRenameFolder;
|
|
10631
11024
|
exports.useRequestEmailChange = useRequestEmailChange;
|
|
10632
11025
|
exports.useRespondToEvent = useRespondToEvent;
|
|
10633
11026
|
exports.useResumeCalendarAccountConnect = useResumeCalendarAccountConnect;
|