@arbidocs/react 0.5.19 → 0.5.21

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.
Files changed (79) hide show
  1. package/dist/{ProductionDialog.d-CttHqQAh.d.ts → ProductionDialog.d-BDJwBSzj.d.ts} +1 -1
  2. package/dist/{ProductionDialog.d-BD1osHeq.d.cts → ProductionDialog.d-DjRQFmQw.d.cts} +1 -1
  3. package/dist/annotations/freeze/index.cjs +15 -15
  4. package/dist/annotations/freeze/index.d.cts +1 -1
  5. package/dist/annotations/freeze/index.d.ts +1 -1
  6. package/dist/annotations/freeze/index.js +3 -3
  7. package/dist/annotations/index.cjs +56 -56
  8. package/dist/annotations/index.d.cts +5 -5
  9. package/dist/annotations/index.d.ts +5 -5
  10. package/dist/annotations/index.js +2 -2
  11. package/dist/artifacts/index.cjs +11 -11
  12. package/dist/artifacts/index.js +4 -4
  13. package/dist/bundle-DCWPYNGD.cjs +14 -0
  14. package/dist/{bundle-B5AN4B7H.cjs.map → bundle-DCWPYNGD.cjs.map} +1 -1
  15. package/dist/bundle-JCKKGEJE.js +5 -0
  16. package/dist/{bundle-4TKU5WEQ.js.map → bundle-JCKKGEJE.js.map} +1 -1
  17. package/dist/calls/livekit/index.cjs +43 -43
  18. package/dist/calls/livekit/index.js +4 -4
  19. package/dist/{chunk-YWYCEEBF.js → chunk-2HVCNYFH.js} +32 -3
  20. package/dist/chunk-2HVCNYFH.js.map +1 -0
  21. package/dist/{chunk-NSSGDZSL.cjs → chunk-2IJP73ZG.cjs} +2 -2
  22. package/dist/{chunk-NSSGDZSL.cjs.map → chunk-2IJP73ZG.cjs.map} +1 -1
  23. package/dist/{chunk-KFFH2JJM.cjs → chunk-4UDIA47U.cjs} +32 -32
  24. package/dist/{chunk-KFFH2JJM.cjs.map → chunk-4UDIA47U.cjs.map} +1 -1
  25. package/dist/{chunk-D63FAYES.js → chunk-A2XSLTIP.js} +5 -5
  26. package/dist/chunk-A2XSLTIP.js.map +1 -0
  27. package/dist/{chunk-EYOXZHXM.cjs → chunk-B6I2HRRF.cjs} +9 -9
  28. package/dist/chunk-B6I2HRRF.cjs.map +1 -0
  29. package/dist/{chunk-2M4B4FFA.cjs → chunk-CZP7FF3E.cjs} +31 -2
  30. package/dist/chunk-CZP7FF3E.cjs.map +1 -0
  31. package/dist/{chunk-GUCQMP6G.js → chunk-EEJHABLB.js} +5 -5
  32. package/dist/chunk-EEJHABLB.js.map +1 -0
  33. package/dist/{chunk-CNRF5SLZ.cjs → chunk-FLAZSNC5.cjs} +33 -33
  34. package/dist/{chunk-CNRF5SLZ.cjs.map → chunk-FLAZSNC5.cjs.map} +1 -1
  35. package/dist/{chunk-J2GERLMU.js → chunk-LYGJVSNM.js} +3 -3
  36. package/dist/{chunk-J2GERLMU.js.map → chunk-LYGJVSNM.js.map} +1 -1
  37. package/dist/{chunk-GN33GLHR.js → chunk-MQ7LZWGP.js} +3 -3
  38. package/dist/{chunk-GN33GLHR.js.map → chunk-MQ7LZWGP.js.map} +1 -1
  39. package/dist/{chunk-RG2ZE7DF.js → chunk-PBXJFMES.js} +5 -2
  40. package/dist/chunk-PBXJFMES.js.map +1 -0
  41. package/dist/{chunk-4VQ3XHAQ.cjs → chunk-RB23E45O.cjs} +42 -42
  42. package/dist/chunk-RB23E45O.cjs.map +1 -0
  43. package/dist/{chunk-H4FGDXYB.cjs → chunk-RRWAX52L.cjs} +5 -2
  44. package/dist/chunk-RRWAX52L.cjs.map +1 -0
  45. package/dist/{chunk-ALLWAYMB.cjs → chunk-SUZORMAB.cjs} +157 -65
  46. package/dist/chunk-SUZORMAB.cjs.map +1 -0
  47. package/dist/{chunk-XTWUMTCQ.js → chunk-T3USOSVN.js} +2 -2
  48. package/dist/{chunk-XTWUMTCQ.js.map → chunk-T3USOSVN.js.map} +1 -1
  49. package/dist/{chunk-2XMHFQ7M.js → chunk-T4CLW3DN.js} +141 -49
  50. package/dist/chunk-T4CLW3DN.js.map +1 -0
  51. package/dist/document-tools/index.cjs +174 -69
  52. package/dist/document-tools/index.cjs.map +1 -1
  53. package/dist/document-tools/index.d.cts +99 -6
  54. package/dist/document-tools/index.d.ts +99 -6
  55. package/dist/document-tools/index.js +107 -10
  56. package/dist/document-tools/index.js.map +1 -1
  57. package/dist/index.cjs +856 -747
  58. package/dist/index.cjs.map +1 -1
  59. package/dist/index.d.cts +75 -8
  60. package/dist/index.d.ts +75 -8
  61. package/dist/index.js +119 -13
  62. package/dist/index.js.map +1 -1
  63. package/dist/{model.d-D63gedpb.d.cts → model.d-CNtRWKVK.d.cts} +1 -1
  64. package/dist/{model.d-D63gedpb.d.ts → model.d-CNtRWKVK.d.ts} +1 -1
  65. package/dist/{query-keys.d-ClYiYNBR.d.cts → query-keys.d-DM2N5pzN.d.cts} +3 -0
  66. package/dist/{query-keys.d-ClYiYNBR.d.ts → query-keys.d-DM2N5pzN.d.ts} +3 -0
  67. package/package.json +3 -3
  68. package/dist/bundle-4TKU5WEQ.js +0 -5
  69. package/dist/bundle-B5AN4B7H.cjs +0 -14
  70. package/dist/chunk-2M4B4FFA.cjs.map +0 -1
  71. package/dist/chunk-2XMHFQ7M.js.map +0 -1
  72. package/dist/chunk-4VQ3XHAQ.cjs.map +0 -1
  73. package/dist/chunk-ALLWAYMB.cjs.map +0 -1
  74. package/dist/chunk-D63FAYES.js.map +0 -1
  75. package/dist/chunk-EYOXZHXM.cjs.map +0 -1
  76. package/dist/chunk-GUCQMP6G.js.map +0 -1
  77. package/dist/chunk-H4FGDXYB.cjs.map +0 -1
  78. package/dist/chunk-RG2ZE7DF.js.map +0 -1
  79. package/dist/chunk-YWYCEEBF.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { b as AnnotationLayer } from './model.d-D63gedpb.js';
