@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.
@@ -2,15 +2,15 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkLR54PQ7N_cjs = require('../chunk-LR54PQ7N.cjs');
5
- var chunkMDW5YCHZ_cjs = require('../chunk-MDW5YCHZ.cjs');
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(chunkMDW5YCHZ_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserCircle, {}), title, children: /* @__PURE__ */ jsxRuntime.jsx(
256
- chunkMDW5YCHZ_cjs.ProfileCard,
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
- chunkMDW5YCHZ_cjs.AvatarPicker,
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(chunkMDW5YCHZ_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.KeyRound, {}), title: "Security", children: [
319
- /* @__PURE__ */ jsxRuntime.jsxs(chunkMDW5YCHZ_cjs.SettingsCard, { padding: "sm", children: [
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
- chunkMDW5YCHZ_cjs.SettingsActionRow,
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
- chunkMDW5YCHZ_cjs.PasswordChangeDialog,
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 = chunkMDW5YCHZ_cjs.EMAIL_NOTIFICATION_CATEGORIES,
356
+ categories = chunkVUEZARW5_cjs.EMAIL_NOTIFICATION_CATEGORIES,
357
357
  title = "Notifications"
358
358
  }) {
359
359
  const keys = react.useMemo(
360
- () => categories === chunkMDW5YCHZ_cjs.EMAIL_NOTIFICATION_CATEGORIES ? chunkMDW5YCHZ_cjs.EMAIL_NOTIFICATION_KEYS : categories.map((c) => c.key),
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(chunkMDW5YCHZ_cjs.SettingsSection, { title, children: /* @__PURE__ */ jsxRuntime.jsx(chunkMDW5YCHZ_cjs.SettingsCard, { className: "space-y-0", children: /* @__PURE__ */ jsxRuntime.jsx(
365
- chunkMDW5YCHZ_cjs.NotificationCategoryList,
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: chunkMDW5YCHZ_cjs.toNotificationCategories(prefs.checked, 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 = chunkMDW5YCHZ_cjs.toActiveSessionViews(sessions.data ?? [], {
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
- chunkMDW5YCHZ_cjs.SettingsRow,
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
- chunkMDW5YCHZ_cjs.ActiveSessionsDialog,
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
- chunkMDW5YCHZ_cjs.LogoutDialog,
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: chunkMDW5YCHZ_cjs.toLogoutSessionViews(sessions.data ?? []),
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
- chunkMDW5YCHZ_cjs.SettingsDangerZone,
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
- chunkMDW5YCHZ_cjs.DeleteAccountDialog,
503
+ chunkVUEZARW5_cjs.DeleteAccountDialog,
504
504
  {
505
505
  open: dialogOpen,
506
506
  onClose: flow.onClose,
507
507
  step: flow.step,
508
- blockers: chunkMDW5YCHZ_cjs.toDeleteBlockerViews(flow.blockers, renderSubscriptionLink),
508
+ blockers: chunkVUEZARW5_cjs.toDeleteBlockerViews(flow.blockers, renderSubscriptionLink),
509
509
  onContinue: flow.onContinue,
510
510
  onBack: flow.onBack,
511
511
  userEmail: user?.email ?? "",
@@ -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-HTJXMA26.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-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';
@@ -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');
@@ -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';