@arbidocs/blocks 0.5.95 → 0.5.97

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 (109) hide show
  1. package/README.md +21 -8
  2. package/dist/{ConnectedNativeDocxComparison-FNHQKY57.js → ConnectedNativeDocxComparison-6KL5XI3L.js} +6 -6
  3. package/dist/{ConnectedNativeDocxComparison-FNHQKY57.js.map → ConnectedNativeDocxComparison-6KL5XI3L.js.map} +1 -1
  4. package/dist/{ConnectedNativeDocxComparison-KIMSYQV2.cjs → ConnectedNativeDocxComparison-P346QOX5.cjs} +7 -7
  5. package/dist/{ConnectedNativeDocxComparison-KIMSYQV2.cjs.map → ConnectedNativeDocxComparison-P346QOX5.cjs.map} +1 -1
  6. package/dist/{ConnectedNativeDocxEditor-UOZGILPM.cjs → ConnectedNativeDocxEditor-7JHSQ6KI.cjs} +7 -7
  7. package/dist/{ConnectedNativeDocxEditor-UOZGILPM.cjs.map → ConnectedNativeDocxEditor-7JHSQ6KI.cjs.map} +1 -1
  8. package/dist/{ConnectedNativeDocxEditor-WFDFGJYW.js → ConnectedNativeDocxEditor-ATZ2TG2L.js} +5 -5
  9. package/dist/{ConnectedNativeDocxEditor-WFDFGJYW.js.map → ConnectedNativeDocxEditor-ATZ2TG2L.js.map} +1 -1
  10. package/dist/{ConnectedStreamedWordArtifact-WFKYXIX5.cjs → ConnectedStreamedWordArtifact-5HI3WSAJ.cjs} +7 -7
  11. package/dist/ConnectedStreamedWordArtifact-5HI3WSAJ.cjs.map +1 -0
  12. package/dist/{ConnectedStreamedWordArtifact-SFELZUTS.js → ConnectedStreamedWordArtifact-FHSGQHXQ.js} +6 -6
  13. package/dist/{ConnectedStreamedWordArtifact-SFELZUTS.js.map → ConnectedStreamedWordArtifact-FHSGQHXQ.js.map} +1 -1
  14. package/dist/{DocumentReviewCard-X5DXEU2G.js → DocumentReviewCard-7UFQGDOG.js} +3 -3
  15. package/dist/{DocumentReviewCard-X5DXEU2G.js.map → DocumentReviewCard-7UFQGDOG.js.map} +1 -1
  16. package/dist/{DocumentReviewCard-7XUBPCQD.cjs → DocumentReviewCard-E3HB3K2G.cjs} +3 -3
  17. package/dist/{DocumentReviewCard-7XUBPCQD.cjs.map → DocumentReviewCard-E3HB3K2G.cjs.map} +1 -1
  18. package/dist/{FilesViewerDialog-H4ZXFNLV.cjs → FilesViewerDialog-3KWTQARB.cjs} +41 -32
  19. package/dist/FilesViewerDialog-3KWTQARB.cjs.map +1 -0
  20. package/dist/{FilesViewerDialog-4Q6WJMSX.js → FilesViewerDialog-EQKBFAWI.js} +40 -31
  21. package/dist/FilesViewerDialog-EQKBFAWI.js.map +1 -0
  22. package/dist/WorkspaceTableView-DYABS53K.js +1 -1
  23. package/dist/WorkspaceTableView-ZIQ7JWT5.cjs +1 -1
  24. package/dist/agents/index.cjs +254 -254
  25. package/dist/agents/index.js +4 -4
  26. package/dist/agents/workflows/WorkflowStepAction.d.ts +9 -2
  27. package/dist/agents/workflows/requiredLabels.d.ts +7 -2
  28. package/dist/{chunk-CY2K4K5M.js → chunk-42IVGYNL.js} +4 -4
  29. package/dist/{chunk-CY2K4K5M.js.map → chunk-42IVGYNL.js.map} +1 -1
  30. package/dist/{chunk-45M4QWCM.js → chunk-4LTDELP2.js} +3 -3
  31. package/dist/{chunk-45M4QWCM.js.map → chunk-4LTDELP2.js.map} +1 -1
  32. package/dist/{chunk-NIXAAPIG.js → chunk-4RCLA52C.js} +5 -5
  33. package/dist/{chunk-NIXAAPIG.js.map → chunk-4RCLA52C.js.map} +1 -1
  34. package/dist/{chunk-CJBDBBN2.cjs → chunk-6IS3IRUF.cjs} +4 -4
  35. package/dist/{chunk-CJBDBBN2.cjs.map → chunk-6IS3IRUF.cjs.map} +1 -1
  36. package/dist/{chunk-I4PB257E.js → chunk-76O7J6IZ.js} +3 -3
  37. package/dist/{chunk-I4PB257E.js.map → chunk-76O7J6IZ.js.map} +1 -1
  38. package/dist/{chunk-ZSWMRG72.cjs → chunk-AINS6VU6.cjs} +4 -4
  39. package/dist/{chunk-ZSWMRG72.cjs.map → chunk-AINS6VU6.cjs.map} +1 -1
  40. package/dist/{chunk-U4ZLFL6M.cjs → chunk-CCALU47C.cjs} +5 -5
  41. package/dist/{chunk-U4ZLFL6M.cjs.map → chunk-CCALU47C.cjs.map} +1 -1
  42. package/dist/{chunk-5ZWEUUJN.cjs → chunk-ECCV4YOL.cjs} +8 -8
  43. package/dist/{chunk-5ZWEUUJN.cjs.map → chunk-ECCV4YOL.cjs.map} +1 -1
  44. package/dist/{chunk-D3ABKS7T.cjs → chunk-HDPT7D6F.cjs} +3 -3
  45. package/dist/{chunk-D3ABKS7T.cjs.map → chunk-HDPT7D6F.cjs.map} +1 -1
  46. package/dist/{chunk-MBXQSBG3.cjs → chunk-J4CXF4A7.cjs} +170 -12
  47. package/dist/chunk-J4CXF4A7.cjs.map +1 -0
  48. package/dist/{chunk-TG4S236F.js → chunk-LZI4EGOW.js} +206 -53
  49. package/dist/chunk-LZI4EGOW.js.map +1 -0
  50. package/dist/{chunk-AJ4TBTA3.js → chunk-PCAWLVHE.js} +3 -3
  51. package/dist/{chunk-AJ4TBTA3.js.map → chunk-PCAWLVHE.js.map} +1 -1
  52. package/dist/{chunk-O5MH74TI.js → chunk-QSBPOYWA.js} +3 -3
  53. package/dist/{chunk-O5MH74TI.js.map → chunk-QSBPOYWA.js.map} +1 -1
  54. package/dist/{chunk-H2DG5HIO.js → chunk-RZG4ALKZ.js} +3 -3
  55. package/dist/{chunk-H2DG5HIO.js.map → chunk-RZG4ALKZ.js.map} +1 -1
  56. package/dist/{chunk-CVYFX7AD.js → chunk-SEBNGA3F.js} +31 -15
  57. package/dist/chunk-SEBNGA3F.js.map +1 -0
  58. package/dist/{chunk-6HI5OXB6.cjs → chunk-SYWJNSPS.cjs} +3 -3
  59. package/dist/{chunk-6HI5OXB6.cjs.map → chunk-SYWJNSPS.cjs.map} +1 -1
  60. package/dist/{chunk-SOBLG72E.js → chunk-T7LLYVOW.js} +166 -8
  61. package/dist/chunk-T7LLYVOW.js.map +1 -0
  62. package/dist/{chunk-VVQEEHDV.cjs → chunk-V2CNHRLZ.cjs} +4 -4
  63. package/dist/{chunk-VVQEEHDV.cjs.map → chunk-V2CNHRLZ.cjs.map} +1 -1
  64. package/dist/{chunk-KTHBUDYQ.cjs → chunk-WN7XPEYK.cjs} +5 -5
  65. package/dist/{chunk-KTHBUDYQ.cjs.map → chunk-WN7XPEYK.cjs.map} +1 -1
  66. package/dist/{chunk-DCHNB7DF.cjs → chunk-XM4KRGCK.cjs} +246 -93
  67. package/dist/chunk-XM4KRGCK.cjs.map +1 -0
  68. package/dist/{chunk-CIXA5A65.cjs → chunk-YZ6YOOTF.cjs} +30 -14
  69. package/dist/chunk-YZ6YOOTF.cjs.map +1 -0
  70. package/dist/{chunk-HU3MX5PY.js → chunk-Z4IPTLRS.js} +3 -3
  71. package/dist/{chunk-HU3MX5PY.js.map → chunk-Z4IPTLRS.js.map} +1 -1
  72. package/dist/connect/docx.cjs +10 -10
  73. package/dist/connect/docx.js +6 -6
  74. package/dist/connect/index.cjs +279 -249
  75. package/dist/connect/index.cjs.map +1 -1
  76. package/dist/connect/index.js +52 -22
  77. package/dist/connect/index.js.map +1 -1
  78. package/dist/connect/viewer.cjs +3 -3
  79. package/dist/connect/viewer.js +2 -2
  80. package/dist/connection/files/page/ConnectedFilesPage.d.ts +11 -7
  81. package/dist/connection/viewer/DocumentViewerDialog.d.ts +3 -0
  82. package/dist/connection/viewer/documentPlace.d.ts +10 -4
  83. package/dist/connection/workflows/ConnectedWorkflowRunPage.d.ts +4 -3
  84. package/dist/connection/workflows/WorkflowRunPage.d.ts +18 -15
  85. package/dist/connection/workflows/index.d.ts +2 -1
  86. package/dist/connection/workflows/runProject.d.ts +47 -0
  87. package/dist/embed/index.cjs +2 -2
  88. package/dist/embed/index.js +2 -2
  89. package/dist/facts/index.cjs +43 -43
  90. package/dist/facts/index.js +2 -2
  91. package/dist/index.cjs +307 -307
  92. package/dist/index.js +6 -6
  93. package/dist/settings/index.cjs +1 -1
  94. package/dist/settings/index.js +1 -1
  95. package/dist/workflow-canvas/index.cjs +23 -23
  96. package/dist/workflow-canvas/index.js +8 -8
  97. package/dist/workspaces/index.cjs +8 -8
  98. package/dist/workspaces/index.js +1 -1
  99. package/node_modules/@arbidocs/coedit/package.json +1 -1
  100. package/package.json +5 -5
  101. package/dist/ConnectedStreamedWordArtifact-WFKYXIX5.cjs.map +0 -1
  102. package/dist/FilesViewerDialog-4Q6WJMSX.js.map +0 -1
  103. package/dist/FilesViewerDialog-H4ZXFNLV.cjs.map +0 -1
  104. package/dist/chunk-CIXA5A65.cjs.map +0 -1
  105. package/dist/chunk-CVYFX7AD.js.map +0 -1
  106. package/dist/chunk-DCHNB7DF.cjs.map +0 -1
  107. package/dist/chunk-MBXQSBG3.cjs.map +0 -1
  108. package/dist/chunk-SOBLG72E.js.map +0 -1
  109. package/dist/chunk-TG4S236F.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkKTHBUDYQ_cjs = require('../chunk-KTHBUDYQ.cjs');
