@arbidocs/blocks 0.4.64 → 0.4.65

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.
@@ -69,6 +69,8 @@ export declare function useWorkspaceDocs(): {
69
69
  n_chunks?: number | null | undefined;
70
70
  made_from?: number | null | undefined;
71
71
  is_current: boolean;
72
+ markup_revision: number;
73
+ markup_count: number;
72
74
  }[];
73
75
  thread_id?: string | null | undefined;
74
76
  derived_from: {
@@ -7,9 +7,9 @@ var chunkOUW6G4O2_cjs = require('../chunk-OUW6G4O2.cjs');
7
7
  var chunkIA7RTPT3_cjs = require('../chunk-IA7RTPT3.cjs');
8
8
  var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
9
9
  var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
10
- require('../chunk-C54XEN5T.cjs');
11
10
  require('../chunk-FX3K6LNZ.cjs');
12
11
  var chunkPPCATBOY_cjs = require('../chunk-PPCATBOY.cjs');
12
+ require('../chunk-C54XEN5T.cjs');
13
13
  var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
14
14
  var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
15
15
  var lucideReact = require('lucide-react');
@@ -6,9 +6,9 @@ import { GridView, SelectionBar, SelectionBarAction } from '../chunk-BUHKUKKB.js
6
6
  import { FilterInput } from '../chunk-YU2KUMGE.js';
7
7
  export { DEFAULT_FILTER_INPUT_LABELS as DEFAULT_FACTS_FILTER_INPUT_LABELS, DEFAULT_FILTER_FIELDS as FACTS_SEARCH_FIELD_OPTIONS, FilterInput as FactsFilterInput } from '../chunk-YU2KUMGE.js';
8
8
  import { TabHeader } from '../chunk-4WWM3GQ5.js';
9
- import '../chunk-76JDDMSP.js';
10
9
  import '../chunk-SLSBJRWW.js';
11
10
  import { observeResize } from '../chunk-NPLYHR2E.js';
11
+ import '../chunk-76JDDMSP.js';
12
12
  import { initials } from '../chunk-OXF2IFXG.js';
13
13
  import { testIdOr } from '../chunk-7F6CBP3Z.js';
14
14
  import { PencilLine, Check, MoreVertical, Pencil, Trash2, CalendarDays, X, Columns3, ChevronDown, RotateCcw, Milestone, CalendarClock, Scale, Lightbulb, ArrowRight, Loader2, Info, PinOff, Pin, Tags, MoreHorizontal, FolderUp, BookMarked, Plus, Search, CheckCircle2, CornerDownLeft, Quote, ChevronLeft, ChevronRight, Table2, CalendarRange, GanttChartSquare } from 'lucide-react';
@@ -7,12 +7,14 @@ export interface DocumentRowMenuProps {
7
7
  onDocumentChat: () => void;
8
8
  onRename: () => void;
9
9
  onDownload: () => void;
10
+ /** "Download with markup": shown when the document's current version has markup. */
11
+ onDownloadMarkup?: () => void;
10
12
  onMove: () => void;
11
13
  onDelete: () => void;
12
14
  testId?: string;
13
15
  }
14
16
  /** The row-actions kebab of the grid's document cell (Open, Review, Chat, Rename, ...). */
15
- export declare function DocumentRowMenu({ canEdit, onOpen, onReview, onDocumentChat, onRename, onDownload, onMove, onDelete, testId, }: DocumentRowMenuProps): import("react").JSX.Element;
17
+ export declare function DocumentRowMenu({ canEdit, onOpen, onReview, onDocumentChat, onRename, onDownload, onDownloadMarkup, onMove, onDelete, testId, }: DocumentRowMenuProps): import("react").JSX.Element;
16
18
  export interface DocumentNameCellFrameProps {
17
19
  /** Test id on the wrapper, e.g. `open-document-viewer-button-<id>`. */
18
20
  testId?: string;
@@ -8,9 +8,9 @@ var chunkIA7RTPT3_cjs = require('../chunk-IA7RTPT3.cjs');
8
8
  var chunkVFUWWH52_cjs = require('../chunk-VFUWWH52.cjs');
9
9
  var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
10
10
  var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
11
- require('../chunk-C54XEN5T.cjs');
12
11
  require('../chunk-FX3K6LNZ.cjs');
13
12
  require('../chunk-PPCATBOY.cjs');
13
+ require('../chunk-C54XEN5T.cjs');
14
14
  var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
15
15
  var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
16
16
  var chunk2ZTONLT5_cjs = require('../chunk-2ZTONLT5.cjs');
@@ -4167,6 +4167,7 @@ function DocumentRowMenu({
4167
4167
  onDocumentChat,
4168
4168
  onRename,
4169
4169
  onDownload,
4170
+ onDownloadMarkup,
4170
4171
  onMove,
4171
4172
  onDelete,
4172
4173
  testId = "document-row-menu"
@@ -4211,6 +4212,10 @@ function DocumentRowMenu({
4211
4212
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Download, { className: "mr-2 h-4 w-4" }),
4212
4213
  "Download"
4213
4214
  ] }),
4215
+ onDownloadMarkup && /* @__PURE__ */ jsxRuntime.jsxs(ui.DropdownMenuItem, { onSelect: onDownloadMarkup, "data-testid": "document-row-download-markup", children: [
4216
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileDown, { className: "mr-2 h-4 w-4" }),
4217
+ "Download with markup"
4218
+ ] }),
4214
4219
  canEdit && /* @__PURE__ */ jsxRuntime.jsxs(ui.DropdownMenuItem, { onSelect: onMove, children: [
4215
4220
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FolderInput, { className: "mr-2 h-4 w-4" }),
4216
4221
  "Move to\u2026"