1
+ import { b as AnnotationLayer } from './model.d-CNtRWKVK.js';
2
2
  import * as React from 'react';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { b as AnnotationLayer } from './model.d-D63gedpb.cjs';
1
+ import { b as AnnotationLayer } from './model.d-CNtRWKVK.cjs';
2
2
  import * as React from 'react';
3
3
 
4
4
  /**
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkEYOXZHXM_cjs = require('../../chunk-EYOXZHXM.cjs');
4
- var chunkNSSGDZSL_cjs = require('../../chunk-NSSGDZSL.cjs');
3
+ var chunkB6I2HRRF_cjs = require('../../chunk-B6I2HRRF.cjs');
4
+ var chunk2IJP73ZG_cjs = require('../../chunk-2IJP73ZG.cjs');
5
5
  require('../../chunk-IU2CJNTB.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(chunkNSSGDZSL_cjs.isEffectiveRedaction);
10
- const rasterizer = needsRaster ? await chunkEYOXZHXM_cjs.createPdfJsRasterizer(reactPdf.pdfjs, bytes, chunkEYOXZHXM_cjs.browserCanvasFactory(), {
9
+ const needsRaster = options.mode === "image" || layer.annotations.some(chunk2IJP73ZG_cjs.isEffectiveRedaction);
10
+ const rasterizer = needsRaster ? await chunkB6I2HRRF_cjs.createPdfJsRasterizer(reactPdf.pdfjs, bytes, chunkB6I2HRRF_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 chunkEYOXZHXM_cjs.freezePdf(bytes, layer, { ...options, rasterizer });
19
+ return chunkB6I2HRRF_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 chunkEYOXZHXM_cjs.DEFAULT_DPI; }
24
+ get: function () { return chunkB6I2HRRF_cjs.DEFAULT_DPI; }
25
25
  });
26
26
  Object.defineProperty(exports, "FreezeError", {
27
27
  enumerable: true,
28
- get: function () { return chunkEYOXZHXM_cjs.FreezeError; }
28
+ get: function () { return chunkB6I2HRRF_cjs.FreezeError; }
29
29
  });
30
30
  Object.defineProperty(exports, "MAX_PAGE_PIXELS", {
31
31
  enumerable: true,
32
- get: function () { return chunkEYOXZHXM_cjs.MAX_PAGE_PIXELS; }
32
+ get: function () { return chunkB6I2HRRF_cjs.MAX_PAGE_PIXELS; }
33
33
  });
34
34
  Object.defineProperty(exports, "batesLabel", {
35
35
  enumerable: true,
36
- get: function () { return chunkEYOXZHXM_cjs.batesLabel; }
36
+ get: function () { return chunkB6I2HRRF_cjs.batesLabel; }
37
37
  });
38
38
  Object.defineProperty(exports, "browserCanvasFactory", {
39
39
  enumerable: true,
40
- get: function () { return chunkEYOXZHXM_cjs.browserCanvasFactory; }
40
+ get: function () { return chunkB6I2HRRF_cjs.browserCanvasFactory; }
41
41
  });
42
42
  Object.defineProperty(exports, "buildBundle", {
43
43
  enumerable: true,
44
- get: function () { return chunkEYOXZHXM_cjs.buildBundle; }
44
+ get: function () { return chunkB6I2HRRF_cjs.buildBundle; }
45
45
  });
46
46
  Object.defineProperty(exports, "burnMarks", {
47
47
  enumerable: true,
48
- get: function () { return chunkEYOXZHXM_cjs.burnMarks; }
48
+ get: function () { return chunkB6I2HRRF_cjs.burnMarks; }
49
49
  });
50
50
  Object.defineProperty(exports, "createPdfJsRasterizer", {
51
51
  enumerable: true,
52
- get: function () { return chunkEYOXZHXM_cjs.createPdfJsRasterizer; }
52
+ get: function () { return chunkB6I2HRRF_cjs.createPdfJsRasterizer; }
53
53
  });
54
54
  Object.defineProperty(exports, "freezePdf", {
55
55
  enumerable: true,
56
- get: function () { return chunkEYOXZHXM_cjs.freezePdf; }
56
+ get: function () { return chunkB6I2HRRF_cjs.freezePdf; }
57
57
  });
58
58
  Object.defineProperty(exports, "readProvenance", {
59
59
  enumerable: true,
60
- get: function () { return chunkEYOXZHXM_cjs.readProvenance; }
60
+ get: function () { return chunkB6I2HRRF_cjs.readProvenance; }
61
61
  });
62
62
  exports.freezePdfInBrowser = freezePdfInBrowser;
63
63
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- import { a as AnnotationKind, b as AnnotationLayer, A as Annotation } from '../../model.d-D63gedpb.cjs';
1
+ import { a as AnnotationKind, b as AnnotationLayer, A as Annotation } from '../../model.d-CNtRWKVK.cjs';
2
2
  import { a as PdfViewerAssets } from '../../PdfViewer.d-bQH9yxFg.cjs';
3
3
  export { B as BatesOptions, a as BundleFile, b as BundleIndexEntry, c as BundleItem, d as BundleLayout, e as BundleOptions, f as BundleResult, S as StampCorner, g as batesLabel, h as buildBundle } from '../../bundle.d-BnCSbHy2.cjs';
4
4
  import 'react';
@@ -1,4 +1,4 @@
1
- import { a as AnnotationKind, b as AnnotationLayer, A as Annotation } from '../../model.d-D63gedpb.js';
1
+ import { a as AnnotationKind, b as AnnotationLayer, A as Annotation } from '../../model.d-CNtRWKVK.js';
2
2
  import { a as PdfViewerAssets } from '../../PdfViewer.d-bQH9yxFg.js';
3
3
  export { B as BatesOptions, a as BundleFile, b as BundleIndexEntry, c as BundleItem, d as BundleLayout, e as BundleOptions, f as BundleResult, S as StampCorner, g as batesLabel, h as buildBundle } from '../../bundle.d-BnCSbHy2.js';
4
4
  import 'react';
@@ -1,6 +1,6 @@
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';
1
+ import { createPdfJsRasterizer, browserCanvasFactory, freezePdf } from '../../chunk-A2XSLTIP.js';
2
+ export { DEFAULT_DPI, FreezeError, MAX_PAGE_PIXELS, batesLabel, browserCanvasFactory, buildBundle, burnMarks, createPdfJsRasterizer, freezePdf, readProvenance } from '../../chunk-A2XSLTIP.js';
3
+ import { isEffectiveRedaction } from '../../chunk-T3USOSVN.js';
4
4
  import '../../chunk-PTOP7OHG.js';
5
5
  import { pdfjs } from 'react-pdf';
6
6
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkALLWAYMB_cjs = require('../chunk-ALLWAYMB.cjs');
4
- var chunkNSSGDZSL_cjs = require('../chunk-NSSGDZSL.cjs');
3
+ var chunkSUZORMAB_cjs = require('../chunk-SUZORMAB.cjs');
4
+ var chunk2IJP73ZG_cjs = require('../chunk-2IJP73ZG.cjs');
5
5
  require('../chunk-WYZJLZ67.cjs');
6
6
  require('../chunk-HJDR5HEO.cjs');
7
7
  require('../chunk-S6A6FSG7.cjs');
@@ -10,219 +10,219 @@ require('../chunk-S6A6FSG7.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "AUTOSAVE_MS", {
12
12
  enumerable: true,
13
- get: function () { return chunkALLWAYMB_cjs.AUTOSAVE_MS; }
13
+ get: function () { return chunkSUZORMAB_cjs.AUTOSAVE_MS; }
14
14
  });
15
15
  Object.defineProperty(exports, "AnnotationPageOverlay", {
16
16
  enumerable: true,
17
- get: function () { return chunkALLWAYMB_cjs.AnnotationPageOverlay; }
17
+ get: function () { return chunkSUZORMAB_cjs.AnnotationPageOverlay; }
18
18
  });
19
19
  Object.defineProperty(exports, "AnnotationStoreOfflineError", {
20
20
  enumerable: true,
21
- get: function () { return chunkALLWAYMB_cjs.AnnotationStoreOfflineError; }
21
+ get: function () { return chunkSUZORMAB_cjs.AnnotationStoreOfflineError; }
22
22
  });
23
23
  Object.defineProperty(exports, "AnnotationToolbar", {
24
24
  enumerable: true,
25
- get: function () { return chunkALLWAYMB_cjs.AnnotationToolbar; }
25
+ get: function () { return chunkSUZORMAB_cjs.AnnotationToolbar; }
26
26
  });
27
27
  Object.defineProperty(exports, "DEFAULT_SETTINGS", {
28
28
  enumerable: true,
29
- get: function () { return chunkALLWAYMB_cjs.DEFAULT_SETTINGS; }
29
+ get: function () { return chunkSUZORMAB_cjs.DEFAULT_SETTINGS; }
30
30
  });
31
31
  Object.defineProperty(exports, "FreezeDialog", {
32
32
  enumerable: true,
33
- get: function () { return chunkALLWAYMB_cjs.FreezeDialog; }
33
+ get: function () { return chunkSUZORMAB_cjs.FreezeDialog; }
34
34
  });
35
35
  Object.defineProperty(exports, "HIGHLIGHT_COLORS", {
36
36
  enumerable: true,
37
- get: function () { return chunkALLWAYMB_cjs.HIGHLIGHT_COLORS; }
37
+ get: function () { return chunkSUZORMAB_cjs.HIGHLIGHT_COLORS; }
38
38
  });
39
39
  Object.defineProperty(exports, "MARK_COLORS", {
40
40
  enumerable: true,
41
- get: function () { return chunkALLWAYMB_cjs.MARK_COLORS; }
41
+ get: function () { return chunkSUZORMAB_cjs.MARK_COLORS; }
42
42
  });
43
43
  Object.defineProperty(exports, "ProductionDialog", {
44
44
  enumerable: true,
45
- get: function () { return chunkALLWAYMB_cjs.ProductionDialog; }
45
+ get: function () { return chunkSUZORMAB_cjs.ProductionDialog; }
46
46
  });
47
47
  Object.defineProperty(exports, "REDACTION_LOG_COLUMNS", {
48
48
  enumerable: true,
49
- get: function () { return chunkALLWAYMB_cjs.REDACTION_LOG_COLUMNS; }
49
+ get: function () { return chunkSUZORMAB_cjs.REDACTION_LOG_COLUMNS; }
50
50
  });
51
51
  Object.defineProperty(exports, "REDACTION_REASONS", {
52
52
  enumerable: true,
53
- get: function () { return chunkALLWAYMB_cjs.REDACTION_REASONS; }
53
+ get: function () { return chunkSUZORMAB_cjs.REDACTION_REASONS; }
54
54
  });
55
55
  Object.defineProperty(exports, "RETRY_MS", {
56
56
  enumerable: true,
57
- get: function () { return chunkALLWAYMB_cjs.RETRY_MS; }
57
+ get: function () { return chunkSUZORMAB_cjs.RETRY_MS; }
58
58
  });
59
59
  Object.defineProperty(exports, "STAMP_PRESETS", {
60
60
  enumerable: true,
61
- get: function () { return chunkALLWAYMB_cjs.STAMP_PRESETS; }
61
+ get: function () { return chunkSUZORMAB_cjs.STAMP_PRESETS; }
62
62
  });
63
63
  Object.defineProperty(exports, "annotationsOnPage", {
64
64
  enumerable: true,
65
- get: function () { return chunkALLWAYMB_cjs.annotationsOnPage; }
65
+ get: function () { return chunkSUZORMAB_cjs.annotationsOnPage; }
66
66
  });
67
67
  Object.defineProperty(exports, "applyAction", {
68
68
  enumerable: true,
69
- get: function () { return chunkALLWAYMB_cjs.applyAction; }
69
+ get: function () { return chunkSUZORMAB_cjs.applyAction; }
70
70
  });
71
71
  Object.defineProperty(exports, "canRedo", {
72
72
  enumerable: true,
73
- get: function () { return chunkALLWAYMB_cjs.canRedo; }
73
+ get: function () { return chunkSUZORMAB_cjs.canRedo; }
74
74
  });
75
75
  Object.defineProperty(exports, "canUndo", {
76
76
  enumerable: true,
77
- get: function () { return chunkALLWAYMB_cjs.canUndo; }
77
+ get: function () { return chunkSUZORMAB_cjs.canUndo; }
78
78
  });
79
79
  Object.defineProperty(exports, "containsPoint", {
80
80
  enumerable: true,
81
- get: function () { return chunkALLWAYMB_cjs.containsPoint; }
81
+ get: function () { return chunkSUZORMAB_cjs.containsPoint; }
82
82
  });
83
83
  Object.defineProperty(exports, "createHistory", {
84
84
  enumerable: true,
85
- get: function () { return chunkALLWAYMB_cjs.createHistory; }
85
+ get: function () { return chunkSUZORMAB_cjs.createHistory; }
86
86
  });
87
87
  Object.defineProperty(exports, "createLocalStorageStore", {
88
88
  enumerable: true,
89
- get: function () { return chunkALLWAYMB_cjs.createLocalStorageStore; }
89
+ get: function () { return chunkSUZORMAB_cjs.createLocalStorageStore; }
90
90
  });
91
91
  Object.defineProperty(exports, "createMemoryStore", {
92
92
  enumerable: true,
93
- get: function () { return chunkALLWAYMB_cjs.createMemoryStore; }
93
+ get: function () { return chunkSUZORMAB_cjs.createMemoryStore; }
94
94
  });
95
95
  Object.defineProperty(exports, "dragRect", {
96
96
  enumerable: true,
97
- get: function () { return chunkALLWAYMB_cjs.dragRect; }
97
+ get: function () { return chunkSUZORMAB_cjs.dragRect; }
98
98
  });
99
99
  Object.defineProperty(exports, "dragToNorm", {
100
100
  enumerable: true,
101
- get: function () { return chunkALLWAYMB_cjs.dragToNorm; }
101
+ get: function () { return chunkSUZORMAB_cjs.dragToNorm; }
102
102
  });
103
103
  Object.defineProperty(exports, "intersects", {
104
104
  enumerable: true,
105
- get: function () { return chunkALLWAYMB_cjs.intersects; }
105
+ get: function () { return chunkSUZORMAB_cjs.intersects; }
106
106
  });
107
107
  Object.defineProperty(exports, "isTooSmall", {
108
108
  enumerable: true,
109
- get: function () { return chunkALLWAYMB_cjs.isTooSmall; }
109
+ get: function () { return chunkSUZORMAB_cjs.isTooSmall; }
110
110
  });
111
111
  Object.defineProperty(exports, "layerStatusText", {
112
112
  enumerable: true,
113
- get: function () { return chunkALLWAYMB_cjs.layerStatusText; }
113
+ get: function () { return chunkSUZORMAB_cjs.layerStatusText; }
114
114
  });
115
115
  Object.defineProperty(exports, "mergeLayers", {
116
116
  enumerable: true,
117
- get: function () { return chunkALLWAYMB_cjs.mergeLayers; }
117
+ get: function () { return chunkSUZORMAB_cjs.mergeLayers; }
118
118
  });
119
119
  Object.defineProperty(exports, "mergeLineRects", {
120
120
  enumerable: true,
121
- get: function () { return chunkALLWAYMB_cjs.mergeLineRects; }
121
+ get: function () { return chunkSUZORMAB_cjs.mergeLineRects; }
122
122
  });
123
123
  Object.defineProperty(exports, "moveItem", {
124
124
  enumerable: true,
125
- get: function () { return chunkALLWAYMB_cjs.moveItem; }
125
+ get: function () { return chunkSUZORMAB_cjs.moveItem; }
126
126
  });
127
127
  Object.defineProperty(exports, "patchForRect", {
128
128
  enumerable: true,
129
- get: function () { return chunkALLWAYMB_cjs.patchForRect; }
129
+ get: function () { return chunkSUZORMAB_cjs.patchForRect; }
130
130
  });
131
131
  Object.defineProperty(exports, "pendingRedactions", {
132
132
  enumerable: true,
133
- get: function () { return chunkALLWAYMB_cjs.pendingRedactions; }
133
+ get: function () { return chunkSUZORMAB_cjs.pendingRedactions; }
134
134
  });
135
135
  Object.defineProperty(exports, "qrCornerFor", {
136
136
  enumerable: true,
137
- get: function () { return chunkALLWAYMB_cjs.qrCornerFor; }
137
+ get: function () { return chunkSUZORMAB_cjs.qrCornerFor; }
138
138
  });
139
139
  Object.defineProperty(exports, "readSelection", {
140
140
  enumerable: true,
141
- get: function () { return chunkALLWAYMB_cjs.readSelection; }
141
+ get: function () { return chunkSUZORMAB_cjs.readSelection; }
142
142
  });
143
143
  Object.defineProperty(exports, "redactionLogCsv", {
144
144
  enumerable: true,
145
- get: function () { return chunkALLWAYMB_cjs.redactionLogCsv; }
145
+ get: function () { return chunkSUZORMAB_cjs.redactionLogCsv; }
146
146
  });
147
147
  Object.defineProperty(exports, "redactionLogRows", {
148
148
  enumerable: true,
149
- get: function () { return chunkALLWAYMB_cjs.redactionLogRows; }
149
+ get: function () { return chunkSUZORMAB_cjs.redactionLogRows; }
150
150
  });
151
151
  Object.defineProperty(exports, "redo", {
152
152
  enumerable: true,
153
- get: function () { return chunkALLWAYMB_cjs.redo; }
153
+ get: function () { return chunkSUZORMAB_cjs.redo; }
154
154
  });
155
155
  Object.defineProperty(exports, "reduceLayer", {
156
156
  enumerable: true,
157
- get: function () { return chunkALLWAYMB_cjs.reduceLayer; }
157
+ get: function () { return chunkSUZORMAB_cjs.reduceLayer; }
158
158
  });
159
159
  Object.defineProperty(exports, "sameMarks", {
160
160
  enumerable: true,
161
- get: function () { return chunkALLWAYMB_cjs.sameMarks; }
161
+ get: function () { return chunkSUZORMAB_cjs.sameMarks; }
162
162
  });
163
163
  Object.defineProperty(exports, "selectionToPageMarks", {
164
164
  enumerable: true,
165
- get: function () { return chunkALLWAYMB_cjs.selectionToPageMarks; }
165
+ get: function () { return chunkSUZORMAB_cjs.selectionToPageMarks; }
166
166
  });
167
167
  Object.defineProperty(exports, "singleRect", {
168
168
  enumerable: true,
169
- get: function () { return chunkALLWAYMB_cjs.singleRect; }
169
+ get: function () { return chunkSUZORMAB_cjs.singleRect; }
170
170
  });
171
171
  Object.defineProperty(exports, "toNorm", {
172
172
  enumerable: true,
173
- get: function () { return chunkALLWAYMB_cjs.toNorm; }
173
+ get: function () { return chunkSUZORMAB_cjs.toNorm; }
174
174
  });
175
175
  Object.defineProperty(exports, "toPixels", {
176
176
  enumerable: true,
177
- get: function () { return chunkALLWAYMB_cjs.toPixels; }
177
+ get: function () { return chunkSUZORMAB_cjs.toPixels; }
178
178
  });
179
179
  Object.defineProperty(exports, "undo", {
180
180
  enumerable: true,
181
- get: function () { return chunkALLWAYMB_cjs.undo; }
181
+ get: function () { return chunkSUZORMAB_cjs.undo; }
182
182
  });
183
183
  Object.defineProperty(exports, "useAnnotationLayer", {
184
184
  enumerable: true,
185
- get: function () { return chunkALLWAYMB_cjs.useAnnotationLayer; }
185
+ get: function () { return chunkSUZORMAB_cjs.useAnnotationLayer; }
186
186
  });
187
187
  Object.defineProperty(exports, "useAnnotationShortcuts", {
188
188
  enumerable: true,
189
- get: function () { return chunkALLWAYMB_cjs.useAnnotationShortcuts; }
189
+ get: function () { return chunkSUZORMAB_cjs.useAnnotationShortcuts; }
190
190
  });
191
191
  Object.defineProperty(exports, "useTextSelectionMarks", {
192
192
  enumerable: true,
193
- get: function () { return chunkALLWAYMB_cjs.useTextSelectionMarks; }
193
+ get: function () { return chunkSUZORMAB_cjs.useTextSelectionMarks; }
194
194
  });
195
195
  Object.defineProperty(exports, "AnnotationLayerError", {
196
196
  enumerable: true,
197
- get: function () { return chunkNSSGDZSL_cjs.AnnotationLayerError; }
197
+ get: function () { return chunk2IJP73ZG_cjs.AnnotationLayerError; }
198
198
  });
199
199
  Object.defineProperty(exports, "LAYER_SCHEMA_VERSION", {
200
200
  enumerable: true,
201
- get: function () { return chunkNSSGDZSL_cjs.LAYER_SCHEMA_VERSION; }
201
+ get: function () { return chunk2IJP73ZG_cjs.LAYER_SCHEMA_VERSION; }
202
202
  });
203
203
  Object.defineProperty(exports, "annotationRects", {
204
204
  enumerable: true,
205
- get: function () { return chunkNSSGDZSL_cjs.annotationRects; }
205
+ get: function () { return chunk2IJP73ZG_cjs.annotationRects; }
206
206
  });
207
207
  Object.defineProperty(exports, "clampRect", {
208
208
  enumerable: true,
209
- get: function () { return chunkNSSGDZSL_cjs.clampRect; }
209
+ get: function () { return chunk2IJP73ZG_cjs.clampRect; }
210
210
  });
211
211
  Object.defineProperty(exports, "emptyLayer", {
212
212
  enumerable: true,
213
- get: function () { return chunkNSSGDZSL_cjs.emptyLayer; }
213
+ get: function () { return chunk2IJP73ZG_cjs.emptyLayer; }
214
214
  });
215
215
  Object.defineProperty(exports, "isEffectiveRedaction", {
216
216
  enumerable: true,
217
- get: function () { return chunkNSSGDZSL_cjs.isEffectiveRedaction; }
217
+ get: function () { return chunk2IJP73ZG_cjs.isEffectiveRedaction; }
218
218
  });
219
219
  Object.defineProperty(exports, "parseAnnotation", {
220
220
  enumerable: true,
221
- get: function () { return chunkNSSGDZSL_cjs.parseAnnotation; }
221
+ get: function () { return chunk2IJP73ZG_cjs.parseAnnotation; }
222
222
  });
223
223
  Object.defineProperty(exports, "parseLayer", {
224
224
  enumerable: true,
225
- get: function () { return chunkNSSGDZSL_cjs.parseLayer; }
225
+ get: function () { return chunk2IJP73ZG_cjs.parseLayer; }
226
226
  });
227
227
  //# sourceMappingURL=index.cjs.map
228
228
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
- import { A as Annotation, e as RedactionStatus, d as CommentReply, b as AnnotationLayer, N as NormRect } from '../model.d-D63gedpb.cjs';
2
- export { a as AnnotationKind, c as AnnotationLayerError, B as BoxAnnotation, C as CommentAnnotation, H as HighlightAnnotation, L as LAYER_SCHEMA_VERSION, R as RedactionAnnotation, S as StampAnnotation, f as annotationRects, g as clampRect, h as emptyLayer, i as isEffectiveRedaction, p as parseAnnotation, j as parseLayer } from '../model.d-D63gedpb.cjs';
3
- import { A as AnnotationStore } from '../ProductionDialog.d-BD1osHeq.cjs';
4
- export { a as AnnotationStoreOfflineError, P as ProductionChoices, b as ProductionCorner, c as ProductionDialog, d as ProductionDialogProps, e as ProductionDocument, f as createLocalStorageStore, g as createMemoryStore, m as moveItem, q as qrCornerFor } from '../ProductionDialog.d-BD1osHeq.cjs';
1
+ import { A as Annotation, e as RedactionStatus, d as CommentReply, b as AnnotationLayer, N as NormRect } from '../model.d-CNtRWKVK.cjs';
2
+ export { a as AnnotationKind, c as AnnotationLayerError, B as BoxAnnotation, C as CommentAnnotation, H as HighlightAnnotation, L as LAYER_SCHEMA_VERSION, R as RedactionAnnotation, S as StampAnnotation, f as annotationRects, g as clampRect, h as emptyLayer, i as isEffectiveRedaction, p as parseAnnotation, j as parseLayer } from '../model.d-CNtRWKVK.cjs';
3
+ import { A as AnnotationStore } from '../ProductionDialog.d-DjRQFmQw.cjs';
4
+ export { a as AnnotationStoreOfflineError, P as ProductionChoices, b as ProductionCorner, c as ProductionDialog, d as ProductionDialogProps, e as ProductionDocument, f as createLocalStorageStore, g as createMemoryStore, m as moveItem, q as qrCornerFor } from '../ProductionDialog.d-DjRQFmQw.cjs';
5
5
  import * as React from 'react';
6
6
  import { ReactNode } from 'react';
7
7
 
@@ -322,7 +322,7 @@ declare function dragRect(origin: NormRect, mode: DragMode, dx: number, dy: numb
322
322
 
323
323
  interface AnnotationToolbarProps {
324
324
  controller: AnnotationController;
325
- /** Show a Freeze button; the host opens its freeze dialog. */
325
+ /** Apply the annotations and redactions to a new document copy. */
326
326
  onFreeze?: () => void;