4
+ var chunkWN7XPEYK_cjs = require('../chunk-WN7XPEYK.cjs');
5
5
  require('../chunk-JXKNPKU6.cjs');
6
6
  var chunkKJM5X7NX_cjs = require('../chunk-KJM5X7NX.cjs');
7
7
  require('../chunk-HEM27NA3.cjs');
@@ -45,12 +45,12 @@ require('../chunk-VG24E4JJ.cjs');
45
45
  require('../chunk-U2FFG2B3.cjs');
46
46
  require('../chunk-KKYNTWDU.cjs');
47
47
  require('../chunk-M74FWYNL.cjs');
48
+ require('../chunk-VZOOGA47.cjs');
48
49
  require('../chunk-BFKTZUFT.cjs');
49
50
  require('../chunk-WV65MJ43.cjs');
50
51
  require('../chunk-LUO46ELJ.cjs');
51
52
  require('../chunk-SJSGSHIT.cjs');
52
53
  require('../chunk-ZW6FPIFC.cjs');
53
- require('../chunk-VZOOGA47.cjs');
54
54
  require('../chunk-CT3SLXB7.cjs');
55
55
  require('../chunk-DEXUL3T6.cjs');
56
56
  require('../chunk-6WMMZLEV.cjs');
@@ -74,7 +74,7 @@ require('../chunk-DES3K4SD.cjs');
74
74
 
