@arbidocs/blocks 0.4.156 → 0.4.158

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 (124) hide show
  1. package/dist/{ConnectedNativeDocxComparison-S25BPUH5.cjs → ConnectedNativeDocxComparison-64RDIFEI.cjs} +8 -8
  2. package/dist/{ConnectedNativeDocxComparison-S25BPUH5.cjs.map → ConnectedNativeDocxComparison-64RDIFEI.cjs.map} +1 -1
  3. package/dist/{ConnectedNativeDocxComparison-2PLOOXSH.js → ConnectedNativeDocxComparison-JOWYEINS.js} +7 -7
  4. package/dist/{ConnectedNativeDocxComparison-2PLOOXSH.js.map → ConnectedNativeDocxComparison-JOWYEINS.js.map} +1 -1
  5. package/dist/{ConnectedNativeDocxEditor-JJAGMHZC.js → ConnectedNativeDocxEditor-OT5DLWCM.js} +6 -6
  6. package/dist/{ConnectedNativeDocxEditor-JJAGMHZC.js.map → ConnectedNativeDocxEditor-OT5DLWCM.js.map} +1 -1
  7. package/dist/{ConnectedNativeDocxEditor-YA4HWLY4.cjs → ConnectedNativeDocxEditor-UAAICR4X.cjs} +8 -8
  8. package/dist/{ConnectedNativeDocxEditor-YA4HWLY4.cjs.map → ConnectedNativeDocxEditor-UAAICR4X.cjs.map} +1 -1
  9. package/dist/{ConnectedStreamedWordArtifact-EXYZAU4Y.cjs → ConnectedStreamedWordArtifact-AJXPNTT3.cjs} +8 -8
  10. package/dist/ConnectedStreamedWordArtifact-AJXPNTT3.cjs.map +1 -0
  11. package/dist/{ConnectedStreamedWordArtifact-YAAXY5KY.js → ConnectedStreamedWordArtifact-GYBCBAJZ.js} +7 -7
  12. package/dist/{ConnectedStreamedWordArtifact-YAAXY5KY.js.map → ConnectedStreamedWordArtifact-GYBCBAJZ.js.map} +1 -1
  13. package/dist/{WorkspaceTableView-ZFMAYHUD.cjs → WorkspaceTableView-CZEFIAVT.cjs} +22 -13
  14. package/dist/WorkspaceTableView-CZEFIAVT.cjs.map +1 -0
  15. package/dist/{WorkspaceTableView-5OWX53R5.js → WorkspaceTableView-FQPJQWUE.js} +20 -11
  16. package/dist/WorkspaceTableView-FQPJQWUE.js.map +1 -0
  17. package/dist/agents/index.cjs +239 -239
  18. package/dist/agents/index.js +5 -5
  19. package/dist/calls/index.cjs +3 -3
  20. package/dist/calls/index.js +2 -2
  21. package/dist/{chunk-6HG56GCT.js → chunk-2DQHFJNP.js} +6 -6
  22. package/dist/{chunk-6HG56GCT.js.map → chunk-2DQHFJNP.js.map} +1 -1
  23. package/dist/{chunk-6HMCF4AJ.js → chunk-7KWUQQIB.js} +1033 -5
  24. package/dist/chunk-7KWUQQIB.js.map +1 -0
  25. package/dist/{chunk-O3FB62T5.cjs → chunk-AUDUNQO6.cjs} +49 -49
  26. package/dist/{chunk-O3FB62T5.cjs.map → chunk-AUDUNQO6.cjs.map} +1 -1
  27. package/dist/{chunk-OTU5KGQ6.cjs → chunk-DVIQWBDM.cjs} +4 -4
  28. package/dist/{chunk-OTU5KGQ6.cjs.map → chunk-DVIQWBDM.cjs.map} +1 -1
  29. package/dist/{chunk-VHJHY7TT.js → chunk-ECERC6TI.js} +3 -3
  30. package/dist/{chunk-VHJHY7TT.js.map → chunk-ECERC6TI.js.map} +1 -1
  31. package/dist/{chunk-HDJRSCRE.cjs → chunk-FBSIWJSG.cjs} +5 -5
  32. package/dist/{chunk-HDJRSCRE.cjs.map → chunk-FBSIWJSG.cjs.map} +1 -1
  33. package/dist/{chunk-W7CWGURO.js → chunk-FGI3YFQH.js} +7 -686
  34. package/dist/chunk-FGI3YFQH.js.map +1 -0
  35. package/dist/{chunk-WV4TD2HZ.cjs → chunk-FWIBFGUQ.cjs} +1055 -2
  36. package/dist/chunk-FWIBFGUQ.cjs.map +1 -0
  37. package/dist/{chunk-7HHYMDPE.js → chunk-GDRLM2EX.js} +3 -3
  38. package/dist/{chunk-7HHYMDPE.js.map → chunk-GDRLM2EX.js.map} +1 -1
  39. package/dist/{chunk-S74QMZVZ.cjs → chunk-GWGUZ5X6.cjs} +4 -4
  40. package/dist/{chunk-S74QMZVZ.cjs.map → chunk-GWGUZ5X6.cjs.map} +1 -1
  41. package/dist/{chunk-FEGXFABZ.cjs → chunk-LY37J3AC.cjs} +3 -3
  42. package/dist/{chunk-FEGXFABZ.cjs.map → chunk-LY37J3AC.cjs.map} +1 -1
  43. package/dist/{chunk-SN2GZ4ZM.cjs → chunk-NFI46I77.cjs} +3 -3
  44. package/dist/{chunk-SN2GZ4ZM.cjs.map → chunk-NFI46I77.cjs.map} +1 -1
  45. package/dist/{chunk-PGOSIJ2I.js → chunk-P6FMKXAB.js} +3 -3
  46. package/dist/{chunk-PGOSIJ2I.js.map → chunk-P6FMKXAB.js.map} +1 -1
  47. package/dist/{chunk-IJEISII2.cjs → chunk-RJUXSXBH.cjs} +3 -3
  48. package/dist/{chunk-IJEISII2.cjs.map → chunk-RJUXSXBH.cjs.map} +1 -1
  49. package/dist/{chunk-53RCZPMR.cjs → chunk-SCK3GAE5.cjs} +5 -5
  50. package/dist/{chunk-53RCZPMR.cjs.map → chunk-SCK3GAE5.cjs.map} +1 -1
  51. package/dist/{chunk-UKT3WH5Z.cjs → chunk-TAWPVD6C.cjs} +3 -3
  52. package/dist/{chunk-UKT3WH5Z.cjs.map → chunk-TAWPVD6C.cjs.map} +1 -1
  53. package/dist/{chunk-MUDEL7UL.cjs → chunk-UYC5BJCB.cjs} +5 -704
  54. package/dist/chunk-UYC5BJCB.cjs.map +1 -0
  55. package/dist/{chunk-2CWM2CFZ.js → chunk-V3HG3LK3.js} +3 -3
  56. package/dist/{chunk-2CWM2CFZ.js.map → chunk-V3HG3LK3.js.map} +1 -1
  57. package/dist/{chunk-UPMADXDU.js → chunk-VE6S6NRQ.js} +3 -3
  58. package/dist/{chunk-UPMADXDU.js.map → chunk-VE6S6NRQ.js.map} +1 -1
  59. package/dist/{chunk-UKCCV63X.js → chunk-VMFLWFXK.js} +3 -3
  60. package/dist/{chunk-UKCCV63X.js.map → chunk-VMFLWFXK.js.map} +1 -1
  61. package/dist/{chunk-HP2C4MD3.js → chunk-Y73X65FF.js} +3 -3
  62. package/dist/{chunk-HP2C4MD3.js.map → chunk-Y73X65FF.js.map} +1 -1
  63. package/dist/{chunk-F3EZDBDJ.js → chunk-Y7PPQ7UT.js} +3 -3
  64. package/dist/{chunk-F3EZDBDJ.js.map → chunk-Y7PPQ7UT.js.map} +1 -1
  65. package/dist/{chunk-DWZXSPMB.cjs → chunk-ZAVEMQ37.cjs} +3 -3
  66. package/dist/{chunk-DWZXSPMB.cjs.map → chunk-ZAVEMQ37.cjs.map} +1 -1
  67. package/dist/{chunk-YMQDDUKW.js → chunk-ZO7PJMCO.js} +3 -3
  68. package/dist/{chunk-YMQDDUKW.js.map → chunk-ZO7PJMCO.js.map} +1 -1
  69. package/dist/collaboration/index.cjs +1 -1
  70. package/dist/collaboration/index.js +1 -1
  71. package/dist/connect/docx.cjs +10 -10
  72. package/dist/connect/docx.js +6 -6
  73. package/dist/connect/index.cjs +1136 -556
  74. package/dist/connect/index.cjs.map +1 -1
  75. package/dist/connect/index.js +639 -64
  76. package/dist/connect/index.js.map +1 -1
  77. package/dist/connect/viewer.cjs +48 -48
  78. package/dist/connect/viewer.js +10 -10
  79. package/dist/connection/files/index.d.ts +5 -0
  80. package/dist/connection/files/support.d.ts +2 -0
  81. package/dist/connection/files/upload/AddFromAccountsButton.d.ts +16 -0
  82. package/dist/connection/files/upload/ConnectedUpload.d.ts +36 -0
  83. package/dist/connection/files/upload/ConnectedUploadDropzone.d.ts +36 -0
  84. package/dist/connection/files/upload/EmptyWorkspaceUpload.d.ts +13 -0
  85. package/dist/connection/files/upload/useAddFromUrls.d.ts +13 -0
  86. package/dist/connection/workspace-list/ConnectedWorkspaceList.d.ts +4 -2
  87. package/dist/connection/workspace-list/WorkspaceCardsView.d.ts +3 -2
  88. package/dist/connection/workspace-list/WorkspaceTableView.d.ts +3 -2
  89. package/dist/connection/workspace-list/index.d.ts +1 -1
  90. package/dist/connection/workspace-list/useConnectedWorkspaceList.d.ts +19 -0
  91. package/dist/connection/workspace-list/workspaceTable.d.ts +3 -1
  92. package/dist/connection/workspace-settings/ConnectedWorkspaceSettings.d.ts +3 -1
  93. package/dist/facts/index.cjs +55 -55
  94. package/dist/facts/index.js +5 -5
  95. package/dist/files/PrivacyExplainerModal.d.ts +8 -0
  96. package/dist/files/ShareToggle.d.ts +8 -0
  97. package/dist/files/UrlInputDialog.d.ts +24 -0
  98. package/dist/files/index.cjs +314 -294
  99. package/dist/files/index.d.ts +4 -0
  100. package/dist/files/index.js +6 -6
  101. package/dist/files/media-preview.d.ts +24 -0
  102. package/dist/home/index.cjs +2 -2
  103. package/dist/home/index.js +2 -2
  104. package/dist/index.cjs +434 -434
  105. package/dist/index.js +11 -11
  106. package/dist/retrieval/index.cjs +1 -1
  107. package/dist/retrieval/index.js +1 -1
  108. package/dist/settings/index.cjs +165 -165
  109. package/dist/settings/index.js +3 -3
  110. package/dist/shell/index.cjs +3 -3
  111. package/dist/shell/index.js +3 -3
  112. package/dist/studio/index.cjs +2 -2
  113. package/dist/studio/index.js +2 -2
  114. package/dist/workflow-canvas/index.cjs +17 -17
  115. package/dist/workflow-canvas/index.js +5 -5
  116. package/node_modules/@arbidocs/coedit/package.json +1 -1
  117. package/package.json +5 -5
  118. package/dist/ConnectedStreamedWordArtifact-EXYZAU4Y.cjs.map +0 -1
  119. package/dist/WorkspaceTableView-5OWX53R5.js.map +0 -1
  120. package/dist/WorkspaceTableView-ZFMAYHUD.cjs.map +0 -1
  121. package/dist/chunk-6HMCF4AJ.js.map +0 -1
  122. package/dist/chunk-MUDEL7UL.cjs.map +0 -1
  123. package/dist/chunk-W7CWGURO.js.map +0 -1
  124. package/dist/chunk-WV4TD2HZ.cjs.map +0 -1
