@arbidocs/blocks 0.4.87 → 0.4.88
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/agents/index.cjs +211 -211
- package/dist/agents/index.js +6 -6
- package/dist/chat/index.cjs +125 -125
- package/dist/chat/index.js +3 -3
- package/dist/{chunk-2EI7NCUA.cjs → chunk-2CFW2ELM.cjs} +8 -2
- package/dist/chunk-2CFW2ELM.cjs.map +1 -0
- package/dist/{chunk-OR4CO743.cjs → chunk-5YXG342J.cjs} +3 -3
- package/dist/{chunk-OR4CO743.cjs.map → chunk-5YXG342J.cjs.map} +1 -1
- package/dist/{chunk-R26OHONI.js → chunk-6S5FLMWG.js} +83 -72
- package/dist/chunk-6S5FLMWG.js.map +1 -0
- package/dist/{chunk-P5ST47VY.js → chunk-DDF5GPIJ.js} +3 -3
- package/dist/{chunk-P5ST47VY.js.map → chunk-DDF5GPIJ.js.map} +1 -1
- package/dist/{chunk-PFA43QNX.js → chunk-EWSEQEPL.js} +3 -3
- package/dist/{chunk-PFA43QNX.js.map → chunk-EWSEQEPL.js.map} +1 -1
- package/dist/{chunk-X5K5PCRJ.cjs → chunk-FNEL2BYV.cjs} +18 -18
- package/dist/{chunk-X5K5PCRJ.cjs.map → chunk-FNEL2BYV.cjs.map} +1 -1
- package/dist/{chunk-LBE36YNZ.js → chunk-ICBAFX5B.js} +3 -3
- package/dist/{chunk-LBE36YNZ.js.map → chunk-ICBAFX5B.js.map} +1 -1
- package/dist/{chunk-C3DRLFU7.cjs → chunk-IF6VAYIA.cjs} +5 -5
- package/dist/{chunk-C3DRLFU7.cjs.map → chunk-IF6VAYIA.cjs.map} +1 -1
- package/dist/{chunk-O5NDG4EA.cjs → chunk-MP6FK43E.cjs} +3 -3
- package/dist/{chunk-O5NDG4EA.cjs.map → chunk-MP6FK43E.cjs.map} +1 -1
- package/dist/{chunk-AFSOUS5X.cjs → chunk-N26CXGXC.cjs} +83 -72
- package/dist/chunk-N26CXGXC.cjs.map +1 -0
- package/dist/{chunk-2FBQSQDW.js → chunk-NXWKMKZY.js} +298 -214
- package/dist/chunk-NXWKMKZY.js.map +1 -0
- package/dist/{chunk-QOADH2YB.cjs → chunk-UCAYNE44.cjs} +297 -213
- package/dist/chunk-UCAYNE44.cjs.map +1 -0
- package/dist/{chunk-UJM7TG44.js → chunk-UZV27QLC.js} +7 -7
- package/dist/{chunk-UJM7TG44.js.map → chunk-UZV27QLC.js.map} +1 -1
- package/dist/{chunk-GFYGYME3.js → chunk-W7NZRZ54.js} +3 -3
- package/dist/{chunk-GFYGYME3.js.map → chunk-W7NZRZ54.js.map} +1 -1
- package/dist/{chunk-HUJLKDWX.cjs → chunk-XMBYDLZQ.cjs} +4 -4
- package/dist/{chunk-HUJLKDWX.cjs.map → chunk-XMBYDLZQ.cjs.map} +1 -1
- package/dist/{chunk-WDD255XQ.js → chunk-XQDM6T6C.js} +3 -3
- package/dist/{chunk-WDD255XQ.js.map → chunk-XQDM6T6C.js.map} +1 -1
- package/dist/{chunk-ZV3BKLFY.cjs → chunk-Z5VUZ6YD.cjs} +3 -3
- package/dist/{chunk-ZV3BKLFY.cjs.map → chunk-Z5VUZ6YD.cjs.map} +1 -1
- package/dist/{chunk-YU2KUMGE.js → chunk-ZX2VPMBJ.js} +8 -2
- package/dist/chunk-ZX2VPMBJ.js.map +1 -0
- package/dist/connect/index.cjs +50 -50
- package/dist/connect/index.js +8 -8
- package/dist/facts/index.cjs +7 -7
- package/dist/facts/index.js +4 -4
- package/dist/files/index.cjs +4 -23
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +4 -22
- package/dist/files/index.js.map +1 -1
- package/dist/files/views/TagFormParts.d.ts +0 -8
- package/dist/files/views/index.d.ts +1 -1
- package/dist/home/index.cjs +17 -17
- package/dist/home/index.js +3 -3
- package/dist/index.cjs +629 -537
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +116 -25
- package/dist/index.js.map +1 -1
- package/dist/retrieval/index.cjs +1 -1
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/index.cjs +38 -38
- package/dist/settings/index.js +3 -3
- package/dist/shell/FilterInput.d.ts +3 -1
- package/dist/shell/index.cjs +5 -5
- package/dist/shell/index.js +2 -2
- package/dist/studio/index.cjs +4 -4
- package/dist/studio/index.js +3 -3
- package/dist/tags/TagDetail.d.ts +14 -2
- package/dist/tags/TagTable.d.ts +20 -11
- package/dist/tags/TagsNav.d.ts +28 -4
- package/dist/tags/index.d.ts +1 -1
- package/dist/tags/tagTableModel.d.ts +10 -2
- package/dist/workflow-canvas/index.cjs +13 -13
- package/dist/workflow-canvas/index.js +6 -6
- package/dist/workspaces/index.cjs +2 -2
- package/dist/workspaces/index.js +2 -2
- package/package.json +4 -4
- package/dist/chunk-2EI7NCUA.cjs.map +0 -1
- package/dist/chunk-2FBQSQDW.js.map +0 -1
- package/dist/chunk-AFSOUS5X.cjs.map +0 -1
- package/dist/chunk-QOADH2YB.cjs.map +0 -1
- package/dist/chunk-R26OHONI.js.map +0 -1
- package/dist/chunk-YU2KUMGE.js.map +0 -1
package/dist/connect/index.cjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunk5YXG342J_cjs = require('../chunk-5YXG342J.cjs');
|
|
5
|
+
var chunkXMBYDLZQ_cjs = require('../chunk-XMBYDLZQ.cjs');
|
|
6
6
|
var chunkYFPIJUV3_cjs = require('../chunk-YFPIJUV3.cjs');
|
|
7
7
|
var chunkMUMH3Z6K_cjs = require('../chunk-MUMH3Z6K.cjs');
|
|
8
8
|
var chunkJH6JTI76_cjs = require('../chunk-JH6JTI76.cjs');
|
|
9
9
|
require('../chunk-2ZDFVRGV.cjs');
|
|
10
10
|
var chunkO4YPVYPO_cjs = require('../chunk-O4YPVYPO.cjs');
|
|
11
|
-
var
|
|
11
|
+
var chunkUCAYNE44_cjs = require('../chunk-UCAYNE44.cjs');
|
|
12
12
|
var chunk5XZU64E2_cjs = require('../chunk-5XZU64E2.cjs');
|
|
13
|
-
var
|
|
13
|
+
var chunkN26CXGXC_cjs = require('../chunk-N26CXGXC.cjs');
|
|
14
14
|
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
15
15
|
require('../chunk-DETZZBG2.cjs');
|
|
16
|
-
var
|
|
16
|
+
var chunk2CFW2ELM_cjs = require('../chunk-2CFW2ELM.cjs');
|
|
17
17
|
require('../chunk-7D737FLE.cjs');
|
|
18
18
|
var chunkQVBZESYQ_cjs = require('../chunk-QVBZESYQ.cjs');
|
|
19
19
|
require('../chunk-ADOKTJHV.cjs');
|
|
20
|
-
var
|
|
20
|
+
var chunkMP6FK43E_cjs = require('../chunk-MP6FK43E.cjs');
|
|
21
21
|
require('../chunk-VGOFFCMT.cjs');
|
|
22
22
|
require('../chunk-B4SRYJLM.cjs');
|
|
23
23
|
require('../chunk-7UTB4PHM.cjs');
|
|
24
24
|
require('../chunk-PPCATBOY.cjs');
|
|
25
|
+
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
25
26
|
var chunk3R6XBYL7_cjs = require('../chunk-3R6XBYL7.cjs');
|
|
26
27
|
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
27
28
|
require('../chunk-IXALYQT7.cjs');
|
|
28
29
|
require('../chunk-FX3K6LNZ.cjs');
|
|
29
30
|
require('../chunk-MHVNT4J3.cjs');
|
|
30
|
-
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
31
31
|
require('../chunk-DES3K4SD.cjs');
|
|
32
32
|
var react = require('react');
|
|
33
33
|
var reactQuery = require('@tanstack/react-query');
|
|
@@ -116,7 +116,7 @@ function ConnectedWorkspaceActivity({
|
|
|
116
116
|
[feed.data]
|
|
117
117
|
);
|
|
118
118
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
119
|
-
|
|
119
|
+
chunkUCAYNE44_cjs.WorkspaceActivityList,
|
|
120
120
|
{
|
|
121
121
|
...listProps,
|
|
122
122
|
items,
|
|
@@ -142,7 +142,7 @@ function ConnectedWorkspaceNotificationMenu({
|
|
|
142
142
|
});
|
|
143
143
|
if (!workspaceId) return null;
|
|
144
144
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
145
|
-
|
|
145
|
+
chunkUCAYNE44_cjs.WorkspaceNotificationMenu,
|
|
146
146
|
{
|
|
147
147
|
...menuProps,
|
|
148
148
|
level,
|
|
@@ -161,7 +161,7 @@ function ConnectedThreadFollow({
|
|
|
161
161
|
enabled: status === "authenticated"
|
|
162
162
|
});
|
|
163
163
|
if (!conversationId) return null;
|
|
164
|
-
const Control = as === "menu-item" ?
|
|
164
|
+
const Control = as === "menu-item" ? chunkUCAYNE44_cjs.ThreadFollowMenuItem : chunkUCAYNE44_cjs.ThreadFollowButton;
|
|
165
165
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
166
166
|
Control,
|
|
167
167
|
{
|
|
@@ -322,7 +322,7 @@ function useAnswerRetry(missing, refetch) {
|
|
|
322
322
|
function useWorkflowThread(workflow, options = {}) {
|
|
323
323
|
const arbi = react$1.useArbi();
|
|
324
324
|
const { ensureWorkspaceOpen, status } = chunkMUMH3Z6K_cjs.useConnection();
|
|
325
|
-
const { wsId } =
|
|
325
|
+
const { wsId } = chunkXMBYDLZQ_cjs.useWorkspaceDocs();
|
|
326
326
|
const [threadId, setThreadId] = react.useState(options.conversationId);
|
|
327
327
|
const [localInputs, setLocalInputs] = react.useState(
|
|
328
328
|
() => chunk5XZU64E2_cjs.initialRunInputs(workflow, options.initialInputs)
|
|
@@ -535,7 +535,7 @@ function WorkflowRunThread({
|
|
|
535
535
|
if (listed && activeThreadId !== conversationId) selectThread(conversationId);
|
|
536
536
|
}, [listed, activeThreadId, conversationId, selectThread]);
|
|
537
537
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
538
|
-
|
|
538
|
+
chunkMP6FK43E_cjs.ChatPage,
|
|
539
539
|
{
|
|
540
540
|
chat: { ...chat, threads: chat.threads.filter((t) => t.id === conversationId) },
|
|
541
541
|
singleThread: true,
|
|
@@ -760,7 +760,7 @@ function ConnectedWorkflowRunner({
|
|
|
760
760
|
const dl = { ...DEFAULT_WORKFLOW_RUNNER_DIALOG_LABELS, ...dialogLabels };
|
|
761
761
|
const arbi = react$1.useArbi();
|
|
762
762
|
const { ensureWorkspaceOpen, user } = chunkMUMH3Z6K_cjs.useConnection();
|
|
763
|
-
const { wsId } =
|
|
763
|
+
const { wsId } = chunkXMBYDLZQ_cjs.useWorkspaceDocs();
|
|
764
764
|
const { data: docs = [], refetch } = react$1.useDocuments(wsId);
|
|
765
765
|
const [sending, setSending] = react.useState([]);
|
|
766
766
|
const [added, setAdded] = react.useState({});
|
|
@@ -1159,17 +1159,17 @@ function ConnectedTagTable({
|
|
|
1159
1159
|
const fail = (e) => setError(e instanceof Error ? e.message : String(e));
|
|
1160
1160
|
const snapshot = (data) => {
|
|
1161
1161
|
const title = exportTitle ?? KIND_TITLES[kind];
|
|
1162
|
-
const bytes =
|
|
1162
|
+
const bytes = chunkUCAYNE44_cjs.tagTableDocx(data, {
|
|
1163
1163
|
title,
|
|
1164
1164
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
1165
1165
|
});
|
|
1166
1166
|
const stamp = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
|
|
1167
1167
|
const name = `${title.replace(/[\\/:*?"<>|]+/g, "-")} (${stamp}).docx`;
|
|
1168
|
-
return { blob: new Blob([bytes], { type:
|
|
1168
|
+
return { blob: new Blob([bytes], { type: chunkUCAYNE44_cjs.DOCX_MIME_TYPE }), name };
|
|
1169
1169
|
};
|
|
1170
1170
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
1171
1171
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1172
|
-
|
|
1172
|
+
chunkUCAYNE44_cjs.TagTable,
|
|
1173
1173
|
{
|
|
1174
1174
|
...props,
|
|
1175
1175
|
table,
|
|
@@ -1307,12 +1307,12 @@ function ConnectedProfileCard({ notify: notify3, title = "Profile" }) {
|
|
|
1307
1307
|
}
|
|
1308
1308
|
});
|
|
1309
1309
|
const display = profile?.fullName || user?.name || "Unnamed";
|
|
1310
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1311
|
-
|
|
1310
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk5YXG342J_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserCircle, {}), title, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1311
|
+
chunk5YXG342J_cjs.ProfileCard,
|
|
1312
1312
|
{
|
|
1313
1313
|
avatar: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1314
1314
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1315
|
-
|
|
1315
|
+
chunk5YXG342J_cjs.AvatarPicker,
|
|
1316
1316
|
{
|
|
1317
1317
|
pictureUrl: profile?.picture ?? user?.picture,
|
|
1318
1318
|
initials: chunkKDG6FER6_cjs.initials(display),
|
|
@@ -1354,9 +1354,9 @@ function ConnectedIdentityVerification({
|
|
|
1354
1354
|
onNameAccepted: () => notify3?.("Name updated to match your ID", "success")
|
|
1355
1355
|
});
|
|
1356
1356
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1357
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1357
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5YXG342J_cjs.IdentityVerificationCard, { flow, labels }),
|
|
1358
1358
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1359
|
-
|
|
1359
|
+
chunk5YXG342J_cjs.IdentityVerificationDialog,
|
|
1360
1360
|
{
|
|
1361
1361
|
flow,
|
|
1362
1362
|
accountName: profile?.fullName ?? "",
|
|
@@ -1368,7 +1368,7 @@ function ConnectedIdentityVerification({
|
|
|
1368
1368
|
function ConnectedRequireVerified({ children, labels }) {
|
|
1369
1369
|
const { data: profile } = react$1.useProfile();
|
|
1370
1370
|
const flow = react$1.useIdentityVerification();
|
|
1371
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1371
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk5YXG342J_cjs.RequireVerified, { flow, accountName: profile?.fullName ?? "", labels, children });
|
|
1372
1372
|
}
|
|
1373
1373
|
function defaultUnmetPasswordRequirement(password) {
|
|
1374
1374
|
if (password.length < 8) return "Minimum 8 characters";
|
|
@@ -1393,10 +1393,10 @@ function ConnectedSecuritySection({
|
|
|
1393
1393
|
},
|
|
1394
1394
|
onClose: () => setOpen(false)
|
|
1395
1395
|
});
|
|
1396
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1397
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1396
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk5YXG342J_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.KeyRound, {}), title: "Security", children: [
|
|
1397
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk5YXG342J_cjs.SettingsCard, { padding: "sm", children: [
|
|
1398
1398
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1399
|
-
|
|
1399
|
+
chunk5YXG342J_cjs.SettingsActionRow,
|
|
1400
1400
|
{
|
|
1401
1401
|
title: "Change password",
|
|
1402
1402
|
description: "Used to sign in and to unlock your account key. Changing it keeps everything readable and re-encrypts nothing.",
|
|
@@ -1407,7 +1407,7 @@ function ConnectedSecuritySection({
|
|
|
1407
1407
|
children
|
|
1408
1408
|
] }),
|
|
1409
1409
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1410
|
-
|
|
1410
|
+
chunk5YXG342J_cjs.PasswordChangeDialog,
|
|
1411
1411
|
{
|
|
1412
1412
|
open,
|
|
1413
1413
|
onClose: form.onCancel,
|
|
@@ -1430,23 +1430,23 @@ function ConnectedSecuritySection({
|
|
|
1430
1430
|
] });
|
|
1431
1431
|
}
|
|
1432
1432
|
function ConnectedNotificationPreferences({
|
|
1433
|
-
categories =
|
|
1433
|
+
categories = chunk5YXG342J_cjs.EMAIL_NOTIFICATION_CATEGORIES,
|
|
1434
1434
|
title = "Notifications"
|
|
1435
1435
|
}) {
|
|
1436
1436
|
const keys = react.useMemo(
|
|
1437
|
-
() => categories ===
|
|
1437
|
+
() => categories === chunk5YXG342J_cjs.EMAIL_NOTIFICATION_CATEGORIES ? chunk5YXG342J_cjs.EMAIL_NOTIFICATION_KEYS : categories.map((c) => c.key),
|
|
1438
1438
|
[categories]
|
|
1439
1439
|
);
|
|
1440
1440
|
const prefs = react$1.useNotificationPreferences(keys);
|
|
1441
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1442
|
-
|
|
1441
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk5YXG342J_cjs.SettingsSection, { title, children: /* @__PURE__ */ jsxRuntime.jsx(chunk5YXG342J_cjs.SettingsCard, { className: "space-y-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1442
|
+
chunk5YXG342J_cjs.NotificationCategoryList,
|
|
1443
1443
|
{
|
|
1444
1444
|
masterId: "emailNotifications",
|
|
1445
1445
|
masterTitle: "Email Notifications",
|
|
1446
1446
|
masterDescription: "Email me about activity when I\u2019m away",
|
|
1447
1447
|
masterChecked: prefs.masterChecked,
|
|
1448
1448
|
onMasterChange: prefs.setAll,
|
|
1449
|
-
categories:
|
|
1449
|
+
categories: chunk5YXG342J_cjs.toNotificationCategories(prefs.checked, categories),
|
|
1450
1450
|
onCategoryChange: prefs.setCategory
|
|
1451
1451
|
}
|
|
1452
1452
|
) }) });
|
|
@@ -1460,14 +1460,14 @@ function ConnectedSessionsRow({
|
|
|
1460
1460
|
const sessions = react$1.useSessions({ enabled: open });
|
|
1461
1461
|
const currentSessionId = react$1.useCurrentSessionId();
|
|
1462
1462
|
const terminate = react$1.useTerminateSession();
|
|
1463
|
-
const views =
|
|
1463
|
+
const views = chunk5YXG342J_cjs.toActiveSessionViews(sessions.data ?? [], {
|
|
1464
1464
|
currentSessionId,
|
|
1465
1465
|
terminatingId: terminate.isPending ? terminate.variables : null,
|
|
1466
1466
|
renderIcon: renderSessionIcon
|
|
1467
1467
|
});
|
|
1468
1468
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1469
1469
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1470
|
-
|
|
1470
|
+
chunk5YXG342J_cjs.SettingsRow,
|
|
1471
1471
|
{
|
|
1472
1472
|
label: "Active sessions",
|
|
1473
1473
|
description: "Devices and agents currently signed in to your account.",
|
|
@@ -1489,7 +1489,7 @@ function ConnectedSessionsRow({
|
|
|
1489
1489
|
}
|
|
1490
1490
|
),
|
|
1491
1491
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1492
|
-
|
|
1492
|
+
chunk5YXG342J_cjs.ActiveSessionsDialog,
|
|
1493
1493
|
{
|
|
1494
1494
|
open,
|
|
1495
1495
|
onOpenChange: setOpen,
|
|
@@ -1524,7 +1524,7 @@ function ConnectedLogoutDialog({
|
|
|
1524
1524
|
const sessions = react$1.useSessions({ enabled: open });
|
|
1525
1525
|
const logoutAll = react$1.useLogoutAllSessions();
|
|
1526
1526
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1527
|
-
|
|
1527
|
+
chunk5YXG342J_cjs.LogoutDialog,
|
|
1528
1528
|
{
|
|
1529
1529
|
open,
|
|
1530
1530
|
onClose,
|
|
@@ -1538,7 +1538,7 @@ function ConnectedLogoutDialog({
|
|
|
1538
1538
|
},
|
|
1539
1539
|
canLogoutAll: true,
|
|
1540
1540
|
isOnline,
|
|
1541
|
-
sessions:
|
|
1541
|
+
sessions: chunk5YXG342J_cjs.toLogoutSessionViews(sessions.data ?? []),
|
|
1542
1542
|
renderSessionIcon
|
|
1543
1543
|
}
|
|
1544
1544
|
);
|
|
@@ -1557,7 +1557,7 @@ function ConnectedDangerZone({ notify: notify3, renderSubscriptionLink }) {
|
|
|
1557
1557
|
});
|
|
1558
1558
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1559
1559
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1560
|
-
|
|
1560
|
+
chunk5YXG342J_cjs.SettingsDangerZone,
|
|
1561
1561
|
{
|
|
1562
1562
|
isOpen: zoneOpen,
|
|
1563
1563
|
onToggle: () => setZoneOpen((o) => !o),
|
|
@@ -1577,12 +1577,12 @@ function ConnectedDangerZone({ notify: notify3, renderSubscriptionLink }) {
|
|
|
1577
1577
|
}
|
|
1578
1578
|
),
|
|
1579
1579
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1580
|
-
|
|
1580
|
+
chunk5YXG342J_cjs.DeleteAccountDialog,
|
|
1581
1581
|
{
|
|
1582
1582
|
open: dialogOpen,
|
|
1583
1583
|
onClose: flow.onClose,
|
|
1584
1584
|
step: flow.step,
|
|
1585
|
-
blockers:
|
|
1585
|
+
blockers: chunk5YXG342J_cjs.toDeleteBlockerViews(flow.blockers, renderSubscriptionLink),
|
|
1586
1586
|
onContinue: flow.onContinue,
|
|
1587
1587
|
onBack: flow.onBack,
|
|
1588
1588
|
userEmail: user?.email ?? "",
|
|
@@ -2985,7 +2985,7 @@ function ConnectedMailbox({
|
|
|
2985
2985
|
compactBreakpoint: 360,
|
|
2986
2986
|
firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunkO4YPVYPO_cjs.FilesFilterBar, { children: [
|
|
2987
2987
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2988
|
-
|
|
2988
|
+
chunk2CFW2ELM_cjs.FilterInput,
|
|
2989
2989
|
{
|
|
2990
2990
|
value: query,
|
|
2991
2991
|
onChange: (q) => {
|
|
@@ -3001,7 +3001,7 @@ function ConnectedMailbox({
|
|
|
3001
3001
|
testIds: { root: "mail-search", input: "mail-filter-input" },
|
|
3002
3002
|
className: "min-w-28 flex-1 sm:max-w-72",
|
|
3003
3003
|
filter: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3004
|
-
|
|
3004
|
+
chunkN26CXGXC_cjs.TriStateFilterMenu,
|
|
3005
3005
|
{
|
|
3006
3006
|
testId: "mail-bar-filter-button",
|
|
3007
3007
|
open: filterMenuOpen,
|
|
@@ -3279,7 +3279,7 @@ function ConnectedMailbox({
|
|
|
3279
3279
|
function ActiveChat({ agentId, workspaceId }) {
|
|
3280
3280
|
const chat = react$1.useArbiChat({ agentId, workspaceId });
|
|
3281
3281
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3282
|
-
|
|
3282
|
+
chunkMP6FK43E_cjs.ChatPage,
|
|
3283
3283
|
{
|
|
3284
3284
|
chat: { ...chat, assistantMode: void 0, setAssistantMode: void 0 },
|
|
3285
3285
|
documentsRequired: false,
|
|
@@ -3341,35 +3341,35 @@ function ConnectedAgentChatPanel({
|
|
|
3341
3341
|
|
|
3342
3342
|
Object.defineProperty(exports, "ConnectedAssistantDock", {
|
|
3343
3343
|
enumerable: true,
|
|
3344
|
-
get: function () { return
|
|
3344
|
+
get: function () { return chunkXMBYDLZQ_cjs.ConnectedAssistantDock; }
|
|
3345
3345
|
});
|
|
3346
3346
|
Object.defineProperty(exports, "redlineStats", {
|
|
3347
3347
|
enumerable: true,
|
|
3348
|
-
get: function () { return
|
|
3348
|
+
get: function () { return chunkXMBYDLZQ_cjs.redlineStats; }
|
|
3349
3349
|
});
|
|
3350
3350
|
Object.defineProperty(exports, "textToArtifact", {
|
|
3351
3351
|
enumerable: true,
|
|
3352
|
-
get: function () { return
|
|
3352
|
+
get: function () { return chunkXMBYDLZQ_cjs.textToArtifact; }
|
|
3353
3353
|
});
|
|
3354
3354
|
Object.defineProperty(exports, "toRedlineMarkdown", {
|
|
3355
3355
|
enumerable: true,
|
|
3356
|
-
get: function () { return
|
|
3356
|
+
get: function () { return chunkXMBYDLZQ_cjs.toRedlineMarkdown; }
|
|
3357
3357
|
});
|
|
3358
3358
|
Object.defineProperty(exports, "useConnectedAiTask", {
|
|
3359
3359
|
enumerable: true,
|
|
3360
|
-
get: function () { return
|
|
3360
|
+
get: function () { return chunkXMBYDLZQ_cjs.useConnectedAiTask; }
|
|
3361
3361
|
});
|
|
3362
3362
|
Object.defineProperty(exports, "useConnectedChat", {
|
|
3363
3363
|
enumerable: true,
|
|
3364
|
-
get: function () { return
|
|
3364
|
+
get: function () { return chunkXMBYDLZQ_cjs.useConnectedChat; }
|
|
3365
3365
|
});
|
|
3366
3366
|
Object.defineProperty(exports, "useSemanticSearch", {
|
|
3367
3367
|
enumerable: true,
|
|
3368
|
-
get: function () { return
|
|
3368
|
+
get: function () { return chunkXMBYDLZQ_cjs.useSemanticSearch; }
|
|
3369
3369
|
});
|
|
3370
3370
|
Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
3371
3371
|
enumerable: true,
|
|
3372
|
-
get: function () { return
|
|
3372
|
+
get: function () { return chunkXMBYDLZQ_cjs.useWorkspaceDocs; }
|
|
3373
3373
|
});
|
|
3374
3374
|
Object.defineProperty(exports, "ConnectionProvider", {
|
|
3375
3375
|
enumerable: true,
|
package/dist/connect/index.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-
|
|
3
|
-
import { useWorkspaceDocs } from '../chunk-
|
|
4
|
-
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-
|
|
2
|
+
import { SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-W7NZRZ54.js';
|
|
3
|
+
import { useWorkspaceDocs } from '../chunk-XQDM6T6C.js';
|
|
4
|
+
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-XQDM6T6C.js';
|
|
5
5
|
import { ConnectedNativeDocxEditor } from '../chunk-UDLMLU6T.js';
|
|
6
6
|
import { ConnectionProvider, useConnection } from '../chunk-OYMWV45N.js';
|
|
7
7
|
export { ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, useConnection } from '../chunk-OYMWV45N.js';
|
|
8
8
|
import { SignDocumentDialog } from '../chunk-2YOVK524.js';
|
|
9
9
|
import '../chunk-W2R7YVFM.js';
|
|
10
10
|
import { FilesFilterBar, FolderFilterButton, FolderPickerRow } from '../chunk-7RJTEWYM.js';
|
|
11
|
-
import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx, DOCX_MIME_TYPE } from '../chunk-
|
|
11
|
+
import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx, DOCX_MIME_TYPE } from '../chunk-NXWKMKZY.js';
|
|
12
12
|
import { splitDocRef, WorkflowStepBar, stepLevels, WorkflowRunner, initialRunInputs, workflowSteps, fromPlanSteps, stepStatesFromActivity, toPlanSteps, runThreadTitle, useWorkflowView, stepFields } from '../chunk-YX466FWL.js';
|
|
13
|
-
import { TriStateFilterMenu } from '../chunk-
|
|
13
|
+
import { TriStateFilterMenu } from '../chunk-6S5FLMWG.js';
|
|
14
14
|
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
15
15
|
import '../chunk-EVUEIBNU.js';
|
|
16
|
-
import { FilterInput } from '../chunk-
|
|
16
|
+
import { FilterInput } from '../chunk-ZX2VPMBJ.js';
|
|
17
17
|
import '../chunk-XD2M6LIG.js';
|
|
18
18
|
import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
19
19
|
import '../chunk-VILAPTCB.js';
|
|
20
|
-
import { ChatPage } from '../chunk-
|
|
20
|
+
import { ChatPage } from '../chunk-EWSEQEPL.js';
|
|
21
21
|
import '../chunk-KZJAG7T3.js';
|
|
22
22
|
import '../chunk-HOXKR26S.js';
|
|
23
23
|
import '../chunk-AA3PT6KR.js';
|
|
24
24
|
import '../chunk-NPLYHR2E.js';
|
|
25
|
+
import { initials } from '../chunk-OXF2IFXG.js';
|
|
25
26
|
import { PlainMailBodyEditor, draftMailCompose, emptyMailCompose, MailGrid, MailMessageView, replyMailCompose, MailDocumentPicker, parseMailRecipients } from '../chunk-LGX6UFYG.js';
|
|
26
27
|
import { ModalScaffold } from '../chunk-TX2ZICS7.js';
|
|
27
28
|
import '../chunk-ZPLG7QYF.js';
|
|
28
29
|
import '../chunk-SLSBJRWW.js';
|
|
29
30
|
import '../chunk-7F6CBP3Z.js';
|
|
30
|
-
import { initials } from '../chunk-OXF2IFXG.js';
|
|
31
31
|
import '../chunk-VUNV25KB.js';
|
|
32
32
|
import { lazy, useState, useMemo, Suspense, useEffect, useRef, useCallback } from 'react';
|
|
33
33
|
import { QueryClient, QueryClientProvider, useQueryClient, useQuery } from '@tanstack/react-query';
|
package/dist/facts/index.cjs
CHANGED
|
@@ -6,13 +6,13 @@ var chunkOUW6G4O2_cjs = require('../chunk-OUW6G4O2.cjs');
|
|
|
6
6
|
var chunkVPPX5XUF_cjs = require('../chunk-VPPX5XUF.cjs');
|
|
7
7
|
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
8
8
|
var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
9
|
-
var
|
|
9
|
+
var chunk2CFW2ELM_cjs = require('../chunk-2CFW2ELM.cjs');
|
|
10
10
|
var chunkPPCATBOY_cjs = require('../chunk-PPCATBOY.cjs');
|
|
11
|
+
require('../chunk-C54XEN5T.cjs');
|
|
12
|
+
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
11
13
|
var chunkIXALYQT7_cjs = require('../chunk-IXALYQT7.cjs');
|
|
12
14
|
require('../chunk-FX3K6LNZ.cjs');
|
|
13
15
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
14
|
-
require('../chunk-C54XEN5T.cjs');
|
|
15
|
-
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
16
16
|
require('../chunk-DES3K4SD.cjs');
|
|
17
17
|
var lucideReact = require('lucide-react');
|
|
18
18
|
var ui = require('@arbidocs/react/ui');
|
|
@@ -1927,7 +1927,7 @@ function FactsToolbar({
|
|
|
1927
1927
|
];
|
|
1928
1928
|
const filterControls = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: isNarrow ? "flex w-full items-center gap-1.5" : "flex items-center gap-1.5", children: [
|
|
1929
1929
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1930
|
-
|
|
1930
|
+
chunk2CFW2ELM_cjs.FilterInput,
|
|
1931
1931
|
{
|
|
1932
1932
|
value: filterText,
|
|
1933
1933
|
onChange: onFilterTextChange,
|
|
@@ -2262,15 +2262,15 @@ function FactSearchResult({
|
|
|
2262
2262
|
|
|
2263
2263
|
Object.defineProperty(exports, "DEFAULT_FACTS_FILTER_INPUT_LABELS", {
|
|
2264
2264
|
enumerable: true,
|
|
2265
|
-
get: function () { return
|
|
2265
|
+
get: function () { return chunk2CFW2ELM_cjs.DEFAULT_FILTER_INPUT_LABELS; }
|
|
2266
2266
|
});
|
|
2267
2267
|
Object.defineProperty(exports, "FACTS_SEARCH_FIELD_OPTIONS", {
|
|
2268
2268
|
enumerable: true,
|
|
2269
|
-
get: function () { return
|
|
2269
|
+
get: function () { return chunk2CFW2ELM_cjs.DEFAULT_FILTER_FIELDS; }
|
|
2270
2270
|
});
|
|
2271
2271
|
Object.defineProperty(exports, "FactsFilterInput", {
|
|
2272
2272
|
enumerable: true,
|
|
2273
|
-
get: function () { return
|
|
2273
|
+
get: function () { return chunk2CFW2ELM_cjs.FilterInput; }
|
|
2274
2274
|
});
|
|
2275
2275
|
exports.DEFAULT_FACTS_BULK_BAR_LABELS = DEFAULT_FACTS_BULK_BAR_LABELS;
|
|
2276
2276
|
exports.DEFAULT_FACTS_EMPTY_STATE_LABELS = DEFAULT_FACTS_EMPTY_STATE_LABELS;
|
package/dist/facts/index.js
CHANGED
|
@@ -4,14 +4,14 @@ import { SearchHit } from '../chunk-A2YAC22G.js';
|
|
|
4
4
|
import { formatSpan, TimelineCalendar, TimelineGantt } from '../chunk-4EZVCGRL.js';
|
|
5
5
|
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
6
6
|
import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
7
|
-
import { FilterInput } from '../chunk-
|
|
8
|
-
export { DEFAULT_FILTER_INPUT_LABELS as DEFAULT_FACTS_FILTER_INPUT_LABELS, DEFAULT_FILTER_FIELDS as FACTS_SEARCH_FIELD_OPTIONS, FilterInput as FactsFilterInput } from '../chunk-
|
|
7
|
+
import { FilterInput } from '../chunk-ZX2VPMBJ.js';
|
|
8
|
+
export { DEFAULT_FILTER_INPUT_LABELS as DEFAULT_FACTS_FILTER_INPUT_LABELS, DEFAULT_FILTER_FIELDS as FACTS_SEARCH_FIELD_OPTIONS, FilterInput as FactsFilterInput } from '../chunk-ZX2VPMBJ.js';
|
|
9
9
|
import { observeResize } from '../chunk-NPLYHR2E.js';
|
|
10
|
+
import '../chunk-76JDDMSP.js';
|
|
11
|
+
import { initials } from '../chunk-OXF2IFXG.js';
|
|
10
12
|
import { GridView } from '../chunk-ZPLG7QYF.js';
|
|
11
13
|
import '../chunk-SLSBJRWW.js';
|
|
12
14
|
import { testIdOr } from '../chunk-7F6CBP3Z.js';
|
|
13
|
-
import '../chunk-76JDDMSP.js';
|
|
14
|
-
import { initials } from '../chunk-OXF2IFXG.js';
|
|
15
15
|
import '../chunk-VUNV25KB.js';
|
|
16
16
|
import { PencilLine, Check, MoreVertical, Pencil, Trash2, CalendarDays, X, Columns3, ChevronDown, RotateCcw, Milestone, CalendarClock, Scale, Lightbulb, ArrowRight, Loader2, Info, Paperclip, Tags, MoreHorizontal, FolderUp, BookMarked, Plus, Search, CheckCircle2, CornerDownLeft, Quote, ChevronLeft, ChevronRight, Table2, CalendarRange, GanttChartSquare } from 'lucide-react';
|
|
17
17
|
import { Popover, PopoverTrigger, PopoverContent, Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, cn, Input, Button, CommandSeparator, Tooltip, TooltipTrigger, TooltipContent } from '@arbidocs/react/ui';
|
package/dist/files/index.cjs
CHANGED
|
@@ -9,16 +9,16 @@ var chunk3AFWGEDJ_cjs = require('../chunk-3AFWGEDJ.cjs');
|
|
|
9
9
|
var chunkVFUWWH52_cjs = require('../chunk-VFUWWH52.cjs');
|
|
10
10
|
var chunkDETZZBG2_cjs = require('../chunk-DETZZBG2.cjs');
|
|
11
11
|
var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunk2CFW2ELM_cjs = require('../chunk-2CFW2ELM.cjs');
|
|
13
13
|
var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
|
|
14
14
|
require('../chunk-PPCATBOY.cjs');
|
|
15
|
+
require('../chunk-C54XEN5T.cjs');
|
|
16
|
+
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
15
17
|
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
16
18
|
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
17
19
|
var chunkIXALYQT7_cjs = require('../chunk-IXALYQT7.cjs');
|
|
18
20
|
require('../chunk-FX3K6LNZ.cjs');
|
|
19
21
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
20
|
-
require('../chunk-C54XEN5T.cjs');
|
|
21
|
-
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
22
22
|
require('../chunk-DES3K4SD.cjs');
|
|
23
23
|
var classVarianceAuthority = require('class-variance-authority');
|
|
24
24
|
var ui = require('@arbidocs/react/ui');
|
|
@@ -142,7 +142,7 @@ var DEFAULT_FILES_SEARCH_LABELS = {
|
|
|
142
142
|
};
|
|
143
143
|
function FilesSearchInput(props) {
|
|
144
144
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
145
|
-
|
|
145
|
+
chunk2CFW2ELM_cjs.FilterInput,
|
|
146
146
|
{
|
|
147
147
|
value: props.value,
|
|
148
148
|
onChange: props.onChange,
|
|
@@ -5987,24 +5987,6 @@ function TagFormSelectField({
|
|
|
5987
5987
|
function TagFormNote({ testId, children }) {
|
|
5988
5988
|
return /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", "data-testid": testId, children });
|
|
5989
5989
|
}
|
|
5990
|
-
function TagFormCheckboxField({
|
|
5991
|
-
label,
|
|
5992
|
-
checked,
|
|
5993
|
-
onChange,
|
|
5994
|
-
testId
|
|
5995
|
-
}) {
|
|
5996
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "flex items-center gap-2 text-sm text-foreground", children: [
|
|
5997
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5998
|
-
ui.Checkbox,
|
|
5999
|
-
{
|
|
6000
|
-
checked,
|
|
6001
|
-
onCheckedChange: (value) => onChange(value === true),
|
|
6002
|
-
"data-testid": testId
|
|
6003
|
-
}
|
|
6004
|
-
),
|
|
6005
|
-
label
|
|
6006
|
-
] });
|
|
6007
|
-
}
|
|
6008
5990
|
function TagFormOptionsEditor({
|
|
6009
5991
|
label,
|
|
6010
5992
|
options,
|
|
@@ -6921,7 +6903,6 @@ exports.RelatedDocsCell = RelatedDocsCell;
|
|
|
6921
6903
|
exports.SelectedFilesList = SelectedFilesList;
|
|
6922
6904
|
exports.StatusPill = StatusPill;
|
|
6923
6905
|
exports.TagColumnHeader = TagColumnHeader;
|
|
6924
|
-
exports.TagFormCheckboxField = TagFormCheckboxField;
|
|
6925
6906
|
exports.TagFormField = TagFormField;
|
|
6926
6907
|
exports.TagFormFooter = TagFormFooter;
|
|
6927
6908
|
exports.TagFormInstructionField = TagFormInstructionField;
|