@arbidocs/react 0.5.14 → 0.5.16
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/freeze/index.cjs +15 -15
- package/dist/annotations/freeze/index.js +3 -3
- package/dist/annotations/index.cjs +56 -56
- package/dist/annotations/index.d.cts +0 -1
- package/dist/annotations/index.d.ts +0 -1
- package/dist/annotations/index.js +2 -2
- package/dist/artifacts/index.cjs +4 -4
- package/dist/artifacts/index.js +3 -3
- package/dist/bundle-4TKU5WEQ.js +5 -0
- package/dist/{bundle-KTL2TMF4.js.map → bundle-4TKU5WEQ.js.map} +1 -1
- package/dist/bundle-B5AN4B7H.cjs +14 -0
- package/dist/{bundle-ARVFITGZ.cjs.map → bundle-B5AN4B7H.cjs.map} +1 -1
- package/dist/calls/livekit/index.cjs +43 -43
- package/dist/calls/livekit/index.js +4 -4
- package/dist/{chunk-O4IWCDEJ.cjs → chunk-2M4B4FFA.cjs} +3 -3
- package/dist/{chunk-O4IWCDEJ.cjs.map → chunk-2M4B4FFA.cjs.map} +1 -1
- package/dist/{chunk-DRYAQ5LX.js → chunk-2XMHFQ7M.js} +3 -3
- package/dist/{chunk-DRYAQ5LX.js.map → chunk-2XMHFQ7M.js.map} +1 -1
- package/dist/{chunk-MAB3JV6R.js → chunk-3WIBD44F.js} +3 -3
- package/dist/{chunk-MAB3JV6R.js.map → chunk-3WIBD44F.js.map} +1 -1
- package/dist/{chunk-DHNECU6Z.cjs → chunk-4VQ3XHAQ.cjs} +6 -6
- package/dist/chunk-4VQ3XHAQ.cjs.map +1 -0
- package/dist/{chunk-5OPQJIMY.cjs → chunk-7NHOKV7N.cjs} +3 -3
- package/dist/{chunk-5OPQJIMY.cjs.map → chunk-7NHOKV7N.cjs.map} +1 -1
- package/dist/{chunk-MILSSS26.cjs → chunk-ALLWAYMB.cjs} +20 -20
- package/dist/{chunk-MILSSS26.cjs.map → chunk-ALLWAYMB.cjs.map} +1 -1
- package/dist/{chunk-UMP5MJER.cjs → chunk-CNRF5SLZ.cjs} +10 -4
- package/dist/chunk-CNRF5SLZ.cjs.map +1 -0
- package/dist/{chunk-EUL6I5HZ.js → chunk-D63FAYES.js} +3 -3
- package/dist/chunk-D63FAYES.js.map +1 -0
- package/dist/{chunk-IGITGIR2.cjs → chunk-EYOXZHXM.cjs} +7 -7
- package/dist/chunk-EYOXZHXM.cjs.map +1 -0
- package/dist/{chunk-FZLT2YYZ.js → chunk-GUCQMP6G.js} +4 -4
- package/dist/chunk-GUCQMP6G.js.map +1 -0
- package/dist/{chunk-YO4LH3ZC.js → chunk-J2GERLMU.js} +10 -5
- package/dist/chunk-J2GERLMU.js.map +1 -0
- package/dist/{chunk-LRBOMQ6Q.cjs → chunk-NSSGDZSL.cjs} +2 -2
- package/dist/{chunk-LRBOMQ6Q.cjs.map → chunk-NSSGDZSL.cjs.map} +1 -1
- package/dist/{chunk-PVGDSQOB.js → chunk-WE7QWWJ4.js} +3 -3
- package/dist/{chunk-PVGDSQOB.js.map → chunk-WE7QWWJ4.js.map} +1 -1
- package/dist/{chunk-NBIW7AEE.js → chunk-XTWUMTCQ.js} +2 -2
- package/dist/{chunk-NBIW7AEE.js.map → chunk-XTWUMTCQ.js.map} +1 -1
- package/dist/{chunk-RZ2DMNSP.cjs → chunk-XTYG5SIL.cjs} +3 -3
- package/dist/{chunk-RZ2DMNSP.cjs.map → chunk-XTYG5SIL.cjs.map} +1 -1
- package/dist/{chunk-5JR64WMK.js → chunk-YWYCEEBF.js} +3 -3
- package/dist/{chunk-5JR64WMK.js.map → chunk-YWYCEEBF.js.map} +1 -1
- package/dist/document-tools/index.cjs +53 -53
- package/dist/document-tools/index.cjs.map +1 -1
- package/dist/document-tools/index.js +7 -7
- package/dist/document-tools/index.js.map +1 -1
- package/dist/index.cjs +908 -649
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +362 -63
- package/dist/index.d.ts +362 -63
- package/dist/index.js +244 -15
- package/dist/index.js.map +1 -1
- package/dist/shell/index.cjs +33 -33
- package/dist/shell/index.js +2 -2
- package/dist/ui/index.cjs +147 -147
- package/dist/ui/index.js +2 -2
- package/dist/viewers/index.cjs +5 -5
- package/dist/viewers/index.cjs.map +1 -1
- package/dist/viewers/index.js +2 -2
- package/dist/viewers/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/bundle-ARVFITGZ.cjs +0 -14
- package/dist/bundle-KTL2TMF4.js +0 -5
- package/dist/chunk-DHNECU6Z.cjs.map +0 -1
- package/dist/chunk-EUL6I5HZ.js.map +0 -1
- package/dist/chunk-FZLT2YYZ.js.map +0 -1
- package/dist/chunk-IGITGIR2.cjs.map +0 -1
- package/dist/chunk-UMP5MJER.cjs.map +0 -1
- package/dist/chunk-YO4LH3ZC.js.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEYOXZHXM_cjs = require('../../chunk-EYOXZHXM.cjs');
|
|
4
|
+
var chunkNSSGDZSL_cjs = require('../../chunk-NSSGDZSL.cjs');
|
|
4
5
|
require('../../chunk-IU2CJNTB.cjs');
|
|
5
|
-
var chunkLRBOMQ6Q_cjs = require('../../chunk-LRBOMQ6Q.cjs');
|
|
6
6
|
var reactPdf = require('react-pdf');
|
|
7
7
|
|
|
8
8
|
async function freezePdfInBrowser(bytes, layer, { assets, password, ...options }) {
|
|
9
|
-
const needsRaster = options.mode === "image" || layer.annotations.some(
|
|
10
|
-
const rasterizer = needsRaster ? await
|
|
9
|
+
const needsRaster = options.mode === "image" || layer.annotations.some(chunkNSSGDZSL_cjs.isEffectiveRedaction);
|
|
10
|
+
const rasterizer = needsRaster ? await chunkEYOXZHXM_cjs.createPdfJsRasterizer(reactPdf.pdfjs, bytes, chunkEYOXZHXM_cjs.browserCanvasFactory(), {
|
|
11
11
|
password,
|
|
12
12
|
documentOptions: {
|
|
13
13
|
cMapUrl: assets?.cMapUrl ?? "/cmaps/",
|
|
@@ -16,48 +16,48 @@ async function freezePdfInBrowser(bytes, layer, { assets, password, ...options }
|
|
|
16
16
|
wasmUrl: assets?.wasmUrl ?? "/wasm/"
|
|
17
17
|
}
|
|
18
18
|
}) : void 0;
|
|
19
|
-
return
|
|
19
|
+
return chunkEYOXZHXM_cjs.freezePdf(bytes, layer, { ...options, rasterizer });
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
Object.defineProperty(exports, "DEFAULT_DPI", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkEYOXZHXM_cjs.DEFAULT_DPI; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "FreezeError", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkEYOXZHXM_cjs.FreezeError; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "MAX_PAGE_PIXELS", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkEYOXZHXM_cjs.MAX_PAGE_PIXELS; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "batesLabel", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkEYOXZHXM_cjs.batesLabel; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "browserCanvasFactory", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkEYOXZHXM_cjs.browserCanvasFactory; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "buildBundle", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkEYOXZHXM_cjs.buildBundle; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "burnMarks", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkEYOXZHXM_cjs.burnMarks; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "createPdfJsRasterizer", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkEYOXZHXM_cjs.createPdfJsRasterizer; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "freezePdf", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkEYOXZHXM_cjs.freezePdf; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "readProvenance", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkEYOXZHXM_cjs.readProvenance; }
|
|
61
61
|
});
|
|
62
62
|
exports.freezePdfInBrowser = freezePdfInBrowser;
|
|
63
63
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { createPdfJsRasterizer, browserCanvasFactory, freezePdf } from '../../chunk-
|
|
2
|
-
export { DEFAULT_DPI, FreezeError, MAX_PAGE_PIXELS, batesLabel, browserCanvasFactory, buildBundle, burnMarks, createPdfJsRasterizer, freezePdf, readProvenance } from '../../chunk-
|
|
1
|
+
import { createPdfJsRasterizer, browserCanvasFactory, freezePdf } from '../../chunk-D63FAYES.js';
|
|
2
|
+
export { DEFAULT_DPI, FreezeError, MAX_PAGE_PIXELS, batesLabel, browserCanvasFactory, buildBundle, burnMarks, createPdfJsRasterizer, freezePdf, readProvenance } from '../../chunk-D63FAYES.js';
|
|
3
|
+
import { isEffectiveRedaction } from '../../chunk-XTWUMTCQ.js';
|
|
3
4
|
import '../../chunk-PTOP7OHG.js';
|
|
4
|
-
import { isEffectiveRedaction } from '../../chunk-NBIW7AEE.js';
|
|
5
5
|
import { pdfjs } from 'react-pdf';
|
|
6
6
|
|
|
7
7
|
async function freezePdfInBrowser(bytes, layer, { assets, password, ...options }) {
|
|
@@ -1,228 +1,228 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkALLWAYMB_cjs = require('../chunk-ALLWAYMB.cjs');
|
|
4
|
+
var chunkNSSGDZSL_cjs = require('../chunk-NSSGDZSL.cjs');
|
|
4
5
|
require('../chunk-WYZJLZ67.cjs');
|
|
5
6
|
require('../chunk-HJDR5HEO.cjs');
|
|
6
7
|
require('../chunk-S6A6FSG7.cjs');
|
|
7
|
-
var chunkLRBOMQ6Q_cjs = require('../chunk-LRBOMQ6Q.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 chunkALLWAYMB_cjs.AUTOSAVE_MS; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "AnnotationPageOverlay", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkALLWAYMB_cjs.AnnotationPageOverlay; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "AnnotationStoreOfflineError", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkALLWAYMB_cjs.AnnotationStoreOfflineError; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "AnnotationToolbar", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkALLWAYMB_cjs.AnnotationToolbar; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DEFAULT_SETTINGS", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkALLWAYMB_cjs.DEFAULT_SETTINGS; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "FreezeDialog", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkALLWAYMB_cjs.FreezeDialog; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "HIGHLIGHT_COLORS", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkALLWAYMB_cjs.HIGHLIGHT_COLORS; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MARK_COLORS", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkALLWAYMB_cjs.MARK_COLORS; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "ProductionDialog", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkALLWAYMB_cjs.ProductionDialog; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "REDACTION_LOG_COLUMNS", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkALLWAYMB_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 chunkALLWAYMB_cjs.REDACTION_REASONS; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "RETRY_MS", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkALLWAYMB_cjs.RETRY_MS; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "STAMP_PRESETS", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkALLWAYMB_cjs.STAMP_PRESETS; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "annotationsOnPage", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkALLWAYMB_cjs.annotationsOnPage; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "applyAction", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkALLWAYMB_cjs.applyAction; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "canRedo", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkALLWAYMB_cjs.canRedo; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "canUndo", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkALLWAYMB_cjs.canUndo; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "containsPoint", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkALLWAYMB_cjs.containsPoint; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "createHistory", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkALLWAYMB_cjs.createHistory; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "createLocalStorageStore", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkALLWAYMB_cjs.createLocalStorageStore; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "createMemoryStore", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkALLWAYMB_cjs.createMemoryStore; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "dragRect", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkALLWAYMB_cjs.dragRect; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "dragToNorm", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkALLWAYMB_cjs.dragToNorm; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "intersects", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkALLWAYMB_cjs.intersects; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "isTooSmall", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkALLWAYMB_cjs.isTooSmall; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "layerStatusText", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkALLWAYMB_cjs.layerStatusText; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "mergeLayers", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkALLWAYMB_cjs.mergeLayers; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "mergeLineRects", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkALLWAYMB_cjs.mergeLineRects; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "moveItem", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkALLWAYMB_cjs.moveItem; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "patchForRect", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkALLWAYMB_cjs.patchForRect; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "pendingRedactions", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkALLWAYMB_cjs.pendingRedactions; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "qrCornerFor", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkALLWAYMB_cjs.qrCornerFor; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "readSelection", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkALLWAYMB_cjs.readSelection; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "redactionLogCsv", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkALLWAYMB_cjs.redactionLogCsv; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "redactionLogRows", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkALLWAYMB_cjs.redactionLogRows; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "redo", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkALLWAYMB_cjs.redo; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "reduceLayer", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkALLWAYMB_cjs.reduceLayer; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "sameMarks", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkALLWAYMB_cjs.sameMarks; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "selectionToPageMarks", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkALLWAYMB_cjs.selectionToPageMarks; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "singleRect", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkALLWAYMB_cjs.singleRect; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "toNorm", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkALLWAYMB_cjs.toNorm; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "toPixels", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkALLWAYMB_cjs.toPixels; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "undo", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkALLWAYMB_cjs.undo; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "useAnnotationLayer", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkALLWAYMB_cjs.useAnnotationLayer; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "useAnnotationShortcuts", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkALLWAYMB_cjs.useAnnotationShortcuts; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "useTextSelectionMarks", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkALLWAYMB_cjs.useTextSelectionMarks; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "AnnotationLayerError", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkNSSGDZSL_cjs.AnnotationLayerError; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "LAYER_SCHEMA_VERSION", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkNSSGDZSL_cjs.LAYER_SCHEMA_VERSION; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "annotationRects", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkNSSGDZSL_cjs.annotationRects; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "clampRect", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkNSSGDZSL_cjs.clampRect; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "emptyLayer", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkNSSGDZSL_cjs.emptyLayer; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "isEffectiveRedaction", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkNSSGDZSL_cjs.isEffectiveRedaction; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "parseAnnotation", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkNSSGDZSL_cjs.parseAnnotation; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "parseLayer", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkNSSGDZSL_cjs.parseLayer; }
|
|
226
226
|
});
|
|
227
227
|
//# sourceMappingURL=index.cjs.map
|
|
228
228
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -219,7 +219,6 @@ interface AnnotationController {
|
|
|
219
219
|
/** Write to the store now (before leaving the page). */
|
|
220
220
|
flush(): Promise<void>;
|
|
221
221
|
}
|
|
222
|
-
|
|
223
222
|
/** The save state in words, as the toolbar shows it. */
|
|
224
223
|
declare function layerStatusText(controller: AnnotationController): string;
|
|
225
224
|
|
|
@@ -219,7 +219,6 @@ interface AnnotationController {
|
|
|
219
219
|
/** Write to the store now (before leaving the page). */
|
|
220
220
|
flush(): Promise<void>;
|
|
221
221
|
}
|
|
222
|
-
|
|
223
222
|
/** The save state in words, as the toolbar shows it. */
|
|
224
223
|
declare function layerStatusText(controller: AnnotationController): string;
|
|
225
224
|
|
|
@@ -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-2XMHFQ7M.js';
|
|
2
|
+
export { AnnotationLayerError, LAYER_SCHEMA_VERSION, annotationRects, clampRect, emptyLayer, isEffectiveRedaction, parseAnnotation, parseLayer } from '../chunk-XTWUMTCQ.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-NBIW7AEE.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/artifacts/index.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkKFFH2JJM_cjs = require('../chunk-KFFH2JJM.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkCNRF5SLZ_cjs = require('../chunk-CNRF5SLZ.cjs');
|
|
5
5
|
var chunk3AADNIOK_cjs = require('../chunk-3AADNIOK.cjs');
|
|
6
6
|
var chunkH4FGDXYB_cjs = require('../chunk-H4FGDXYB.cjs');
|
|
7
|
-
var chunkQQ7SCJRY_cjs = require('../chunk-QQ7SCJRY.cjs');
|
|
8
7
|
require('../chunk-N73IMVFF.cjs');
|
|
9
8
|
var chunkZWFMFOGP_cjs = require('../chunk-ZWFMFOGP.cjs');
|
|
10
9
|
var chunkVOFNX4P6_cjs = require('../chunk-VOFNX4P6.cjs');
|
|
11
10
|
var chunkOC7F5SNA_cjs = require('../chunk-OC7F5SNA.cjs');
|
|
12
11
|
require('../chunk-Z3LLUO32.cjs');
|
|
13
|
-
require('../chunk-RCKA7BEF.cjs');
|
|
14
12
|
require('../chunk-S6A6FSG7.cjs');
|
|
13
|
+
var chunkQQ7SCJRY_cjs = require('../chunk-QQ7SCJRY.cjs');
|
|
14
|
+
require('../chunk-RCKA7BEF.cjs');
|
|
15
15
|
var react = require('react');
|
|
16
16
|
var reactQuery = require('@tanstack/react-query');
|
|
17
17
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -340,7 +340,7 @@ function useArtifactVersions(workspaceId, docId) {
|
|
|
340
340
|
() => (documents ?? []).find((d) => d.external_id === plainId),
|
|
341
341
|
[documents, plainId]
|
|
342
342
|
);
|
|
343
|
-
const { data: history } =
|
|
343
|
+
const { data: history } = chunkCNRF5SLZ_cjs.useDocumentVersionList(plainId, {
|
|
344
344
|
enabled: !!plainId && documents !== void 0 && !listed
|
|
345
345
|
});
|
|
346
346
|
return react.useMemo(
|
package/dist/artifacts/index.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { useDocuments, refreshDocuments } from '../chunk-GN33GLHR.js';
|
|
2
|
-
import { useDocumentVersionList } from '../chunk-
|
|
2
|
+
import { useDocumentVersionList } from '../chunk-J2GERLMU.js';
|
|
3
3
|
import { revertRedlineRegion, buildHybridRedlineWithRegions, buildHybridRedlineMarkdown } from '../chunk-74N436VK.js';
|
|
4
4
|
export { buildHybridRedlineMarkdown, buildHybridRedlineWithRegions, revertRedlineRegion } from '../chunk-74N436VK.js';
|
|
5
5
|
import { arbiQueryKeys } from '../chunk-RG2ZE7DF.js';
|
|
6
|
-
import { useArbi } from '../chunk-KGCGA452.js';
|
|
7
6
|
import '../chunk-DPYBZDJB.js';
|
|
8
7
|
import { isDocumentId, parseVersionRef, flattenChunks, documentVersions, toArtifactVersions, findVersion, versionLabel, cleanDraftWithReport } from '../chunk-NNWMHMEC.js';
|
|
9
8
|
export { cleanDraftMarkdown, cleanDraftWithReport, documentVersions, findVersion, flattenChunks, isDocumentId, parseVersionRef, promoteBoldTitle, repairParsedStructure, repairParsedTitle, savedFromId, stripAgentPreamble, toArtifactVersions, unescapeMarkdown, unwrapCitationLinks, versionLabel, versionRef } from '../chunk-NNWMHMEC.js';
|
|
@@ -11,8 +10,9 @@ import { normalizeMarkdown } from '../chunk-WUTL62MC.js';
|
|
|
11
10
|
export { normalizeMarkdown } from '../chunk-WUTL62MC.js';
|
|
12
11
|
import { MarkdownRenderer } from '../chunk-C44GO33B.js';
|
|
13
12
|
import '../chunk-QRCMKEE6.js';
|
|
14
|
-
import '../chunk-CPZ36AQS.js';
|
|
15
13
|
import '../chunk-SN5YV6FF.js';
|
|
14
|
+
import { useArbi } from '../chunk-KGCGA452.js';
|
|
15
|
+
import '../chunk-CPZ36AQS.js';
|
|
16
16
|
import { useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
|
17
17
|
import { useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
|
|
18
18
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle-4TKU5WEQ.js"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkEYOXZHXM_cjs = require('./chunk-EYOXZHXM.cjs');
|
|
4
|
+
require('./chunk-NSSGDZSL.cjs');
|
|
5
|
+
require('./chunk-IU2CJNTB.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "buildBundle", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkEYOXZHXM_cjs.buildBundle; }
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=bundle-B5AN4B7H.cjs.map
|
|
14
|
+
//# sourceMappingURL=bundle-B5AN4B7H.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle-B5AN4B7H.cjs"}
|