@arbidocs/blocks 0.5.43 → 0.5.44

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.
Files changed (91) hide show
  1. package/README.md +14 -0
  2. package/dist/{ConnectedNativeDocxComparison-52KQKJGY.js → ConnectedNativeDocxComparison-4DYPHNY2.js} +6 -6
  3. package/dist/{ConnectedNativeDocxComparison-52KQKJGY.js.map → ConnectedNativeDocxComparison-4DYPHNY2.js.map} +1 -1
  4. package/dist/{ConnectedNativeDocxComparison-UVLZGS2V.cjs → ConnectedNativeDocxComparison-OZE2SPNU.cjs} +7 -7
  5. package/dist/{ConnectedNativeDocxComparison-UVLZGS2V.cjs.map → ConnectedNativeDocxComparison-OZE2SPNU.cjs.map} +1 -1
  6. package/dist/{ConnectedNativeDocxEditor-BRBL3MOV.js → ConnectedNativeDocxEditor-F3EHJKDI.js} +5 -5
  7. package/dist/{ConnectedNativeDocxEditor-BRBL3MOV.js.map → ConnectedNativeDocxEditor-F3EHJKDI.js.map} +1 -1
  8. package/dist/{ConnectedNativeDocxEditor-KHR5I7W6.cjs → ConnectedNativeDocxEditor-MUM6YRPY.cjs} +7 -7
  9. package/dist/{ConnectedNativeDocxEditor-KHR5I7W6.cjs.map → ConnectedNativeDocxEditor-MUM6YRPY.cjs.map} +1 -1
  10. package/dist/{ConnectedStreamedWordArtifact-DSVFI7BX.cjs → ConnectedStreamedWordArtifact-F6M766FG.cjs} +7 -7
  11. package/dist/ConnectedStreamedWordArtifact-F6M766FG.cjs.map +1 -0
  12. package/dist/{ConnectedStreamedWordArtifact-EQUE6WT5.js → ConnectedStreamedWordArtifact-XUWLRRG5.js} +6 -6
  13. package/dist/{ConnectedStreamedWordArtifact-EQUE6WT5.js.map → ConnectedStreamedWordArtifact-XUWLRRG5.js.map} +1 -1
  14. package/dist/WorkspaceTableView-2CGEO5KK.cjs +1 -1
  15. package/dist/WorkspaceTableView-3ARFQYNO.js +1 -1
  16. package/dist/agents/index.cjs +326 -326
  17. package/dist/agents/index.js +4 -4
  18. package/dist/calls/index.cjs +73 -696
  19. package/dist/calls/index.cjs.map +1 -1
  20. package/dist/calls/index.js +10 -666
  21. package/dist/calls/index.js.map +1 -1
  22. package/dist/{chunk-3YZ3RUSB.cjs → chunk-3GHFTAOV.cjs} +4 -4
  23. package/dist/{chunk-3YZ3RUSB.cjs.map → chunk-3GHFTAOV.cjs.map} +1 -1
  24. package/dist/{chunk-6AJJJ5HR.cjs → chunk-5R256EMF.cjs} +671 -3
  25. package/dist/chunk-5R256EMF.cjs.map +1 -0
  26. package/dist/{chunk-EFDZRAW6.js → chunk-CG7EYB3J.js} +3 -3
  27. package/dist/{chunk-EFDZRAW6.js.map → chunk-CG7EYB3J.js.map} +1 -1
  28. package/dist/{chunk-YAGSGBVM.js → chunk-EY4IEOW3.js} +3 -3
  29. package/dist/{chunk-YAGSGBVM.js.map → chunk-EY4IEOW3.js.map} +1 -1
  30. package/dist/{chunk-YD3RN2FY.cjs → chunk-F72ZD5Q2.cjs} +3 -3
  31. package/dist/{chunk-YD3RN2FY.cjs.map → chunk-F72ZD5Q2.cjs.map} +1 -1
  32. package/dist/{chunk-E3IEZMRK.cjs → chunk-FKFGP7MQ.cjs} +18 -18
  33. package/dist/{chunk-E3IEZMRK.cjs.map → chunk-FKFGP7MQ.cjs.map} +1 -1
  34. package/dist/{chunk-WAIHNFUH.js → chunk-G5JENSLN.js} +3 -3
  35. package/dist/{chunk-WAIHNFUH.js.map → chunk-G5JENSLN.js.map} +1 -1
  36. package/dist/{chunk-O3MRE2HL.cjs → chunk-GUV63FUC.cjs} +11 -11
  37. package/dist/{chunk-O3MRE2HL.cjs.map → chunk-GUV63FUC.cjs.map} +1 -1
  38. package/dist/{chunk-REHG7VRQ.js → chunk-H6UK6LGL.js} +4 -4
  39. package/dist/{chunk-REHG7VRQ.js.map → chunk-H6UK6LGL.js.map} +1 -1
  40. package/dist/{chunk-75Z5AUMM.js → chunk-JS7KJRKG.js} +3 -3
  41. package/dist/{chunk-75Z5AUMM.js.map → chunk-JS7KJRKG.js.map} +1 -1
  42. package/dist/{chunk-TPNLYQD2.cjs → chunk-PV5A5SAC.cjs} +5 -5
  43. package/dist/{chunk-TPNLYQD2.cjs.map → chunk-PV5A5SAC.cjs.map} +1 -1
  44. package/dist/{chunk-K53QRFPJ.cjs → chunk-QPDQYZIR.cjs} +4 -4
  45. package/dist/{chunk-K53QRFPJ.cjs.map → chunk-QPDQYZIR.cjs.map} +1 -1
  46. package/dist/{chunk-UZVXVTTB.cjs → chunk-QWSAJNQE.cjs} +9 -9
  47. package/dist/{chunk-UZVXVTTB.cjs.map → chunk-QWSAJNQE.cjs.map} +1 -1
  48. package/dist/{chunk-2QDNQM63.cjs → chunk-T5BCPKU3.cjs} +3 -3
  49. package/dist/{chunk-2QDNQM63.cjs.map → chunk-T5BCPKU3.cjs.map} +1 -1
  50. package/dist/{chunk-X7CXCEGO.js → chunk-T6KAZPOZ.js} +3 -3
  51. package/dist/{chunk-X7CXCEGO.js.map → chunk-T6KAZPOZ.js.map} +1 -1
  52. package/dist/{chunk-4U4NXFV5.js → chunk-TKTNXFAB.js} +666 -9
  53. package/dist/chunk-TKTNXFAB.js.map +1 -0
  54. package/dist/{chunk-FOIDBAZB.js → chunk-TOP5BMS7.js} +3 -3
  55. package/dist/{chunk-FOIDBAZB.js.map → chunk-TOP5BMS7.js.map} +1 -1
  56. package/dist/{chunk-7CHI36EP.js → chunk-VE6DHRXD.js} +3 -3
  57. package/dist/{chunk-7CHI36EP.js.map → chunk-VE6DHRXD.js.map} +1 -1
  58. package/dist/connect/docx.cjs +9 -9
  59. package/dist/connect/docx.js +5 -5
  60. package/dist/connect/index.cjs +1957 -774
  61. package/dist/connect/index.cjs.map +1 -1
  62. package/dist/connect/index.d.ts +1 -0
  63. package/dist/connect/index.js +1667 -487
  64. package/dist/connect/index.js.map +1 -1
  65. package/dist/connect/viewer.cjs +3 -3
  66. package/dist/connect/viewer.js +3 -3
  67. package/dist/connection/ConnectedFilterDropdown.d.ts +6 -0
  68. package/dist/connection/conversation/ConnectedConversation.d.ts +7 -9
  69. package/dist/connection/conversation/ConnectedConversationPage.d.ts +30 -0
  70. package/dist/connection/conversation/SemanticSearchButton.d.ts +12 -0
  71. package/dist/connection/files/imports/ConnectedAccountsImport.d.ts +16 -0
  72. package/dist/connection/files/imports/DriveImportPanel.d.ts +10 -0
  73. package/dist/connection/files/imports/EmailImportPanel.d.ts +21 -0
  74. package/dist/connection/files/imports/ImportHandoff.d.ts +24 -0
  75. package/dist/connection/files/imports/useDriveSyncTrigger.d.ts +11 -0
  76. package/dist/connection/files/imports/useEmailSyncTrigger.d.ts +11 -0
  77. package/dist/connection/files/imports/useImportHandoff.d.ts +20 -0
  78. package/dist/connection/files/index.d.ts +1 -0
  79. package/dist/facts/index.cjs +55 -55
  80. package/dist/facts/index.js +3 -3
  81. package/dist/index.cjs +384 -384
  82. package/dist/index.js +5 -5
  83. package/dist/settings/index.cjs +1 -1
  84. package/dist/settings/index.js +1 -1
  85. package/dist/workflow-canvas/index.cjs +17 -17
  86. package/dist/workflow-canvas/index.js +4 -4
  87. package/node_modules/@arbidocs/coedit/package.json +1 -1
  88. package/package.json +5 -5
  89. package/dist/ConnectedStreamedWordArtifact-DSVFI7BX.cjs.map +0 -1
  90. package/dist/chunk-4U4NXFV5.js.map +0 -1
  91. package/dist/chunk-6AJJJ5HR.cjs.map +0 -1
