@arbidocs/blocks 0.5.75 → 0.5.76
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/README.md +23 -0
- package/dist/{ConnectedDocumentViewer-U5TQ4LFJ.js → ConnectedDocumentViewer-4LRZ5N3L.js} +6 -6
- package/dist/{ConnectedDocumentViewer-U5TQ4LFJ.js.map → ConnectedDocumentViewer-4LRZ5N3L.js.map} +1 -1
- package/dist/{ConnectedDocumentViewer-ID2RG5MF.cjs → ConnectedDocumentViewer-FREQM2ES.cjs} +7 -7
- package/dist/{ConnectedDocumentViewer-ID2RG5MF.cjs.map → ConnectedDocumentViewer-FREQM2ES.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-PBMS77ZP.js → ConnectedNativeDocxComparison-P7OJ3UVK.js} +6 -6
- package/dist/{ConnectedNativeDocxComparison-PBMS77ZP.js.map → ConnectedNativeDocxComparison-P7OJ3UVK.js.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-R4OFGVHY.cjs → ConnectedNativeDocxComparison-RQIKQM5O.cjs} +7 -7
- package/dist/{ConnectedNativeDocxComparison-R4OFGVHY.cjs.map → ConnectedNativeDocxComparison-RQIKQM5O.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-27JZI2D5.js → ConnectedNativeDocxEditor-HX3FDJ2T.js} +5 -5
- package/dist/{ConnectedNativeDocxEditor-27JZI2D5.js.map → ConnectedNativeDocxEditor-HX3FDJ2T.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-774XRIP3.cjs → ConnectedNativeDocxEditor-XKQV7A37.cjs} +7 -7
- package/dist/{ConnectedNativeDocxEditor-774XRIP3.cjs.map → ConnectedNativeDocxEditor-XKQV7A37.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-7TNIQTVE.cjs → ConnectedStreamedWordArtifact-CSRL4SCO.cjs} +7 -7
- package/dist/ConnectedStreamedWordArtifact-CSRL4SCO.cjs.map +1 -0
- package/dist/{ConnectedStreamedWordArtifact-XEFXYMKS.js → ConnectedStreamedWordArtifact-SSH6M5LN.js} +6 -6
- package/dist/ConnectedStreamedWordArtifact-SSH6M5LN.js.map +1 -0
- package/dist/{DocumentReviewCard-7OPL6PWG.cjs → DocumentReviewCard-3PZJPVQC.cjs} +14 -14
- package/dist/{DocumentReviewCard-7OPL6PWG.cjs.map → DocumentReviewCard-3PZJPVQC.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-NDHCFYYT.js → DocumentReviewCard-KHMHG7A5.js} +9 -9
- package/dist/{DocumentReviewCard-NDHCFYYT.js.map → DocumentReviewCard-KHMHG7A5.js.map} +1 -1
- package/dist/{WorkspaceTableView-4INHJ7QK.js → WorkspaceTableView-4VMCTOFT.js} +5 -5
- package/dist/{WorkspaceTableView-4INHJ7QK.js.map → WorkspaceTableView-4VMCTOFT.js.map} +1 -1
- package/dist/{WorkspaceTableView-BTUSU3N3.cjs → WorkspaceTableView-Q44KNO3Z.cjs} +7 -7
- package/dist/{WorkspaceTableView-BTUSU3N3.cjs.map → WorkspaceTableView-Q44KNO3Z.cjs.map} +1 -1
- package/dist/agents/index.cjs +281 -281
- package/dist/agents/index.js +4 -4
- package/dist/{chunk-E3ILJRG4.cjs → chunk-2HECOUXC.cjs} +4 -3
- package/dist/chunk-2HECOUXC.cjs.map +1 -0
- package/dist/{chunk-AQPZ4QMV.cjs → chunk-3J2ASIM7.cjs} +3 -3
- package/dist/chunk-3J2ASIM7.cjs.map +1 -0
- package/dist/{chunk-QCFNPQWS.cjs → chunk-3LJUTIS6.cjs} +44 -44
- package/dist/{chunk-QCFNPQWS.cjs.map → chunk-3LJUTIS6.cjs.map} +1 -1
- package/dist/chunk-4B6HYQTW.cjs +20 -0
- package/dist/chunk-4B6HYQTW.cjs.map +1 -0
- package/dist/{chunk-4UMVAJJZ.js → chunk-6NEBHZIF.js} +4 -4
- package/dist/{chunk-4UMVAJJZ.js.map → chunk-6NEBHZIF.js.map} +1 -1
- package/dist/{chunk-IMIE5NOQ.js → chunk-7E5GV4R7.js} +4 -4
- package/dist/{chunk-IMIE5NOQ.js.map → chunk-7E5GV4R7.js.map} +1 -1
- package/dist/{chunk-LNXMSIKU.js → chunk-AWFEB4YJ.js} +8 -8
- package/dist/{chunk-LNXMSIKU.js.map → chunk-AWFEB4YJ.js.map} +1 -1
- package/dist/{chunk-JMQLTMJ7.js → chunk-B3BD5IJR.js} +16 -20
- package/dist/chunk-B3BD5IJR.js.map +1 -0
- package/dist/{chunk-5Q2U7GLI.cjs → chunk-CDW3W5U5.cjs} +4 -4
- package/dist/{chunk-5Q2U7GLI.cjs.map → chunk-CDW3W5U5.cjs.map} +1 -1
- package/dist/{chunk-SK5TP4DP.js → chunk-DBPPOJQM.js} +3 -3
- package/dist/{chunk-SK5TP4DP.js.map → chunk-DBPPOJQM.js.map} +1 -1
- package/dist/{chunk-NJ3YV3VM.cjs → chunk-DMYBHKNQ.cjs} +27 -27
- package/dist/{chunk-NJ3YV3VM.cjs.map → chunk-DMYBHKNQ.cjs.map} +1 -1
- package/dist/{chunk-563BHHHO.cjs → chunk-E6S6WHXL.cjs} +9 -9
- package/dist/{chunk-563BHHHO.cjs.map → chunk-E6S6WHXL.cjs.map} +1 -1
- package/dist/{chunk-BV34QPKE.js → chunk-EASXRDYQ.js} +3 -3
- package/dist/{chunk-BV34QPKE.js.map → chunk-EASXRDYQ.js.map} +1 -1
- package/dist/{chunk-JOFUAQTV.js → chunk-HWNVAQBX.js} +3 -3
- package/dist/{chunk-JOFUAQTV.js.map → chunk-HWNVAQBX.js.map} +1 -1
- package/dist/{chunk-PNWSEIWS.cjs → chunk-I3HK46DH.cjs} +4 -4
- package/dist/{chunk-PNWSEIWS.cjs.map → chunk-I3HK46DH.cjs.map} +1 -1
- package/dist/{chunk-GJKXYX47.js → chunk-IJ2CTMA7.js} +3 -3
- package/dist/{chunk-GJKXYX47.js.map → chunk-IJ2CTMA7.js.map} +1 -1
- package/dist/{chunk-7ZL6OVGO.cjs → chunk-IQFHOKQH.cjs} +23 -46
- package/dist/chunk-IQFHOKQH.cjs.map +1 -0
- package/dist/{chunk-7ZCM2GR2.js → chunk-IRCGXKLB.js} +3 -3
- package/dist/{chunk-7ZCM2GR2.js.map → chunk-IRCGXKLB.js.map} +1 -1
- package/dist/{chunk-G4GLDQLY.js → chunk-KG3W76BB.js} +3 -3
- package/dist/chunk-KG3W76BB.js.map +1 -0
- package/dist/{chunk-B66CICTP.cjs → chunk-KHLPBCRZ.cjs} +52 -52
- package/dist/{chunk-B66CICTP.cjs.map → chunk-KHLPBCRZ.cjs.map} +1 -1
- package/dist/{chunk-J4SEJSSV.js → chunk-KPIR4MJV.js} +6 -6
- package/dist/{chunk-J4SEJSSV.js.map → chunk-KPIR4MJV.js.map} +1 -1
- package/dist/{chunk-PA4EGGCI.js → chunk-KSHTODQZ.js} +3 -3
- package/dist/{chunk-PA4EGGCI.js.map → chunk-KSHTODQZ.js.map} +1 -1
- package/dist/{chunk-PT6D5B6L.cjs → chunk-MAUJVVFJ.cjs} +360 -410
- package/dist/chunk-MAUJVVFJ.cjs.map +1 -0
- package/dist/{chunk-MP7XCRHV.js → chunk-NRI5DKJE.js} +4 -3
- package/dist/chunk-NRI5DKJE.js.map +1 -0
- package/dist/{chunk-XXPDAENX.cjs → chunk-PGTDQBMX.cjs} +7 -7
- package/dist/{chunk-XXPDAENX.cjs.map → chunk-PGTDQBMX.cjs.map} +1 -1
- package/dist/{chunk-4JKK6S7U.cjs → chunk-S7G3A52F.cjs} +5 -5
- package/dist/{chunk-4JKK6S7U.cjs.map → chunk-S7G3A52F.cjs.map} +1 -1
- package/dist/{chunk-OUCWTKQT.js → chunk-SBFQF3BU.js} +4 -4
- package/dist/{chunk-OUCWTKQT.js.map → chunk-SBFQF3BU.js.map} +1 -1
- package/dist/{chunk-52VME6ZS.cjs → chunk-SIOBGNRY.cjs} +18 -18
- package/dist/{chunk-52VME6ZS.cjs.map → chunk-SIOBGNRY.cjs.map} +1 -1
- package/dist/chunk-SK3GBHPJ.js +15 -0
- package/dist/chunk-SK3GBHPJ.js.map +1 -0
- package/dist/{chunk-RADE22SM.cjs → chunk-T2OG3CPR.cjs} +4 -4
- package/dist/{chunk-RADE22SM.cjs.map → chunk-T2OG3CPR.cjs.map} +1 -1
- package/dist/{chunk-IGQJ6ET3.js → chunk-TWSOU6SE.js} +421 -501
- package/dist/chunk-TWSOU6SE.js.map +1 -0
- package/dist/{chunk-QRV4XYFJ.js → chunk-UCD7644N.js} +3 -3
- package/dist/{chunk-QRV4XYFJ.js.map → chunk-UCD7644N.js.map} +1 -1
- package/dist/{chunk-TQ4VGQHG.js → chunk-ULUCGL24.js} +3 -3
- package/dist/{chunk-TQ4VGQHG.js.map → chunk-ULUCGL24.js.map} +1 -1
- package/dist/{chunk-IRI6LPDX.cjs → chunk-UR4OSH2Q.cjs} +4 -4
- package/dist/{chunk-IRI6LPDX.cjs.map → chunk-UR4OSH2Q.cjs.map} +1 -1
- package/dist/{chunk-66QN6ZJR.cjs → chunk-URZAK3A3.cjs} +36 -36
- package/dist/{chunk-66QN6ZJR.cjs.map → chunk-URZAK3A3.cjs.map} +1 -1
- package/dist/{chunk-57S2PLCM.js → chunk-V2QWATXQ.js} +3 -3
- package/dist/{chunk-57S2PLCM.js.map → chunk-V2QWATXQ.js.map} +1 -1
- package/dist/{chunk-55JI2IGZ.cjs → chunk-VBLJNOVP.cjs} +4 -4
- package/dist/{chunk-55JI2IGZ.cjs.map → chunk-VBLJNOVP.cjs.map} +1 -1
- package/dist/{chunk-KFAFWPZK.cjs → chunk-VRMACPJR.cjs} +7 -7
- package/dist/{chunk-KFAFWPZK.cjs.map → chunk-VRMACPJR.cjs.map} +1 -1
- package/dist/{chunk-5Y6V7F6W.cjs → chunk-VWUNPAR2.cjs} +15 -19
- package/dist/chunk-VWUNPAR2.cjs.map +1 -0
- package/dist/{chunk-T3GTQXGP.js → chunk-W7CQ5MLR.js} +3 -3
- package/dist/{chunk-T3GTQXGP.js.map → chunk-W7CQ5MLR.js.map} +1 -1
- package/dist/{chunk-AOBNXZLS.cjs → chunk-Y3VXKSW7.cjs} +594 -674
- package/dist/chunk-Y3VXKSW7.cjs.map +1 -0
- package/dist/{chunk-RTYU6ZGO.cjs → chunk-YCABQ5W4.cjs} +4 -4
- package/dist/{chunk-RTYU6ZGO.cjs.map → chunk-YCABQ5W4.cjs.map} +1 -1
- package/dist/{chunk-EWHD3BY5.js → chunk-ZHHUEYSB.js} +25 -48
- package/dist/chunk-ZHHUEYSB.js.map +1 -0
- package/dist/{chunk-5PKIDR2Q.js → chunk-ZHJVABQ6.js} +361 -406
- package/dist/chunk-ZHJVABQ6.js.map +1 -0
- package/dist/connect/docx.cjs +11 -11
- package/dist/connect/docx.js +7 -7
- package/dist/connect/index.cjs +1448 -1367
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +2 -0
- package/dist/connect/index.js +545 -466
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/viewer.cjs +5 -5
- package/dist/connect/viewer.js +4 -4
- package/dist/connection/account-cluster/ConnectedAccountCluster.d.ts +2 -1
- package/dist/connection/facts/useFactFilters.d.ts +46 -0
- package/dist/connection/files/fields/ConnectedTagForm.d.ts +1 -1
- package/dist/connection/report-problem/ReportProblemDialog.d.ts +10 -8
- package/dist/connection/report-problem/useReportProblem.d.ts +2 -6
- package/dist/connection/tags/ConnectedTagTable.d.ts +1 -1
- package/dist/connection/tags/ConnectedTagsPage.d.ts +3 -1
- package/dist/connection/tags/TagsPageSections.d.ts +5 -3
- package/dist/connection/tags/tagged-content.d.ts +10 -0
- package/dist/connection/threads/useThreadTagFilter.d.ts +10 -0
- package/dist/connection/tips/ConnectedTipBar.d.ts +2 -1
- package/dist/connection/tips/useContextualHints.d.ts +6 -1
- package/dist/embed/index.cjs +13 -12
- package/dist/embed/index.js +8 -7
- package/dist/facts/index.cjs +45 -45
- package/dist/facts/index.js +2 -2
- package/dist/files/index.cjs +226 -226
- package/dist/files/index.js +2 -2
- package/dist/index.cjs +423 -367
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +76 -16
- package/dist/index.js.map +1 -1
- package/dist/settings/FilterChip.d.ts +2 -1
- package/dist/settings/TriStateFilterMenu.d.ts +1 -0
- package/dist/settings/index.cjs +158 -158
- package/dist/settings/index.js +2 -2
- package/dist/shell/index.cjs +14 -14
- package/dist/shell/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/tags/TagDetail.d.ts +2 -2
- package/dist/tags/TagTable.d.ts +17 -3
- package/dist/tags/index.d.ts +1 -1
- package/dist/workflow-canvas/index.cjs +29 -29
- package/dist/workflow-canvas/index.js +12 -12
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ConnectedStreamedWordArtifact-7TNIQTVE.cjs.map +0 -1
- package/dist/ConnectedStreamedWordArtifact-XEFXYMKS.js.map +0 -1
- package/dist/chunk-5PKIDR2Q.js.map +0 -1
- package/dist/chunk-5Y6V7F6W.cjs.map +0 -1
- package/dist/chunk-7ZL6OVGO.cjs.map +0 -1
- package/dist/chunk-AOBNXZLS.cjs.map +0 -1
- package/dist/chunk-AQPZ4QMV.cjs.map +0 -1
- package/dist/chunk-E3ILJRG4.cjs.map +0 -1
- package/dist/chunk-EWHD3BY5.js.map +0 -1
- package/dist/chunk-G4GLDQLY.js.map +0 -1
- package/dist/chunk-IGQJ6ET3.js.map +0 -1
- package/dist/chunk-JMQLTMJ7.js.map +0 -1
- package/dist/chunk-MP7XCRHV.js.map +0 -1
- package/dist/chunk-PT6D5B6L.cjs.map +0 -1
- package/dist/connection/tags/TagPlacement.d.ts +0 -16
package/dist/tags/TagDetail.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export interface TagDetailLabels {
|
|
|
29
29
|
loading: string;
|
|
30
30
|
}
|
|
31
31
|
export declare const DEFAULT_TAG_DETAIL_LABELS: TagDetailLabels;
|
|
32
|
-
export interface TagDetailProps extends Pick<TagTableProps, 'onChangeValue' | 'onOpenDocument' | 'onOpenFact' | 'onOpenThread' | 'people' | 'tags' | 'onOpenTag'> {
|
|
32
|
+
export interface TagDetailProps extends Pick<TagTableProps, 'onChangeValue' | 'onOpenTaggedItems' | 'onOpenDocument' | 'onOpenFact' | 'onOpenThread' | 'people' | 'tags' | 'onOpenTag'> {
|
|
33
33
|
/** The tag with its values and links (documents, facts, threads). */
|
|
34
34
|
row: TagTableRow | undefined;
|
|
35
35
|
/** Its kind's fields in the workspace (none: no Fields section). */
|
|
@@ -59,4 +59,4 @@ export interface TagDetailProps extends Pick<TagTableProps, 'onChangeValue' | 'o
|
|
|
59
59
|
className?: string;
|
|
60
60
|
testId?: string;
|
|
61
61
|
}
|
|
62
|
-
export declare function TagDetail({ row, fields, isLoading, people, tags, onOpenTag, onChangeValue, onOpenDocument, onOpenFact, onOpenThread, noteLabel, noteIsValue, renderPassages, labels, fieldLabels, className, testId, }: TagDetailProps): import("react").JSX.Element;
|
|
62
|
+
export declare function TagDetail({ row, fields, isLoading, people, tags, onOpenTag, onChangeValue, onOpenDocument, onOpenFact, onOpenThread, onOpenTaggedItems, noteLabel, noteIsValue, renderPassages, labels, fieldLabels, className, testId, }: TagDetailProps): import("react").JSX.Element;
|
package/dist/tags/TagTable.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A table of tags (every issue, every person, a label's children): one row per tag, a column per
|
|
3
3
|
* field of their kind in the workspace, editable in place by type (text, number, date, checkbox,
|
|
4
|
-
* choice, person, a link to other tags), and
|
|
5
|
-
* facts and threads
|
|
4
|
+
* choice, person, a link to other tags), and counts of the documents,
|
|
5
|
+
* facts and threads tagged with each row. A count opens its filtered content page. A row with nothing tagged yet is a normal row with an empty
|
|
6
6
|
* cell. Rows and columns can be added (the columns are the kind's fields, edited as one list), and
|
|
7
7
|
* the table exported as a Word document snapshot (filed in the workspace) or downloaded.
|
|
8
8
|
* The data and every write come from the host (`ConnectedTagTable` binds them to ARBI).
|
|
@@ -39,11 +39,13 @@ export interface TagTableLabels {
|
|
|
39
39
|
choose: string;
|
|
40
40
|
yes: string;
|
|
41
41
|
/** Opens the column editor. */
|
|
42
|
+
moreActions: string;
|
|
42
43
|
editColumns: string;
|
|
43
44
|
/** The column editor's own labels. */
|
|
44
45
|
columns?: Partial<TagColumnsEditorLabels>;
|
|
45
46
|
}
|
|
46
47
|
export declare const DEFAULT_TAG_TABLE_LABELS: TagTableLabels;
|
|
48
|
+
export type TagContentKind = 'documents' | 'facts' | 'threads';
|
|
47
49
|
export interface TagTableProps {
|
|
48
50
|
/** The kind's fields (the columns) and its tags (the rows, with their links). */
|
|
49
51
|
table: TagTableData | undefined;
|
|
@@ -65,6 +67,8 @@ export interface TagTableProps {
|
|
|
65
67
|
onOpenThread?: (conversationId: string) => void;
|
|
66
68
|
/** Open a row's tag (everything tagged with it). */
|
|
67
69
|
onOpenRow?: (tagId: string) => void;
|
|
70
|
+
/** Open the relevant content page filtered by this tag. */
|
|
71
|
+
onOpenTaggedItems?: (tagId: string, kind: TagContentKind) => void;
|
|
68
72
|
/** Export the table as it stands (filed as a document). Absent: no export button. */
|
|
69
73
|
onExport?: () => void | Promise<unknown>;
|
|
70
74
|
/** Download the table as it stands as a file. Absent: no download button. */
|
|
@@ -87,6 +91,8 @@ export interface TagTableProps {
|
|
|
87
91
|
onOpenTag?: (tagId: string) => void;
|
|
88
92
|
/** Extra controls in the toolbar. */
|
|
89
93
|
actions?: ReactNode;
|
|
94
|
+
/** Secondary controls shown inside More, beside column setup and exports. */
|
|
95
|
+
secondaryActions?: ReactNode;
|
|
90
96
|
labels?: Partial<TagTableLabels>;
|
|
91
97
|
className?: string;
|
|
92
98
|
testId?: string;
|
|
@@ -105,4 +111,12 @@ export declare function TagTableCell({ row, column, people, tags, onOpenTag, onC
|
|
|
105
111
|
l: TagTableLabels;
|
|
106
112
|
testId: string;
|
|
107
113
|
}): import("react").JSX.Element;
|
|
108
|
-
|
|
114
|
+
/** Counts open the existing content pages filtered by this tag. No item previews. */
|
|
115
|
+
export declare function TagContentCounts({ row, l, onOpenTaggedItems, onOpenRow, testId, }: {
|
|
116
|
+
row: TagTableRow;
|
|
117
|
+
l: TagTableLabels;
|
|
118
|
+
onOpenTaggedItems?: TagTableProps['onOpenTaggedItems'];
|
|
119
|
+
onOpenRow?: TagTableProps['onOpenRow'];
|
|
120
|
+
testId: string;
|
|
121
|
+
}): import("react").JSX.Element | null;
|
|
122
|
+
export declare function TagTable({ table, isLoading, onChangeValue, onAddRow, onChangeColumns, onOpenRow, onOpenTaggedItems, onExport, onDownload, people, tags, onOpenTag, actions, secondaryActions, labels, className, testId, }: TagTableProps): import("react").JSX.Element;
|
package/dist/tags/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* columns edited with `TagColumnsEditor`), one tag in full (`TagDetail`), and the kind-grouped
|
|
4
4
|
* navigation of a Tags page (`TagsNav`).
|
|
5
5
|
*/
|
|
6
|
-
export { TagTable, TagTableCell, DEFAULT_TAG_TABLE_LABELS, type TagTableProps, type TagTableLabels, } from './TagTable';
|
|
6
|
+
export { TagTable, TagTableCell, DEFAULT_TAG_TABLE_LABELS, type TagTableProps, type TagContentKind, type TagTableLabels, } from './TagTable';
|
|
7
7
|
export { TagColumnsEditor, DEFAULT_TAG_COLUMNS_EDITOR_LABELS, type TagColumnsEditorProps, type TagColumnsEditorLabels, } from './TagColumnsEditor';
|
|
8
8
|
export { TagDetail, DEFAULT_TAG_DETAIL_LABELS, type TagDetailProps, type TagDetailLabels, } from './TagDetail';
|
|
9
9
|
export { TagsNav, findTagsNavItem, DEFAULT_TAGS_NAV_LABELS, type TagsNavProps, type TagsNavLabels, type TagsNavGroup, type TagsNavItem, type TagsNavSelection, } from './TagsNav';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkKHLPBCRZ_cjs = require('../chunk-KHLPBCRZ.cjs');
|
|
5
|
+
var chunkUR4OSH2Q_cjs = require('../chunk-UR4OSH2Q.cjs');
|
|
6
6
|
require('../chunk-HYAYXLIZ.cjs');
|
|
7
7
|
require('../chunk-KWJW5TMH.cjs');
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-I3HK46DH.cjs');
|
|
9
|
+
require('../chunk-URZAK3A3.cjs');
|
|
10
10
|
require('../chunk-H32DV7XS.cjs');
|
|
11
|
-
require('../chunk-
|
|
12
|
-
var
|
|
11
|
+
require('../chunk-2HECOUXC.cjs');
|
|
12
|
+
var chunkPGTDQBMX_cjs = require('../chunk-PGTDQBMX.cjs');
|
|
13
13
|
require('../chunk-464YPRAE.cjs');
|
|
14
14
|
require('../chunk-ENT64S6W.cjs');
|
|
15
15
|
var chunkWEYEZBU2_cjs = require('../chunk-WEYEZBU2.cjs');
|
|
16
16
|
require('../chunk-DDWLMYRO.cjs');
|
|
17
|
-
require('../chunk-
|
|
17
|
+
require('../chunk-VRMACPJR.cjs');
|
|
18
18
|
require('../chunk-SNUBQMIS.cjs');
|
|
19
19
|
require('../chunk-324RBHCF.cjs');
|
|
20
20
|
require('../chunk-223D4727.cjs');
|
|
@@ -31,23 +31,23 @@ require('../chunk-54LJBS6B.cjs');
|
|
|
31
31
|
require('../chunk-F3NMEQF6.cjs');
|
|
32
32
|
require('../chunk-JIOHDVWH.cjs');
|
|
33
33
|
require('../chunk-RC25WMVB.cjs');
|
|
34
|
-
require('../chunk-
|
|
34
|
+
require('../chunk-VWUNPAR2.cjs');
|
|
35
35
|
require('../chunk-MCXS6X37.cjs');
|
|
36
36
|
require('../chunk-KQF7POTG.cjs');
|
|
37
37
|
require('../chunk-VLCY46K6.cjs');
|
|
38
38
|
var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
|
|
39
39
|
require('../chunk-72YEEUH7.cjs');
|
|
40
|
-
var
|
|
41
|
-
var
|
|
40
|
+
var chunkSIOBGNRY_cjs = require('../chunk-SIOBGNRY.cjs');
|
|
41
|
+
var chunkE6S6WHXL_cjs = require('../chunk-E6S6WHXL.cjs');
|
|
42
42
|
var chunkUICJN7O2_cjs = require('../chunk-UICJN7O2.cjs');
|
|
43
43
|
var chunkI4IS6ST6_cjs = require('../chunk-I4IS6ST6.cjs');
|
|
44
44
|
require('../chunk-RFIBUWLF.cjs');
|
|
45
45
|
require('../chunk-IN6ILI5A.cjs');
|
|
46
46
|
var chunkP6TPVQRU_cjs = require('../chunk-P6TPVQRU.cjs');
|
|
47
|
-
var
|
|
47
|
+
var chunkT2OG3CPR_cjs = require('../chunk-T2OG3CPR.cjs');
|
|
48
48
|
require('../chunk-3YEXZX4H.cjs');
|
|
49
49
|
require('../chunk-EHZGODA4.cjs');
|
|
50
|
-
require('../chunk-
|
|
50
|
+
require('../chunk-3J2ASIM7.cjs');
|
|
51
51
|
var chunk555BS22J_cjs = require('../chunk-555BS22J.cjs');
|
|
52
52
|
require('../chunk-SIB6C7P7.cjs');
|
|
53
53
|
require('../chunk-DVUZTGVL.cjs');
|
|
@@ -1658,7 +1658,7 @@ function triggerFields(trigger, clearOthers) {
|
|
|
1658
1658
|
return {
|
|
1659
1659
|
timezone: trigger.timezone,
|
|
1660
1660
|
rrule: trigger.start === "repeat" ? trigger.rrule.trim() : none,
|
|
1661
|
-
run_at: trigger.start === "once" ?
|
|
1661
|
+
run_at: trigger.start === "once" ? chunkE6S6WHXL_cjs.localInputToIso(trigger.runAt) : none,
|
|
1662
1662
|
event_kind: trigger.start === "event" ? trigger.eventKind.trim() : none,
|
|
1663
1663
|
// A step signal is `workflow_signal` narrowed to one signal name.
|
|
1664
1664
|
event_filter: filter ?? none,
|
|
@@ -1717,7 +1717,7 @@ function workflowRecordToBuilder(record) {
|
|
|
1717
1717
|
...record.skill_ref ? { workflow: record.skill_ref } : { run: { kind: "prompt", promptTemplate: record.prompt } }
|
|
1718
1718
|
}
|
|
1719
1719
|
] : [];
|
|
1720
|
-
const when =
|
|
1720
|
+
const when = chunkE6S6WHXL_cjs.workflowWhen(record);
|
|
1721
1721
|
return {
|
|
1722
1722
|
workflow: {
|
|
1723
1723
|
id: record.external_id,
|
|
@@ -1731,7 +1731,7 @@ function workflowRecordToBuilder(record) {
|
|
|
1731
1731
|
trigger: {
|
|
1732
1732
|
...DEFAULT_WORKFLOW_TRIGGER,
|
|
1733
1733
|
start: when === "now" ? "manual" : when,
|
|
1734
|
-
runAt:
|
|
1734
|
+
runAt: chunkE6S6WHXL_cjs.isoToLocalInput(record.run_at),
|
|
1735
1735
|
rrule: record.rrule ?? "",
|
|
1736
1736
|
timezone: record.timezone || DEFAULT_WORKFLOW_TRIGGER.timezone,
|
|
1737
1737
|
eventKind: record.event_kind ?? "",
|
|
@@ -1846,7 +1846,7 @@ function TriggerInspector({
|
|
|
1846
1846
|
}
|
|
1847
1847
|
)
|
|
1848
1848
|
] }),
|
|
1849
|
-
trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1849
|
+
trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkE6S6WHXL_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
|
|
1850
1850
|
trigger.start === "event" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1851
1851
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.event }),
|
|
1852
1852
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1898,7 +1898,7 @@ function TriggerInspector({
|
|
|
1898
1898
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1899
1899
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.agent }),
|
|
1900
1900
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1901
|
-
|
|
1901
|
+
chunkT2OG3CPR_cjs.AgentSelect,
|
|
1902
1902
|
{
|
|
1903
1903
|
agents,
|
|
1904
1904
|
value: trigger.agentId,
|
|
@@ -2737,13 +2737,13 @@ function WorkflowPreview({
|
|
|
2737
2737
|
renderIcon,
|
|
2738
2738
|
testId
|
|
2739
2739
|
}) {
|
|
2740
|
-
const run =
|
|
2740
|
+
const run = chunkSIOBGNRY_cjs.useWorkflowPreview(workflow, {
|
|
2741
2741
|
resolveWorkflow: (id) => workflows.find((w) => w.id === id),
|
|
2742
2742
|
compose,
|
|
2743
2743
|
answer
|
|
2744
2744
|
});
|
|
2745
2745
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2746
|
-
|
|
2746
|
+
chunkE6S6WHXL_cjs.WorkflowRunner,
|
|
2747
2747
|
{
|
|
2748
2748
|
workflow,
|
|
2749
2749
|
run,
|
|
@@ -3000,7 +3000,7 @@ function ConnectedWorkflowsPage({
|
|
|
3000
3000
|
const config = host.workflows;
|
|
3001
3001
|
const { openConversation, openFiles } = chunk3AWP3O5M_cjs.useBlocksEnvironment();
|
|
3002
3002
|
const openWorkflow = chunkWEYEZBU2_cjs.useOpenWorkflow();
|
|
3003
|
-
const renderPerson =
|
|
3003
|
+
const renderPerson = chunkKHLPBCRZ_cjs.useRenderTaskPerson();
|
|
3004
3004
|
const refreshDocuments = react$2.useRefreshDocuments();
|
|
3005
3005
|
const invalidateTags = react$2.useInvalidateTagData();
|
|
3006
3006
|
const { data: tags = [] } = react$2.useTags();
|
|
@@ -3031,7 +3031,7 @@ function ConnectedWorkflowsPage({
|
|
|
3031
3031
|
openHistory,
|
|
3032
3032
|
closeHistoryTab,
|
|
3033
3033
|
selectHistoryTab
|
|
3034
|
-
} =
|
|
3034
|
+
} = chunkKHLPBCRZ_cjs.useWorkflowsPageState({
|
|
3035
3035
|
historyWorkflowId: requestedHistoryId ?? historyWorkflowId,
|
|
3036
3036
|
onHistoryWorkflowConsumed: consumeHistory
|
|
3037
3037
|
});
|
|
@@ -3074,14 +3074,14 @@ function ConnectedWorkflowsPage({
|
|
|
3074
3074
|
await refreshDocuments(execution.document_ext_ids);
|
|
3075
3075
|
await invalidateTags();
|
|
3076
3076
|
const fieldIds = execution.result?.tag_ext_ids ?? runsFor?.action?.tag_ext_ids ?? [];
|
|
3077
|
-
|
|
3077
|
+
chunkUR4OSH2Q_cjs.useAiReviewStore.getState().setRun({
|
|
3078
3078
|
docIds: execution.document_ext_ids,
|
|
3079
3079
|
tags: fieldIds.map((fieldId) => ({
|
|
3080
3080
|
id: fieldId,
|
|
3081
3081
|
name: tags.find((tag) => tag.external_id === fieldId)?.name ?? "Review"
|
|
3082
3082
|
}))
|
|
3083
3083
|
});
|
|
3084
|
-
|
|
3084
|
+
chunkUR4OSH2Q_cjs.useAiReviewStore.getState().setOpen(true);
|
|
3085
3085
|
openFiles(
|
|
3086
3086
|
execution.label_ext_id ? { filters: { [execution.label_ext_id]: "include" } } : void 0
|
|
3087
3087
|
);
|
|
@@ -3089,9 +3089,9 @@ function ConnectedWorkflowsPage({
|
|
|
3089
3089
|
const renderErrorReport = config?.renderErrorReport;
|
|
3090
3090
|
const running = runningId ? config?.catalogue?.find((entry) => entry.workflow.id === runningId) : void 0;
|
|
3091
3091
|
if (running && running.runnable !== false) {
|
|
3092
|
-
const stepWorkflows = config?.stepWorkflows ??
|
|
3092
|
+
const stepWorkflows = config?.stepWorkflows ?? chunkE6S6WHXL_cjs.WEB_WORKFLOWS;
|
|
3093
3093
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3094
|
-
|
|
3094
|
+
chunkKHLPBCRZ_cjs.ConnectedWorkflowRunner,
|
|
3095
3095
|
{
|
|
3096
3096
|
layout: "page",
|
|
3097
3097
|
workflow: running.workflow,
|
|
@@ -3164,7 +3164,7 @@ function ConnectedWorkflowsPage({
|
|
|
3164
3164
|
{
|
|
3165
3165
|
workflowId: builder.kind === "saved" ? builder.id : void 0,
|
|
3166
3166
|
initial: template ? { workflow: template.workflow, trigger: DEFAULT_WORKFLOW_TRIGGER } : void 0,
|
|
3167
|
-
workflows: config?.stepWorkflows ??
|
|
3167
|
+
workflows: config?.stepWorkflows ?? chunkE6S6WHXL_cjs.WEB_WORKFLOWS,
|
|
3168
3168
|
renderIcon: config?.renderIcon,
|
|
3169
3169
|
onSaved: (id) => builderSaved(id, builderKey),
|
|
3170
3170
|
testId: "workflow-builder-canvas",
|
|
@@ -3179,7 +3179,7 @@ function ConnectedWorkflowsPage({
|
|
|
3179
3179
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": testId, children: [
|
|
3180
3180
|
pageHeader && /* @__PURE__ */ jsxRuntime.jsx(chunkNSD37OF5_cjs.PageHeader, { ...pageHeader }),
|
|
3181
3181
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3182
|
-
|
|
3182
|
+
chunkPGTDQBMX_cjs.ConnectedWorkflowsTable,
|
|
3183
3183
|
{
|
|
3184
3184
|
onOpenTemplate: (id) => openBuilder({ kind: "template", id }),
|
|
3185
3185
|
tabs: [
|
|
@@ -3209,7 +3209,7 @@ function ConnectedWorkflowsPage({
|
|
|
3209
3209
|
}
|
|
3210
3210
|
},
|
|
3211
3211
|
content: hostTab ? hostTab.content : runsFor ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3212
|
-
|
|
3212
|
+
chunkKHLPBCRZ_cjs.ConnectedWorkflowHistory,
|
|
3213
3213
|
{
|
|
3214
3214
|
inline: true,
|
|
3215
3215
|
hideHeader: true,
|
|
@@ -3273,7 +3273,7 @@ function ConnectedWorkflowsPage({
|
|
|
3273
3273
|
}
|
|
3274
3274
|
),
|
|
3275
3275
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3276
|
-
|
|
3276
|
+
chunkKHLPBCRZ_cjs.ConnectedTaskComposer,
|
|
3277
3277
|
{
|
|
3278
3278
|
kind: "workflow",
|
|
3279
3279
|
saveOnly: true,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useRenderTaskPerson, useWorkflowsPageState, ConnectedWorkflowRunner, ConnectedWorkflowHistory, ConnectedTaskComposer } from '../chunk-
|
|
3
|
-
import { useAiReviewStore } from '../chunk-
|
|
2
|
+
import { useRenderTaskPerson, useWorkflowsPageState, ConnectedWorkflowRunner, ConnectedWorkflowHistory, ConnectedTaskComposer } from '../chunk-AWFEB4YJ.js';
|
|
3
|
+
import { useAiReviewStore } from '../chunk-IJ2CTMA7.js';
|
|
4
4
|
import '../chunk-RAUSAVC7.js';
|
|
5
5
|
import '../chunk-57CG33XJ.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-DBPPOJQM.js';
|
|
7
|
+
import '../chunk-SBFQF3BU.js';
|
|
8
8
|
import '../chunk-XRL4R2TT.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import { ConnectedWorkflowsTable } from '../chunk-
|
|
9
|
+
import '../chunk-NRI5DKJE.js';
|
|
10
|
+
import { ConnectedWorkflowsTable } from '../chunk-EASXRDYQ.js';
|
|
11
11
|
import '../chunk-MTSKK3BN.js';
|
|
12
12
|
import '../chunk-R4SUGJVR.js';
|
|
13
13
|
import { useOpenWorkflow } from '../chunk-DSTM7SY3.js';
|
|
14
14
|
import '../chunk-TROXWCQQ.js';
|
|
15
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-HWNVAQBX.js';
|
|
16
16
|
import '../chunk-OHRWYRTH.js';
|
|
17
17
|
import '../chunk-TSH726KP.js';
|
|
18
18
|
import '../chunk-RC6VTY2H.js';
|
|
@@ -29,23 +29,23 @@ import '../chunk-LCL4DBCQ.js';
|
|
|
29
29
|
import '../chunk-AAGR47JS.js';
|
|
30
30
|
import '../chunk-IYUKJESY.js';
|
|
31
31
|
import '../chunk-AF6RDAJF.js';
|
|
32
|
-
import '../chunk-
|
|
32
|
+
import '../chunk-B3BD5IJR.js';
|
|
33
33
|
import '../chunk-5B74B62N.js';
|
|
34
34
|
import '../chunk-UH7LTR2B.js';
|
|
35
35
|
import '../chunk-K4BGOPGG.js';
|
|
36
36
|
import { PageHeader } from '../chunk-XCVLUXFP.js';
|
|
37
37
|
import '../chunk-WKYKDTNM.js';
|
|
38
|
-
import { useWorkflowPreview } from '../chunk-
|
|
39
|
-
import { workflowWhen, isoToLocalInput, RecurrenceBuilder, WorkflowRunner, WEB_WORKFLOWS, localInputToIso } from '../chunk-
|
|
38
|
+
import { useWorkflowPreview } from '../chunk-W7CQ5MLR.js';
|
|
39
|
+
import { workflowWhen, isoToLocalInput, RecurrenceBuilder, WorkflowRunner, WEB_WORKFLOWS, localInputToIso } from '../chunk-V2QWATXQ.js';
|
|
40
40
|
import { isIncompleteSignal, fromPlanSteps, layoutFromPlanSteps, describeRRule, describeTrigger, toPlanSteps } from '../chunk-3TKRCYFN.js';
|
|
41
41
|
import { ChevronShape } from '../chunk-LRPGXNMA.js';
|
|
42
42
|
import '../chunk-CQCC7LE7.js';
|
|
43
43
|
import '../chunk-UCVGWGI6.js';
|
|
44
44
|
import { DEFAULT_STEP_KIND_LABELS, WORKFLOW_STEP_KINDS, STEP_KIND_ICONS, stepKindOf } from '../chunk-TX6BIWIH.js';
|
|
45
|
-
import { AgentSelect } from '../chunk-
|
|
45
|
+
import { AgentSelect } from '../chunk-IRCGXKLB.js';
|
|
46
46
|
import '../chunk-4QUUU7GH.js';
|
|
47
47
|
import '../chunk-MXF3MHYC.js';
|
|
48
|
-
import '../chunk-
|
|
48
|
+
import '../chunk-KG3W76BB.js';
|
|
49
49
|
import { workflowSteps, dependsOn, stepLevels, runFields, upstreamSteps, stepDependencies, canAssign, validateWorkflowGraph, stepConfigProblems, mergeSkillWorkflows, assigneeName, orderSteps } from '../chunk-3D7SX5ZS.js';
|
|
50
50
|
import '../chunk-M4S75AEJ.js';
|
|
51
51
|
import '../chunk-5LXQPP2K.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/coedit",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.76",
|
|
4
4
|
"description": "Real-time collaboration for the ARBI native DOCX editor: a Yjs mirror of the canonical OOXML package, session, and server runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/blocks",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.76",
|
|
4
4
|
"description": "Composable, domain-neutral UI blocks for ARBI apps, organised by capability (retrieval, facts, agents, workspaces, citations, collaboration) plus shell, theme and site primitives, on top of @arbidocs/react.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -315,9 +315,9 @@
|
|
|
315
315
|
"example:test:e2e": "playwright test -c examples/custom-ui/playwright.config.ts"
|
|
316
316
|
},
|
|
317
317
|
"dependencies": {
|
|
318
|
-
"@arbidocs/client": "0.5.
|
|
319
|
-
"@arbidocs/coedit": "0.5.
|
|
320
|
-
"@arbidocs/sdk": "0.5.
|
|
318
|
+
"@arbidocs/client": "0.5.76",
|
|
319
|
+
"@arbidocs/coedit": "0.5.76",
|
|
320
|
+
"@arbidocs/sdk": "0.5.76",
|
|
321
321
|
"@auth0/auth0-react": "^2.19.0",
|
|
322
322
|
"@dnd-kit/core": "^6.3.1",
|
|
323
323
|
"@dnd-kit/sortable": "^10.0.0",
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
"y-protocols": "^1.0.6"
|
|
367
367
|
},
|
|
368
368
|
"peerDependencies": {
|
|
369
|
-
"@arbidocs/react": "0.5.
|
|
369
|
+
"@arbidocs/react": "0.5.76",
|
|
370
370
|
"@lexical/html": "0.35.0",
|
|
371
371
|
"@lexical/link": "0.35.0",
|
|
372
372
|
"@lexical/list": "0.35.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ConnectedStreamedWordArtifact-7TNIQTVE.cjs"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ConnectedStreamedWordArtifact-XEFXYMKS.js"}
|