327
327
  /** Extra host actions at the end of the bar (e.g. "Download with markup"). */
328
328
  actions?: ReactNode;
@@ -1,7 +1,7 @@
1
- import { A as Annotation, e as RedactionStatus, d as CommentReply, b as AnnotationLayer, N as NormRect } from '../model.d-D63gedpb.js';
2
- export { a as AnnotationKind, c as AnnotationLayerError, B as BoxAnnotation, C as CommentAnnotation, H as HighlightAnnotation, L as LAYER_SCHEMA_VERSION, R as RedactionAnnotation, S as StampAnnotation, f as annotationRects, g as clampRect, h as emptyLayer, i as isEffectiveRedaction, p as parseAnnotation, j as parseLayer } from '../model.d-D63gedpb.js';
3
- import { A as AnnotationStore } from '../ProductionDialog.d-CttHqQAh.js';
4
- export { a as AnnotationStoreOfflineError, P as ProductionChoices, b as ProductionCorner, c as ProductionDialog, d as ProductionDialogProps, e as ProductionDocument, f as createLocalStorageStore, g as createMemoryStore, m as moveItem, q as qrCornerFor } from '../ProductionDialog.d-CttHqQAh.js';
1
+ import { A as Annotation, e as RedactionStatus, d as CommentReply, b as AnnotationLayer, N as NormRect } from '../model.d-CNtRWKVK.js';
2
+ export { a as AnnotationKind, c as AnnotationLayerError, B as BoxAnnotation, C as CommentAnnotation, H as HighlightAnnotation, L as LAYER_SCHEMA_VERSION, R as RedactionAnnotation, S as StampAnnotation, f as annotationRects, g as clampRect, h as emptyLayer, i as isEffectiveRedaction, p as parseAnnotation, j as parseLayer } from '../model.d-CNtRWKVK.js';
3
+ import { A as AnnotationStore } from '../ProductionDialog.d-BDJwBSzj.js';
4
+ export { a as AnnotationStoreOfflineError, P as ProductionChoices, b as ProductionCorner, c as ProductionDialog, d as ProductionDialogProps, e as ProductionDocument, f as createLocalStorageStore, g as createMemoryStore, m as moveItem, q as qrCornerFor } from '../ProductionDialog.d-BDJwBSzj.js';
5
5
  import * as React from 'react';
