@arbidocs/blocks 0.5.100 → 0.5.101
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 +9 -1
- package/dist/{ConnectedNativeDocxComparison-3UJZR52S.cjs → ConnectedNativeDocxComparison-6BQ2WFF6.cjs} +7 -7
- package/dist/{ConnectedNativeDocxComparison-3UJZR52S.cjs.map → ConnectedNativeDocxComparison-6BQ2WFF6.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-VGJLNVM4.js → ConnectedNativeDocxComparison-DIRGCHMY.js} +6 -6
- package/dist/{ConnectedStreamedWordArtifact-MJAVZ3NR.js.map → ConnectedNativeDocxComparison-DIRGCHMY.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-A6PGFR35.cjs → ConnectedNativeDocxEditor-4HNYAZEG.cjs} +7 -7
- package/dist/{ConnectedNativeDocxEditor-A6PGFR35.cjs.map → ConnectedNativeDocxEditor-4HNYAZEG.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-O7QEWYGG.js → ConnectedNativeDocxEditor-DKSE3R6C.js} +5 -5
- package/dist/{ConnectedNativeDocxEditor-O7QEWYGG.js.map → ConnectedNativeDocxEditor-DKSE3R6C.js.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-Q7TWGK4B.cjs → ConnectedStreamedWordArtifact-S5I5QCZ7.cjs} +7 -7
- package/dist/ConnectedStreamedWordArtifact-S5I5QCZ7.cjs.map +1 -0
- package/dist/{ConnectedStreamedWordArtifact-MJAVZ3NR.js → ConnectedStreamedWordArtifact-USNAF4ZM.js} +6 -6
- package/dist/{ConnectedNativeDocxComparison-VGJLNVM4.js.map → ConnectedStreamedWordArtifact-USNAF4ZM.js.map} +1 -1
- package/dist/{DocumentReviewCard-7VJ3MMYG.cjs → DocumentReviewCard-QHYHBDUA.cjs} +13 -13
- package/dist/{DocumentReviewCard-7VJ3MMYG.cjs.map → DocumentReviewCard-QHYHBDUA.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-5NZM6FOB.js → DocumentReviewCard-TFAJYWS6.js} +8 -8
- package/dist/{DocumentReviewCard-5NZM6FOB.js.map → DocumentReviewCard-TFAJYWS6.js.map} +1 -1
- package/dist/{FilesViewerDialog-5VML4F5E.js → FilesViewerDialog-LE5GQQDX.js} +7 -7
- package/dist/{FilesViewerDialog-5VML4F5E.js.map → FilesViewerDialog-LE5GQQDX.js.map} +1 -1
- package/dist/{FilesViewerDialog-IQ5UDAZX.cjs → FilesViewerDialog-Y5YZJ5O2.cjs} +8 -8
- package/dist/{FilesViewerDialog-IQ5UDAZX.cjs.map → FilesViewerDialog-Y5YZJ5O2.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-ZIQ7JWT5.cjs → WorkspaceTableView-3D6SYOWT.cjs} +4 -4
- package/dist/{WorkspaceTableView-ZIQ7JWT5.cjs.map → WorkspaceTableView-3D6SYOWT.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-DYABS53K.js → WorkspaceTableView-WD754UBK.js} +3 -3
- package/dist/{WorkspaceTableView-DYABS53K.js.map → WorkspaceTableView-WD754UBK.js.map} +1 -1
- package/dist/agents/index.cjs +186 -186
- package/dist/agents/index.js +4 -4
- package/dist/{chunk-ERDQ4DAX.cjs → chunk-2GFB43GN.cjs} +4 -4
- package/dist/{chunk-ERDQ4DAX.cjs.map → chunk-2GFB43GN.cjs.map} +1 -1
- package/dist/{chunk-WGAGIF4F.cjs → chunk-2ROYKDEA.cjs} +4 -4
- package/dist/{chunk-WGAGIF4F.cjs.map → chunk-2ROYKDEA.cjs.map} +1 -1
- package/dist/{chunk-4VSRSF4Q.cjs → chunk-2VWE46ZF.cjs} +114 -57
- package/dist/chunk-2VWE46ZF.cjs.map +1 -0
- package/dist/{chunk-IK4MSXXR.cjs → chunk-4IRS55N2.cjs} +50 -31
- package/dist/chunk-4IRS55N2.cjs.map +1 -0
- package/dist/{chunk-Z4VWLWFX.js → chunk-4IXUIRXB.js} +3 -3
- package/dist/{chunk-Z4VWLWFX.js.map → chunk-4IXUIRXB.js.map} +1 -1
- package/dist/{chunk-KBXATCF4.cjs → chunk-ANT32I6E.cjs} +8 -8
- package/dist/{chunk-KBXATCF4.cjs.map → chunk-ANT32I6E.cjs.map} +1 -1
- package/dist/{chunk-SWW3KBH2.js → chunk-AZGELQSS.js} +4 -4
- package/dist/{chunk-SWW3KBH2.js.map → chunk-AZGELQSS.js.map} +1 -1
- package/dist/{chunk-RAF72BBC.cjs → chunk-DVGT3MU6.cjs} +4 -4
- package/dist/{chunk-RAF72BBC.cjs.map → chunk-DVGT3MU6.cjs.map} +1 -1
- package/dist/{chunk-TVJAVK2G.js → chunk-DW5DFV4O.js} +4 -4
- package/dist/{chunk-TVJAVK2G.js.map → chunk-DW5DFV4O.js.map} +1 -1
- package/dist/{chunk-4AQ47AB4.js → chunk-DWSSFIK2.js} +3 -3
- package/dist/{chunk-4AQ47AB4.js.map → chunk-DWSSFIK2.js.map} +1 -1
- package/dist/{chunk-R4JGE2XT.cjs → chunk-FXR6YYPC.cjs} +4 -4
- package/dist/{chunk-R4JGE2XT.cjs.map → chunk-FXR6YYPC.cjs.map} +1 -1
- package/dist/{chunk-22EZJLGW.js → chunk-G7DQFL52.js} +7 -7
- package/dist/{chunk-22EZJLGW.js.map → chunk-G7DQFL52.js.map} +1 -1
- package/dist/{chunk-MT3RPUQC.cjs → chunk-H7UDEZEO.cjs} +4 -4
- package/dist/{chunk-MT3RPUQC.cjs.map → chunk-H7UDEZEO.cjs.map} +1 -1
- package/dist/{chunk-UNQE3JWX.js → chunk-HPS5O6XK.js} +4 -4
- package/dist/{chunk-MM5Q7AJL.cjs.map → chunk-HPS5O6XK.js.map} +1 -1
- package/dist/{chunk-ETYBZA5E.cjs → chunk-IGVTLCHD.cjs} +4 -4
- package/dist/{chunk-ETYBZA5E.cjs.map → chunk-IGVTLCHD.cjs.map} +1 -1
- package/dist/{chunk-J24LYNTY.cjs → chunk-ILH2KOHA.cjs} +37 -37
- package/dist/{chunk-J24LYNTY.cjs.map → chunk-ILH2KOHA.cjs.map} +1 -1
- package/dist/{chunk-7F5Z4K5W.js → chunk-IU5CHOEU.js} +9 -10
- package/dist/chunk-IU5CHOEU.js.map +1 -0
- package/dist/{chunk-ZATTTPWL.cjs → chunk-KCP42W67.cjs} +4 -4
- package/dist/{chunk-ZATTTPWL.cjs.map → chunk-KCP42W67.cjs.map} +1 -1
- package/dist/{chunk-YG4S7OCD.js → chunk-LNWEJJUY.js} +3 -3
- package/dist/{chunk-YG4S7OCD.js.map → chunk-LNWEJJUY.js.map} +1 -1
- package/dist/{chunk-KYR3TXHS.js → chunk-OLCQPGB4.js} +3 -3
- package/dist/{chunk-KYR3TXHS.js.map → chunk-OLCQPGB4.js.map} +1 -1
- package/dist/{chunk-STCXXO7T.js → chunk-PGCKTXYH.js} +3 -3
- package/dist/{chunk-STCXXO7T.js.map → chunk-PGCKTXYH.js.map} +1 -1
- package/dist/{chunk-7GPQBAIL.cjs → chunk-Q3OLTA47.cjs} +4 -4
- package/dist/{chunk-7GPQBAIL.cjs.map → chunk-Q3OLTA47.cjs.map} +1 -1
- package/dist/{chunk-UBI4HXT6.js → chunk-Q45LV2DL.js} +5 -5
- package/dist/{chunk-UBI4HXT6.js.map → chunk-Q45LV2DL.js.map} +1 -1
- package/dist/{chunk-Z7XKBKQN.js → chunk-QAKL6LNR.js} +8 -8
- package/dist/{chunk-Z7XKBKQN.js.map → chunk-QAKL6LNR.js.map} +1 -1
- package/dist/{chunk-USIRUI2M.cjs → chunk-QSPKL754.cjs} +29 -29
- package/dist/{chunk-USIRUI2M.cjs.map → chunk-QSPKL754.cjs.map} +1 -1
- package/dist/{chunk-HJBVSG6H.cjs → chunk-QYDMOBGP.cjs} +4 -4
- package/dist/{chunk-HJBVSG6H.cjs.map → chunk-QYDMOBGP.cjs.map} +1 -1
- package/dist/{chunk-OYSTBNNA.js → chunk-R3AHNYSS.js} +3 -3
- package/dist/{chunk-OYSTBNNA.js.map → chunk-R3AHNYSS.js.map} +1 -1
- package/dist/{chunk-JLTPQDQB.js → chunk-RP3IDFHS.js} +3 -3
- package/dist/{chunk-JLTPQDQB.js.map → chunk-RP3IDFHS.js.map} +1 -1
- package/dist/{chunk-ZAKDIJBP.cjs → chunk-RV2YGRV6.cjs} +48 -48
- package/dist/{chunk-ZAKDIJBP.cjs.map → chunk-RV2YGRV6.cjs.map} +1 -1
- package/dist/{chunk-SWILV6LT.cjs → chunk-TGHBXJTN.cjs} +4 -4
- package/dist/{chunk-SWILV6LT.cjs.map → chunk-TGHBXJTN.cjs.map} +1 -1
- package/dist/{chunk-MM5Q7AJL.cjs → chunk-TQXMASFX.cjs} +8 -8
- package/dist/chunk-TQXMASFX.cjs.map +1 -0
- package/dist/{chunk-VW6MFQFW.js → chunk-UPXQDULH.js} +112 -55
- package/dist/chunk-UPXQDULH.js.map +1 -0
- package/dist/{chunk-L3V2ANBD.js → chunk-VEHHI5WS.js} +3 -3
- package/dist/{chunk-L3V2ANBD.js.map → chunk-VEHHI5WS.js.map} +1 -1
- package/dist/{chunk-6OEAZ2TJ.js → chunk-VJQCOZ7O.js} +50 -31
- package/dist/chunk-VJQCOZ7O.js.map +1 -0
- package/dist/{chunk-VD33HXFZ.cjs → chunk-WW2H5C6L.cjs} +28 -28
- package/dist/{chunk-VD33HXFZ.cjs.map → chunk-WW2H5C6L.cjs.map} +1 -1
- package/dist/{chunk-OOYT5A7W.js → chunk-X2QJWFFO.js} +3 -3
- package/dist/{chunk-OOYT5A7W.js.map → chunk-X2QJWFFO.js.map} +1 -1
- package/dist/{chunk-FADUFGZD.js → chunk-XCE4HB3F.js} +3 -3
- package/dist/{chunk-FADUFGZD.js.map → chunk-XCE4HB3F.js.map} +1 -1
- package/dist/{chunk-LKK52DEY.cjs → chunk-XNXNLXIC.cjs} +9 -10
- package/dist/chunk-XNXNLXIC.cjs.map +1 -0
- package/dist/collaboration/index.cjs +70 -70
- package/dist/collaboration/index.js +2 -2
- package/dist/connect/docx.cjs +10 -10
- package/dist/connect/docx.js +6 -6
- package/dist/connect/index.cjs +680 -644
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +106 -70
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/viewer.cjs +6 -6
- package/dist/connect/viewer.js +5 -5
- package/dist/connection/files/grid/documentCellRenderers.d.ts +19 -4
- package/dist/connection/files/grid/useDocumentGridSync.d.ts +4 -15
- package/dist/connection/files/grid/useDocumentTable.d.ts +0 -1
- package/dist/databases/index.cjs +49 -49
- package/dist/databases/index.js +2 -2
- package/dist/embed/index.cjs +12 -12
- package/dist/embed/index.js +6 -6
- package/dist/files/index.cjs +224 -224
- package/dist/files/index.js +2 -2
- package/dist/index.cjs +299 -299
- package/dist/index.js +6 -6
- package/dist/tags/TagTable.d.ts +4 -1
- package/dist/workflow-canvas/index.cjs +22 -22
- package/dist/workflow-canvas/index.js +11 -11
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +10 -6
- package/dist/ConnectedStreamedWordArtifact-Q7TWGK4B.cjs.map +0 -1
- package/dist/chunk-4VSRSF4Q.cjs.map +0 -1
- package/dist/chunk-6OEAZ2TJ.js.map +0 -1
- package/dist/chunk-7F5Z4K5W.js.map +0 -1
- package/dist/chunk-IK4MSXXR.cjs.map +0 -1
- package/dist/chunk-LKK52DEY.cjs.map +0 -1
- package/dist/chunk-UNQE3JWX.js.map +0 -1
- package/dist/chunk-VW6MFQFW.js.map +0 -1
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { page, minuteUtc, cell, paragraph, documentXml, docxPackage, TABLE_DOCUMENT_STYLES, groupDefinitions, compareDefinitions } from './chunk-IYUKJESY.js';
|
|
3
3
|
import { RowNavigatorControls } from './chunk-ELA7Y5YW.js';
|
|
4
4
|
import { DetailLoading, DetailBody, DetailSection, DetailLinkList, DetailLinkItem, DetailEmpty, DetailFields, DetailField } from './chunk-OC2PD52M.js';
|
|
5
|
-
import { taskActivityHeadline, DEFAULT_TASK_ACTIVITY_LABELS } from './chunk-
|
|
6
|
-
import { GridView } from './chunk-
|
|
5
|
+
import { taskActivityHeadline, DEFAULT_TASK_ACTIVITY_LABELS } from './chunk-AZGELQSS.js';
|
|
6
|
+
import { GridView } from './chunk-IU5CHOEU.js';
|
|
7
7
|
import { DocumentPicker } from './chunk-WNDIVNPT.js';
|
|
8
8
|
import { ModalHeader } from './chunk-TX2ZICS7.js';
|
|
9
|
-
import { useState, useEffect, useMemo, useCallback } from 'react';
|
|
9
|
+
import { useState, useEffect, useMemo, useCallback, useRef } from 'react';
|
|
10
10
|
import { Sparkle, Search, Pencil, ArrowUp, ArrowDown, X, Plus, Loader2, ArrowUpRight, ChevronDown, MoreHorizontal, SlidersHorizontal, FileDown, Download, FileText, Lightbulb, MessagesSquare, Workflow, MessageSquare, Activity } from 'lucide-react';
|
|
11
11
|
import { cn, Input, Textarea, Button, Checkbox, TagEntity, Popover, PopoverTrigger, PopoverContent, getEntityLabel, tagKindNouns, tagKindTitle, isImageDocument, getDocumentTitle, Dialog, DialogContent, DialogTitle, DialogDescription } from '@arbidocs/react/ui';
|
|
12
12
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -773,9 +773,23 @@ function TagTableCell({
|
|
|
773
773
|
const value = cellValue(row, column);
|
|
774
774
|
const nameOf = (id) => (column.type === "tag" ? tags : people)?.find((p) => p.value === id)?.label;
|
|
775
775
|
const shown = cellText(value, column, nameOf);
|
|
776
|
+
const stored = cellText(value, column);
|
|
776
777
|
const [draft, setDraft] = useState(shown);
|
|
777
|
-
|
|
778
|
-
const
|
|
778
|
+
const storedRef = useRef(stored);
|
|
779
|
+
const draftRef = useRef(draft);
|
|
780
|
+
draftRef.current = draft;
|
|
781
|
+
const editing = useRef(null);
|
|
782
|
+
useEffect(() => {
|
|
783
|
+
storedRef.current = stored;
|
|
784
|
+
const typing = editing.current;
|
|
785
|
+
if (typing && draftRef.current !== typing.from) return;
|
|
786
|
+
if (typing) typing.from = stored;
|
|
787
|
+
setDraft(stored);
|
|
788
|
+
}, [stored]);
|
|
789
|
+
const set = (next) => {
|
|
790
|
+
const saving = onChange?.(row.external_id, column.id, next);
|
|
791
|
+
if (saving instanceof Promise) saving.catch(() => setDraft(storedRef.current));
|
|
792
|
+
};
|
|
779
793
|
if (column.type === "tag")
|
|
780
794
|
return /* @__PURE__ */ jsx(
|
|
781
795
|
TagLinkCell,
|
|
@@ -824,7 +838,7 @@ function TagTableCell({
|
|
|
824
838
|
}
|
|
825
839
|
default: {
|
|
826
840
|
const commit = () => {
|
|
827
|
-
if (draft !==
|
|
841
|
+
if (draft !== stored) set(parseCell(draft, column.type));
|
|
828
842
|
};
|
|
829
843
|
return /* @__PURE__ */ jsx(
|
|
830
844
|
"input",
|
|
@@ -833,10 +847,14 @@ function TagTableCell({
|
|
|
833
847
|
type: column.type === "number" ? "number" : column.type === "date" ? "date" : "text",
|
|
834
848
|
value: column.type === "date" ? draft.slice(0, 10) : draft,
|
|
835
849
|
onChange: (e) => setDraft(e.target.value),
|
|
836
|
-
|
|
850
|
+
onFocus: () => editing.current = { from: stored },
|
|
851
|
+
onBlur: () => {
|
|
852
|
+
editing.current = null;
|
|
853
|
+
commit();
|
|
854
|
+
},
|
|
837
855
|
onKeyDown: (e) => {
|
|
838
856
|
if (e.key === "Enter") e.target.blur();
|
|
839
|
-
if (e.key === "Escape") setDraft(
|
|
857
|
+
if (e.key === "Escape") setDraft(stored);
|
|
840
858
|
},
|
|
841
859
|
"aria-label": `${row.name}: ${column.name}`,
|
|
842
860
|
"data-testid": testId
|
|
@@ -999,6 +1017,76 @@ function TagContentCounts({
|
|
|
999
1017
|
] })
|
|
1000
1018
|
] }, kind)) });
|
|
1001
1019
|
}
|
|
1020
|
+
function TagRowNameRenderer({
|
|
1021
|
+
data: row,
|
|
1022
|
+
onOpenRow,
|
|
1023
|
+
testId
|
|
1024
|
+
}) {
|
|
1025
|
+
if (!row) return null;
|
|
1026
|
+
return onOpenRow ? /* @__PURE__ */ jsx(
|
|
1027
|
+
"button",
|
|
1028
|
+
{
|
|
1029
|
+
type: "button",
|
|
1030
|
+
className: cn(ROW_LABEL, "text-left font-medium hover:text-primary hover:underline"),
|
|
1031
|
+
title: row.name,
|
|
1032
|
+
onClick: () => onOpenRow(row.external_id),
|
|
1033
|
+
"data-testid": `${testId}-row-${row.external_id}-label`,
|
|
1034
|
+
children: /* @__PURE__ */ jsx(TagEntity, { tag: row, showTooltip: false, wrap: true })
|
|
1035
|
+
}
|
|
1036
|
+
) : /* @__PURE__ */ jsx(
|
|
1037
|
+
"span",
|
|
1038
|
+
{
|
|
1039
|
+
className: cn(ROW_LABEL, "font-medium"),
|
|
1040
|
+
title: row.name,
|
|
1041
|
+
"data-testid": `${testId}-row-${row.external_id}-label`,
|
|
1042
|
+
children: /* @__PURE__ */ jsx(TagEntity, { tag: row, showTooltip: false, wrap: true })
|
|
1043
|
+
}
|
|
1044
|
+
);
|
|
1045
|
+
}
|
|
1046
|
+
function TagEvidenceRenderer({
|
|
1047
|
+
data: row,
|
|
1048
|
+
l,
|
|
1049
|
+
onOpenRow,
|
|
1050
|
+
onOpenTaggedItems,
|
|
1051
|
+
testId
|
|
1052
|
+
}) {
|
|
1053
|
+
if (!row) return null;
|
|
1054
|
+
return /* @__PURE__ */ jsx(
|
|
1055
|
+
TagContentCounts,
|
|
1056
|
+
{
|
|
1057
|
+
row,
|
|
1058
|
+
l,
|
|
1059
|
+
onOpenRow,
|
|
1060
|
+
onOpenTaggedItems,
|
|
1061
|
+
testId: `${testId}-evidence-${row.external_id}`
|
|
1062
|
+
}
|
|
1063
|
+
);
|
|
1064
|
+
}
|
|
1065
|
+
function TagFieldRenderer({
|
|
1066
|
+
data: row,
|
|
1067
|
+
field,
|
|
1068
|
+
people,
|
|
1069
|
+
tags,
|
|
1070
|
+
onOpenTag,
|
|
1071
|
+
onChangeValue,
|
|
1072
|
+
l,
|
|
1073
|
+
testId
|
|
1074
|
+
}) {
|
|
1075
|
+
if (!row) return null;
|
|
1076
|
+
return /* @__PURE__ */ jsx(
|
|
1077
|
+
TagTableCell,
|
|
1078
|
+
{
|
|
1079
|
+
row,
|
|
1080
|
+
column: field,
|
|
1081
|
+
people,
|
|
1082
|
+
tags,
|
|
1083
|
+
onOpenTag,
|
|
1084
|
+
onChange: onChangeValue,
|
|
1085
|
+
l,
|
|
1086
|
+
testId: `${testId}-cell-${row.external_id}-${field.id}`
|
|
1087
|
+
}
|
|
1088
|
+
);
|
|
1089
|
+
}
|
|
1002
1090
|
function TagTable({
|
|
1003
1091
|
table,
|
|
1004
1092
|
isLoading,
|
|
@@ -1049,28 +1137,8 @@ function TagTable({
|
|
|
1049
1137
|
filter: false,
|
|
1050
1138
|
autoHeight: true,
|
|
1051
1139
|
cellClass: "px-3! py-2! leading-normal!",
|
|
1052
|
-
cellRenderer:
|
|
1053
|
-
|
|
1054
|
-
{
|
|
1055
|
-
type: "button",
|
|
1056
|
-
className: cn(
|
|
1057
|
-
ROW_LABEL,
|
|
1058
|
-
"text-left font-medium hover:text-primary hover:underline"
|
|
1059
|
-
),
|
|
1060
|
-
title: row.name,
|
|
1061
|
-
onClick: () => onOpenRow(row.external_id),
|
|
1062
|
-
"data-testid": `${testId}-row-${row.external_id}-label`,
|
|
1063
|
-
children: /* @__PURE__ */ jsx(TagEntity, { tag: row, showTooltip: false, wrap: true })
|
|
1064
|
-
}
|
|
1065
|
-
) : /* @__PURE__ */ jsx(
|
|
1066
|
-
"span",
|
|
1067
|
-
{
|
|
1068
|
-
className: cn(ROW_LABEL, "font-medium"),
|
|
1069
|
-
title: row.name,
|
|
1070
|
-
"data-testid": `${testId}-row-${row.external_id}-label`,
|
|
1071
|
-
children: /* @__PURE__ */ jsx(TagEntity, { tag: row, showTooltip: false, wrap: true })
|
|
1072
|
-
}
|
|
1073
|
-
) : null
|
|
1140
|
+
cellRenderer: TagRowNameRenderer,
|
|
1141
|
+
cellRendererParams: { onOpenRow, testId }
|
|
1074
1142
|
},
|
|
1075
1143
|
{
|
|
1076
1144
|
colId: "evidence",
|
|
@@ -1087,16 +1155,8 @@ function TagTable({
|
|
|
1087
1155
|
const links = rowLinks(data);
|
|
1088
1156
|
return links.doc_count + links.fact_count + links.thread_count;
|
|
1089
1157
|
},
|
|
1090
|
-
cellRenderer:
|
|
1091
|
-
|
|
1092
|
-
{
|
|
1093
|
-
row,
|
|
1094
|
-
l,
|
|
1095
|
-
onOpenRow,
|
|
1096
|
-
onOpenTaggedItems,
|
|
1097
|
-
testId: `${testId}-evidence-${row.external_id}`
|
|
1098
|
-
}
|
|
1099
|
-
) : null
|
|
1158
|
+
cellRenderer: TagEvidenceRenderer,
|
|
1159
|
+
cellRendererParams: { l, onOpenRow, onOpenTaggedItems, testId }
|
|
1100
1160
|
},
|
|
1101
1161
|
...columns.map((column) => ({
|
|
1102
1162
|
colId: column.id,
|
|
@@ -1124,19 +1184,16 @@ function TagTable({
|
|
|
1124
1184
|
(id) => people?.find((p) => p.value === id)?.label ?? tags?.find((t) => t.value === id)?.label
|
|
1125
1185
|
);
|
|
1126
1186
|
},
|
|
1127
|
-
cellRenderer:
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
testId: `${testId}-cell-${row.external_id}-${column.id}`
|
|
1138
|
-
}
|
|
1139
|
-
) : null
|
|
1187
|
+
cellRenderer: TagFieldRenderer,
|
|
1188
|
+
cellRendererParams: {
|
|
1189
|
+
field: column,
|
|
1190
|
+
people,
|
|
1191
|
+
tags,
|
|
1192
|
+
onOpenTag,
|
|
1193
|
+
onChangeValue,
|
|
1194
|
+
l,
|
|
1195
|
+
testId
|
|
1196
|
+
}
|
|
1140
1197
|
}))
|
|
1141
1198
|
],
|
|
1142
1199
|
[columns, l, people, tags, onOpenRow, onOpenTaggedItems, onOpenTag, onChangeValue, testId]
|
|
@@ -1838,5 +1895,5 @@ function ExtractEntitiesDialog({
|
|
|
1838
1895
|
}
|
|
1839
1896
|
|
|
1840
1897
|
export { DEFAULT_GLOSSARY_LABELS, DEFAULT_TAG_COLUMNS_EDITOR_LABELS, DEFAULT_TAG_DETAIL_LABELS, DEFAULT_TAG_TABLE_DOCX_LABELS, DEFAULT_TAG_TABLE_LABELS, DEFAULT_WORKSPACE_ACTIVITY_LABELS, EXTRACT_LIMIT, EntityIdentityBar, ExtractEntitiesDialog, GridRowNavigator, IDENTITY_NAME_MAX_LENGTH, LoadingIndicator, TAG_TABLE_DOCX_LANDSCAPE_AFTER, TagColumnsEditor, TagDetail, TagTable, TagTableCell, Toolbar, WorkspaceActivityList, cellText, cellValue, documentCount, entitiesPhrase, fieldWrites, glossaryDocumentXml, glossaryDocx, glossaryEntries, glossaryFileName, glossaryMarkdown, isGap, parseCell, rowLinks, tagDetailLabels, tagKindDescription, tagNoteLabel, tagTableDocumentXml, tagTableDocx, tagTableLabels, tagTableMarkdown, tagsPageNouns, useTipsPlacement, workspaceActivityHeadline, workspaceActivityTarget };
|
|
1841
|
-
//# sourceMappingURL=chunk-
|
|
1842
|
-
//# sourceMappingURL=chunk-
|
|
1898
|
+
//# sourceMappingURL=chunk-UPXQDULH.js.map
|
|
1899
|
+
//# sourceMappingURL=chunk-UPXQDULH.js.map
|