75
75
  Object.defineProperty(exports, "ConnectedDocumentViewer", {
76
76
  enumerable: true,
77
- get: function () { return chunkKTHBUDYQ_cjs.ConnectedDocumentViewer; }
77
+ get: function () { return chunkWN7XPEYK_cjs.ConnectedDocumentViewer; }
78
78
  });
79
79
  Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
80
80
  enumerable: true,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { ConnectedDocumentViewer } from '../chunk-NIXAAPIG.js';
2
+ export { ConnectedDocumentViewer } from '../chunk-4RCLA52C.js';
3
3
  import '../chunk-QTSNHGSI.js';
4
4
  export { ConnectedDocumentToolsProvider } from '../chunk-JHI2MJSC.js';
5
5
  import '../chunk-PE4UFYMH.js';
@@ -43,12 +43,12 @@ import '../chunk-NS4JD2VR.js';
43
43
  import '../chunk-Z42EEBON.js';
44
44
  import '../chunk-GIVU67LY.js';
45
45
  import '../chunk-I6F6RBKV.js';
46
+ import '../chunk-WNDIVNPT.js';
46
47
  import '../chunk-CCUXCN4M.js';
47
48
  import '../chunk-JVJOIZNN.js';
48
49
  import '../chunk-BH4MK2J5.js';
49
50
  import '../chunk-USTSEENR.js';
50
51
  import '../chunk-P6GHJSLR.js';
51
- import '../chunk-WNDIVNPT.js';
52
52
  import '../chunk-OEXUYGKJ.js';
53
53
  import '../chunk-H5CS3YV6.js';
54
54
  import '../chunk-FET4677J.js';
@@ -7,9 +7,10 @@
7
7
  * (`openProcessing`), Tags the host's tags page (`openTags`); the page has the workspace's email
8
8
  * address dialog and Recently deleted. "Create new" offers the kinds of file to start
9
9
  * (`ConnectedNewFileMenu`), the bulk bar's Produce opens the `productionSet` global dialog, the
