@arbidocs/blocks 0.4.40 → 0.4.41
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 +222 -222
- package/dist/agents/index.js +3 -3
- package/dist/{chunk-LEJGV4KQ.cjs → chunk-DIOTMJTC.cjs} +3 -3
- package/dist/{chunk-LEJGV4KQ.cjs.map → chunk-DIOTMJTC.cjs.map} +1 -1
- package/dist/{chunk-RFCQPDEP.js → chunk-PG2RWOGF.js} +3 -3
- package/dist/{chunk-RFCQPDEP.js.map → chunk-PG2RWOGF.js.map} +1 -1
- package/dist/{chunk-MDW5YCHZ.cjs → chunk-VUEZARW5.cjs} +3 -3
- package/dist/{chunk-MDW5YCHZ.cjs.map → chunk-VUEZARW5.cjs.map} +1 -1
- package/dist/{chunk-HTJXMA26.js → chunk-VZGBCBYB.js} +3 -3
- package/dist/{chunk-HTJXMA26.js.map → chunk-VZGBCBYB.js.map} +1 -1
- package/dist/connect/index.cjs +22 -22
- package/dist/connect/index.js +2 -2
- package/dist/files/index.cjs +2 -2
- package/dist/files/index.js +2 -2
- package/dist/index.cjs +430 -430
- package/dist/index.js +6 -6
- package/dist/settings/index.cjs +32 -32
- package/dist/settings/index.js +3 -3
- package/dist/workspaces/index.cjs +2 -2
- package/dist/workspaces/index.js +2 -2
- package/package.json +4 -4
- package/src/docx/styles.css +6 -0
package/dist/connect/index.cjs
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkLR54PQ7N_cjs = require('../chunk-LR54PQ7N.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkVUEZARW5_cjs = require('../chunk-VUEZARW5.cjs');
|
|
6
6
|
var chunkQVBZESYQ_cjs = require('../chunk-QVBZESYQ.cjs');
|
|
7
7
|
require('../chunk-ADOKTJHV.cjs');
|
|
8
8
|
var chunkUW3IHMYA_cjs = require('../chunk-UW3IHMYA.cjs');
|
|
9
9
|
require('../chunk-VGOFFCMT.cjs');
|
|
10
10
|
require('../chunk-V3L5DONY.cjs');
|
|
11
11
|
require('../chunk-PPCATBOY.cjs');
|
|
12
|
-
require('../chunk-DCDVWPMB.cjs');
|
|
13
12
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
13
|
+
require('../chunk-DCDVWPMB.cjs');
|
|
14
14
|
var chunkTLQQV7WW_cjs = require('../chunk-TLQQV7WW.cjs');
|
|
15
15
|
require('../chunk-7UTB4PHM.cjs');
|
|
16
16
|
require('../chunk-MHVNT4J3.cjs');
|
|
@@ -252,12 +252,12 @@ function ConnectedProfileCard({ notify: notify3, title = "Profile" }) {
|
|
|
252
252
|
}
|
|
253
253
|
});
|
|
254
254
|
const display = profile?.fullName || user?.name || "Unnamed";
|
|
255
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
256
|
-
|
|
255
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkVUEZARW5_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserCircle, {}), title, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
256
|
+
chunkVUEZARW5_cjs.ProfileCard,
|
|
257
257
|
{
|
|
258
258
|
avatar: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
259
259
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
260
|
-
|
|
260
|
+
chunkVUEZARW5_cjs.AvatarPicker,
|
|
261
261
|
{
|
|
262
262
|
pictureUrl: profile?.picture ?? user?.picture,
|
|
263
263
|
initials: chunkKDG6FER6_cjs.initials(display),
|
|
@@ -315,10 +315,10 @@ function ConnectedSecuritySection({
|
|
|
315
315
|
},
|
|
316
316
|
onClose: () => setOpen(false)
|
|
317
317
|
});
|
|
318
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
319
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
318
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkVUEZARW5_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.KeyRound, {}), title: "Security", children: [
|
|
319
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkVUEZARW5_cjs.SettingsCard, { padding: "sm", children: [
|
|
320
320
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
321
|
-
|
|
321
|
+
chunkVUEZARW5_cjs.SettingsActionRow,
|
|
322
322
|
{
|
|
323
323
|
title: "Change password",
|
|
324
324
|
description: "Used to sign in and to encrypt your data. Changing it re-encrypts everything in your account.",
|
|
@@ -329,7 +329,7 @@ function ConnectedSecuritySection({
|
|
|
329
329
|
children
|
|
330
330
|
] }),
|
|
331
331
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
332
|
-
|
|
332
|
+
chunkVUEZARW5_cjs.PasswordChangeDialog,
|
|
333
333
|
{
|
|
334
334
|
open,
|
|
335
335
|
onClose: form.onCancel,
|
|
@@ -353,23 +353,23 @@ function ConnectedSecuritySection({
|
|
|
353
353
|
] });
|
|
354
354
|
}
|
|
355
355
|
function ConnectedNotificationPreferences({
|
|
356
|
-
categories =
|
|
356
|
+
categories = chunkVUEZARW5_cjs.EMAIL_NOTIFICATION_CATEGORIES,
|
|
357
357
|
title = "Notifications"
|
|
358
358
|
}) {
|
|
359
359
|
const keys = react.useMemo(
|
|
360
|
-
() => categories ===
|
|
360
|
+
() => categories === chunkVUEZARW5_cjs.EMAIL_NOTIFICATION_CATEGORIES ? chunkVUEZARW5_cjs.EMAIL_NOTIFICATION_KEYS : categories.map((c) => c.key),
|
|
361
361
|
[categories]
|
|
362
362
|
);
|
|
363
363
|
const prefs = react$1.useNotificationPreferences(keys);
|
|
364
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
365
|
-
|
|
364
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkVUEZARW5_cjs.SettingsSection, { title, children: /* @__PURE__ */ jsxRuntime.jsx(chunkVUEZARW5_cjs.SettingsCard, { className: "space-y-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
365
|
+
chunkVUEZARW5_cjs.NotificationCategoryList,
|
|
366
366
|
{
|
|
367
367
|
masterId: "emailNotifications",
|
|
368
368
|
masterTitle: "Email Notifications",
|
|
369
369
|
masterDescription: "Email me about activity when I\u2019m away",
|
|
370
370
|
masterChecked: prefs.masterChecked,
|
|
371
371
|
onMasterChange: prefs.setAll,
|
|
372
|
-
categories:
|
|
372
|
+
categories: chunkVUEZARW5_cjs.toNotificationCategories(prefs.checked, categories),
|
|
373
373
|
onCategoryChange: prefs.setCategory
|
|
374
374
|
}
|
|
375
375
|
) }) });
|
|
@@ -383,14 +383,14 @@ function ConnectedSessionsRow({
|
|
|
383
383
|
const sessions = react$1.useSessions({ enabled: open });
|
|
384
384
|
const currentSessionId = react$1.useCurrentSessionId();
|
|
385
385
|
const terminate = react$1.useTerminateSession();
|
|
386
|
-
const views =
|
|
386
|
+
const views = chunkVUEZARW5_cjs.toActiveSessionViews(sessions.data ?? [], {
|
|
387
387
|
currentSessionId,
|
|
388
388
|
terminatingId: terminate.isPending ? terminate.variables : null,
|
|
389
389
|
renderIcon: renderSessionIcon
|
|
390
390
|
});
|
|
391
391
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
392
392
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
393
|
-
|
|
393
|
+
chunkVUEZARW5_cjs.SettingsRow,
|
|
394
394
|
{
|
|
395
395
|
label: "Active sessions",
|
|
396
396
|
description: "Devices and agents currently signed in to your account.",
|
|
@@ -412,7 +412,7 @@ function ConnectedSessionsRow({
|
|
|
412
412
|
}
|
|
413
413
|
),
|
|
414
414
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
415
|
-
|
|
415
|
+
chunkVUEZARW5_cjs.ActiveSessionsDialog,
|
|
416
416
|
{
|
|
417
417
|
open,
|
|
418
418
|
onOpenChange: setOpen,
|
|
@@ -447,7 +447,7 @@ function ConnectedLogoutDialog({
|
|
|
447
447
|
const sessions = react$1.useSessions({ enabled: open });
|
|
448
448
|
const logoutAll = react$1.useLogoutAllSessions();
|
|
449
449
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
450
|
-
|
|
450
|
+
chunkVUEZARW5_cjs.LogoutDialog,
|
|
451
451
|
{
|
|
452
452
|
open,
|
|
453
453
|
onClose,
|
|
@@ -461,7 +461,7 @@ function ConnectedLogoutDialog({
|
|
|
461
461
|
},
|
|
462
462
|
canLogoutAll: true,
|
|
463
463
|
isOnline,
|
|
464
|
-
sessions:
|
|
464
|
+
sessions: chunkVUEZARW5_cjs.toLogoutSessionViews(sessions.data ?? []),
|
|
465
465
|
renderSessionIcon
|
|
466
466
|
}
|
|
467
467
|
);
|
|
@@ -480,7 +480,7 @@ function ConnectedDangerZone({ notify: notify3, renderSubscriptionLink }) {
|
|
|
480
480
|
});
|
|
481
481
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
482
482
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
483
|
-
|
|
483
|
+
chunkVUEZARW5_cjs.SettingsDangerZone,
|
|
484
484
|
{
|
|
485
485
|
isOpen: zoneOpen,
|
|
486
486
|
onToggle: () => setZoneOpen((o) => !o),
|
|
@@ -500,12 +500,12 @@ function ConnectedDangerZone({ notify: notify3, renderSubscriptionLink }) {
|
|
|
500
500
|
}
|
|
501
501
|
),
|
|
502
502
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
503
|
-
|
|
503
|
+
chunkVUEZARW5_cjs.DeleteAccountDialog,
|
|
504
504
|
{
|
|
505
505
|
open: dialogOpen,
|
|
506
506
|
onClose: flow.onClose,
|
|
507
507
|
step: flow.step,
|
|
508
|
-
blockers:
|
|
508
|
+
blockers: chunkVUEZARW5_cjs.toDeleteBlockerViews(flow.blockers, renderSubscriptionLink),
|
|
509
509
|
onContinue: flow.onContinue,
|
|
510
510
|
onBack: flow.onBack,
|
|
511
511
|
userEmail: user?.email ?? "",
|
package/dist/connect/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-7L3KPYD2.js';
|
|
3
|
-
import { SettingsSection, ProfileCard, AvatarPicker, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-
|
|
3
|
+
import { SettingsSection, ProfileCard, AvatarPicker, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-VZGBCBYB.js';
|
|
4
4
|
import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
5
5
|
import '../chunk-VILAPTCB.js';
|
|
6
6
|
import { ChatPage } from '../chunk-E3U5GYAP.js';
|
|
7
7
|
import '../chunk-KZJAG7T3.js';
|
|
8
8
|
import '../chunk-3VQYJBOI.js';
|
|
9
9
|
import '../chunk-NPLYHR2E.js';
|
|
10
|
-
import '../chunk-TJMKFY5P.js';
|
|
11
10
|
import { initials } from '../chunk-OXF2IFXG.js';
|
|
11
|
+
import '../chunk-TJMKFY5P.js';
|
|
12
12
|
import { ConnectionProvider, useConnection } from '../chunk-EHXSBH6U.js';
|
|
13
13
|
export { ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, useConnection } from '../chunk-EHXSBH6U.js';
|
|
14
14
|
import '../chunk-AA3PT6KR.js';
|
package/dist/files/index.cjs
CHANGED
|
@@ -10,11 +10,11 @@ var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
|
10
10
|
var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
|
|
11
11
|
require('../chunk-FX3K6LNZ.cjs');
|
|
12
12
|
require('../chunk-PPCATBOY.cjs');
|
|
13
|
+
require('../chunk-C54XEN5T.cjs');
|
|
14
|
+
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
13
15
|
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
14
16
|
var chunk2ZTONLT5_cjs = require('../chunk-2ZTONLT5.cjs');
|
|
15
17
|
require('../chunk-DCDVWPMB.cjs');
|
|
16
|
-
require('../chunk-C54XEN5T.cjs');
|
|
17
|
-
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
18
18
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
19
19
|
var react = require('react');
|
|
20
20
|
var lucideReact = require('lucide-react');
|
package/dist/files/index.js
CHANGED
|
@@ -10,11 +10,11 @@ import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
|
10
10
|
import { ActionLink } from '../chunk-S7PSMMRG.js';
|
|
11
11
|
import '../chunk-SLSBJRWW.js';
|
|
12
12
|
import '../chunk-NPLYHR2E.js';
|
|
13
|
+
import '../chunk-76JDDMSP.js';
|
|
14
|
+
import { formatCount } from '../chunk-OXF2IFXG.js';
|
|
13
15
|
import { ShareControl } from '../chunk-K4BGOPGG.js';
|
|
14
16
|
import { ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-CPMNAJLF.js';
|
|
15
17
|
import '../chunk-TJMKFY5P.js';
|
|
16
|
-
import '../chunk-76JDDMSP.js';
|
|
17
|
-
import { formatCount } from '../chunk-OXF2IFXG.js';
|
|
18
18
|
import { testIdOr } from '../chunk-7F6CBP3Z.js';
|
|
19
19
|
import { memo, useState, useRef, useEffect, forwardRef, useMemo, useCallback } from 'react';
|
|
20
20
|
import { Check, Minus, PencilLine, Loader2, UploadCloud, Folder, LoaderCircle, Sparkles, AlertCircle, X, FolderOpen, Upload, FileText, FolderPlus, Globe, Download, FolderUp, Users, XCircle, AlertTriangle, CheckCircle2, Share2, ImagePlus, Crop, ChevronLeft, ChevronRight, ZoomIn, CopyX, Plus, Tags, StickyNote, Columns2, Copy, ChevronDown, BookMarked, ExternalLink, Square, RefreshCw, Settings, Unplug, CalendarDays, CheckCircle, CircleSlash, Hourglass, Mail, CornerDownRight, CornerRightDown, Blend, MoreVertical, SquarePen, BookOpen, MessagesSquare, Pencil, FolderInput, Trash2, SquareCheckBig, NotebookPen, MoreHorizontal, ArrowRightFromLine, ArrowDownToLine, Tag, Bot, Calendar, Search, Hash, List, Columns3, Save, Undo2, CheckIcon, ArrowUpDown, FileX, ChevronsUpDown, Table2, ArrowRightLeft } from 'lucide-react';
|