@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.
- package/dist/{ConnectedNativeDocxComparison-S25BPUH5.cjs → ConnectedNativeDocxComparison-64RDIFEI.cjs} +8 -8
- package/dist/{ConnectedNativeDocxComparison-S25BPUH5.cjs.map → ConnectedNativeDocxComparison-64RDIFEI.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-2PLOOXSH.js → ConnectedNativeDocxComparison-JOWYEINS.js} +7 -7
- package/dist/{ConnectedNativeDocxComparison-2PLOOXSH.js.map → ConnectedNativeDocxComparison-JOWYEINS.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-JJAGMHZC.js → ConnectedNativeDocxEditor-OT5DLWCM.js} +6 -6
- package/dist/{ConnectedNativeDocxEditor-JJAGMHZC.js.map → ConnectedNativeDocxEditor-OT5DLWCM.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-YA4HWLY4.cjs → ConnectedNativeDocxEditor-UAAICR4X.cjs} +8 -8
- package/dist/{ConnectedNativeDocxEditor-YA4HWLY4.cjs.map → ConnectedNativeDocxEditor-UAAICR4X.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-EXYZAU4Y.cjs → ConnectedStreamedWordArtifact-AJXPNTT3.cjs} +8 -8
- package/dist/ConnectedStreamedWordArtifact-AJXPNTT3.cjs.map +1 -0
- package/dist/{ConnectedStreamedWordArtifact-YAAXY5KY.js → ConnectedStreamedWordArtifact-GYBCBAJZ.js} +7 -7
- package/dist/{ConnectedStreamedWordArtifact-YAAXY5KY.js.map → ConnectedStreamedWordArtifact-GYBCBAJZ.js.map} +1 -1
- package/dist/{WorkspaceTableView-ZFMAYHUD.cjs → WorkspaceTableView-CZEFIAVT.cjs} +22 -13
- package/dist/WorkspaceTableView-CZEFIAVT.cjs.map +1 -0
- package/dist/{WorkspaceTableView-5OWX53R5.js → WorkspaceTableView-FQPJQWUE.js} +20 -11
- package/dist/WorkspaceTableView-FQPJQWUE.js.map +1 -0
- package/dist/agents/index.cjs +239 -239
- package/dist/agents/index.js +5 -5
- package/dist/calls/index.cjs +3 -3
- package/dist/calls/index.js +2 -2
- package/dist/{chunk-6HG56GCT.js → chunk-2DQHFJNP.js} +6 -6
- package/dist/{chunk-6HG56GCT.js.map → chunk-2DQHFJNP.js.map} +1 -1
- package/dist/{chunk-6HMCF4AJ.js → chunk-7KWUQQIB.js} +1033 -5
- package/dist/chunk-7KWUQQIB.js.map +1 -0
- package/dist/{chunk-O3FB62T5.cjs → chunk-AUDUNQO6.cjs} +49 -49
- package/dist/{chunk-O3FB62T5.cjs.map → chunk-AUDUNQO6.cjs.map} +1 -1
- package/dist/{chunk-OTU5KGQ6.cjs → chunk-DVIQWBDM.cjs} +4 -4
- package/dist/{chunk-OTU5KGQ6.cjs.map → chunk-DVIQWBDM.cjs.map} +1 -1
- package/dist/{chunk-VHJHY7TT.js → chunk-ECERC6TI.js} +3 -3
- package/dist/{chunk-VHJHY7TT.js.map → chunk-ECERC6TI.js.map} +1 -1
- package/dist/{chunk-HDJRSCRE.cjs → chunk-FBSIWJSG.cjs} +5 -5
- package/dist/{chunk-HDJRSCRE.cjs.map → chunk-FBSIWJSG.cjs.map} +1 -1
- package/dist/{chunk-W7CWGURO.js → chunk-FGI3YFQH.js} +7 -686
- package/dist/chunk-FGI3YFQH.js.map +1 -0
- package/dist/{chunk-WV4TD2HZ.cjs → chunk-FWIBFGUQ.cjs} +1055 -2
- package/dist/chunk-FWIBFGUQ.cjs.map +1 -0
- package/dist/{chunk-7HHYMDPE.js → chunk-GDRLM2EX.js} +3 -3
- package/dist/{chunk-7HHYMDPE.js.map → chunk-GDRLM2EX.js.map} +1 -1
- package/dist/{chunk-S74QMZVZ.cjs → chunk-GWGUZ5X6.cjs} +4 -4
- package/dist/{chunk-S74QMZVZ.cjs.map → chunk-GWGUZ5X6.cjs.map} +1 -1
- package/dist/{chunk-FEGXFABZ.cjs → chunk-LY37J3AC.cjs} +3 -3
- package/dist/{chunk-FEGXFABZ.cjs.map → chunk-LY37J3AC.cjs.map} +1 -1
- package/dist/{chunk-SN2GZ4ZM.cjs → chunk-NFI46I77.cjs} +3 -3
- package/dist/{chunk-SN2GZ4ZM.cjs.map → chunk-NFI46I77.cjs.map} +1 -1
- package/dist/{chunk-PGOSIJ2I.js → chunk-P6FMKXAB.js} +3 -3
- package/dist/{chunk-PGOSIJ2I.js.map → chunk-P6FMKXAB.js.map} +1 -1
- package/dist/{chunk-IJEISII2.cjs → chunk-RJUXSXBH.cjs} +3 -3
- package/dist/{chunk-IJEISII2.cjs.map → chunk-RJUXSXBH.cjs.map} +1 -1
- package/dist/{chunk-53RCZPMR.cjs → chunk-SCK3GAE5.cjs} +5 -5
- package/dist/{chunk-53RCZPMR.cjs.map → chunk-SCK3GAE5.cjs.map} +1 -1
- package/dist/{chunk-UKT3WH5Z.cjs → chunk-TAWPVD6C.cjs} +3 -3
- package/dist/{chunk-UKT3WH5Z.cjs.map → chunk-TAWPVD6C.cjs.map} +1 -1
- package/dist/{chunk-MUDEL7UL.cjs → chunk-UYC5BJCB.cjs} +5 -704
- package/dist/chunk-UYC5BJCB.cjs.map +1 -0
- package/dist/{chunk-2CWM2CFZ.js → chunk-V3HG3LK3.js} +3 -3
- package/dist/{chunk-2CWM2CFZ.js.map → chunk-V3HG3LK3.js.map} +1 -1
- package/dist/{chunk-UPMADXDU.js → chunk-VE6S6NRQ.js} +3 -3
- package/dist/{chunk-UPMADXDU.js.map → chunk-VE6S6NRQ.js.map} +1 -1
- package/dist/{chunk-UKCCV63X.js → chunk-VMFLWFXK.js} +3 -3
- package/dist/{chunk-UKCCV63X.js.map → chunk-VMFLWFXK.js.map} +1 -1
- package/dist/{chunk-HP2C4MD3.js → chunk-Y73X65FF.js} +3 -3
- package/dist/{chunk-HP2C4MD3.js.map → chunk-Y73X65FF.js.map} +1 -1
- package/dist/{chunk-F3EZDBDJ.js → chunk-Y7PPQ7UT.js} +3 -3
- package/dist/{chunk-F3EZDBDJ.js.map → chunk-Y7PPQ7UT.js.map} +1 -1
- package/dist/{chunk-DWZXSPMB.cjs → chunk-ZAVEMQ37.cjs} +3 -3
- package/dist/{chunk-DWZXSPMB.cjs.map → chunk-ZAVEMQ37.cjs.map} +1 -1
- package/dist/{chunk-YMQDDUKW.js → chunk-ZO7PJMCO.js} +3 -3
- package/dist/{chunk-YMQDDUKW.js.map → chunk-ZO7PJMCO.js.map} +1 -1
- package/dist/collaboration/index.cjs +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/connect/docx.cjs +10 -10
- package/dist/connect/docx.js +6 -6
- package/dist/connect/index.cjs +1136 -556
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +639 -64
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/viewer.cjs +48 -48
- package/dist/connect/viewer.js +10 -10
- package/dist/connection/files/index.d.ts +5 -0
- package/dist/connection/files/support.d.ts +2 -0
- package/dist/connection/files/upload/AddFromAccountsButton.d.ts +16 -0
- package/dist/connection/files/upload/ConnectedUpload.d.ts +36 -0
- package/dist/connection/files/upload/ConnectedUploadDropzone.d.ts +36 -0
- package/dist/connection/files/upload/EmptyWorkspaceUpload.d.ts +13 -0
- package/dist/connection/files/upload/useAddFromUrls.d.ts +13 -0
- package/dist/connection/workspace-list/ConnectedWorkspaceList.d.ts +4 -2
- package/dist/connection/workspace-list/WorkspaceCardsView.d.ts +3 -2
- package/dist/connection/workspace-list/WorkspaceTableView.d.ts +3 -2
- package/dist/connection/workspace-list/index.d.ts +1 -1
- package/dist/connection/workspace-list/useConnectedWorkspaceList.d.ts +19 -0
- package/dist/connection/workspace-list/workspaceTable.d.ts +3 -1
- package/dist/connection/workspace-settings/ConnectedWorkspaceSettings.d.ts +3 -1
- package/dist/facts/index.cjs +55 -55
- package/dist/facts/index.js +5 -5
- package/dist/files/PrivacyExplainerModal.d.ts +8 -0
- package/dist/files/ShareToggle.d.ts +8 -0
- package/dist/files/UrlInputDialog.d.ts +24 -0
- package/dist/files/index.cjs +314 -294
- package/dist/files/index.d.ts +4 -0
- package/dist/files/index.js +6 -6
- package/dist/files/media-preview.d.ts +24 -0
- package/dist/home/index.cjs +2 -2
- package/dist/home/index.js +2 -2
- package/dist/index.cjs +434 -434
- package/dist/index.js +11 -11
- package/dist/retrieval/index.cjs +1 -1
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/index.cjs +165 -165
- package/dist/settings/index.js +3 -3
- package/dist/shell/index.cjs +3 -3
- package/dist/shell/index.js +3 -3
- package/dist/studio/index.cjs +2 -2
- package/dist/studio/index.js +2 -2
- package/dist/workflow-canvas/index.cjs +17 -17
- package/dist/workflow-canvas/index.js +5 -5
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ConnectedStreamedWordArtifact-EXYZAU4Y.cjs.map +0 -1
- package/dist/WorkspaceTableView-5OWX53R5.js.map +0 -1
- package/dist/WorkspaceTableView-ZFMAYHUD.cjs.map +0 -1
- package/dist/chunk-6HMCF4AJ.js.map +0 -1
- package/dist/chunk-MUDEL7UL.cjs.map +0 -1
- package/dist/chunk-W7CWGURO.js.map +0 -1
- 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 {};
|
package/dist/facts/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
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 = { ...
|
|
78
|
+
const l = { ...chunkTAWPVD6C_cjs.DEFAULT_FACT_COLUMN_LABELS, ...columnLabels };
|
|
79
79
|
const columnDefs = react.useMemo(
|
|
80
|
-
() =>
|
|
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(
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
474
|
+
get: function () { return chunkTAWPVD6C_cjs.FactComposer; }
|
|
475
475
|
});
|
|
476
476
|
Object.defineProperty(exports, "FactDateInput", {
|
|
477
477
|
enumerable: true,
|
|
478
|
-
get: function () { return
|
|
478
|
+
get: function () { return chunkTAWPVD6C_cjs.FactDateInput; }
|
|
479
479
|
});
|
|
480
480
|
Object.defineProperty(exports, "FactFieldRow", {
|
|
481
481
|
enumerable: true,
|
|
482
|
-
get: function () { return
|
|
482
|
+
get: function () { return chunkTAWPVD6C_cjs.FactFieldRow; }
|
|
483
483
|
});
|
|
484
484
|
Object.defineProperty(exports, "FactLabelsCell", {
|
|
485
485
|
enumerable: true,
|
|
486
|
-
get: function () { return
|
|
486
|
+
get: function () { return chunkTAWPVD6C_cjs.FactLabelsCell; }
|
|
487
487
|
});
|
|
488
488
|
Object.defineProperty(exports, "FactRowActions", {
|
|
489
489
|
enumerable: true,
|
|
490
|
-
get: function () { return
|
|
490
|
+
get: function () { return chunkTAWPVD6C_cjs.FactRowActions; }
|
|
491
491
|
});
|
|
492
492
|
Object.defineProperty(exports, "FactSourceGroup", {
|
|
493
493
|
enumerable: true,
|
|
494
|
-
get: function () { return
|
|
494
|
+
get: function () { return chunkTAWPVD6C_cjs.FactSourceGroup; }
|
|
495
495
|
});
|
|
496
496
|
Object.defineProperty(exports, "FactSourcesRow", {
|
|
497
497
|
enumerable: true,
|
|
498
|
-
get: function () { return
|
|
498
|
+
get: function () { return chunkTAWPVD6C_cjs.FactSourcesRow; }
|
|
499
499
|
});
|
|
500
500
|
Object.defineProperty(exports, "FactsBulkBar", {
|
|
501
501
|
enumerable: true,
|
|
502
|
-
get: function () { return
|
|
502
|
+
get: function () { return chunkTAWPVD6C_cjs.FactsBulkBar; }
|
|
503
503
|
});
|
|
504
504
|
Object.defineProperty(exports, "FactsCalendar", {
|
|
505
505
|
enumerable: true,
|
|
506
|
-
get: function () { return
|
|
506
|
+
get: function () { return chunkTAWPVD6C_cjs.FactsCalendar; }
|
|
507
507
|
});
|
|
508
508
|
Object.defineProperty(exports, "FactsEmptyState", {
|
|
509
509
|
enumerable: true,
|
|
510
|
-
get: function () { return
|
|
510
|
+
get: function () { return chunkTAWPVD6C_cjs.FactsEmptyState; }
|
|
511
511
|
});
|
|
512
512
|
Object.defineProperty(exports, "FactsFieldsButton", {
|
|
513
513
|
enumerable: true,
|
|
514
|
-
get: function () { return
|
|
514
|
+
get: function () { return chunkTAWPVD6C_cjs.FactsFieldsButton; }
|
|
515
515
|
});
|
|
516
516
|
Object.defineProperty(exports, "FactsGanttPane", {
|
|
517
517
|
enumerable: true,
|
|
518
|
-
get: function () { return
|
|
518
|
+
get: function () { return chunkTAWPVD6C_cjs.FactsGanttPane; }
|
|
519
519
|
});
|
|
520
520
|
Object.defineProperty(exports, "FactsLoadError", {
|
|
521
521
|
enumerable: true,
|
|
522
|
-
get: function () { return
|
|
522
|
+
get: function () { return chunkTAWPVD6C_cjs.FactsLoadError; }
|
|
523
523
|
});
|
|
524
524
|
Object.defineProperty(exports, "FactsLoading", {
|
|
525
525
|
enumerable: true,
|
|
526
|
-
get: function () { return
|
|
526
|
+
get: function () { return chunkTAWPVD6C_cjs.FactsLoading; }
|
|
527
527
|
});
|
|
528
528
|
Object.defineProperty(exports, "FactsToolbar", {
|
|
529
529
|
enumerable: true,
|
|
530
|
-
get: function () { return
|
|
530
|
+
get: function () { return chunkTAWPVD6C_cjs.FactsToolbar; }
|
|
531
531
|
});
|
|
532
532
|
Object.defineProperty(exports, "FactsViewToggle", {
|
|
533
533
|
enumerable: true,
|
|
534
|
-
get: function () { return
|
|
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
|
|
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
|
|
542
|
+
get: function () { return chunkTAWPVD6C_cjs.buildFactCitations; }
|
|
543
543
|
});
|
|
544
544
|
Object.defineProperty(exports, "chunkIdsOf", {
|
|
545
545
|
enumerable: true,
|
|
546
|
-
get: function () { return
|
|
546
|
+
get: function () { return chunkTAWPVD6C_cjs.chunkIdsOf; }
|
|
547
547
|
});
|
|
548
548
|
Object.defineProperty(exports, "citedVersionRef", {
|
|
549
549
|
enumerable: true,
|
|
550
|
-
get: function () { return
|
|
550
|
+
get: function () { return chunkTAWPVD6C_cjs.citedVersionRef; }
|
|
551
551
|
});
|
|
552
552
|
Object.defineProperty(exports, "createFactColumns", {
|
|
553
553
|
enumerable: true,
|
|
554
|
-
get: function () { return
|
|
554
|
+
get: function () { return chunkTAWPVD6C_cjs.createFactColumns; }
|
|
555
555
|
});
|
|
556
556
|
Object.defineProperty(exports, "docIdsOf", {
|
|
557
557
|
enumerable: true,
|
|
558
|
-
get: function () { return
|
|
558
|
+
get: function () { return chunkTAWPVD6C_cjs.docIdsOf; }
|
|
559
559
|
});
|
|
560
560
|
Object.defineProperty(exports, "enableFactTableColumnResize", {
|
|
561
561
|
enumerable: true,
|
|
562
|
-
get: function () { return
|
|
562
|
+
get: function () { return chunkTAWPVD6C_cjs.enableFactTableColumnResize; }
|
|
563
563
|
});
|
|
564
564
|
Object.defineProperty(exports, "factDateFieldsToSpan", {
|
|
565
565
|
enumerable: true,
|
|
566
|
-
get: function () { return
|
|
566
|
+
get: function () { return chunkTAWPVD6C_cjs.factDateFieldsToSpan; }
|
|
567
567
|
});
|
|
568
568
|
Object.defineProperty(exports, "factDateSpanToFields", {
|
|
569
569
|
enumerable: true,
|
|
570
|
-
get: function () { return
|
|
570
|
+
get: function () { return chunkTAWPVD6C_cjs.factDateSpanToFields; }
|
|
571
571
|
});
|
|
572
572
|
Object.defineProperty(exports, "hasChunk", {
|
|
573
573
|
enumerable: true,
|
|
574
|
-
get: function () { return
|
|
574
|
+
get: function () { return chunkTAWPVD6C_cjs.hasChunk; }
|
|
575
575
|
});
|
|
576
576
|
Object.defineProperty(exports, "isWholeDoc", {
|
|
577
577
|
enumerable: true,
|
|
578
|
-
get: function () { return
|
|
578
|
+
get: function () { return chunkTAWPVD6C_cjs.isWholeDoc; }
|
|
579
579
|
});
|
|
580
580
|
Object.defineProperty(exports, "sourceDocCount", {
|
|
581
581
|
enumerable: true,
|
|
582
|
-
get: function () { return
|
|
582
|
+
get: function () { return chunkTAWPVD6C_cjs.sourceDocCount; }
|
|
583
583
|
});
|
|
584
584
|
Object.defineProperty(exports, "toFactCitations", {
|
|
585
585
|
enumerable: true,
|
|
586
|
-
get: function () { return
|
|
586
|
+
get: function () { return chunkTAWPVD6C_cjs.toFactCitations; }
|
|
587
587
|
});
|
|
588
588
|
Object.defineProperty(exports, "withChunk", {
|
|
589
589
|
enumerable: true,
|
|
590
|
-
get: function () { return
|
|
590
|
+
get: function () { return chunkTAWPVD6C_cjs.withChunk; }
|
|
591
591
|
});
|
|
592
592
|
Object.defineProperty(exports, "withDoc", {
|
|
593
593
|
enumerable: true,
|
|
594
|
-
get: function () { return
|
|
594
|
+
get: function () { return chunkTAWPVD6C_cjs.withDoc; }
|
|
595
595
|
});
|
|
596
596
|
Object.defineProperty(exports, "withoutChunk", {
|
|
597
597
|
enumerable: true,
|
|
598
|
-
get: function () { return
|
|
598
|
+
get: function () { return chunkTAWPVD6C_cjs.withoutChunk; }
|
|
599
599
|
});
|
|
600
600
|
Object.defineProperty(exports, "withoutDoc", {
|
|
601
601
|
enumerable: true,
|
|
602
|
-
get: function () { return
|
|
602
|
+
get: function () { return chunkTAWPVD6C_cjs.withoutDoc; }
|
|
603
603
|
});
|
|
604
604
|
Object.defineProperty(exports, "DEFAULT_FACT_PASSAGES_LABELS", {
|
|
605
605
|
enumerable: true,
|
package/dist/facts/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { DEFAULT_FACT_COLUMN_LABELS, createFactColumns, FactRowActions } from '../chunk-
|
|
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-
|
|
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;
|