10
- * review compares two documents in the docked viewer (`compareDocumentsIn`) and the bulk editor
11
- * says where it is (`ConnectedBulkTagCrumbs`). The host may open its viewer and its own dialogs, and
12
- * slot in its review card, fields manager and search.
10
+ * review compares two documents in the viewer (`compareDocumentsIn`: the host's docked viewer, or
11
+ * the page's own dialog on the whole viewer, as is a new draft) and the bulk editor says where it
12
+ * is (`ConnectedBulkTagCrumbs`). The host may open its viewer and its own dialogs, and slot in its
13
+ * review card, fields manager and search.
13
14
  */
14
15
  import { type ComponentType, type ReactNode } from 'react';
15
16
  import type { GridApi } from 'ag-grid-community';
@@ -55,13 +56,16 @@ export interface ConnectedFilesPageProps {
55
56
  onToggleDocument?: (docId?: string) => void;
56
57
  /**
57
58
  * A link into the page: the document to open (or a version, `doc-…@v{n}`), at a cited passage
58
- * (`passageId`) or a `page`. Applied whenever it changes; with the page's own viewer, going
59
- * from a document to none closes it (the browser's Back). The host maps its address onto these
60
- * (the page never reads the URL); with a host viewer the place goes to `openDocument`.
59
+ * (`passageId`) or a `page`, or on the document itself (`documentTab: 'pdf'`, as `openDocument`
60
+ * asks for a copy the document tools just made or a signature request). Applied whenever it
61
+ * changes; with the page's own viewer, going from a document to none closes it (the browser's
62
+ * Back). The host maps its address onto these (the page never reads the URL); with a host viewer
63
+ * the place goes to `openDocument`.
61
64
  */
62
65
  documentId?: string | null;
63
66
  passageId?: string | null;
64
67
  page?: number | null;
68
+ documentTab?: 'pdf' | null;
65
69
  /**
66
70
  * The page's own viewer opened a document, or was closed (`null`): the host can keep its address
67
71
  * in step (and so Back and Forward). Not called for a place the props asked for.
@@ -103,5 +107,5 @@ export interface ConnectedFilesPageProps {
103
107
  /** The view until the person picks one on this page. Default: the explorer. */
104
108
  defaultViewMode?: FilesViewMode;
105
109
  }
106
- export declare function ConnectedFilesPage({ isModal, onClose, onToggleDocument: hostToggleDocument, documentId: linkedDocumentId, passageId: linkedPassageId, page: linkedPage, onDocumentChange, viewer, onUpload: hostUpload, onExport, onTakePhoto, renderSearch, renderReviewCard, renderFieldsManager, dialogs, GridComponent, gridStateVersion, onGridApi, prefsKey, defaultViewMode, }: ConnectedFilesPageProps): import("react").JSX.Element;
110
+ export declare function ConnectedFilesPage({ isModal, onClose, onToggleDocument: hostToggleDocument, documentId: linkedDocumentId, passageId: linkedPassageId, page: linkedPage, documentTab: linkedTab, onDocumentChange, viewer, onUpload: hostUpload, onExport, onTakePhoto, renderSearch, renderReviewCard, renderFieldsManager, dialogs, GridComponent, gridStateVersion, onGridApi, prefsKey, defaultViewMode, }: ConnectedFilesPageProps): import("react").JSX.Element;
107
111
  export {};
@@ -2,6 +2,9 @@
2
2
  * The document viewer as a dialog (the files page's own viewer): a title, the tabs
3
3
  * the host offers, and under them the review (`DocumentReview`), the whole viewer, or a question
4
4
  * (`AskBar`) that starts a thread about the document. Views of existing parts, not a new viewer.
5
+ *
6
+ * A draft started with Create New (the session's `draftDocuments`) has no server record yet: it
7
+ * shows the whole viewer only (its kind, name and recorder), titled from the draft.
5
8
  */
6
9
  import { type ReactNode } from 'react';
7
10
  import { type DocumentViewerDialogLabels, type DocumentViewerTab } from './documentViewerTabs';
@@ -12,17 +12,23 @@ export interface DocumentPlace {
12
12
  passageId?: string | null;
13
13
  /** A page to open on. */
14
14
  page?: number | null;
15
+ /**
16
+ * The document itself (`pdf`, as the environment's `openDocument` asks): a copy the document
17
+ * tools just made, a signature request.
18
+ */
19
+ tab?: 'pdf' | null;
15
20
  }
16
21
  /**
17
22
  * Open a place in the session's viewer: the document at its page (else the first), its passage
18
23
  * marked (else none, so a passage of the document open before never carries over). A passage or a
19
- * page opens the text view, where passages are marked; otherwise the PDF.
24
+ * page opens the text view, where passages are marked, unless the place asks for the PDF;
25
+ * otherwise the PDF.
20
26
  */
21
- export declare function showDocumentPlace(session: Pick<ArbiSessionStore, 'setViewingDocument' | 'setDocumentViewer'>, { documentId, passageId, page }: DocumentPlace): void;
27
+ export declare function showDocumentPlace(session: Pick<ArbiSessionStore, 'setViewingDocument' | 'setDocumentViewer'>, { documentId, passageId, page, tab }: DocumentPlace): void;
22
28
  /** One key per place: two links to the same place are the same link. */
23
29
  export declare function documentPlaceKey(place: DocumentPlace | null | undefined): string | null;
24
30
  /**
25
- * The dialog's first tab for a place: a cited passage is read in the review, a page alone on the
26
- * document itself, anything else on the first tab offered.
31
+ * The dialog's first tab for a place: the PDF asked for, or a page alone, on the document itself; a
32
+ * cited passage in the review; anything else on the first tab offered.
27
33
  */
28
34
  export declare function dialogTabForPlace(place: DocumentPlace, tabs: readonly DocumentViewerTab[]): DocumentViewerTab | undefined;
@@ -14,9 +14,10 @@ import type { ProjectSummary } from '../projects/useProjectSummaries';
14
14
  import { type WorkflowRunPageLabels, type WorkflowRunTargetOptions } from './WorkflowRunPage';
15
15
  export interface ConnectedWorkflowRunPageProps extends ConnectedWorkflowRunnerProps {
16
16
  /**
17
- * Where the run's project comes from (`pick`: chosen on the page; `{ step, project }`: made by
18
- * that form step from its inputs). Absent: no project, the run works in `workspaceId`, else the
19
- * open workspace.
17
+ * Where the run's project comes from (`pick`: chosen on the page, or a new one made there from
18
+ * its name; `{ fields, project? }`: the same, a new one also asking for the host's fields;
19
+ * `{ step, project }`: made by that form step from its inputs). Absent: no project, the run
20
+ * works in `workspaceId`, else the open workspace.
20
21
  */
21
22
  projectFrom?: WorkflowRunTargetOptions['projectFrom'];
22
23
  /** The project, when the host keeps it (e.g. in its address). Absent: kept here. */
@@ -9,19 +9,10 @@
9
9
  * person does in another tab or panel (opening another workspace) moves the run.
10
10
  */
11
11
  import { type CreatedProject, type CreateProjectVars } from '@arbidocs/react';
12
- import type { WorkflowInputs, WorkflowRequiredLabel } from '../../agents/workflows/types';
12
+ import type { WorkflowField, WorkflowInputs, WorkflowRequiredLabel } from '../../agents/workflows/types';
13
13
  import { type ProjectSummary } from '../projects/useProjectSummaries';
14
- /**
15
- * Where a run's project comes from:
16
- * - `pick`: the person chooses one on the page (or makes a new one) before the run;
17
- * - `{ step, project }`: the run's own form step `step` makes it from what was filled in
18
- * (`project(inputs)`, which may describe its workspace), and the rest of the run works in its
19
- * new workspace.
20
- */
21
- export type WorkflowRunProjectFrom = 'pick' | {
22
- step: string;
23
- project: (inputs: WorkflowInputs) => CreateProjectVars;
24
- };
14
+ import { type WorkflowRunProjectFrom } from './runProject';
15
+ export type { WorkflowRunProjectFrom } from './runProject';
25
16
  export interface WorkflowRunPageLabels {
26
17
  /** The target line's lead-in ("Runs in"). */
27
18
  runsIn: string;
@@ -32,6 +23,10 @@ export interface WorkflowRunPageLabels {
32
23
  newProject: string;
33
24
  newProjectName: string;
34
25
  createProject: string;
26
+ /** The fold that holds a new project's `advanced` fields. */
27
+ moreOptions: string;
28
+ /** Beside Create while required fields are empty; `{fields}` is replaced by their labels. */
29
+ stillNeeded: string;
35
30
  /** Before a project step has made the project. */
36
31
  projectFromStep: string;
37
32
  /** `{name}` is replaced. */
@@ -88,18 +83,26 @@ export declare function useWorkflowRunTarget({ projectFrom, projectId: controlle
88
83
  workspaceId: string;
89
84
  inputs: WorkflowInputs | undefined;
90
85
  }>;
86
+ /** What a project made on the page (not by the run's step) starts the run from. */
87
+ createdInputs: WorkflowInputs | undefined;
91
88
  creating: boolean;
92
89
  /** The run started in `workspaceId`: it stays the run's. */
93
90
  pin: import("react").Dispatch<import("react").SetStateAction<string | null>>;
94
91
  openTarget: () => Promise<void>;
95
92
  };
96
93
  export type WorkflowRunTarget = ReturnType<typeof useWorkflowRunTarget>;
97
- /** Choose a project for the run, or make a new one. */
98
- export declare function WorkflowRunProjectChooser({ projects, loading, onPick, onCreate, creating, labels, testId, }: {
94
+ /**
95
+ * Choose a project for the run (the page's task), or make a new one from the "New project" entry:
96
+ * its name, then the host's fields (`fields`; `advanced` ones fold away), with what was typed.
97
+ */
98
+ export declare function WorkflowRunProjectChooser({ projects, loading, onPick, fields, onCreate, creating, labels, testId, }: {
99
99
  projects: ProjectSummary[];
100
100
  loading?: boolean;
101
101
  onPick: (projectId: string) => void;
102
- onCreate: (name: string) => Promise<unknown>;
102
+ /** What a new project asks for, its name first (`newProjectFields`). */
103
+ fields: WorkflowField[];
104
+ /** What was typed, trimmed and without blanks. */
105
+ onCreate: (inputs: WorkflowInputs) => Promise<unknown>;
103
106
  creating?: boolean;
104
107
  labels: WorkflowRunPageLabels;
105
108
  testId: string;
@@ -16,5 +16,6 @@ export { ConnectedConversationStart } from './ConnectedConversationStart';
16
16
  export { useSlashSkillWorkflows, parseTypedSkill } from './useSlashSkillWorkflows';
17
17
  export { useWorkflowsPageState, type WorkflowBuilderSelection, type WorkflowsPageStateOptions, } from './useWorkflowsPageState';
18
18
  export { useEnsureRequiredLabels, useRequiredLabels, type RequiredLabelIds, type RequiredLabelsState, } from './useRequiredLabels';
19
- export { DEFAULT_WORKFLOW_RUN_PAGE_LABELS, WorkflowRunWorkspaceChangedError, type WorkflowRunPageLabels, type WorkflowRunProjectFrom, } from './WorkflowRunPage';
19
+ export { DEFAULT_WORKFLOW_RUN_PAGE_LABELS, WorkflowRunWorkspaceChangedError, type WorkflowRunPageLabels, } from './WorkflowRunPage';
20
+ export type { WorkflowRunProjectFrom, WorkflowRunProjectPick, WorkflowRunProjectStep, } from './runProject';
20
21
  export { ConnectedWorkflowRunPage, type ConnectedWorkflowRunPageProps, } from './ConnectedWorkflowRunPage';
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Where a run page's project comes from (`ConnectedWorkflowRunPage`'s `projectFrom`), and what a
3
+ * new project made on the page asks for and becomes.
4
+ */
5
+ import type { CreateProjectVars } from '@arbidocs/react';
6
+ import type { WorkflowField, WorkflowInputs } from '../../agents/workflows/types';
7
+ /** A run's project made by its own form step `step` from what was filled in there. */
8
+ export interface WorkflowRunProjectStep {
9
+ step: string;
10
+ /** The new project (which may describe its workspace) from the step's inputs. */
11
+ project: (inputs: WorkflowInputs) => CreateProjectVars;
12
+ }
13
+ /**
14
+ * A run's project chosen on the page, where a new one asks for the host's `fields` after its name
15
+ * (a client, the other side…; `advanced` ones fold away).
16
+ */
17
+ export interface WorkflowRunProjectPick {
18
+ fields: WorkflowField[];
19
+ /**
20
+ * The new project from what was typed (`name` and the fields). Absent: a `client`, `client_ref`
21
+ * or `stage` field sets that detail, and the others go in the project's `fields`.
22
+ */
23
+ project?: (inputs: WorkflowInputs) => CreateProjectVars;
24
+ }
25
+ /**
26
+ * Where a run's project comes from:
27
+ * - `pick`: the person chooses one on the page, or makes a new one from its name, before the run;
28
+ * - `{ fields, project? }`: the same, with the host's fields for a new one;
29
+ * - `{ step, project }`: the run's own form step `step` makes it from what was filled in
30
+ * (`project(inputs)`), and the rest of the run works in its new workspace.
31
+ *
32
+ * What was typed for a new project (`name` and the fields) starts the run's inputs too, so the
33
+ * steps' `{{client}}`-style placeholders are filled before the project lists have caught up.
34
+ */
35
+ export type WorkflowRunProjectFrom = 'pick' | WorkflowRunProjectPick | WorkflowRunProjectStep;
36
+ /** The project step of `from`, when the run's own step makes the project. */
37
+ export declare function projectStepOf(from: WorkflowRunProjectFrom | undefined): WorkflowRunProjectStep | undefined;
38
+ /** The project is chosen on the page (or made there). */
39
+ export declare function projectChosenOnPage(from: WorkflowRunProjectFrom | undefined): boolean;
40
+ /** What a new project asks for on the page: its name, then the host's fields. */
41
+ export declare function newProjectFields(from: WorkflowRunProjectFrom | undefined, nameLabel: string): WorkflowField[];
42
+ /** What was typed for a new project, trimmed, without the blanks. */
43
+ export declare function typedProjectInputs(inputs: WorkflowInputs): WorkflowInputs;
44
+ /** Two attempts describe the same project (name, details, its workspace). */
45
+ export declare function sameProjectVars(a: CreateProjectVars, b: CreateProjectVars): boolean;
46
+ /** The project to create from what was typed on the page: the host's mapping, else the default. */
47
+ export declare function newProjectVars(from: WorkflowRunProjectFrom | undefined, inputs: WorkflowInputs): CreateProjectVars;
@@ -39,6 +39,8 @@ require('../chunk-ZK3D3RWK.cjs');
39
39
  require('../chunk-LKK52DEY.cjs');
40
40
  require('../chunk-VYJF4ZQY.cjs');
41
41
  require('../chunk-M74FWYNL.cjs');
42
+ require('../chunk-QUMUAJ2P.cjs');
43
+ require('../chunk-VZOOGA47.cjs');
42
44
  require('../chunk-IOCEKN44.cjs');
43
45
  require('../chunk-F5T4W2R2.cjs');
44
46
  require('../chunk-5HEMXXHR.cjs');
@@ -49,8 +51,6 @@ require('../chunk-LUO46ELJ.cjs');
49
51
  require('../chunk-SJSGSHIT.cjs');
50
52
  require('../chunk-ZW6FPIFC.cjs');
51
53
  require('../chunk-ZT5MIFLC.cjs');
52
- require('../chunk-QUMUAJ2P.cjs');
53
- require('../chunk-VZOOGA47.cjs');
54
54
  require('../chunk-65WUTS3J.cjs');
55
55
  require('../chunk-Z6JUJI4A.cjs');
56
56
  require('../chunk-Z2XZ2D4N.cjs');
@@ -37,6 +37,8 @@ import '../chunk-KPLWLHWH.js';
37
37
  import '../chunk-7F5Z4K5W.js';
38
38
  import '../chunk-FVZ2CN4A.js';
39
39
  import '../chunk-I6F6RBKV.js';
40
+ import '../chunk-OJIX5NBN.js';
41
+ import '../chunk-WNDIVNPT.js';
40
42
  import '../chunk-26RAAEFP.js';
41
43
  import '../chunk-SOLSDXOZ.js';
42
44
  import '../chunk-46IG4KY7.js';
@@ -47,8 +49,6 @@ import '../chunk-BH4MK2J5.js';
47
49
  import '../chunk-USTSEENR.js';
48
50
  import '../chunk-P6GHJSLR.js';
49
51
  import '../chunk-PFF5IZGS.js';
50
- import '../chunk-OJIX5NBN.js';
51
- import '../chunk-WNDIVNPT.js';
52
52
  import '../chunk-QZGFVTVQ.js';
53
53
  import '../chunk-W3E4F65Y.js';
54
54
  import '../chunk-DDCMLHXF.js';
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkD3ABKS7T_cjs = require('../chunk-D3ABKS7T.cjs');
4
+ var chunkHDPT7D6F_cjs = require('../chunk-HDPT7D6F.cjs');
5
5
  var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
6
6
  var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
7
7
  require('../chunk-SNUBQMIS.cjs');
@@ -10,8 +10,8 @@ require('../chunk-7EY5CYCS.cjs');
10
10
  var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
11
11
  require('../chunk-RL2HI6NP.cjs');
12
12
  require('../chunk-6UZC4XVV.cjs');
13
- require('../chunk-SJSGSHIT.cjs');
14
13
  require('../chunk-QUMUAJ2P.cjs');
14
+ require('../chunk-SJSGSHIT.cjs');
15
15
  require('../chunk-PPCATBOY.cjs');
16
16
  require('../chunk-UIXY4HKM.cjs');
17
17
  require('../chunk-JDFBEGQO.cjs');
@@ -43,167 +43,167 @@ function toFactRows(records) {
43
43
 
44
44
  Object.defineProperty(exports, "DEFAULT_FACTS_BULK_BAR_LABELS", {
45
45
  enumerable: true,
46
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACTS_BULK_BAR_LABELS; }
46
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACTS_BULK_BAR_LABELS; }
47
47
  });
48
48
  Object.defineProperty(exports, "DEFAULT_FACTS_EMPTY_STATE_LABELS", {
49
49
  enumerable: true,
50
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACTS_EMPTY_STATE_LABELS; }
50
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACTS_EMPTY_STATE_LABELS; }
51
51
  });
52
52
  Object.defineProperty(exports, "DEFAULT_FACTS_FIELDS_BUTTON_LABELS", {
53
53
  enumerable: true,
54
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACTS_FIELDS_BUTTON_LABELS; }
54
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACTS_FIELDS_BUTTON_LABELS; }
55
55
  });
56
56
  Object.defineProperty(exports, "DEFAULT_FACTS_TOOLBAR_LABELS", {
57
57
  enumerable: true,
58
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACTS_TOOLBAR_LABELS; }
58
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACTS_TOOLBAR_LABELS; }
59
59
  });
60
60
  Object.defineProperty(exports, "DEFAULT_FACTS_VIEW_TOGGLE_LABELS", {
61
61
  enumerable: true,
62
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACTS_VIEW_TOGGLE_LABELS; }
62
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACTS_VIEW_TOGGLE_LABELS; }
63
63
  });