@@ -1,4 +1,23 @@
1
+ /**
2
+ * The signed-in user's workspaces as the workspace list shows them: grouped by project (with the
3
+ * projects themselves for each group's plan and usage), filtered, the groups' collapsed state, the
4
+ * table's selection and its bulk delete. Opening a workspace and creating one are the host's.
5
+ */
6
+ import { type ReactNode } from 'react';
1
7
  import type { TriState } from '../../settings/TriStateFilterMenu';
8
+ import { type GroupedWorkspace } from '../../workspaces/workspace-groups';
9
+ /**
10
+ * A host's state for a workspace that is not simply opened (e.g. archived): a status line on its
11
+ * card and its table row, and what selecting it does instead of opening it.
12
+ */
13
+ export interface WorkspaceItemState {
14
+ status?: ReactNode;
15
+ /** Replaces opening the workspace (its card then has no link). */
16
+ onSelect?: () => void;
17
+ /** The card's accessible name when `onSelect` replaces opening. */
18
+ selectLabel?: string;
19
+ }
20
+ export type WorkspaceItemStateOf = (workspace: GroupedWorkspace) => WorkspaceItemState | undefined;
2
21
  /** The persisted form of the filters: filter id → include / exclude (absent or null: off). */
3
22
  export type WorkspaceListFilters = Record<string, TriState>;