@@ -1718,17 +1718,17 @@ function ViewerPdfPane({
1718
1718
  return /* @__PURE__ */ jsxRuntime.jsx(SessionPdfViewer, { ...viewerProps, file: pdfBlob });
1719
1719
  }
1720
1720
  var NativeDocxEditor = React.lazy(
1721
- () => import('../ConnectedNativeDocxEditor-KHR5I7W6.cjs').then((m) => ({
1721
+ () => import('../ConnectedNativeDocxEditor-MUM6YRPY.cjs').then((m) => ({
1722
1722
  default: m.ConnectedNativeDocxEditor
1723
1723
  }))
1724
1724
  );
1725
1725
  var StreamedWordArtifact = React.lazy(
1726
- () => import('../ConnectedStreamedWordArtifact-DSVFI7BX.cjs').then((m) => ({
1726
+ () => import('../ConnectedStreamedWordArtifact-F6M766FG.cjs').then((m) => ({
1727
1727
  default: m.ConnectedStreamedWordArtifact
1728
1728
  }))
1729
1729
  );
1730
1730
  var NativeDocxComparison = React.lazy(
1731
- () => import('../ConnectedNativeDocxComparison-UVLZGS2V.cjs').then((m) => ({
1731
+ () => import('../ConnectedNativeDocxComparison-OZE2SPNU.cjs').then((m) => ({
1732
1732
  default: m.ConnectedNativeDocxComparison
1733
1733
  }))
1734
1734
  );
@@ -1713,17 +1713,17 @@ function ViewerPdfPane({
1713
1713
  return /* @__PURE__ */ jsx(SessionPdfViewer, { ...viewerProps, file: pdfBlob });
1714
1714
  }
1715
1715
  var NativeDocxEditor = lazy(
1716
- () => import('../ConnectedNativeDocxEditor-BRBL3MOV.js').then((m) => ({
1716
+ () => import('../ConnectedNativeDocxEditor-F3EHJKDI.js').then((m) => ({
1717
1717
  default: m.ConnectedNativeDocxEditor
1718
1718
  }))
1719
1719
  );
1720
1720
  var StreamedWordArtifact = lazy(
1721
- () => import('../ConnectedStreamedWordArtifact-EQUE6WT5.js').then((m) => ({
1721
+ () => import('../ConnectedStreamedWordArtifact-XUWLRRG5.js').then((m) => ({
1722
1722
  default: m.ConnectedStreamedWordArtifact
1723
1723
  }))
1724
1724
  );
1725
1725
  var NativeDocxComparison = lazy(
1726
- () => import('../ConnectedNativeDocxComparison-52KQKJGY.js').then((m) => ({
1726
+ () => import('../ConnectedNativeDocxComparison-4DYPHNY2.js').then((m) => ({
1727
1727
  default: m.ConnectedNativeDocxComparison
1728
1728
  }))
1729
1729
  );
@@ -0,0 +1,6 @@
1
+ import { type TriStateFilterMenuProps } from '../settings/TriStateFilterMenu';
2
+ export type ConnectedFilterDropdownProps<T extends string> = Omit<TriStateFilterMenuProps<T>, 'testId' | 'open' | 'onOpenChange'> & {
3
+ stateKey: string;
4
+ };
5
+ /** A filter menu whose open state survives navigation within this workspace session. */
6
+ export declare function ConnectedFilterDropdown<T extends string>({ stateKey, ...props }: ConnectedFilterDropdownProps<T>): import("react").JSX.Element;
@@ -1,13 +1,10 @@
1
- /**
2
- * ConnectedConversation
3
- *
4
- * The open conversation, connected: its messages (or what an empty one shows), and the composer
5
- * dock under them (a failed or orphaned turn's alert, the agent's pending question, the running
6
- * turn's control bar, the composer). It reads and writes the session; what is the host's own (its
7
- * model picker, what the conversation reads, a settings button) comes in as props.
8
- */
1
+ import { type ConversationPageOptions } from './ConnectedConversationPage';
9
2
  import { type ReactNode } from 'react';
10
3
  export interface ConnectedConversationProps {
4
+ layout?: 'thread' | 'page';
5
+ page?: ConversationPageOptions;
6
+ /** Controlled selection, mirrored into the shared session without route parsing. */
7
+ conversationId?: string | null;
11
8
  /** The composer's model picker (the host's). Absent: none. */
12
9
  modelSelector?: ReactNode;
13
10
  /** Left in the composer: what the conversation reads (the host's context button), say. */
@@ -15,4 +12,5 @@ export interface ConnectedConversationProps {
15
12
  /** More tools beside the microphone (a settings button, say). */
16
13
  composerTools?: ReactNode;
17
14
  }
18
- export declare function ConnectedConversation({ modelSelector, composerAccessory, composerTools, }: ConnectedConversationProps): import("react").JSX.Element;
15
+ /** One connected conversation, either its thread body or the existing tabbed workspace page. */
16
+ export declare function ConnectedConversation({ layout, page, conversationId, ...props }: ConnectedConversationProps): import("react").JSX.Element;
@@ -0,0 +1,30 @@
1
+ /** The existing tabbed conversation page; host-specific composer context stays in a slot. */
2
+ import { type ComponentType, type ReactNode } from 'react';
3
+ import { useConversationDocuments } from '@arbidocs/react';
4
+ import type { UploadSource } from '../../provider/environment';
5
+ export interface ConversationPageContext {
6
+ documents: NonNullable<ReturnType<typeof useConversationDocuments>['data']>;
7
+ pinnedTitle: string | null;
8
+ onStatusClick: () => void;
9
+ onSelectSource: (source: UploadSource) => void;
10
+ onAddFromSources: () => void;
11
+ canUpload: boolean;
12
+ uploadDisabledReason: string;
13
+ }
14
+ export interface ConversationPageOptions {
15
+ renderComposerAccessory?: (context: ConversationPageContext) => ReactNode;
16
+ ResultsBoundary?: ComponentType<{
17
+ children: ReactNode;
18
+ }>;
19
+ onGoToDocuments?: () => void;
20
+ }
21
+ export declare function ConnectedConversationPage({ renderComposerAccessory, ResultsBoundary, onGoToDocuments, modelSelector, composerAccessory, composerTools, ConversationThread, }: ConversationPageOptions & {
22
+ modelSelector?: ReactNode;
23
+ composerAccessory?: ReactNode;
24
+ composerTools?: ReactNode;
25
+ ConversationThread: ComponentType<{
26
+ modelSelector?: ReactNode;
27
+ composerAccessory?: ReactNode;
28
+ composerTools?: ReactNode;
29
+ }>;
30
+ }): import("react").JSX.Element;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * SemanticSearchButton
3
+ *
4
+ * The header icon that opens semantic search over past thread messages: a magnifying glass with a
5
+ * sparkle in the lens (the sidebar's "Ask or search" uses the same sparkle for AI search).
6
+ */
7
+ interface SemanticSearchButtonProps {
8
+ active: boolean;
9
+ onClick: () => void;
10
+ }
11
+ export declare function SemanticSearchButton({ active, onClick }: SemanticSearchButtonProps): import("react").JSX.Element;
12
+ export {};
@@ -0,0 +1,16 @@
1
+ /**
2
+ * The upload's "From accounts" source: the user's connected accounts to import mail and files
3
+ * from, grouped by provider family — Microsoft (Outlook mailbox, OneDrive, SharePoint when shown),
4
+ * then Google (Gmail, Google Drive). Null when no provider family is shown.
5
+ */
6
+ export interface ConnectedAccountsImportProps {
7
+ workspaceExtId: string;
8
+ workspaceName: string;
9
+ /** Open the host’s processing view after an import finishes. */
10
+ onViewProgress?: () => void;
11
+ /** A public admin-consent page the user may send to their Microsoft administrator. */
12
+ sharePointAdminUrl?: string;
13
+ }
14
+ /** Whether any provider family the accounts source offers is shown. */
15
+ export declare function useHasAccountsImport(): boolean;
16
+ export declare function ConnectedAccountsImport({ workspaceExtId, workspaceName, onViewProgress, sharePointAdminUrl, }: ConnectedAccountsImportProps): import("react").JSX.Element | null;
@@ -0,0 +1,10 @@
1
+ interface DriveImportPanelProps {
2
+ workspaceExtId: string;
3
+ workspaceName: string;
4
+ onViewProgress?: () => void;
5
+ sharePointAdminUrl?: string;
6
+ /** Render only this drive vendor (so each product slots into its own family group). */
7
+ only?: string;
8
+ }
9
+ export declare function DriveImportPanel({ workspaceExtId, workspaceName, onViewProgress, only, sharePointAdminUrl, }: DriveImportPanelProps): import("react").JSX.Element | null;
10
+ export {};
@@ -0,0 +1,21 @@
1
+ /**
2
+ * EmailImportPanel
3
+ *
4
+ * Rendered under "Import from Email" in the workspace upload flow. Shows each
5
+ * mailbox provider (Gmail, Outlook) inline with its connected account and sync
6
+ * details, and a compact "Sync now" action plus a gear that opens the settings
7
+ * dialog. Reuses the shared EnableSyncDialog and useEmailSyncTrigger so behavior
8
+ * matches the Connected Apps settings tab exactly.
9
+ */
10
+ import { type ReactNode } from 'react';
11
+ interface EmailImportPanelProps {
12
+ workspaceExtId: string;
13
+ workspaceName: string;
14
+ onViewProgress?: () => void;
15
+ /** Rendered inside the Microsoft group, after the Outlook row (e.g. OneDrive). */
16
+ microsoftExtra?: ReactNode;
17
+ /** Rendered inside the Google group, after the Gmail row (e.g. Google Drive). */
18
+ googleExtra?: ReactNode;
19
+ }
20
+ export declare function EmailImportPanel({ workspaceExtId, workspaceName, onViewProgress, microsoftExtra, googleExtra, }: EmailImportPanelProps): import("react").JSX.Element | null;
21
+ export {};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * ImportHandoff
3
+ *
4
+ * The line a connector row shows once an import run finishes.
5
+ *
6
+ * Imported emails and drive files are ordinary documents on the ordinary
7
+ * processing queue, so a finished *import* is only half the job — the documents
8
+ * are still parsing and indexing afterwards. Without this the progress bar simply
9
+ * disappeared and the row flipped to "Last synced just now", which reads as fully
10
+ * done; search then returns partial results with no explanation. This states what
11
+ * landed and points at the processing panel, which is the one place document
12
+ * progress lives (mirroring what a direct upload says in UploadProgress).
13
+ */
14
+ interface ImportHandoffProps {
15
+ /** How many items the finished run imported. Nothing renders when this is 0. */
16
+ count: number;
17
+ /** Singular noun for the imported item, e.g. 'email' or 'document'. */
18
+ noun: string;
19
+ onDismiss: () => void;
20
+ onViewProgress?: () => void;
21
+ 'data-testid'?: string;
22
+ }
23
+ export declare function ImportHandoff({ count, noun, onDismiss, onViewProgress, 'data-testid': testId, }: ImportHandoffProps): import("react").JSX.Element | null;
24
+ export {};
@@ -0,0 +1,11 @@
1
+ export interface RunDriveSyncArgs {
2
+ vendorKey: string;
3
+ /** Sync-target workspace to prime; omit to skip priming (already-open case). */
4
+ workspaceExtId?: string | null;
5
+ /** Label used in the success toast. Defaults to "the workspace". */
6
+ workspaceLabel?: string;
7
+ }
8
+ export declare function useDriveSyncTrigger(): {
9
+ runSync: ({ vendorKey, workspaceExtId, workspaceLabel, }: RunDriveSyncArgs) => Promise<void>;
10
+ isPending: boolean;
11
+ };
@@ -0,0 +1,11 @@
1
+ export interface RunSyncArgs {
2
+ vendorKey: string;
3
+ /** Sync-target workspace to prime; omit to skip priming (already-open case). */
4
+ workspaceExtId?: string | null;
5
+ /** Label used in the success toast. Defaults to "the workspace". */
6
+ workspaceLabel?: string;
7
+ }
8
+ export declare function useEmailSyncTrigger(): {
9
+ runSync: ({ vendorKey, workspaceExtId, workspaceLabel, }: RunSyncArgs) => Promise<void>;
10
+ isPending: boolean;
11
+ };
@@ -0,0 +1,20 @@
1
+ /**
2
+ * useImportHandoff
3
+ *
4
+ * Remembers how much a connector import just brought in, so the row can hand off
5
+ * to the processing panel once the run ends.
6
+ *
7
+ * The fetch progress a connector reports only covers downloading from the
8
+ * provider. What it downloads are ordinary documents on the ordinary processing
9
+ * queue, so indexing carries on after the run reports "done" — and the backend
10
+ * clears its Redis progress at that moment, taking the count with it. This keeps
11
+ * the last count seen while the run was live so the handoff can state what
12
+ * actually happened instead of the progress bar silently vanishing.
13
+ */
14
+ export interface ImportHandoff {
15
+ /** Items the last finished run imported, or null when there's nothing to hand off. */
16
+ lastRunCount: number | null;
17
+ /** Dismiss the handoff (the user has acknowledged it). */
18
+ dismiss: () => void;
19
+ }
20
+ export declare function useImportHandoff(running: boolean, processed: number | undefined): ImportHandoff;
@@ -45,3 +45,4 @@ export { viewsOfTable, withMissingTableViews, withTableView, withoutTableView, t
45
45
  export { useFilesDialogs, type DeleteRequestDocument } from './store';
46
46
  export { ConnectedFilesPage, type ConnectedFilesPageProps, type FilesReviewCardProps, type FilesUploadRequest, } from './page/ConnectedFilesPage';
47
47
  export { ConnectedGridView } from './ConnectedGridView';
48
+ export { ConnectedAccountsImport, useHasAccountsImport, type ConnectedAccountsImportProps, } from './imports/ConnectedAccountsImport';
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkYD3RN2FY_cjs = require('../chunk-YD3RN2FY.cjs');
4
+ var chunkF72ZD5Q2_cjs = require('../chunk-F72ZD5Q2.cjs');
5
5
  require('../chunk-2WLXQGWC.cjs');
6
6
  var chunk5FYU7ZIU_cjs = require('../chunk-5FYU7ZIU.cjs');
7
7
  var chunkHV7XHZLW_cjs = require('../chunk-HV7XHZLW.cjs');
@@ -10,8 +10,8 @@ var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
10
10
  require('../chunk-V4ISCZJ7.cjs');
11
11
  var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
12
12
  var chunkLKK52DEY_cjs = require('../chunk-LKK52DEY.cjs');
13
- require('../chunk-QUMUAJ2P.cjs');
14
13
  require('../chunk-MEMWZ72Y.cjs');
14
+ require('../chunk-QUMUAJ2P.cjs');
15
15
  var chunkUFEXJIEY_cjs = require('../chunk-UFEXJIEY.cjs');
16
16
  require('../chunk-FX3K6LNZ.cjs');
17
17
  require('../chunk-PPCATBOY.cjs');
@@ -76,13 +76,13 @@ function FactsTable({
76
76
  gridProps,
77
77
  testId = "facts-table"
78
78
  }) {
79
- const l = { ...chunkYD3RN2FY_cjs.DEFAULT_FACT_COLUMN_LABELS, ...columnLabels };
79
+ const l = { ...chunkF72ZD5Q2_cjs.DEFAULT_FACT_COLUMN_LABELS, ...columnLabels };
80
80
  const columnDefs = react.useMemo(
81
- () => chunkYD3RN2FY_cjs.createFactColumns({
81
+ () => chunkF72ZD5Q2_cjs.createFactColumns({
82
82
  isInChat,
83
83
  onToggleInChat,
84
84
  renderHeader: (params) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[12.5px] font-medium", children: params.displayName }),
85
- renderRowActions: (fact) => onEdit && onDelete ? /* @__PURE__ */ jsxRuntime.jsx(chunkYD3RN2FY_cjs.FactRowActions, { onEdit: () => onEdit(fact), onDelete: () => onDelete(fact) }) : null,
85
+ renderRowActions: (fact) => onEdit && onDelete ? /* @__PURE__ */ jsxRuntime.jsx(chunkF72ZD5Q2_cjs.FactRowActions, { onEdit: () => onEdit(fact), onDelete: () => onDelete(fact) }) : null,
86
86
  renderLabels: (fact) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex flex-wrap items-center gap-1", children: (fact.tags ?? []).map((tag) => /* @__PURE__ */ jsxRuntime.jsx(
87
87
  "span",
88
88
  {
@@ -412,203 +412,203 @@ function FactSearchResult({
412
412
 
413
413
  Object.defineProperty(exports, "DEFAULT_FACTS_BULK_BAR_LABELS", {
414
414
  enumerable: true,
415
- get: function () { return chunkYD3RN2FY_cjs.DEFAULT_FACTS_BULK_BAR_LABELS; }
415
+ get: function () { return chunkF72ZD5Q2_cjs.DEFAULT_FACTS_BULK_BAR_LABELS; }
416
416
  });
417
417
  Object.defineProperty(exports, "DEFAULT_FACTS_EMPTY_STATE_LABELS", {
418
418
  enumerable: true,
419
- get: function () { return chunkYD3RN2FY_cjs.DEFAULT_FACTS_EMPTY_STATE_LABELS; }
419
+ get: function () { return chunkF72ZD5Q2_cjs.DEFAULT_FACTS_EMPTY_STATE_LABELS; }
420
420
  });
421
421
  Object.defineProperty(exports, "DEFAULT_FACTS_FIELDS_BUTTON_LABELS", {
422
422
  enumerable: true,
423
- get: function () { return chunkYD3RN2FY_cjs.DEFAULT_FACTS_FIELDS_BUTTON_LABELS; }
423
+ get: function () { return chunkF72ZD5Q2_cjs.DEFAULT_FACTS_FIELDS_BUTTON_LABELS; }
424
424
  });
425
425
  Object.defineProperty(exports, "DEFAULT_FACTS_TOOLBAR_LABELS", {
426
426
  enumerable: true,
427
- get: function () { return chunkYD3RN2FY_cjs.DEFAULT_FACTS_TOOLBAR_LABELS; }
427
+ get: function () { return chunkF72ZD5Q2_cjs.DEFAULT_FACTS_TOOLBAR_LABELS; }
428
428
  });
429
429
  Object.defineProperty(exports, "DEFAULT_FACTS_VIEW_TOGGLE_LABELS", {
430
430
  enumerable: true,
431
- get: function () { return chunkYD3RN2FY_cjs.DEFAULT_FACTS_VIEW_TOGGLE_LABELS; }
431
+ get: function () { return chunkF72ZD5Q2_cjs.DEFAULT_FACTS_VIEW_TOGGLE_LABELS; }
432
432
  });
433
433
  Object.defineProperty(exports, "DEFAULT_FACT_COLUMN_LABELS", {
434
434
  enumerable: true,
435
- get: function () { return chunkYD3RN2FY_cjs.DEFAULT_FACT_COLUMN_LABELS; }
435
+ get: function () { return chunkF72ZD5Q2_cjs.DEFAULT_FACT_COLUMN_LABELS; }
436
436
  });
437
437
  Object.defineProperty(exports, "DEFAULT_FACT_COLUMN_ORDER", {
438
438
  enumerable: true,
439
- get: function () { return chunkYD3RN2FY_cjs.DEFAULT_FACT_COLUMN_ORDER; }
439
+ get: function () { return chunkF72ZD5Q2_cjs.DEFAULT_FACT_COLUMN_ORDER; }
440
440
  });
441
441
  Object.defineProperty(exports, "DEFAULT_FACT_COMPOSER_LABELS", {
442
442
  enumerable: true,
443
- get: function () { return chunkYD3RN2FY_cjs.DEFAULT_FACT_COMPOSER_LABELS; }
443
+ get: function () { return chunkF72ZD5Q2_cjs.DEFAULT_FACT_COMPOSER_LABELS; }
444
444
  });
445
445
  Object.defineProperty(exports, "DEFAULT_FACT_DATE_INPUT_LABELS", {
446
446
  enumerable: true,
447
- get: function () { return chunkYD3RN2FY_cjs.DEFAULT_FACT_DATE_INPUT_LABELS; }
447
+ get: function () { return chunkF72ZD5Q2_cjs.DEFAULT_FACT_DATE_INPUT_LABELS; }
448
448
  });
449
449
  Object.defineProperty(exports, "DEFAULT_FACT_LABELS_CELL_LABELS", {
450
450
  enumerable: true,
451
- get: function () { return chunkYD3RN2FY_cjs.DEFAULT_FACT_LABELS_CELL_LABELS; }
451
+ get: function () { return chunkF72ZD5Q2_cjs.DEFAULT_FACT_LABELS_CELL_LABELS; }
452
452
  });
453
453
  Object.defineProperty(exports, "DEFAULT_FACT_ROW_ACTIONS_LABELS", {
454
454
  enumerable: true,
455
- get: function () { return chunkYD3RN2FY_cjs.DEFAULT_FACT_ROW_ACTIONS_LABELS; }
455
+ get: function () { return chunkF72ZD5Q2_cjs.DEFAULT_FACT_ROW_ACTIONS_LABELS; }
456
456
  });
457
457
  Object.defineProperty(exports, "DEFAULT_FACT_SOURCES_ROW_LABELS", {
458
458
  enumerable: true,
459
- get: function () { return chunkYD3RN2FY_cjs.DEFAULT_FACT_SOURCES_ROW_LABELS; }
459
+ get: function () { return chunkF72ZD5Q2_cjs.DEFAULT_FACT_SOURCES_ROW_LABELS; }
460
460
  });
461
461
  Object.defineProperty(exports, "DEFAULT_FACT_SOURCE_GROUP_LABELS", {
462
462
  enumerable: true,
463
- get: function () { return chunkYD3RN2FY_cjs.DEFAULT_FACT_SOURCE_GROUP_LABELS; }
463
+ get: function () { return chunkF72ZD5Q2_cjs.DEFAULT_FACT_SOURCE_GROUP_LABELS; }
464
464
  });
465
465
  Object.defineProperty(exports, "DEFAULT_FACT_TIMELINE_LABELS", {
466
466
  enumerable: true,
467
- get: function () { return chunkYD3RN2FY_cjs.DEFAULT_FACT_TIMELINE_LABELS; }
467
+ get: function () { return chunkF72ZD5Q2_cjs.DEFAULT_FACT_TIMELINE_LABELS; }
468
468
  });
469
469
  Object.defineProperty(exports, "EMPTY_FACT_DATE_FIELDS", {
470
470
  enumerable: true,
471
- get: function () { return chunkYD3RN2FY_cjs.EMPTY_FACT_DATE_FIELDS; }
471
+ get: function () { return chunkF72ZD5Q2_cjs.EMPTY_FACT_DATE_FIELDS; }
472
472
  });
473
473
  Object.defineProperty(exports, "FactComposer", {
474
474
  enumerable: true,
475
- get: function () { return chunkYD3RN2FY_cjs.FactComposer; }
475
+ get: function () { return chunkF72ZD5Q2_cjs.FactComposer; }
476
476
  });
477
477
  Object.defineProperty(exports, "FactDateInput", {
478
478
  enumerable: true,
479
- get: function () { return chunkYD3RN2FY_cjs.FactDateInput; }
479
+ get: function () { return chunkF72ZD5Q2_cjs.FactDateInput; }
480
480
  });
481
481
  Object.defineProperty(exports, "FactFieldRow", {
482
482
  enumerable: true,
483
- get: function () { return chunkYD3RN2FY_cjs.FactFieldRow; }
483
+ get: function () { return chunkF72ZD5Q2_cjs.FactFieldRow; }
484
484
  });
485
485
  Object.defineProperty(exports, "FactLabelsCell", {
486
486
  enumerable: true,
487
- get: function () { return chunkYD3RN2FY_cjs.FactLabelsCell; }
487
+ get: function () { return chunkF72ZD5Q2_cjs.FactLabelsCell; }
488
488
  });
489
489
  Object.defineProperty(exports, "FactRowActions", {
490
490
  enumerable: true,
491
- get: function () { return chunkYD3RN2FY_cjs.FactRowActions; }
491
+ get: function () { return chunkF72ZD5Q2_cjs.FactRowActions; }
492
492
  });
493
493
  Object.defineProperty(exports, "FactSourceGroup", {
494
494
  enumerable: true,
495
- get: function () { return chunkYD3RN2FY_cjs.FactSourceGroup; }
495
+ get: function () { return chunkF72ZD5Q2_cjs.FactSourceGroup; }
496
496
  });
497
497
  Object.defineProperty(exports, "FactSourcesRow", {
498
498
  enumerable: true,
499
- get: function () { return chunkYD3RN2FY_cjs.FactSourcesRow; }
499
+ get: function () { return chunkF72ZD5Q2_cjs.FactSourcesRow; }
500
500
  });
501
501
  Object.defineProperty(exports, "FactsBulkBar", {
502
502
  enumerable: true,
503
- get: function () { return chunkYD3RN2FY_cjs.FactsBulkBar; }
503
+ get: function () { return chunkF72ZD5Q2_cjs.FactsBulkBar; }
504
504
  });
505
505
  Object.defineProperty(exports, "FactsCalendar", {
506
506
  enumerable: true,
507
- get: function () { return chunkYD3RN2FY_cjs.FactsCalendar; }
507
+ get: function () { return chunkF72ZD5Q2_cjs.FactsCalendar; }
508
508
  });
509
509
  Object.defineProperty(exports, "FactsEmptyState", {
510
510
  enumerable: true,
511
- get: function () { return chunkYD3RN2FY_cjs.FactsEmptyState; }
511
+ get: function () { return chunkF72ZD5Q2_cjs.FactsEmptyState; }
512
512
  });
513
513
  Object.defineProperty(exports, "FactsFieldsButton", {
514
514
  enumerable: true,
515
- get: function () { return chunkYD3RN2FY_cjs.FactsFieldsButton; }
515
+ get: function () { return chunkF72ZD5Q2_cjs.FactsFieldsButton; }
516
516
  });
517
517
  Object.defineProperty(exports, "FactsGanttPane", {
518
518
  enumerable: true,
519
- get: function () { return chunkYD3RN2FY_cjs.FactsGanttPane; }
519
+ get: function () { return chunkF72ZD5Q2_cjs.FactsGanttPane; }
520
520
  });
521
521
  Object.defineProperty(exports, "FactsLoadError", {
522
522
  enumerable: true,
523
- get: function () { return chunkYD3RN2FY_cjs.FactsLoadError; }
523
+ get: function () { return chunkF72ZD5Q2_cjs.FactsLoadError; }
524
524
  });
525
525
  Object.defineProperty(exports, "FactsLoading", {
526
526
  enumerable: true,
527
- get: function () { return chunkYD3RN2FY_cjs.FactsLoading; }
527
+ get: function () { return chunkF72ZD5Q2_cjs.FactsLoading; }
528
528
  });
529
529
  Object.defineProperty(exports, "FactsToolbar", {
530
530
  enumerable: true,
531
- get: function () { return chunkYD3RN2FY_cjs.FactsToolbar; }
531
+ get: function () { return chunkF72ZD5Q2_cjs.FactsToolbar; }
532
532
  });
533
533
  Object.defineProperty(exports, "FactsViewToggle", {
534
534
  enumerable: true,
535
- get: function () { return chunkYD3RN2FY_cjs.FactsViewToggle; }
535
+ get: function () { return chunkF72ZD5Q2_cjs.FactsViewToggle; }
536
536
  });
537
537
  Object.defineProperty(exports, "ISO_DATE_FILTER_PARAMS", {
538
538
  enumerable: true,
539
- get: function () { return chunkYD3RN2FY_cjs.ISO_DATE_FILTER_PARAMS; }
539
+ get: function () { return chunkF72ZD5Q2_cjs.ISO_DATE_FILTER_PARAMS; }
540
540
  });
541
541
  Object.defineProperty(exports, "buildFactCitations", {
542
542
  enumerable: true,
543
- get: function () { return chunkYD3RN2FY_cjs.buildFactCitations; }
543
+ get: function () { return chunkF72ZD5Q2_cjs.buildFactCitations; }
544
544
  });
545
545
  Object.defineProperty(exports, "chronologyFactBodies", {
546
546
  enumerable: true,
547
- get: function () { return chunkYD3RN2FY_cjs.chronologyFactBodies; }
547
+ get: function () { return chunkF72ZD5Q2_cjs.chronologyFactBodies; }
548
548
  });
549
549
  Object.defineProperty(exports, "chunkIdsOf", {
550
550
  enumerable: true,
551
- get: function () { return chunkYD3RN2FY_cjs.chunkIdsOf; }
551
+ get: function () { return chunkF72ZD5Q2_cjs.chunkIdsOf; }
552
552
  });
553
553
  Object.defineProperty(exports, "citedVersionRef", {
554
554
  enumerable: true,
555
- get: function () { return chunkYD3RN2FY_cjs.citedVersionRef; }
555
+ get: function () { return chunkF72ZD5Q2_cjs.citedVersionRef; }
556
556
  });
557
557
  Object.defineProperty(exports, "createFactColumns", {
558
558
  enumerable: true,
559
- get: function () { return chunkYD3RN2FY_cjs.createFactColumns; }
559
+ get: function () { return chunkF72ZD5Q2_cjs.createFactColumns; }
560
560
  });
561
561
  Object.defineProperty(exports, "docIdsOf", {
562
562
  enumerable: true,
563
- get: function () { return chunkYD3RN2FY_cjs.docIdsOf; }
563
+ get: function () { return chunkF72ZD5Q2_cjs.docIdsOf; }
564
564
  });
565
565
  Object.defineProperty(exports, "enableFactTableColumnResize", {
566
566
  enumerable: true,
567
- get: function () { return chunkYD3RN2FY_cjs.enableFactTableColumnResize; }
567
+ get: function () { return chunkF72ZD5Q2_cjs.enableFactTableColumnResize; }
568
568
  });
569
569
  Object.defineProperty(exports, "factDateFieldsToSpan", {
570
570
  enumerable: true,
571
- get: function () { return chunkYD3RN2FY_cjs.factDateFieldsToSpan; }
571
+ get: function () { return chunkF72ZD5Q2_cjs.factDateFieldsToSpan; }
572
572
  });
573
573
  Object.defineProperty(exports, "factDateSpanToFields", {
574
574
  enumerable: true,
575
- get: function () { return chunkYD3RN2FY_cjs.factDateSpanToFields; }
575
+ get: function () { return chunkF72ZD5Q2_cjs.factDateSpanToFields; }
576
576
  });
577
577
  Object.defineProperty(exports, "hasChunk", {
578
578
  enumerable: true,
579
- get: function () { return chunkYD3RN2FY_cjs.hasChunk; }
579
+ get: function () { return chunkF72ZD5Q2_cjs.hasChunk; }
580
580
  });
581
581
  Object.defineProperty(exports, "isWholeDoc", {
582
582
  enumerable: true,
583
- get: function () { return chunkYD3RN2FY_cjs.isWholeDoc; }
583
+ get: function () { return chunkF72ZD5Q2_cjs.isWholeDoc; }
584
584
  });
585
585
  Object.defineProperty(exports, "parseChronologyDate", {
586
586
  enumerable: true,
587
- get: function () { return chunkYD3RN2FY_cjs.parseChronologyDate; }
587
+ get: function () { return chunkF72ZD5Q2_cjs.parseChronologyDate; }
588
588
  });
589
589
  Object.defineProperty(exports, "sourceDocCount", {
590
590
  enumerable: true,
591
- get: function () { return chunkYD3RN2FY_cjs.sourceDocCount; }
591
+ get: function () { return chunkF72ZD5Q2_cjs.sourceDocCount; }
592
592
  });
593
593
  Object.defineProperty(exports, "toFactCitations", {
594
594
  enumerable: true,
595
- get: function () { return chunkYD3RN2FY_cjs.toFactCitations; }
595
+ get: function () { return chunkF72ZD5Q2_cjs.toFactCitations; }
596
596
  });
597
597
  Object.defineProperty(exports, "withChunk", {
598
598
  enumerable: true,
599
- get: function () { return chunkYD3RN2FY_cjs.withChunk; }
599
+ get: function () { return chunkF72ZD5Q2_cjs.withChunk; }
600
600
  });
601
601
  Object.defineProperty(exports, "withDoc", {
602
602
  enumerable: true,
603
- get: function () { return chunkYD3RN2FY_cjs.withDoc; }
603
+ get: function () { return chunkF72ZD5Q2_cjs.withDoc; }
604
604
  });
605
605
  Object.defineProperty(exports, "withoutChunk", {
606
606
  enumerable: true,
607
- get: function () { return chunkYD3RN2FY_cjs.withoutChunk; }
607
+ get: function () { return chunkF72ZD5Q2_cjs.withoutChunk; }
608
608
  });
609
609
  Object.defineProperty(exports, "withoutDoc", {
610
610
  enumerable: true,
611
- get: function () { return chunkYD3RN2FY_cjs.withoutDoc; }
611
+ get: function () { return chunkF72ZD5Q2_cjs.withoutDoc; }
612
612
  });
613
613
  Object.defineProperty(exports, "DEFAULT_FACT_PASSAGES_LABELS", {
614
614
  enumerable: true,
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { DEFAULT_FACT_COLUMN_LABELS, createFactColumns, FactRowActions } from '../chunk-75Z5AUMM.js';
3
- export { DEFAULT_FACTS_BULK_BAR_LABELS, DEFAULT_FACTS_EMPTY_STATE_LABELS, DEFAULT_FACTS_FIELDS_BUTTON_LABELS, DEFAULT_FACTS_TOOLBAR_LABELS, DEFAULT_FACTS_VIEW_TOGGLE_LABELS, DEFAULT_FACT_COLUMN_LABELS, DEFAULT_FACT_COLUMN_ORDER, DEFAULT_FACT_COMPOSER_LABELS, DEFAULT_FACT_DATE_INPUT_LABELS, DEFAULT_FACT_LABELS_CELL_LABELS, DEFAULT_FACT_ROW_ACTIONS_LABELS, DEFAULT_FACT_SOURCES_ROW_LABELS, DEFAULT_FACT_SOURCE_GROUP_LABELS, DEFAULT_FACT_TIMELINE_LABELS, EMPTY_FACT_DATE_FIELDS, FactComposer, FactDateInput, FactFieldRow, FactLabelsCell, FactRowActions, FactSourceGroup, FactSourcesRow, FactsBulkBar, FactsCalendar, FactsEmptyState, FactsFieldsButton, FactsGanttPane, FactsLoadError, FactsLoading, FactsToolbar, FactsViewToggle, ISO_DATE_FILTER_PARAMS, buildFactCitations, chronologyFactBodies, chunkIdsOf, citedVersionRef, createFactColumns, docIdsOf, enableFactTableColumnResize, factDateFieldsToSpan, factDateSpanToFields, hasChunk, isWholeDoc, parseChronologyDate, sourceDocCount, toFactCitations, withChunk, withDoc, withoutChunk, withoutDoc } from '../chunk-75Z5AUMM.js';
2
+ import { DEFAULT_FACT_COLUMN_LABELS, createFactColumns, FactRowActions } from '../chunk-JS7KJRKG.js';
3
+ export { DEFAULT_FACTS_BULK_BAR_LABELS, DEFAULT_FACTS_EMPTY_STATE_LABELS, DEFAULT_FACTS_FIELDS_BUTTON_LABELS, DEFAULT_FACTS_TOOLBAR_LABELS, DEFAULT_FACTS_VIEW_TOGGLE_LABELS, DEFAULT_FACT_COLUMN_LABELS, DEFAULT_FACT_COLUMN_ORDER, DEFAULT_FACT_COMPOSER_LABELS, DEFAULT_FACT_DATE_INPUT_LABELS, DEFAULT_FACT_LABELS_CELL_LABELS, DEFAULT_FACT_ROW_ACTIONS_LABELS, DEFAULT_FACT_SOURCES_ROW_LABELS, DEFAULT_FACT_SOURCE_GROUP_LABELS, DEFAULT_FACT_TIMELINE_LABELS, EMPTY_FACT_DATE_FIELDS, FactComposer, FactDateInput, FactFieldRow, FactLabelsCell, FactRowActions, FactSourceGroup, FactSourcesRow, FactsBulkBar, FactsCalendar, FactsEmptyState, FactsFieldsButton, FactsGanttPane, FactsLoadError, FactsLoading, FactsToolbar, FactsViewToggle, ISO_DATE_FILTER_PARAMS, buildFactCitations, chronologyFactBodies, chunkIdsOf, citedVersionRef, createFactColumns, docIdsOf, enableFactTableColumnResize, factDateFieldsToSpan, factDateSpanToFields, hasChunk, isWholeDoc, parseChronologyDate, sourceDocCount, toFactCitations, withChunk, withDoc, withoutChunk, withoutDoc } from '../chunk-JS7KJRKG.js';
4
4
  import '../chunk-JJA6GQKH.js';
5
5
  export { DEFAULT_FACT_PASSAGES_LABELS, FactPassageItem, FactSourcesPanel, renderPreviewInline, toPreviewLine } from '../chunk-HFZ45FD3.js';
6
6
  import { SearchHit } from '../chunk-XJA6TS6D.js';
@@ -9,8 +9,8 @@ export { decodeWhitespaceEntities } from '../chunk-AF6RDAJF.js';
9
9
  import '../chunk-NUNKSZKU.js';
10
10
  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';
11
11
  import { GridView } from '../chunk-7F5Z4K5W.js';
12
- import '../chunk-OJIX5NBN.js';
13
12
  import '../chunk-ABEKUV6L.js';
13
+ import '../chunk-OJIX5NBN.js';
14
14
  import { initials } from '../chunk-5VYJP6XD.js';
15
15
  import '../chunk-SLSBJRWW.js';
16
16
  import '../chunk-NPLYHR2E.js';