64
64
  Object.defineProperty(exports, "DEFAULT_FACT_COLUMN_LABELS", {
65
65
  enumerable: true,
66
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACT_COLUMN_LABELS; }
66
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACT_COLUMN_LABELS; }
67
67
  });
68
68
  Object.defineProperty(exports, "DEFAULT_FACT_COLUMN_ORDER", {
69
69
  enumerable: true,
70
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACT_COLUMN_ORDER; }
70
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACT_COLUMN_ORDER; }
71
71
  });
72
72
  Object.defineProperty(exports, "DEFAULT_FACT_COMPOSER_LABELS", {
73
73
  enumerable: true,
74
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACT_COMPOSER_LABELS; }
74
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACT_COMPOSER_LABELS; }
75
75
  });
76
76
  Object.defineProperty(exports, "DEFAULT_FACT_DATE_INPUT_LABELS", {
77
77
  enumerable: true,
78
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACT_DATE_INPUT_LABELS; }
78
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACT_DATE_INPUT_LABELS; }
79
79
  });
80
80
  Object.defineProperty(exports, "DEFAULT_FACT_LABELS_CELL_LABELS", {
81
81
  enumerable: true,
82
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACT_LABELS_CELL_LABELS; }
82
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACT_LABELS_CELL_LABELS; }
83
83
  });
