@arbidocs/react 0.4.86 → 0.4.87
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-MHCN7OST.js → chunk-AM6SJBD3.js} +3 -3
- package/dist/{chunk-MHCN7OST.js.map → chunk-AM6SJBD3.js.map} +1 -1
- package/dist/{chunk-L2PXZWJM.cjs → chunk-ETZAJ6NM.cjs} +3 -3
- package/dist/{chunk-L2PXZWJM.cjs.map → chunk-ETZAJ6NM.cjs.map} +1 -1
- package/dist/{chunk-IHTBAY57.js → chunk-GN25F3BB.js} +3 -3
- package/dist/{chunk-IHTBAY57.js.map → chunk-GN25F3BB.js.map} +1 -1
- package/dist/{chunk-QJRP2LLQ.cjs → chunk-LTPB5WJ6.cjs} +3 -3
- package/dist/{chunk-QJRP2LLQ.cjs.map → chunk-LTPB5WJ6.cjs.map} +1 -1
- package/dist/{chunk-KYCCIEXA.js → chunk-MXUWI2EU.js} +22 -4
- package/dist/chunk-MXUWI2EU.js.map +1 -0
- package/dist/{chunk-E26JGYT4.cjs → chunk-OJ2AO53O.cjs} +21 -2
- package/dist/chunk-OJ2AO53O.cjs.map +1 -0
- package/dist/document-tools/index.cjs +5 -5
- package/dist/document-tools/index.js +2 -2
- package/dist/index.cjs +398 -297
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +83 -4
- package/dist/index.d.ts +83 -4
- package/dist/index.js +110 -15
- package/dist/index.js.map +1 -1
- package/dist/ui/index.cjs +130 -130
- package/dist/ui/index.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-E26JGYT4.cjs.map +0 -1
- package/dist/chunk-KYCCIEXA.js.map +0 -1
|
@@ -1,196 +1,196 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var chunkSSOPIPEX_cjs = require('../chunk-SSOPIPEX.cjs');
|
|
3
|
+
var chunkETZAJ6NM_cjs = require('../chunk-ETZAJ6NM.cjs');
|
|
5
4
|
require('../chunk-WYZJLZ67.cjs');
|
|
6
5
|
require('../chunk-HJDR5HEO.cjs');
|
|
7
6
|
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 chunkETZAJ6NM_cjs.AUTOSAVE_MS; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "AnnotationPageOverlay", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkETZAJ6NM_cjs.AnnotationPageOverlay; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "AnnotationStoreOfflineError", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkETZAJ6NM_cjs.AnnotationStoreOfflineError; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "AnnotationToolbar", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkETZAJ6NM_cjs.AnnotationToolbar; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DEFAULT_SETTINGS", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkETZAJ6NM_cjs.DEFAULT_SETTINGS; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "FreezeDialog", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkETZAJ6NM_cjs.FreezeDialog; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "HIGHLIGHT_COLORS", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkETZAJ6NM_cjs.HIGHLIGHT_COLORS; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MARK_COLORS", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkETZAJ6NM_cjs.MARK_COLORS; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "ProductionDialog", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkETZAJ6NM_cjs.ProductionDialog; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "REDACTION_LOG_COLUMNS", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkETZAJ6NM_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 chunkETZAJ6NM_cjs.REDACTION_REASONS; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "RETRY_MS", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkETZAJ6NM_cjs.RETRY_MS; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "STAMP_PRESETS", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkETZAJ6NM_cjs.STAMP_PRESETS; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "annotationsOnPage", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkETZAJ6NM_cjs.annotationsOnPage; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "applyAction", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkETZAJ6NM_cjs.applyAction; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "canRedo", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkETZAJ6NM_cjs.canRedo; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "canUndo", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkETZAJ6NM_cjs.canUndo; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "containsPoint", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkETZAJ6NM_cjs.containsPoint; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "createHistory", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkETZAJ6NM_cjs.createHistory; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "createLocalStorageStore", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkETZAJ6NM_cjs.createLocalStorageStore; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "createMemoryStore", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkETZAJ6NM_cjs.createMemoryStore; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "dragRect", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkETZAJ6NM_cjs.dragRect; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "dragToNorm", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkETZAJ6NM_cjs.dragToNorm; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "intersects", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkETZAJ6NM_cjs.intersects; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "isTooSmall", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkETZAJ6NM_cjs.isTooSmall; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "layerStatusText", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkETZAJ6NM_cjs.layerStatusText; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "mergeLayers", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkETZAJ6NM_cjs.mergeLayers; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "mergeLineRects", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkETZAJ6NM_cjs.mergeLineRects; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "moveItem", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkETZAJ6NM_cjs.moveItem; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "patchForRect", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkETZAJ6NM_cjs.patchForRect; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "pendingRedactions", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkETZAJ6NM_cjs.pendingRedactions; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "qrCornerFor", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkETZAJ6NM_cjs.qrCornerFor; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "readSelection", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkETZAJ6NM_cjs.readSelection; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "redactionLogCsv", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkETZAJ6NM_cjs.redactionLogCsv; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "redactionLogRows", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkETZAJ6NM_cjs.redactionLogRows; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "redo", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkETZAJ6NM_cjs.redo; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "reduceLayer", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkETZAJ6NM_cjs.reduceLayer; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "sameMarks", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkETZAJ6NM_cjs.sameMarks; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "selectionToPageMarks", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkETZAJ6NM_cjs.selectionToPageMarks; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "singleRect", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkETZAJ6NM_cjs.singleRect; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "toNorm", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkETZAJ6NM_cjs.toNorm; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "toPixels", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkETZAJ6NM_cjs.toPixels; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "undo", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkETZAJ6NM_cjs.undo; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "useAnnotationLayer", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkETZAJ6NM_cjs.useAnnotationLayer; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "useAnnotationShortcuts", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkETZAJ6NM_cjs.useAnnotationShortcuts; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "useTextSelectionMarks", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkETZAJ6NM_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-
|
|
2
|
-
export { AnnotationLayerError, LAYER_SCHEMA_VERSION, annotationRects, clampRect, emptyLayer, isEffectiveRedaction, parseAnnotation, parseLayer } from '../chunk-COWZGCL5.js';
|
|
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-GN25F3BB.js';
|
|
3
2
|
import '../chunk-YNNAJJ5Z.js';
|
|
4
3
|
import '../chunk-47CCGUWR.js';
|
|
5
4
|
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 chunkE26JGYT4_cjs = require('../chunk-E26JGYT4.cjs');
|
|
4
|
-
var chunk3AADNIOK_cjs = require('../chunk-3AADNIOK.cjs');
|
|
5
3
|
var chunkT4IJHRRD_cjs = require('../chunk-T4IJHRRD.cjs');
|
|
4
|
+
var chunkOJ2AO53O_cjs = require('../chunk-OJ2AO53O.cjs');
|
|
6
5
|
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: [...chunkOJ2AO53O_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 } = chunkOJ2AO53O_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 } = chunkOJ2AO53O_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: chunkOJ2AO53O_cjs.arbiQueryKeys.documents(workspaceId) });
|
|
366
366
|
}
|
|
367
|
-
await queryClient.invalidateQueries({ queryKey:
|
|
367
|
+
await queryClient.invalidateQueries({ queryKey: chunkOJ2AO53O_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,18 +552,6 @@ 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
|
-
});
|
|
567
555
|
Object.defineProperty(exports, "documentVersions", {
|
|
568
556
|
enumerable: true,
|
|
569
557
|
get: function () { return chunkT4IJHRRD_cjs.documentVersions; }
|
|
@@ -632,6 +620,18 @@ Object.defineProperty(exports, "unwrapCitationLinks", {
|
|
|
632
620
|
enumerable: true,
|
|
633
621
|
get: function () { return chunk5DCRIWCA_cjs.unwrapCitationLinks; }
|
|
634
622
|
});
|
|
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-KYCCIEXA.js';
|
|
2
|
-
import { revertRedlineRegion, buildHybridRedlineWithRegions, buildHybridRedlineMarkdown } from '../chunk-74N436VK.js';
|
|
3
|
-
export { buildHybridRedlineMarkdown, buildHybridRedlineWithRegions, revertRedlineRegion } from '../chunk-74N436VK.js';
|
|
4
1
|
import { isDocumentId, parseVersionRef, flattenChunks, documentVersions, toArtifactVersions, findVersion, versionLabel } from '../chunk-HKUD2NZN.js';
|
|
5
2
|
export { documentVersions, findVersion, flattenChunks, isDocumentId, parseVersionRef, savedFromId, toArtifactVersions, versionLabel, versionRef } from '../chunk-HKUD2NZN.js';
|
|
3
|
+
import { arbiQueryKeys, useDocuments, useDocumentVersionList } from '../chunk-MXUWI2EU.js';
|
|
6
4
|
import { cleanDraftWithReport } from '../chunk-G6FHNURH.js';
|
|
7
5
|
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,5 +1,5 @@
|
|
|
1
|
-
import { MarkdownRenderer } from './chunk-YXSXGTYQ.js';
|
|
2
1
|
import { Dialog, DialogContent } from './chunk-YNNAJJ5Z.js';
|
|
2
|
+
import { MarkdownRenderer } from './chunk-YXSXGTYQ.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';
|
|
@@ -3919,5 +3919,5 @@ function DocumentCard({
|
|
|
3919
3919
|
}
|
|
3920
3920
|
|
|
3921
3921
|
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-
|
|
3922
|
+
//# sourceMappingURL=chunk-AM6SJBD3.js.map
|
|
3923
|
+
//# sourceMappingURL=chunk-AM6SJBD3.js.map
|