@arbidocs/react 0.4.87 → 0.4.89
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/annotations/index.cjs +48 -48
- package/dist/annotations/index.js +2 -2
- package/dist/artifacts/index.cjs +19 -19
- package/dist/artifacts/index.js +3 -3
- package/dist/{chunk-AM6SJBD3.js → chunk-5UOGYTLH.js} +62 -4
- package/dist/chunk-5UOGYTLH.js.map +1 -0
- package/dist/{chunk-LTPB5WJ6.cjs → chunk-GNIDMHTU.cjs} +61 -3
- package/dist/chunk-GNIDMHTU.cjs.map +1 -0
- package/dist/{chunk-MXUWI2EU.js → chunk-GYHKZ6JQ.js} +4 -2
- package/dist/chunk-GYHKZ6JQ.js.map +1 -0
- package/dist/{chunk-GN25F3BB.js → chunk-IHTBAY57.js} +3 -3
- package/dist/{chunk-GN25F3BB.js.map → chunk-IHTBAY57.js.map} +1 -1
- package/dist/{chunk-ETZAJ6NM.cjs → chunk-L2PXZWJM.cjs} +3 -3
- package/dist/{chunk-ETZAJ6NM.cjs.map → chunk-L2PXZWJM.cjs.map} +1 -1
- package/dist/{chunk-OJ2AO53O.cjs → chunk-PYPYDBOT.cjs} +4 -2
- package/dist/chunk-PYPYDBOT.cjs.map +1 -0
- package/dist/document-tools/index.cjs +5 -5
- package/dist/document-tools/index.js +2 -2
- package/dist/{index-BVMBElCu.d.cts → index-Caaq8Rcm.d.cts} +54 -0
- package/dist/{index-BVMBElCu.d.ts → index-Caaq8Rcm.d.ts} +54 -0
- package/dist/index.cjs +299 -299
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +6 -6
- package/dist/ui/index.cjs +130 -130
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-AM6SJBD3.js.map +0 -1
- package/dist/chunk-LTPB5WJ6.cjs.map +0 -1
- package/dist/chunk-MXUWI2EU.js.map +0 -1
- package/dist/chunk-OJ2AO53O.cjs.map +0 -1
|
@@ -1,196 +1,196 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkL2PXZWJM_cjs = require('../chunk-L2PXZWJM.cjs');
|
|
4
|
+
var chunkSSOPIPEX_cjs = require('../chunk-SSOPIPEX.cjs');
|
|
4
5
|
require('../chunk-WYZJLZ67.cjs');
|
|
5
6
|
require('../chunk-HJDR5HEO.cjs');
|
|
6
7
|
require('../chunk-S6A6FSG7.cjs');
|
|
7
|
-
var chunkSSOPIPEX_cjs = require('../chunk-SSOPIPEX.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AUTOSAVE_MS", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkL2PXZWJM_cjs.AUTOSAVE_MS; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "AnnotationPageOverlay", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkL2PXZWJM_cjs.AnnotationPageOverlay; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "AnnotationStoreOfflineError", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkL2PXZWJM_cjs.AnnotationStoreOfflineError; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "AnnotationToolbar", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkL2PXZWJM_cjs.AnnotationToolbar; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DEFAULT_SETTINGS", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkL2PXZWJM_cjs.DEFAULT_SETTINGS; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "FreezeDialog", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkL2PXZWJM_cjs.FreezeDialog; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "HIGHLIGHT_COLORS", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkL2PXZWJM_cjs.HIGHLIGHT_COLORS; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MARK_COLORS", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkL2PXZWJM_cjs.MARK_COLORS; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "ProductionDialog", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkL2PXZWJM_cjs.ProductionDialog; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "REDACTION_LOG_COLUMNS", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkL2PXZWJM_cjs.REDACTION_LOG_COLUMNS; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "REDACTION_REASONS", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkL2PXZWJM_cjs.REDACTION_REASONS; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "RETRY_MS", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkL2PXZWJM_cjs.RETRY_MS; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "STAMP_PRESETS", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkL2PXZWJM_cjs.STAMP_PRESETS; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "annotationsOnPage", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkL2PXZWJM_cjs.annotationsOnPage; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "applyAction", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkL2PXZWJM_cjs.applyAction; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "canRedo", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkL2PXZWJM_cjs.canRedo; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "canUndo", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkL2PXZWJM_cjs.canUndo; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "containsPoint", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkL2PXZWJM_cjs.containsPoint; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "createHistory", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkL2PXZWJM_cjs.createHistory; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "createLocalStorageStore", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkL2PXZWJM_cjs.createLocalStorageStore; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "createMemoryStore", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkL2PXZWJM_cjs.createMemoryStore; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "dragRect", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkL2PXZWJM_cjs.dragRect; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "dragToNorm", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkL2PXZWJM_cjs.dragToNorm; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "intersects", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkL2PXZWJM_cjs.intersects; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "isTooSmall", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkL2PXZWJM_cjs.isTooSmall; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "layerStatusText", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkL2PXZWJM_cjs.layerStatusText; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "mergeLayers", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkL2PXZWJM_cjs.mergeLayers; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "mergeLineRects", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkL2PXZWJM_cjs.mergeLineRects; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "moveItem", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkL2PXZWJM_cjs.moveItem; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "patchForRect", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkL2PXZWJM_cjs.patchForRect; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "pendingRedactions", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkL2PXZWJM_cjs.pendingRedactions; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "qrCornerFor", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkL2PXZWJM_cjs.qrCornerFor; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "readSelection", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkL2PXZWJM_cjs.readSelection; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "redactionLogCsv", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkL2PXZWJM_cjs.redactionLogCsv; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "redactionLogRows", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkL2PXZWJM_cjs.redactionLogRows; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "redo", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkL2PXZWJM_cjs.redo; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "reduceLayer", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkL2PXZWJM_cjs.reduceLayer; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "sameMarks", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkL2PXZWJM_cjs.sameMarks; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "selectionToPageMarks", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkL2PXZWJM_cjs.selectionToPageMarks; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "singleRect", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkL2PXZWJM_cjs.singleRect; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "toNorm", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkL2PXZWJM_cjs.toNorm; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "toPixels", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkL2PXZWJM_cjs.toPixels; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "undo", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkL2PXZWJM_cjs.undo; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "useAnnotationLayer", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkL2PXZWJM_cjs.useAnnotationLayer; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "useAnnotationShortcuts", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkL2PXZWJM_cjs.useAnnotationShortcuts; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "useTextSelectionMarks", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkL2PXZWJM_cjs.useTextSelectionMarks; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "AnnotationLayerError", {
|
|
196
196
|
enumerable: true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { AUTOSAVE_MS, AnnotationPageOverlay, AnnotationStoreOfflineError, AnnotationToolbar, DEFAULT_SETTINGS, FreezeDialog, HIGHLIGHT_COLORS, MARK_COLORS, ProductionDialog, REDACTION_LOG_COLUMNS, REDACTION_REASONS, RETRY_MS, STAMP_PRESETS, annotationsOnPage, applyAction, canRedo, canUndo, containsPoint, createHistory, createLocalStorageStore, createMemoryStore, dragRect, dragToNorm, intersects, isTooSmall, layerStatusText, mergeLayers, mergeLineRects, moveItem, patchForRect, pendingRedactions, qrCornerFor, readSelection, redactionLogCsv, redactionLogRows, redo, reduceLayer, sameMarks, selectionToPageMarks, singleRect, toNorm, toPixels, undo, useAnnotationLayer, useAnnotationShortcuts, useTextSelectionMarks } from '../chunk-
|
|
1
|
+
export { AUTOSAVE_MS, AnnotationPageOverlay, AnnotationStoreOfflineError, AnnotationToolbar, DEFAULT_SETTINGS, FreezeDialog, HIGHLIGHT_COLORS, MARK_COLORS, ProductionDialog, REDACTION_LOG_COLUMNS, REDACTION_REASONS, RETRY_MS, STAMP_PRESETS, annotationsOnPage, applyAction, canRedo, canUndo, containsPoint, createHistory, createLocalStorageStore, createMemoryStore, dragRect, dragToNorm, intersects, isTooSmall, layerStatusText, mergeLayers, mergeLineRects, moveItem, patchForRect, pendingRedactions, qrCornerFor, readSelection, redactionLogCsv, redactionLogRows, redo, reduceLayer, sameMarks, selectionToPageMarks, singleRect, toNorm, toPixels, undo, useAnnotationLayer, useAnnotationShortcuts, useTextSelectionMarks } from '../chunk-IHTBAY57.js';
|
|
2
|
+
export { AnnotationLayerError, LAYER_SCHEMA_VERSION, annotationRects, clampRect, emptyLayer, isEffectiveRedaction, parseAnnotation, parseLayer } from '../chunk-COWZGCL5.js';
|
|
2
3
|
import '../chunk-YNNAJJ5Z.js';
|
|
3
4
|
import '../chunk-47CCGUWR.js';
|
|
4
5
|
import '../chunk-SN5YV6FF.js';
|
|
5
|
-
export { AnnotationLayerError, LAYER_SCHEMA_VERSION, annotationRects, clampRect, emptyLayer, isEffectiveRedaction, parseAnnotation, parseLayer } from '../chunk-COWZGCL5.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/artifacts/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var chunkPYPYDBOT_cjs = require('../chunk-PYPYDBOT.cjs');
|
|
4
|
+
var chunk3AADNIOK_cjs = require('../chunk-3AADNIOK.cjs');
|
|
3
5
|
var chunkT4IJHRRD_cjs = require('../chunk-T4IJHRRD.cjs');
|
|
4
|
-
var chunkOJ2AO53O_cjs = require('../chunk-OJ2AO53O.cjs');
|
|
5
6
|
var chunk5DCRIWCA_cjs = require('../chunk-5DCRIWCA.cjs');
|
|
6
|
-
var chunk3AADNIOK_cjs = require('../chunk-3AADNIOK.cjs');
|
|
7
7
|
var chunkVOFNX4P6_cjs = require('../chunk-VOFNX4P6.cjs');
|
|
8
8
|
var chunk5SZ2J2WT_cjs = require('../chunk-5SZ2J2WT.cjs');
|
|
9
9
|
require('../chunk-Z3LLUO32.cjs');
|
|
@@ -284,7 +284,7 @@ function useArtifactText(docId, options) {
|
|
|
284
284
|
const enabled = (options?.enabled ?? true) && chunkT4IJHRRD_cjs.isDocumentId(docId) && arbi.hasWorkspace;
|
|
285
285
|
const query = reactQuery.useQuery({
|
|
286
286
|
// Under the shared `parsedDoc` key, so a document's invalidation reaches it too.
|
|
287
|
-
queryKey: [...
|
|
287
|
+
queryKey: [...chunkPYPYDBOT_cjs.arbiQueryKeys.parsedDoc(docId ?? "", "marker"), "artifact-text"],
|
|
288
288
|
queryFn: async () => {
|
|
289
289
|
const { docId: plainId, version } = chunkT4IJHRRD_cjs.parseVersionRef(docId);
|
|
290
290
|
const parsed = await arbi.documents.getParsedContent(
|
|
@@ -332,12 +332,12 @@ function useArtifactText(docId, options) {
|
|
|
332
332
|
// src/artifacts/useArtifactSession.ts
|
|
333
333
|
function useArtifactVersions(workspaceId, docId) {
|
|
334
334
|
const plainId = docId ? chunkT4IJHRRD_cjs.parseVersionRef(docId).docId : null;
|
|
335
|
-
const { data: documents } =
|
|
335
|
+
const { data: documents } = chunkPYPYDBOT_cjs.useDocuments(workspaceId);
|
|
336
336
|
const listed = react.useMemo(
|
|
337
337
|
() => (documents ?? []).find((d) => d.external_id === plainId),
|
|
338
338
|
[documents, plainId]
|
|
339
339
|
);
|
|
340
|
-
const { data: history } =
|
|
340
|
+
const { data: history } = chunkPYPYDBOT_cjs.useDocumentVersionList(plainId, {
|
|
341
341
|
enabled: !!plainId && documents !== void 0 && !listed
|
|
342
342
|
});
|
|
343
343
|
return react.useMemo(
|
|
@@ -362,9 +362,9 @@ function useSaveArtifactVersion() {
|
|
|
362
362
|
);
|
|
363
363
|
const docId = result.doc_ext_ids?.[0];
|
|
364
364
|
if (workspaceId) {
|
|
365
|
-
await queryClient.invalidateQueries({ queryKey:
|
|
365
|
+
await queryClient.invalidateQueries({ queryKey: chunkPYPYDBOT_cjs.arbiQueryKeys.documents(workspaceId) });
|
|
366
366
|
}
|
|
367
|
-
await queryClient.invalidateQueries({ queryKey:
|
|
367
|
+
await queryClient.invalidateQueries({ queryKey: chunkPYPYDBOT_cjs.arbiQueryKeys.allDocumentVersions() });
|
|
368
368
|
if (docId) await queryClient.invalidateQueries({ queryKey: ["arbi", "parsedDoc", docId] });
|
|
369
369
|
return { docId, version: result.version ?? void 0 };
|
|
370
370
|
}
|
|
@@ -552,6 +552,18 @@ function useStreamedArtifact({
|
|
|
552
552
|
return { phase, artifact, docId, error, cleaned, retry };
|
|
553
553
|
}
|
|
554
554
|
|
|
555
|
+
Object.defineProperty(exports, "buildHybridRedlineMarkdown", {
|
|
556
|
+
enumerable: true,
|
|
557
|
+
get: function () { return chunk3AADNIOK_cjs.buildHybridRedlineMarkdown; }
|
|
558
|
+
});
|
|
559
|
+
Object.defineProperty(exports, "buildHybridRedlineWithRegions", {
|
|
560
|
+
enumerable: true,
|
|
561
|
+
get: function () { return chunk3AADNIOK_cjs.buildHybridRedlineWithRegions; }
|
|
562
|
+
});
|
|
563
|
+
Object.defineProperty(exports, "revertRedlineRegion", {
|
|
564
|
+
enumerable: true,
|
|
565
|
+
get: function () { return chunk3AADNIOK_cjs.revertRedlineRegion; }
|
|
566
|
+
});
|
|
555
567
|
Object.defineProperty(exports, "documentVersions", {
|
|
556
568
|
enumerable: true,
|
|
557
569
|
get: function () { return chunkT4IJHRRD_cjs.documentVersions; }
|
|
@@ -620,18 +632,6 @@ Object.defineProperty(exports, "unwrapCitationLinks", {
|
|
|
620
632
|
enumerable: true,
|
|
621
633
|
get: function () { return chunk5DCRIWCA_cjs.unwrapCitationLinks; }
|
|
622
634
|
});
|
|
623
|
-
Object.defineProperty(exports, "buildHybridRedlineMarkdown", {
|
|
624
|
-
enumerable: true,
|
|
625
|
-
get: function () { return chunk3AADNIOK_cjs.buildHybridRedlineMarkdown; }
|
|
626
|
-
});
|
|
627
|
-
Object.defineProperty(exports, "buildHybridRedlineWithRegions", {
|
|
628
|
-
enumerable: true,
|
|
629
|
-
get: function () { return chunk3AADNIOK_cjs.buildHybridRedlineWithRegions; }
|
|
630
|
-
});
|
|
631
|
-
Object.defineProperty(exports, "revertRedlineRegion", {
|
|
632
|
-
enumerable: true,
|
|
633
|
-
get: function () { return chunk3AADNIOK_cjs.revertRedlineRegion; }
|
|
634
|
-
});
|
|
635
635
|
Object.defineProperty(exports, "normalizeMarkdown", {
|
|
636
636
|
enumerable: true,
|
|
637
637
|
get: function () { return chunkVOFNX4P6_cjs.normalizeMarkdown; }
|
package/dist/artifacts/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { arbiQueryKeys, useDocuments, useDocumentVersionList } from '../chunk-GYHKZ6JQ.js';
|
|
2
|
+
import { revertRedlineRegion, buildHybridRedlineWithRegions, buildHybridRedlineMarkdown } from '../chunk-74N436VK.js';
|
|
3
|
+
export { buildHybridRedlineMarkdown, buildHybridRedlineWithRegions, revertRedlineRegion } from '../chunk-74N436VK.js';
|
|
1
4
|
import { isDocumentId, parseVersionRef, flattenChunks, documentVersions, toArtifactVersions, findVersion, versionLabel } from '../chunk-HKUD2NZN.js';
|
|
2
5
|
export { documentVersions, findVersion, flattenChunks, isDocumentId, parseVersionRef, savedFromId, toArtifactVersions, versionLabel, versionRef } from '../chunk-HKUD2NZN.js';
|
|
3
|
-
import { arbiQueryKeys, useDocuments, useDocumentVersionList } from '../chunk-MXUWI2EU.js';
|
|
4
6
|
import { cleanDraftWithReport } from '../chunk-G6FHNURH.js';
|
|
5
7
|
export { cleanDraftMarkdown, cleanDraftWithReport, promoteBoldTitle, repairParsedStructure, repairParsedTitle, stripAgentPreamble, unescapeMarkdown, unwrapCitationLinks } from '../chunk-G6FHNURH.js';
|
|
6
|
-
import { revertRedlineRegion, buildHybridRedlineWithRegions, buildHybridRedlineMarkdown } from '../chunk-74N436VK.js';
|
|
7
|
-
export { buildHybridRedlineMarkdown, buildHybridRedlineWithRegions, revertRedlineRegion } from '../chunk-74N436VK.js';
|
|
8
8
|
import { normalizeMarkdown } from '../chunk-WUTL62MC.js';
|
|
9
9
|
export { normalizeMarkdown } from '../chunk-WUTL62MC.js';
|
|
10
10
|
import { MarkdownRenderer } from '../chunk-YXSXGTYQ.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Dialog, DialogContent } from './chunk-YNNAJJ5Z.js';
|
|
2
1
|
import { MarkdownRenderer } from './chunk-YXSXGTYQ.js';
|
|
2
|
+
import { Dialog, DialogContent } from './chunk-YNNAJJ5Z.js';
|
|
3
3
|
import { getCollisionPadding, usePortalContainer, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuLabel, DropdownMenuItem, DropdownMenuSeparator } from './chunk-47CCGUWR.js';
|
|
4
4
|
import { cn } from './chunk-SN5YV6FF.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { createContext, forwardRef, memo, useContext, useState, useRef, useEffect, useCallback, useId, useMemo, Fragment as Fragment$1 } from 'react';
|
|
7
7
|
import { createPortal } from 'react-dom';
|
|
8
8
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
9
|
-
import { ChevronDown, ChevronUp, Check, Circle, Search, MessageCircleMore, Loader2, Square, Mic, MoreVertical, BadgeCheck, MessageSquareLock, Info, FileQuestion, BookOpen, Upload, LogOut, LayoutGrid, Bell, MessageSquare, CircleUserRound, Wrench, CreditCard, ClipboardList, UserPlus, UserStar, Settings2, Users, User, NotebookPen, NotebookText, StickyNote, FolderPlus, Hash, EyeOff, Eye, CaptionsOff, FolderOpen, MessageSquareMore, MessageSquarePlus, MessageSquareText, MessageSquareOff, MessagesSquare, Columns3Cog, SquarePlus, SquareM, ChevronsDown, Bot, Calendar, Folder, List, SquareCheckBig, Minus, Plus, Share2, MessageSquareShare, ChevronsUpDown, X, AlertTriangle, FileX, SkipForward, XCircle, CheckCircle } from 'lucide-react';
|
|
9
|
+
import { ChevronDown, ChevronUp, Check, Circle, Search, MessageCircleMore, Loader2, Square, Mic, MoreVertical, BadgeCheck, MessageSquareLock, Info, FileQuestion, BookOpen, Upload, LogOut, LayoutGrid, Bell, MessageSquare, CircleUserRound, Wrench, CreditCard, ClipboardList, UserPlus, UserStar, Settings2, Users, User, NotebookPen, NotebookText, Building2, Contact, Scale, Tags, StickyNote, FolderPlus, Hash, EyeOff, Eye, CaptionsOff, FolderOpen, MessageSquareMore, MessageSquarePlus, MessageSquareText, MessageSquareOff, MessagesSquare, Columns3Cog, SquarePlus, SquareM, ChevronsDown, Bot, Calendar, Folder, List, SquareCheckBig, Minus, Plus, Share2, MessageSquareShare, ChevronsUpDown, X, AlertTriangle, FileX, SkipForward, XCircle, CheckCircle } from 'lucide-react';
|
|
10
10
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
11
11
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
12
12
|
import { cva } from 'class-variance-authority';
|
|
@@ -3290,6 +3290,64 @@ var ENTITY_MAPPINGS = {
|
|
|
3290
3290
|
NEW: StickyNote
|
|
3291
3291
|
}
|
|
3292
3292
|
},
|
|
3293
|
+
// A tag of any kind — what the Tags page lists. TAG stays "Field": the Files page's custom
|
|
3294
|
+
// columns (labels and annotations as document fields) are named after it.
|
|
3295
|
+
ANY_TAG: {
|
|
3296
|
+
NAMES: {
|
|
3297
|
+
SINGULAR: "Tag",
|
|
3298
|
+
PLURAL: "Tags"
|
|
3299
|
+
},
|
|
3300
|
+
ICONS: {
|
|
3301
|
+
DEFAULT: Tags
|
|
3302
|
+
}
|
|
3303
|
+
},
|
|
3304
|
+
// The kinds of TAG (a tag's `kind`): a label files things; an issue is a point in dispute; a
|
|
3305
|
+
// person and an organisation are entities the documents name; a saved search is a stored query.
|
|
3306
|
+
LABEL: {
|
|
3307
|
+
NAMES: {
|
|
3308
|
+
SINGULAR: "Label",
|
|
3309
|
+
PLURAL: "Labels"
|
|
3310
|
+
},
|
|
3311
|
+
ICONS: {
|
|
3312
|
+
DEFAULT: Tags
|
|
3313
|
+
}
|
|
3314
|
+
},
|
|
3315
|
+
ISSUE: {
|
|
3316
|
+
NAMES: {
|
|
3317
|
+
SINGULAR: "Issue",
|
|
3318
|
+
PLURAL: "Issues"
|
|
3319
|
+
},
|
|
3320
|
+
ICONS: {
|
|
3321
|
+
DEFAULT: Scale
|
|
3322
|
+
}
|
|
3323
|
+
},
|
|
3324
|
+
PERSON: {
|
|
3325
|
+
NAMES: {
|
|
3326
|
+
SINGULAR: "Person",
|
|
3327
|
+
PLURAL: "People"
|
|
3328
|
+
},
|
|
3329
|
+
ICONS: {
|
|
3330
|
+
DEFAULT: Contact
|
|
3331
|
+
}
|
|
3332
|
+
},
|
|
3333
|
+
ORGANISATION: {
|
|
3334
|
+
NAMES: {
|
|
3335
|
+
SINGULAR: "Organisation",
|
|
3336
|
+
PLURAL: "Organisations"
|
|
3337
|
+
},
|
|
3338
|
+
ICONS: {
|
|
3339
|
+
DEFAULT: Building2
|
|
3340
|
+
}
|
|
3341
|
+
},
|
|
3342
|
+
SAVED_SEARCH: {
|
|
3343
|
+
NAMES: {
|
|
3344
|
+
SINGULAR: "Saved search",
|
|
3345
|
+
PLURAL: "Saved searches"
|
|
3346
|
+
},
|
|
3347
|
+
ICONS: {
|
|
3348
|
+
DEFAULT: Search
|
|
3349
|
+
}
|
|
3350
|
+
},
|
|
3293
3351
|
// Workspace knowledge the assistant retains and recalls — durable free text,
|
|
3294
3352
|
// optionally grounded in source passages. Distinct from ANNOTATION, which is
|
|
3295
3353
|
// attached TO a document field; a NOTE is workspace-scoped and stands alone.
|
|
@@ -3919,5 +3977,5 @@ function DocumentCard({
|
|
|
3919
3977
|
}
|
|
3920
3978
|
|
|
3921
3979
|
export { AgentBadge, AiMarkdown, ArbiBotHeadIcon, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS2 as BASE_COLORS, Badge, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DictateProvider, DocIcon, DocumentCard, DocumentEntity, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, HoverCard, HoverCardContent, HoverCardTrigger, HtmlIcon, IconToggle, ImgIcon, InlineMicButton, Input, Label2 as Label, MarkMenu, MicRecordingOverlay, MicWaveformIndicator, NEUTRAL_GRAY2 as NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, PdfIcon, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PresenceLabel, Progress, ProjectEntity, RadioGroup, RadioGroupItem, RagDot, RelevanceDot, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator2 as Separator, Slider, StatusPill, Switch, TAG_TYPE_ICONS, TAG_TYPE_LABELS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagEntity, Textarea, ThreadVisibilityIcon, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TxtIcon, UserEntity, UserMenu, VISIBILITY_ICONS, VerifiedBadge, VidIcon, VisibilityIcon, VisibilityToggle, XlsIcon, badgeVariants, cardVariants, classifyMediaError, configureEntityRegistry, configureRagLabels, configureStatusRegistry, formatElapsed, getDocIcon, getEntityColor2 as getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, returnFocusToMark, toggleVariants, useAudioRecorder };
|
|
3922
|
-
//# sourceMappingURL=chunk-
|
|
3923
|
-
//# sourceMappingURL=chunk-
|
|
3980
|
+
//# sourceMappingURL=chunk-5UOGYTLH.js.map
|
|
3981
|
+
//# sourceMappingURL=chunk-5UOGYTLH.js.map
|