84
84
  Object.defineProperty(exports, "DEFAULT_FACT_ROW_ACTIONS_LABELS", {
85
85
  enumerable: true,
86
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACT_ROW_ACTIONS_LABELS; }
86
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACT_ROW_ACTIONS_LABELS; }
87
87
  });
88
88
  Object.defineProperty(exports, "DEFAULT_FACT_SEARCH_BAR_LABELS", {
89
89
  enumerable: true,
90
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACT_SEARCH_BAR_LABELS; }
90
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACT_SEARCH_BAR_LABELS; }
91
91
  });
92
92
  Object.defineProperty(exports, "DEFAULT_FACT_SEARCH_RESULT_LABELS", {
93
93
  enumerable: true,
94
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACT_SEARCH_RESULT_LABELS; }
94
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACT_SEARCH_RESULT_LABELS; }
95
95
  });
96
96
  Object.defineProperty(exports, "DEFAULT_FACT_SOURCES_ROW_LABELS", {
97
97
  enumerable: true,
98
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACT_SOURCES_ROW_LABELS; }
98
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACT_SOURCES_ROW_LABELS; }
99
99
  });
100
100
  Object.defineProperty(exports, "DEFAULT_FACT_SOURCE_GROUP_LABELS", {
101
101
  enumerable: true,
102
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACT_SOURCE_GROUP_LABELS; }
102
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACT_SOURCE_GROUP_LABELS; }
103
103
  });