6
6
  import { ReactNode } from 'react';
7
7
 
@@ -322,7 +322,7 @@ declare function dragRect(origin: NormRect, mode: DragMode, dx: number, dy: numb
322
322
 
323
323
  interface AnnotationToolbarProps {
324
324
  controller: AnnotationController;
325
- /** Show a Freeze button; the host opens its freeze dialog. */
325
+ /** Apply the annotations and redactions to a new document copy. */
326
326
  onFreeze?: () => void;
327
327
  /** Extra host actions at the end of the bar (e.g. "Download with markup"). */
328
328
  actions?: ReactNode;
@@ -1,5 +1,5 @@
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';
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-T4CLW3DN.js';
2
+ export { AnnotationLayerError, LAYER_SCHEMA_VERSION, annotationRects, clampRect, emptyLayer, isEffectiveRedaction, parseAnnotation, parseLayer } from '../chunk-T3USOSVN.js';
3
3
  import '../chunk-YNNAJJ5Z.js';
4
4
  import '../chunk-47CCGUWR.js';
5
5
  import '../chunk-SN5YV6FF.js';
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkKFFH2JJM_cjs = require('../chunk-KFFH2JJM.cjs');
4
- var chunkCNRF5SLZ_cjs = require('../chunk-CNRF5SLZ.cjs');
3
+ var chunk4UDIA47U_cjs = require('../chunk-4UDIA47U.cjs');
4
+ var chunkFLAZSNC5_cjs = require('../chunk-FLAZSNC5.cjs');
5
5
  var chunk3AADNIOK_cjs = require('../chunk-3AADNIOK.cjs');
6
- var chunkH4FGDXYB_cjs = require('../chunk-H4FGDXYB.cjs');
6
+ var chunkRRWAX52L_cjs = require('../chunk-RRWAX52L.cjs');
7
7
  require('../chunk-N73IMVFF.cjs');
8
8
  var chunkZWFMFOGP_cjs = require('../chunk-ZWFMFOGP.cjs');
9
9
  var chunkVOFNX4P6_cjs = require('../chunk-VOFNX4P6.cjs');
10
+ var chunkQQ7SCJRY_cjs = require('../chunk-QQ7SCJRY.cjs');
10
11
  var chunkOC7F5SNA_cjs = require('../chunk-OC7F5SNA.cjs');
11
12
  require('../chunk-Z3LLUO32.cjs');
12
13
  require('../chunk-S6A6FSG7.cjs');
13
- var chunkQQ7SCJRY_cjs = require('../chunk-QQ7SCJRY.cjs');
14
14
  require('../chunk-RCKA7BEF.cjs');
15
15
  var react = require('react');
16
16
  var reactQuery = require('@tanstack/react-query');
@@ -287,7 +287,7 @@ function useArtifactText(docId, options) {
287
287
  const enabled = (options?.enabled ?? true) && chunkZWFMFOGP_cjs.isDocumentId(docId) && arbi.hasWorkspace;
288
288
  const query = reactQuery.useQuery({
289
289
  // Under the shared `parsedDoc` key, so a document's invalidation reaches it too.
290
- queryKey: [...chunkH4FGDXYB_cjs.arbiQueryKeys.parsedDoc(docId ?? "", "marker"), "artifact-text"],
290
+ queryKey: [...chunkRRWAX52L_cjs.arbiQueryKeys.parsedDoc(docId ?? "", "marker"), "artifact-text"],
291
291
  queryFn: async () => {
292
292
  const { docId: plainId, version } = chunkZWFMFOGP_cjs.parseVersionRef(docId);
293
293
  const parsed = await arbi.documents.getParsedContent(
@@ -335,12 +335,12 @@ function useArtifactText(docId, options) {
335
335
  // src/artifacts/useArtifactSession.ts
336
336
  function useArtifactVersions(workspaceId, docId) {
337
337
  const plainId = docId ? chunkZWFMFOGP_cjs.parseVersionRef(docId).docId : null;
338
- const { data: documents } = chunkKFFH2JJM_cjs.useDocuments(workspaceId);
338
+ const { data: documents } = chunk4UDIA47U_cjs.useDocuments(workspaceId);
339
339
  const listed = react.useMemo(
340
340
  () => (documents ?? []).find((d) => d.external_id === plainId),
341
341
  [documents, plainId]
342
342
  );
343
- const { data: history } = chunkCNRF5SLZ_cjs.useDocumentVersionList(plainId, {
343
+ const { data: history } = chunkFLAZSNC5_cjs.useDocumentVersionList(plainId, {
344
344
  enabled: !!plainId && documents !== void 0 && !listed
345
345
  });
346
346
  return react.useMemo(
@@ -364,10 +364,10 @@ function useSaveArtifactVersion() {
364
364
  }
365
365
  );
366
366
  const docId = result.doc_ext_ids?.[0];
367
- if (docId) await chunkKFFH2JJM_cjs.refreshDocuments(queryClient, arbi, [docId]);
368
- await queryClient.invalidateQueries({ queryKey: chunkH4FGDXYB_cjs.arbiQueryKeys.allDocumentVersions() });
367
+ if (docId) await chunk4UDIA47U_cjs.refreshDocuments(queryClient, arbi, [docId]);
368
+ await queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allDocumentVersions() });
369
369
  if (docId)
370
- await queryClient.invalidateQueries({ queryKey: chunkH4FGDXYB_cjs.arbiQueryKeys.parsedDocument(docId) });
370
+ await queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.parsedDocument(docId) });
371
371
  return { docId, version: result.version ?? void 0 };
372
372
  }
373
373
  });
@@ -486,7 +486,7 @@ function useArtifactSession(options) {
486
486
  function useArtifactSource(documentId, enabled = true) {
487
487
  const arbi = chunkQQ7SCJRY_cjs.useArbi();
488
488
  return reactQuery.useQuery({
489
- queryKey: chunkH4FGDXYB_cjs.arbiQueryKeys.artifactSource(documentId ?? ""),
489
+ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.artifactSource(documentId ?? ""),
490
490
  queryFn: async () => (await arbi.documents.download(documentId)).text(),
491
491
  enabled: enabled && !!documentId && arbi.isLoggedIn,
492
492
  staleTime: 5 * 60 * 1e3
@@ -1,17 +1,17 @@
1
- import { useDocuments, refreshDocuments } from '../chunk-GN33GLHR.js';
2
- import { useDocumentVersionList } from '../chunk-J2GERLMU.js';
1
+ import { useDocuments, refreshDocuments } from '../chunk-MQ7LZWGP.js';
2
+ import { useDocumentVersionList } from '../chunk-LYGJVSNM.js';
3
3
  import { revertRedlineRegion, buildHybridRedlineWithRegions, buildHybridRedlineMarkdown } from '../chunk-74N436VK.js';
4
4
  export { buildHybridRedlineMarkdown, buildHybridRedlineWithRegions, revertRedlineRegion } from '../chunk-74N436VK.js';
5
- import { arbiQueryKeys } from '../chunk-RG2ZE7DF.js';
5
+ import { arbiQueryKeys } from '../chunk-PBXJFMES.js';
6
6
  import '../chunk-DPYBZDJB.js';
7
7
  import { isDocumentId, parseVersionRef, flattenChunks, documentVersions, toArtifactVersions, findVersion, versionLabel, cleanDraftWithReport } from '../chunk-NNWMHMEC.js';
8
8
  export { cleanDraftMarkdown, cleanDraftWithReport, documentVersions, findVersion, flattenChunks, isDocumentId, parseVersionRef, promoteBoldTitle, repairParsedStructure, repairParsedTitle, savedFromId, stripAgentPreamble, toArtifactVersions, unescapeMarkdown, unwrapCitationLinks, versionLabel, versionRef } from '../chunk-NNWMHMEC.js';
9
9
  import { normalizeMarkdown } from '../chunk-WUTL62MC.js';
10
10
  export { normalizeMarkdown } from '../chunk-WUTL62MC.js';
11
+ import { useArbi } from '../chunk-KGCGA452.js';
11
12
  import { MarkdownRenderer } from '../chunk-C44GO33B.js';
12
13
  import '../chunk-QRCMKEE6.js';
13
14
  import '../chunk-SN5YV6FF.js';
14
- import { useArbi } from '../chunk-KGCGA452.js';
15
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';
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ var chunkB6I2HRRF_cjs = require('./chunk-B6I2HRRF.cjs');
4
+ require('./chunk-2IJP73ZG.cjs');
5
+ require('./chunk-IU2CJNTB.cjs');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "buildBundle", {
10
+ enumerable: true,
11
+ get: function () { return chunkB6I2HRRF_cjs.buildBundle; }
12
+ });
13
+ //# sourceMappingURL=bundle-DCWPYNGD.cjs.map
14
+ //# sourceMappingURL=bundle-DCWPYNGD.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"bundle-B5AN4B7H.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"bundle-DCWPYNGD.cjs"}
@@ -0,0 +1,5 @@
1
+ export { buildBundle } from './chunk-A2XSLTIP.js';
2
+ import './chunk-T3USOSVN.js';
3
+ import './chunk-PTOP7OHG.js';
4
+ //# sourceMappingURL=bundle-JCKKGEJE.js.map
5
+ //# sourceMappingURL=bundle-JCKKGEJE.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"bundle-4TKU5WEQ.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"bundle-JCKKGEJE.js"}