4
23
  export interface WorkspaceListLabels {
@@ -50,9 +50,11 @@ export interface ProjectHeadingContext {
50
50
  * The table's columns. There is no Project column (the project is the heading above each group),
51
51
  * and no column filters (they cannot mix with heading rows): the filter sits above the table.
52
52
  */
53
- export declare function workspaceTableColumns({ selfId, renderMember, heading, }: {
53
+ export declare function workspaceTableColumns({ selfId, renderMember, workspaceStatus, heading, }: {
54
54
  selfId: string | undefined;
55
55
  renderMember: RenderWorkspaceMember;
56
+ /** A host's status line beside a workspace's name (e.g. Archived). */
57
+ workspaceStatus?: (workspace: GroupedWorkspace) => ReactNode;
56
58
  heading: ProjectHeadingContext;
57
59
  }): ColDef<WorkspaceTableRow>[];
58
60
  export {};
@@ -41,11 +41,13 @@ export interface ConnectedWorkspaceSettingsProps {
41
41
  children?: ReactNode;
42
42
  /** Open the host's export/copy/move dialog (members only). */
43
43
  onExport?: () => void;
44
+ /** More page-foot actions beside Export (members only), e.g. the host's Archive…. */
45
+ footerActions?: ReactNode;
44
46
  /** Open the workspace's activity feed (from the bell menu). */
45
47
  onOpenActivity?: () => void;
46
48
  /** After the viewer left the workspace. */
47
49
  onLeft?: () => void;
48
50
  testId?: string;
49
51
  }
50
- export declare function ConnectedWorkspaceSettings({ workspaceId, project, projectLine, renderMember, membersGridState, onMembersGridStateChange, shareDialog, children, onExport, onOpenActivity, onLeft, testId, }: ConnectedWorkspaceSettingsProps): import("react").JSX.Element;
52
+ export declare function ConnectedWorkspaceSettings({ workspaceId, project, projectLine, renderMember, membersGridState, onMembersGridStateChange, shareDialog, children, onExport, footerActions, onOpenActivity, onLeft, testId, }: ConnectedWorkspaceSettingsProps): import("react").JSX.Element;
51
53
  export {};
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkUKT3WH5Z_cjs = require('../chunk-UKT3WH5Z.cjs');
4
+ var chunkTAWPVD6C_cjs = require('../chunk-TAWPVD6C.cjs');
5
5
  var chunk5FYU7ZIU_cjs = require('../chunk-5FYU7ZIU.cjs');
6
6
  require('../chunk-2WLXQGWC.cjs');
7
7
  var chunk4RPBUMHB_cjs = require('../chunk-4RPBUMHB.cjs');
@@ -11,12 +11,12 @@ require('../chunk-V4ISCZJ7.cjs');
11
11
  var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
12
12
  var chunkC2CWWEHO_cjs = require('../chunk-C2CWWEHO.cjs');
13
13
  require('../chunk-7RGLTF76.cjs');
14
- require('../chunk-FX3K6LNZ.cjs');
15
- require('../chunk-PPCATBOY.cjs');
16
- var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
17
14
  require('../chunk-BIXHB4LV.cjs');
18
15
  require('../chunk-CNHUJRQ4.cjs');
19
16
  require('../chunk-ULWRNGGE.cjs');
17
+ require('../chunk-FX3K6LNZ.cjs');
18
+ require('../chunk-PPCATBOY.cjs');
19
+ var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
20
20
  var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
21
21
  require('../chunk-DES3K4SD.cjs');
22
22
  var react = require('react');
@@ -75,13 +75,13 @@ function FactsTable({
75
75
  gridProps,
76
76
  testId = "facts-table"
77
77
  }) {
78
- const l = { ...chunkUKT3WH5Z_cjs.DEFAULT_FACT_COLUMN_LABELS, ...columnLabels };
78
+ const l = { ...chunkTAWPVD6C_cjs.DEFAULT_FACT_COLUMN_LABELS, ...columnLabels };
79
79
  const columnDefs = react.useMemo(
80
- () => chunkUKT3WH5Z_cjs.createFactColumns({
80
+ () => chunkTAWPVD6C_cjs.createFactColumns({
81
81
  isInChat,
82
82
  onToggleInChat,
83
83
  renderHeader: (params) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[12.5px] font-medium", children: params.displayName }),
84
- renderRowActions: (fact) => onEdit && onDelete ? /* @__PURE__ */ jsxRuntime.jsx(chunkUKT3WH5Z_cjs.FactRowActions, { onEdit: () => onEdit(fact), onDelete: () => onDelete(fact) }) : null,
84
+ renderRowActions: (fact) => onEdit && onDelete ? /* @__PURE__ */ jsxRuntime.jsx(chunkTAWPVD6C_cjs.FactRowActions, { onEdit: () => onEdit(fact), onDelete: () => onDelete(fact) }) : null,
85
85
  renderLabels: (fact) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex flex-wrap items-center gap-1", children: (fact.tags ?? []).map((tag) => /* @__PURE__ */ jsxRuntime.jsx(
86
86
  "span",
87
87
  {
@@ -411,195 +411,195 @@ function FactSearchResult({
411
411
 
412
412
  Object.defineProperty(exports, "DEFAULT_FACTS_BULK_BAR_LABELS", {
413
413
  enumerable: true,
414
- get: function () { return chunkUKT3WH5Z_cjs.DEFAULT_FACTS_BULK_BAR_LABELS; }
414
+ get: function () { return chunkTAWPVD6C_cjs.DEFAULT_FACTS_BULK_BAR_LABELS; }
415
415
  });
416
416
  Object.defineProperty(exports, "DEFAULT_FACTS_EMPTY_STATE_LABELS", {
417
417
  enumerable: true,
418
- get: function () { return chunkUKT3WH5Z_cjs.DEFAULT_FACTS_EMPTY_STATE_LABELS; }
418
+ get: function () { return chunkTAWPVD6C_cjs.DEFAULT_FACTS_EMPTY_STATE_LABELS; }
419
419
  });
420
420
  Object.defineProperty(exports, "DEFAULT_FACTS_FIELDS_BUTTON_LABELS", {
421
421
  enumerable: true,
422
- get: function () { return chunkUKT3WH5Z_cjs.DEFAULT_FACTS_FIELDS_BUTTON_LABELS; }
422
+ get: function () { return chunkTAWPVD6C_cjs.DEFAULT_FACTS_FIELDS_BUTTON_LABELS; }
423
423
  });
424
424
  Object.defineProperty(exports, "DEFAULT_FACTS_TOOLBAR_LABELS", {
425
425
  enumerable: true,
426
- get: function () { return chunkUKT3WH5Z_cjs.DEFAULT_FACTS_TOOLBAR_LABELS; }
426
+ get: function () { return chunkTAWPVD6C_cjs.DEFAULT_FACTS_TOOLBAR_LABELS; }
427
427
  });
428
428
  Object.defineProperty(exports, "DEFAULT_FACTS_VIEW_TOGGLE_LABELS", {
429
429
  enumerable: true,
430
- get: function () { return chunkUKT3WH5Z_cjs.DEFAULT_FACTS_VIEW_TOGGLE_LABELS; }
430
+ get: function () { return chunkTAWPVD6C_cjs.DEFAULT_FACTS_VIEW_TOGGLE_LABELS; }
431
431
  });
432
432
  Object.defineProperty(exports, "DEFAULT_FACT_COLUMN_LABELS", {
433
433
  enumerable: true,
434
- get: function () { return chunkUKT3WH5Z_cjs.DEFAULT_FACT_COLUMN_LABELS; }
434
+ get: function () { return chunkTAWPVD6C_cjs.DEFAULT_FACT_COLUMN_LABELS; }
435
435
  });
436
436
  Object.defineProperty(exports, "DEFAULT_FACT_COLUMN_ORDER", {
437
437
  enumerable: true,
438
- get: function () { return chunkUKT3WH5Z_cjs.DEFAULT_FACT_COLUMN_ORDER; }
438
+ get: function () { return chunkTAWPVD6C_cjs.DEFAULT_FACT_COLUMN_ORDER; }
439
439
  });
440
440
  Object.defineProperty(exports, "DEFAULT_FACT_COMPOSER_LABELS", {
441
441
  enumerable: true,
442
- get: function () { return chunkUKT3WH5Z_cjs.DEFAULT_FACT_COMPOSER_LABELS; }
442
+ get: function () { return chunkTAWPVD6C_cjs.DEFAULT_FACT_COMPOSER_LABELS; }
443
443
  });
444
444
  Object.defineProperty(exports, "DEFAULT_FACT_DATE_INPUT_LABELS", {
445
445
  enumerable: true,
446
- get: function () { return chunkUKT3WH5Z_cjs.DEFAULT_FACT_DATE_INPUT_LABELS; }
446
+ get: function () { return chunkTAWPVD6C_cjs.DEFAULT_FACT_DATE_INPUT_LABELS; }
447
447
  });
448
448
  Object.defineProperty(exports, "DEFAULT_FACT_LABELS_CELL_LABELS", {
449
449
  enumerable: true,
450
- get: function () { return chunkUKT3WH5Z_cjs.DEFAULT_FACT_LABELS_CELL_LABELS; }
450
+ get: function () { return chunkTAWPVD6C_cjs.DEFAULT_FACT_LABELS_CELL_LABELS; }
451
451
  });
452
452
  Object.defineProperty(exports, "DEFAULT_FACT_ROW_ACTIONS_LABELS", {
453
453
  enumerable: true,
454
- get: function () { return chunkUKT3WH5Z_cjs.DEFAULT_FACT_ROW_ACTIONS_LABELS; }
454
+ get: function () { return chunkTAWPVD6C_cjs.DEFAULT_FACT_ROW_ACTIONS_LABELS; }
455
455
  });
456
456
  Object.defineProperty(exports, "DEFAULT_FACT_SOURCES_ROW_LABELS", {
457
457
  enumerable: true,
458
- get: function () { return chunkUKT3WH5Z_cjs.DEFAULT_FACT_SOURCES_ROW_LABELS; }
458
+ get: function () { return chunkTAWPVD6C_cjs.DEFAULT_FACT_SOURCES_ROW_LABELS; }
459
459
  });
460
460
  Object.defineProperty(exports, "DEFAULT_FACT_SOURCE_GROUP_LABELS", {
461
461
  enumerable: true,
462
- get: function () { return chunkUKT3WH5Z_cjs.DEFAULT_FACT_SOURCE_GROUP_LABELS; }
462
+ get: function () { return chunkTAWPVD6C_cjs.DEFAULT_FACT_SOURCE_GROUP_LABELS; }
463
463
  });
464
464
  Object.defineProperty(exports, "DEFAULT_FACT_TIMELINE_LABELS", {
465
465
  enumerable: true,
466
- get: function () { return chunkUKT3WH5Z_cjs.DEFAULT_FACT_TIMELINE_LABELS; }
466
+ get: function () { return chunkTAWPVD6C_cjs.DEFAULT_FACT_TIMELINE_LABELS; }
467
467
  });
468
468
  Object.defineProperty(exports, "EMPTY_FACT_DATE_FIELDS", {
469
469
  enumerable: true,
470
- get: function () { return chunkUKT3WH5Z_cjs.EMPTY_FACT_DATE_FIELDS; }
470
+ get: function () { return chunkTAWPVD6C_cjs.EMPTY_FACT_DATE_FIELDS; }
471
471
  });
472
472
  Object.defineProperty(exports, "FactComposer", {
473
473
  enumerable: true,
474
- get: function () { return chunkUKT3WH5Z_cjs.FactComposer; }
474
+ get: function () { return chunkTAWPVD6C_cjs.FactComposer; }
475
475
  });
476
476
  Object.defineProperty(exports, "FactDateInput", {
477
477
  enumerable: true,
478
- get: function () { return chunkUKT3WH5Z_cjs.FactDateInput; }
478
+ get: function () { return chunkTAWPVD6C_cjs.FactDateInput; }
479
479
  });
480
480
  Object.defineProperty(exports, "FactFieldRow", {
481
481
  enumerable: true,
482
- get: function () { return chunkUKT3WH5Z_cjs.FactFieldRow; }
482
+ get: function () { return chunkTAWPVD6C_cjs.FactFieldRow; }
483
483
  });
484
484
  Object.defineProperty(exports, "FactLabelsCell", {
485
485
  enumerable: true,
486
- get: function () { return chunkUKT3WH5Z_cjs.FactLabelsCell; }
486
+ get: function () { return chunkTAWPVD6C_cjs.FactLabelsCell; }
487
487
  });
488
488
  Object.defineProperty(exports, "FactRowActions", {
489
489
  enumerable: true,
490
- get: function () { return chunkUKT3WH5Z_cjs.FactRowActions; }
490
+ get: function () { return chunkTAWPVD6C_cjs.FactRowActions; }
491
491
  });
492
492
  Object.defineProperty(exports, "FactSourceGroup", {
493
493
  enumerable: true,
494
- get: function () { return chunkUKT3WH5Z_cjs.FactSourceGroup; }
494
+ get: function () { return chunkTAWPVD6C_cjs.FactSourceGroup; }
495
495
  });
496
496
  Object.defineProperty(exports, "FactSourcesRow", {
497
497
  enumerable: true,
498
- get: function () { return chunkUKT3WH5Z_cjs.FactSourcesRow; }
498
+ get: function () { return chunkTAWPVD6C_cjs.FactSourcesRow; }
499
499
  });
500
500
  Object.defineProperty(exports, "FactsBulkBar", {
501
501
  enumerable: true,
502
- get: function () { return chunkUKT3WH5Z_cjs.FactsBulkBar; }
502
+ get: function () { return chunkTAWPVD6C_cjs.FactsBulkBar; }
503
503
  });
504
504
  Object.defineProperty(exports, "FactsCalendar", {
505
505
  enumerable: true,
506
- get: function () { return chunkUKT3WH5Z_cjs.FactsCalendar; }
506
+ get: function () { return chunkTAWPVD6C_cjs.FactsCalendar; }
507
507
  });
508
508
  Object.defineProperty(exports, "FactsEmptyState", {
509
509
  enumerable: true,
510
- get: function () { return chunkUKT3WH5Z_cjs.FactsEmptyState; }
510
+ get: function () { return chunkTAWPVD6C_cjs.FactsEmptyState; }
511
511
  });
512
512
  Object.defineProperty(exports, "FactsFieldsButton", {
513
513
  enumerable: true,
514
- get: function () { return chunkUKT3WH5Z_cjs.FactsFieldsButton; }
514
+ get: function () { return chunkTAWPVD6C_cjs.FactsFieldsButton; }
515
515
  });
516
516
  Object.defineProperty(exports, "FactsGanttPane", {
517
517
  enumerable: true,
518
- get: function () { return chunkUKT3WH5Z_cjs.FactsGanttPane; }
518
+ get: function () { return chunkTAWPVD6C_cjs.FactsGanttPane; }
519
519
  });
520
520
  Object.defineProperty(exports, "FactsLoadError", {
521
521
  enumerable: true,
522
- get: function () { return chunkUKT3WH5Z_cjs.FactsLoadError; }
522
+ get: function () { return chunkTAWPVD6C_cjs.FactsLoadError; }
523
523
  });
524
524
  Object.defineProperty(exports, "FactsLoading", {
525
525
  enumerable: true,
526
- get: function () { return chunkUKT3WH5Z_cjs.FactsLoading; }
526
+ get: function () { return chunkTAWPVD6C_cjs.FactsLoading; }
527
527
  });
528
528
  Object.defineProperty(exports, "FactsToolbar", {
529
529
  enumerable: true,
530
- get: function () { return chunkUKT3WH5Z_cjs.FactsToolbar; }
530
+ get: function () { return chunkTAWPVD6C_cjs.FactsToolbar; }
531
531
  });
532
532
  Object.defineProperty(exports, "FactsViewToggle", {
533
533
  enumerable: true,
534
- get: function () { return chunkUKT3WH5Z_cjs.FactsViewToggle; }
534
+ get: function () { return chunkTAWPVD6C_cjs.FactsViewToggle; }
535
535
  });
536
536
  Object.defineProperty(exports, "ISO_DATE_FILTER_PARAMS", {
537
537
  enumerable: true,
538
- get: function () { return chunkUKT3WH5Z_cjs.ISO_DATE_FILTER_PARAMS; }
538
+ get: function () { return chunkTAWPVD6C_cjs.ISO_DATE_FILTER_PARAMS; }
539
539
  });
540
540
  Object.defineProperty(exports, "buildFactCitations", {
541
541
  enumerable: true,
542
- get: function () { return chunkUKT3WH5Z_cjs.buildFactCitations; }
542
+ get: function () { return chunkTAWPVD6C_cjs.buildFactCitations; }
543
543
  });
544
544
  Object.defineProperty(exports, "chunkIdsOf", {
545
545
  enumerable: true,
546
- get: function () { return chunkUKT3WH5Z_cjs.chunkIdsOf; }
546
+ get: function () { return chunkTAWPVD6C_cjs.chunkIdsOf; }
547
547
  });
548
548
  Object.defineProperty(exports, "citedVersionRef", {
549
549
  enumerable: true,
550
- get: function () { return chunkUKT3WH5Z_cjs.citedVersionRef; }
550
+ get: function () { return chunkTAWPVD6C_cjs.citedVersionRef; }
551
551
  });
552
552
  Object.defineProperty(exports, "createFactColumns", {
553
553
  enumerable: true,
554
- get: function () { return chunkUKT3WH5Z_cjs.createFactColumns; }
554
+ get: function () { return chunkTAWPVD6C_cjs.createFactColumns; }
555
555
  });
556
556
  Object.defineProperty(exports, "docIdsOf", {
557
557
  enumerable: true,
558
- get: function () { return chunkUKT3WH5Z_cjs.docIdsOf; }
558
+ get: function () { return chunkTAWPVD6C_cjs.docIdsOf; }
559
559
  });
560
560
  Object.defineProperty(exports, "enableFactTableColumnResize", {
561
561
  enumerable: true,
562
- get: function () { return chunkUKT3WH5Z_cjs.enableFactTableColumnResize; }
562
+ get: function () { return chunkTAWPVD6C_cjs.enableFactTableColumnResize; }
563
563
  });
564
564
  Object.defineProperty(exports, "factDateFieldsToSpan", {
565
565
  enumerable: true,
566
- get: function () { return chunkUKT3WH5Z_cjs.factDateFieldsToSpan; }
566
+ get: function () { return chunkTAWPVD6C_cjs.factDateFieldsToSpan; }
567
567
  });
568
568
  Object.defineProperty(exports, "factDateSpanToFields", {
569
569
  enumerable: true,
570
- get: function () { return chunkUKT3WH5Z_cjs.factDateSpanToFields; }
570
+ get: function () { return chunkTAWPVD6C_cjs.factDateSpanToFields; }
571
571
  });
572
572
  Object.defineProperty(exports, "hasChunk", {
573
573
  enumerable: true,
574
- get: function () { return chunkUKT3WH5Z_cjs.hasChunk; }
574
+ get: function () { return chunkTAWPVD6C_cjs.hasChunk; }
575
575
  });
576
576
  Object.defineProperty(exports, "isWholeDoc", {
577
577
  enumerable: true,
578
- get: function () { return chunkUKT3WH5Z_cjs.isWholeDoc; }
578
+ get: function () { return chunkTAWPVD6C_cjs.isWholeDoc; }
579
579
  });
580
580
  Object.defineProperty(exports, "sourceDocCount", {
581
581
  enumerable: true,
582
- get: function () { return chunkUKT3WH5Z_cjs.sourceDocCount; }
582
+ get: function () { return chunkTAWPVD6C_cjs.sourceDocCount; }
583
583
  });
584
584
  Object.defineProperty(exports, "toFactCitations", {
585
585
  enumerable: true,
586
- get: function () { return chunkUKT3WH5Z_cjs.toFactCitations; }
586
+ get: function () { return chunkTAWPVD6C_cjs.toFactCitations; }
587
587
  });
588
588
  Object.defineProperty(exports, "withChunk", {
589
589
  enumerable: true,
590
- get: function () { return chunkUKT3WH5Z_cjs.withChunk; }
590
+ get: function () { return chunkTAWPVD6C_cjs.withChunk; }
591
591
  });
592
592
  Object.defineProperty(exports, "withDoc", {
593
593
  enumerable: true,
594
- get: function () { return chunkUKT3WH5Z_cjs.withDoc; }
594
+ get: function () { return chunkTAWPVD6C_cjs.withDoc; }
595
595
  });
596
596
  Object.defineProperty(exports, "withoutChunk", {
597
597
  enumerable: true,
598
- get: function () { return chunkUKT3WH5Z_cjs.withoutChunk; }
598
+ get: function () { return chunkTAWPVD6C_cjs.withoutChunk; }
599
599
  });
600
600
  Object.defineProperty(exports, "withoutDoc", {
601
601
  enumerable: true,
602
- get: function () { return chunkUKT3WH5Z_cjs.withoutDoc; }
602
+ get: function () { return chunkTAWPVD6C_cjs.withoutDoc; }
603
603
  });
604
604
  Object.defineProperty(exports, "DEFAULT_FACT_PASSAGES_LABELS", {
605
605
  enumerable: true,
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { DEFAULT_FACT_COLUMN_LABELS, createFactColumns, FactRowActions } from '../chunk-YMQDDUKW.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, chunkIdsOf, citedVersionRef, createFactColumns, docIdsOf, enableFactTableColumnResize, factDateFieldsToSpan, factDateSpanToFields, hasChunk, isWholeDoc, sourceDocCount, toFactCitations, withChunk, withDoc, withoutChunk, withoutDoc } from '../chunk-YMQDDUKW.js';
2
+ import { DEFAULT_FACT_COLUMN_LABELS, createFactColumns, FactRowActions } from '../chunk-ZO7PJMCO.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, chunkIdsOf, citedVersionRef, createFactColumns, docIdsOf, enableFactTableColumnResize, factDateFieldsToSpan, factDateSpanToFields, hasChunk, isWholeDoc, sourceDocCount, toFactCitations, withChunk, withDoc, withoutChunk, withoutDoc } from '../chunk-ZO7PJMCO.js';
4
4
  export { DEFAULT_FACT_PASSAGES_LABELS, FactPassageItem, FactSourcesPanel, renderPreviewInline, toPreviewLine } from '../chunk-HFZ45FD3.js';
5
5
  import '../chunk-JJA6GQKH.js';
6
6
  import { SearchHit } from '../chunk-DEPF5LQI.js';
@@ -10,12 +10,12 @@ 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-N5YEF3LC.js';
12
12
  import '../chunk-4WWM3GQ5.js';
13
- import '../chunk-SLSBJRWW.js';
14
- import '../chunk-NPLYHR2E.js';
15
- import { testIdOr } from '../chunk-7F6CBP3Z.js';
16
13
  import '../chunk-GTCC2VAR.js';
17
14
  import '../chunk-F57LNUSZ.js';
18
15
  import '../chunk-TX2ZICS7.js';
16
+ import '../chunk-SLSBJRWW.js';
17
+ import '../chunk-NPLYHR2E.js';
18
+ import { testIdOr } from '../chunk-7F6CBP3Z.js';
19
19
  import { initials } from '../chunk-OXF2IFXG.js';
20
20
  import '../chunk-VUNV25KB.js';
21
21
  import { useMemo } from 'react';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * PrivacyExplainerModal Component
3
+ *
4
+ * A short, plain-language explainer of ARBI's privacy guarantees, surfaced from
5
+ * the empty-workspace upload screen. Deliberately NOT a privacy policy — three
6
+ * one-line promises a user can grasp at a glance.
7
+ */
8
+ export declare function PrivacyExplainerModal(): import("react").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export interface ShareToggleProps {
2
+ isVisible: boolean;
3
+ onToggle: (visible: boolean) => void;
4
+ workspaceEntityLabel: string;
5
+ compact?: boolean;
6
+ }
7
+ /** Visibility choice for an upload, with the plain-language consequence of each state. */
8
+ export declare function ShareToggle({ isVisible, onToggle, workspaceEntityLabel, compact, }: ShareToggleProps): import("react").JSX.Element;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * "Add from the internet": web addresses to fetch into the workspace, checked as they are typed
3
+ * (a missing scheme is added, a list pasted at once is split), with a preview of audio and video
4
+ * links. The upload is the caller's; a failure keeps the dialog open with the error.
5
+ */
6
+ import { type ReactNode } from 'react';
7
+ export interface UrlInputDialogProps {
8
+ /**
9
+ * Handle the submitted URLs. Return `false` (or reject) to keep the dialog open and show the
10
+ * error inline; return void/true to close it. Async handlers are awaited, with a spinner on the
11
+ * submit button while in flight.
12
+ */
13
+ onUrlsSubmit: (urls: string[]) => void | boolean | Promise<void | boolean>;
14
+ trigger?: ReactNode;
15
+ processing?: boolean;
16
+ /** Controlled open state; omit to let the dialog manage its own (trigger) state. */
17
+ open?: boolean;
18
+ onOpenChange?: (open: boolean) => void;
19
+ /** The workspace the documents go to, named in the title ("<icon> name / Add from the internet"). */
20
+ titleWorkspaceName?: string;
21
+ /** The workspace's icon beside its name. */
22
+ titleIcon?: ReactNode;
23
+ }
24
+ export declare function UrlInputDialog({ onUrlsSubmit, trigger, processing, open: controlledOpen, onOpenChange, titleWorkspaceName, titleIcon, }: UrlInputDialogProps): import("react").JSX.Element;