104
104
  Object.defineProperty(exports, "DEFAULT_FACT_TIMELINE_LABELS", {
105
105
  enumerable: true,
106
- get: function () { return chunkD3ABKS7T_cjs.DEFAULT_FACT_TIMELINE_LABELS; }
106
+ get: function () { return chunkHDPT7D6F_cjs.DEFAULT_FACT_TIMELINE_LABELS; }
107
107
  });
108
108
  Object.defineProperty(exports, "FactComposer", {
109
109
  enumerable: true,
110
- get: function () { return chunkD3ABKS7T_cjs.FactComposer; }
110
+ get: function () { return chunkHDPT7D6F_cjs.FactComposer; }
111
111
  });
112
112
  Object.defineProperty(exports, "FactDateInput", {
113
113
  enumerable: true,
114
- get: function () { return chunkD3ABKS7T_cjs.FactDateInput; }
114
+ get: function () { return chunkHDPT7D6F_cjs.FactDateInput; }
115
115
  });
116
116
  Object.defineProperty(exports, "FactFieldRow", {
117
117
  enumerable: true,
118
- get: function () { return chunkD3ABKS7T_cjs.FactFieldRow; }
118
+ get: function () { return chunkHDPT7D6F_cjs.FactFieldRow; }
119
119
  });
120
120
  Object.defineProperty(exports, "FactLabelsCell", {
121
121
  enumerable: true,
122
- get: function () { return chunkD3ABKS7T_cjs.FactLabelsCell; }
122
+ get: function () { return chunkHDPT7D6F_cjs.FactLabelsCell; }
123
123
  });
124
124
  Object.defineProperty(exports, "FactRowActions", {
125
125
  enumerable: true,
126
- get: function () { return chunkD3ABKS7T_cjs.FactRowActions; }
126
+ get: function () { return chunkHDPT7D6F_cjs.FactRowActions; }
127
127
  });
128
128
  Object.defineProperty(exports, "FactSearchBar", {
129
129
  enumerable: true,
130
- get: function () { return chunkD3ABKS7T_cjs.FactSearchBar; }
130
+ get: function () { return chunkHDPT7D6F_cjs.FactSearchBar; }
131
131
  });
132
132
  Object.defineProperty(exports, "FactSearchNoMatches", {
133
133
  enumerable: true,
134
- get: function () { return chunkD3ABKS7T_cjs.FactSearchNoMatches; }
134
+ get: function () { return chunkHDPT7D6F_cjs.FactSearchNoMatches; }
135
135
  });
136
136
  Object.defineProperty(exports, "FactSearchPending", {
137
137
  enumerable: true,
138
- get: function () { return chunkD3ABKS7T_cjs.FactSearchPending; }
138
+ get: function () { return chunkHDPT7D6F_cjs.FactSearchPending; }
139
139
  });
140
140
  Object.defineProperty(exports, "FactSearchResult", {
141
141
  enumerable: true,
142
- get: function () { return chunkD3ABKS7T_cjs.FactSearchResult; }
142
+ get: function () { return chunkHDPT7D6F_cjs.FactSearchResult; }
143
143
  });
144
144
  Object.defineProperty(exports, "FactSearchTotals", {
145
145
  enumerable: true,
146
- get: function () { return chunkD3ABKS7T_cjs.FactSearchTotals; }
146
+ get: function () { return chunkHDPT7D6F_cjs.FactSearchTotals; }
147
147
  });
148
148
  Object.defineProperty(exports, "FactSourceGroup", {
149
149
  enumerable: true,
150
- get: function () { return chunkD3ABKS7T_cjs.FactSourceGroup; }
150
+ get: function () { return chunkHDPT7D6F_cjs.FactSourceGroup; }
151
151
  });
152
152
  Object.defineProperty(exports, "FactSourcesRow", {
153
153
  enumerable: true,
154
- get: function () { return chunkD3ABKS7T_cjs.FactSourcesRow; }
154
+ get: function () { return chunkHDPT7D6F_cjs.FactSourcesRow; }
155
155
  });
156
156
  Object.defineProperty(exports, "FactsBulkBar", {
157
157
  enumerable: true,
158
- get: function () { return chunkD3ABKS7T_cjs.FactsBulkBar; }
158
+ get: function () { return chunkHDPT7D6F_cjs.FactsBulkBar; }
159
159
  });
160
160
  Object.defineProperty(exports, "FactsCalendar", {
161
161
  enumerable: true,
162
- get: function () { return chunkD3ABKS7T_cjs.FactsCalendar; }
162
+ get: function () { return chunkHDPT7D6F_cjs.FactsCalendar; }
163
163
  });
164
164
  Object.defineProperty(exports, "FactsEmptyState", {
165
165
  enumerable: true,
166
- get: function () { return chunkD3ABKS7T_cjs.FactsEmptyState; }
166
+ get: function () { return chunkHDPT7D6F_cjs.FactsEmptyState; }
167
167
  });
168
168
  Object.defineProperty(exports, "FactsFieldsButton", {
169
169
  enumerable: true,
170
- get: function () { return chunkD3ABKS7T_cjs.FactsFieldsButton; }
170
+ get: function () { return chunkHDPT7D6F_cjs.FactsFieldsButton; }
171
171
  });
172
172
  Object.defineProperty(exports, "FactsGanttPane", {
173
173
  enumerable: true,
174
- get: function () { return chunkD3ABKS7T_cjs.FactsGanttPane; }
174
+ get: function () { return chunkHDPT7D6F_cjs.FactsGanttPane; }
175
175
  });
176
176
  Object.defineProperty(exports, "FactsLoadError", {
177
177
  enumerable: true,
178
- get: function () { return chunkD3ABKS7T_cjs.FactsLoadError; }
178
+ get: function () { return chunkHDPT7D6F_cjs.FactsLoadError; }
179
179
  });
180
180
  Object.defineProperty(exports, "FactsLoading", {
181
181
  enumerable: true,
182
- get: function () { return chunkD3ABKS7T_cjs.FactsLoading; }
182
+ get: function () { return chunkHDPT7D6F_cjs.FactsLoading; }
183
183
  });
184
184
  Object.defineProperty(exports, "FactsToolbar", {
185
185
  enumerable: true,
186
- get: function () { return chunkD3ABKS7T_cjs.FactsToolbar; }
186
+ get: function () { return chunkHDPT7D6F_cjs.FactsToolbar; }
187
187
  });
188
188
  Object.defineProperty(exports, "FactsViewToggle", {
189
189
  enumerable: true,
190
- get: function () { return chunkD3ABKS7T_cjs.FactsViewToggle; }
190
+ get: function () { return chunkHDPT7D6F_cjs.FactsViewToggle; }
191
191
  });
192
192
  Object.defineProperty(exports, "ISO_DATE_FILTER_PARAMS", {
193
193
  enumerable: true,
194
- get: function () { return chunkD3ABKS7T_cjs.ISO_DATE_FILTER_PARAMS; }
194
+ get: function () { return chunkHDPT7D6F_cjs.ISO_DATE_FILTER_PARAMS; }
195
195
  });
196
196
  Object.defineProperty(exports, "createFactColumns", {
197
197
  enumerable: true,
198
- get: function () { return chunkD3ABKS7T_cjs.createFactColumns; }
198
+ get: function () { return chunkHDPT7D6F_cjs.createFactColumns; }
199
199
  });
200
200
  Object.defineProperty(exports, "enableFactTableColumnResize", {
201
201
  enumerable: true,
202
- get: function () { return chunkD3ABKS7T_cjs.enableFactTableColumnResize; }
202
+ get: function () { return chunkHDPT7D6F_cjs.enableFactTableColumnResize; }
203
203
  });
204
204
  Object.defineProperty(exports, "sourceDocCount", {
205
205
  enumerable: true,
206
- get: function () { return chunkD3ABKS7T_cjs.sourceDocCount; }
206
+ get: function () { return chunkHDPT7D6F_cjs.sourceDocCount; }
207
207
  });
208
208
  Object.defineProperty(exports, "EMPTY_FACT_DATE_FIELDS", {
209
209
  enumerable: true,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- 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_SEARCH_BAR_LABELS, DEFAULT_FACT_SEARCH_RESULT_LABELS, DEFAULT_FACT_SOURCES_ROW_LABELS, DEFAULT_FACT_SOURCE_GROUP_LABELS, DEFAULT_FACT_TIMELINE_LABELS, FactComposer, FactDateInput, FactFieldRow, FactLabelsCell, FactRowActions, FactSearchBar, FactSearchNoMatches, FactSearchPending, FactSearchResult, FactSearchTotals, FactSourceGroup, FactSourcesRow, FactsBulkBar, FactsCalendar, FactsEmptyState, FactsFieldsButton, FactsGanttPane, FactsLoadError, FactsLoading, FactsToolbar, FactsViewToggle, ISO_DATE_FILTER_PARAMS, createFactColumns, enableFactTableColumnResize, sourceDocCount } from '../chunk-AJ4TBTA3.js';
2
+ 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_SEARCH_BAR_LABELS, DEFAULT_FACT_SEARCH_RESULT_LABELS, DEFAULT_FACT_SOURCES_ROW_LABELS, DEFAULT_FACT_SOURCE_GROUP_LABELS, DEFAULT_FACT_TIMELINE_LABELS, FactComposer, FactDateInput, FactFieldRow, FactLabelsCell, FactRowActions, FactSearchBar, FactSearchNoMatches, FactSearchPending, FactSearchResult, FactSearchTotals, FactSourceGroup, FactSourcesRow, FactsBulkBar, FactsCalendar, FactsEmptyState, FactsFieldsButton, FactsGanttPane, FactsLoadError, FactsLoading, FactsToolbar, FactsViewToggle, ISO_DATE_FILTER_PARAMS, createFactColumns, enableFactTableColumnResize, sourceDocCount } from '../chunk-PCAWLVHE.js';
3
3
  export { EMPTY_FACT_DATE_FIELDS, buildFactCitations, chronologyFactBodies, chunkIdsOf, citedVersionRef, docIdsOf, factDateFieldsToSpan, factDateSpanToFields, hasChunk, isWholeDoc, parseChronologyDate, toFactCitations, withChunk, withDoc, withoutChunk, withoutDoc } from '../chunk-CDDOLWSF.js';
4
4
  export { DEFAULT_FACT_PASSAGES_LABELS, FactPassageItem, FactSourcesPanel, renderPreviewInline, toPreviewLine } from '../chunk-TROXWCQQ.js';
5
5
  import '../chunk-OHRWYRTH.js';
@@ -8,8 +8,8 @@ import '../chunk-MGZSIRBG.js';
8
8
  export { decodeWhitespaceEntities } from '../chunk-AF6RDAJF.js';
9
9
  import '../chunk-L3BEWZWT.js';
10
10
  import '../chunk-P4CH2ATT.js';
11
- import '../chunk-USTSEENR.js';
12
11
  import '../chunk-OJIX5NBN.js';
12
+ import '../chunk-USTSEENR.js';
13
13
  import '../chunk-NPLYHR2E.js';
14
14
  import '../chunk-3KA6GZUW.js';
15
15
  import '../chunk-WTTPZMZ7.js';