@arbidocs/react 0.5.70 → 0.5.71
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 +14 -14
- package/dist/annotations/freeze/index.js +3 -3
- package/dist/artifacts/index.cjs +36 -36
- package/dist/artifacts/index.js +7 -7
- package/dist/bundle-DCWPYNGD.cjs +14 -0
- package/dist/{bundle-IC65W2AO.cjs.map → bundle-DCWPYNGD.cjs.map} +1 -1
- package/dist/bundle-JCKKGEJE.js +5 -0
- package/dist/{bundle-YNOX7VIL.js.map → bundle-JCKKGEJE.js.map} +1 -1
- package/dist/calls/livekit/index.cjs +46 -46
- package/dist/calls/livekit/index.js +7 -7
- package/dist/{chunk-3NBPMR3X.js → chunk-2NFUEC5O.js} +3 -3
- package/dist/{chunk-3NBPMR3X.js.map → chunk-2NFUEC5O.js.map} +1 -1
- package/dist/{chunk-TGSEQGM3.cjs → chunk-2PMH4DTL.cjs} +4 -4
- package/dist/{chunk-TGSEQGM3.cjs.map → chunk-2PMH4DTL.cjs.map} +1 -1
- package/dist/{chunk-LMW46NBD.cjs → chunk-73BX6XSX.cjs} +6 -6
- package/dist/{chunk-LMW46NBD.cjs.map → chunk-73BX6XSX.cjs.map} +1 -1
- package/dist/{chunk-NIKPG4PW.js → chunk-A2XSLTIP.js} +3 -3
- package/dist/{chunk-NIKPG4PW.js.map → chunk-A2XSLTIP.js.map} +1 -1
- package/dist/{chunk-PC4O3JDV.cjs → chunk-B6I2HRRF.cjs} +3 -3
- package/dist/{chunk-PC4O3JDV.cjs.map → chunk-B6I2HRRF.cjs.map} +1 -1
- package/dist/{chunk-HXITD6DN.cjs → chunk-C55HTTQH.cjs} +7 -7
- package/dist/{chunk-HXITD6DN.cjs.map → chunk-C55HTTQH.cjs.map} +1 -1
- package/dist/{chunk-SI7DJWBT.js → chunk-CHLDCP3J.js} +3 -3
- package/dist/{chunk-SI7DJWBT.js.map → chunk-CHLDCP3J.js.map} +1 -1
- package/dist/{chunk-M3SB5TZB.js → chunk-D6CQI24G.js} +5 -5
- package/dist/{chunk-M3SB5TZB.js.map → chunk-D6CQI24G.js.map} +1 -1
- package/dist/{chunk-3BFSALPC.cjs → chunk-H3HYKAS5.cjs} +3 -3
- package/dist/{chunk-3BFSALPC.cjs.map → chunk-H3HYKAS5.cjs.map} +1 -1
- package/dist/{chunk-QGOYIYLI.js → chunk-IXKD5JLF.js} +4 -4
- package/dist/{chunk-QGOYIYLI.js.map → chunk-IXKD5JLF.js.map} +1 -1
- package/dist/{chunk-NNWMHMEC.js → chunk-MZ7EYCGH.js} +3 -3
- package/dist/{chunk-NNWMHMEC.js.map → chunk-MZ7EYCGH.js.map} +1 -1
- package/dist/{chunk-4DTTEUVY.js → chunk-QL6CHRQ5.js} +4 -4
- package/dist/{chunk-4DTTEUVY.js.map → chunk-QL6CHRQ5.js.map} +1 -1
- package/dist/{chunk-ZTPJNKF2.js → chunk-SOIOQBZZ.js} +5 -5
- package/dist/{chunk-ZTPJNKF2.js.map → chunk-SOIOQBZZ.js.map} +1 -1
- package/dist/{chunk-ZWFMFOGP.cjs → chunk-WEJHHBA2.cjs} +3 -3
- package/dist/{chunk-ZWFMFOGP.cjs.map → chunk-WEJHHBA2.cjs.map} +1 -1
- package/dist/{chunk-GOJHU7RZ.cjs → chunk-XFF66SHT.cjs} +26 -26
- package/dist/{chunk-GOJHU7RZ.cjs.map → chunk-XFF66SHT.cjs.map} +1 -1
- package/dist/{chunk-RS6UUPD2.cjs → chunk-ZP5DBHUY.cjs} +6 -6
- package/dist/{chunk-RS6UUPD2.cjs.map → chunk-ZP5DBHUY.cjs.map} +1 -1
- package/dist/document-tools/core.cjs +103 -103
- package/dist/document-tools/core.js +7 -7
- package/dist/document-tools/index.cjs +106 -106
- package/dist/document-tools/index.js +9 -9
- package/dist/index.cjs +1422 -1422
- package/dist/index.js +22 -22
- package/dist/shell/index.cjs +36 -36
- package/dist/shell/index.js +5 -5
- package/dist/ui/index.cjs +149 -149
- package/dist/ui/index.js +2 -2
- package/package.json +3 -3
- package/dist/bundle-IC65W2AO.cjs +0 -14
- package/dist/bundle-YNOX7VIL.js +0 -5
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-IU2CJNTB.cjs');
|
|
3
|
+
var chunkB6I2HRRF_cjs = require('../../chunk-B6I2HRRF.cjs');
|
|
5
4
|
var chunk2IJP73ZG_cjs = require('../../chunk-2IJP73ZG.cjs');
|
|
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
9
|
const needsRaster = options.mode === "image" || layer.annotations.some(chunk2IJP73ZG_cjs.isEffectiveRedaction);
|
|
10
|
-
const rasterizer = needsRaster ? await
|
|
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
|
|
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
|
|
24
|
+
get: function () { return chunkB6I2HRRF_cjs.DEFAULT_DPI; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "FreezeError", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
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
|
|
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
|
|
36
|
+
get: function () { return chunkB6I2HRRF_cjs.batesLabel; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "browserCanvasFactory", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkB6I2HRRF_cjs.browserCanvasFactory; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "buildBundle", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkB6I2HRRF_cjs.buildBundle; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "burnMarks", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkB6I2HRRF_cjs.burnMarks; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "createPdfJsRasterizer", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkB6I2HRRF_cjs.createPdfJsRasterizer; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "freezePdf", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkB6I2HRRF_cjs.freezePdf; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "readProvenance", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkB6I2HRRF_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-
|
|
3
|
-
import '../../chunk-PTOP7OHG.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';
|
|
4
3
|
import { isEffectiveRedaction } from '../../chunk-T3USOSVN.js';
|
|
4
|
+
import '../../chunk-PTOP7OHG.js';
|
|
5
5
|
import { pdfjs } from 'react-pdf';
|
|
6
6
|
|
|
7
7
|
async function freezePdfInBrowser(bytes, layer, { assets, password, ...options }) {
|
package/dist/artifacts/index.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkZNQPUPX6_cjs = require('../chunk-ZNQPUPX6.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkOC7F5SNA_cjs = require('../chunk-OC7F5SNA.cjs');
|
|
5
|
+
var chunkZP5DBHUY_cjs = require('../chunk-ZP5DBHUY.cjs');
|
|
5
6
|
var chunk3AADNIOK_cjs = require('../chunk-3AADNIOK.cjs');
|
|
6
7
|
var chunkGQAXAZN7_cjs = require('../chunk-GQAXAZN7.cjs');
|
|
7
|
-
var chunkY7S2SQH3_cjs = require('../chunk-Y7S2SQH3.cjs');
|
|
8
8
|
require('../chunk-N73IMVFF.cjs');
|
|
9
|
-
var
|
|
10
|
-
var chunkVOFNX4P6_cjs = require('../chunk-VOFNX4P6.cjs');
|
|
11
|
-
var chunkOC7F5SNA_cjs = require('../chunk-OC7F5SNA.cjs');
|
|
9
|
+
var chunkWEJHHBA2_cjs = require('../chunk-WEJHHBA2.cjs');
|
|
12
10
|
require('../chunk-Z3LLUO32.cjs');
|
|
13
|
-
require('../chunk-RCKA7BEF.cjs');
|
|
14
11
|
require('../chunk-S6A6FSG7.cjs');
|
|
12
|
+
var chunkVOFNX4P6_cjs = require('../chunk-VOFNX4P6.cjs');
|
|
13
|
+
var chunkY7S2SQH3_cjs = require('../chunk-Y7S2SQH3.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');
|
|
@@ -284,19 +284,19 @@ function useArtifactText(docId, options) {
|
|
|
284
284
|
...DEFAULT_ARTIFACT_TEXT_RETRY,
|
|
285
285
|
...options?.retry
|
|
286
286
|
};
|
|
287
|
-
const enabled = (options?.enabled ?? true) &&
|
|
287
|
+
const enabled = (options?.enabled ?? true) && chunkWEJHHBA2_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
290
|
queryKey: [...chunkGQAXAZN7_cjs.arbiQueryKeys.parsedDoc(docId ?? "", "marker"), "artifact-text"],
|
|
291
291
|
queryFn: async () => {
|
|
292
|
-
const { docId: plainId, version } =
|
|
292
|
+
const { docId: plainId, version } = chunkWEJHHBA2_cjs.parseVersionRef(docId);
|
|
293
293
|
const parsed = await arbi.documents.getParsedContent(
|
|
294
294
|
plainId,
|
|
295
295
|
"marker",
|
|
296
296
|
version ?? void 0
|
|
297
297
|
);
|
|
298
298
|
if (!parsed.chunks?.some((c) => c.content?.trim())) throw new NotParsedYetError();
|
|
299
|
-
return
|
|
299
|
+
return chunkWEJHHBA2_cjs.flattenChunks(parsed.chunks, { unescape: true });
|
|
300
300
|
},
|
|
301
301
|
enabled,
|
|
302
302
|
retry: (failureCount, error) => !isRefusal(error) && failureCount < attempts,
|
|
@@ -334,17 +334,17 @@ function useArtifactText(docId, options) {
|
|
|
334
334
|
|
|
335
335
|
// src/artifacts/useArtifactSession.ts
|
|
336
336
|
function useArtifactVersions(workspaceId, docId) {
|
|
337
|
-
const plainId = docId ?
|
|
337
|
+
const plainId = docId ? chunkWEJHHBA2_cjs.parseVersionRef(docId).docId : null;
|
|
338
338
|
const { data: documents } = chunkZNQPUPX6_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 } =
|
|
343
|
+
const { data: history } = chunkZP5DBHUY_cjs.useDocumentVersionList(plainId, {
|
|
344
344
|
enabled: !!plainId && documents !== void 0 && !listed
|
|
345
345
|
});
|
|
346
346
|
return react.useMemo(
|
|
347
|
-
() => listed ?
|
|
347
|
+
() => listed ? chunkWEJHHBA2_cjs.documentVersions(listed) : chunkWEJHHBA2_cjs.toArtifactVersions(plainId, history),
|
|
348
348
|
[listed, history, plainId]
|
|
349
349
|
);
|
|
350
350
|
}
|
|
@@ -359,7 +359,7 @@ function useSaveArtifactVersion() {
|
|
|
359
359
|
fileName,
|
|
360
360
|
{
|
|
361
361
|
wpType: wpType ?? "artifact",
|
|
362
|
-
versionOf: versionOf ?
|
|
362
|
+
versionOf: versionOf ? chunkWEJHHBA2_cjs.parseVersionRef(versionOf).docId : void 0,
|
|
363
363
|
configExtId: configId ?? void 0
|
|
364
364
|
}
|
|
365
365
|
);
|
|
@@ -387,7 +387,7 @@ function useArtifactSession(options) {
|
|
|
387
387
|
const [saved, setSaved] = react.useState(null);
|
|
388
388
|
const adopted = saved && saved.forId === hostDocId ? saved : null;
|
|
389
389
|
const docId = adopted?.id ?? hostDocId;
|
|
390
|
-
const isLocal = !
|
|
390
|
+
const isLocal = !chunkWEJHHBA2_cjs.isDocumentId(docId);
|
|
391
391
|
const [ownCompareId, setOwnCompareId] = react.useState(null);
|
|
392
392
|
const activeCompareId = compareId === void 0 ? ownCompareId : compareId;
|
|
393
393
|
const changeCompare = react.useCallback(
|
|
@@ -403,7 +403,7 @@ function useArtifactSession(options) {
|
|
|
403
403
|
enabled: !!activeCompareId
|
|
404
404
|
});
|
|
405
405
|
const saveVersion = useSaveArtifactVersion();
|
|
406
|
-
const current =
|
|
406
|
+
const current = chunkWEJHHBA2_cjs.findVersion(versions, docId);
|
|
407
407
|
const save = react.useCallback(
|
|
408
408
|
async (content) => {
|
|
409
409
|
const result = await saveVersion.mutateAsync({
|
|
@@ -419,7 +419,7 @@ function useArtifactSession(options) {
|
|
|
419
419
|
);
|
|
420
420
|
const handleSaved = react.useCallback(
|
|
421
421
|
(result, content) => {
|
|
422
|
-
if (!
|
|
422
|
+
if (!chunkWEJHHBA2_cjs.isDocumentId(hostDocId) && result.docId)
|
|
423
423
|
setSaved({ forId: hostDocId, id: result.docId, text: content });
|
|
424
424
|
onSaved?.(result, content);
|
|
425
425
|
},
|
|
@@ -448,7 +448,7 @@ function useArtifactSession(options) {
|
|
|
448
448
|
isLoading,
|
|
449
449
|
status,
|
|
450
450
|
versions,
|
|
451
|
-
labelOf: (id) =>
|
|
451
|
+
labelOf: (id) => chunkWEJHHBA2_cjs.versionLabel(versions, id),
|
|
452
452
|
view: {
|
|
453
453
|
content: session.baseline,
|
|
454
454
|
isEditing: session.isEditing,
|
|
@@ -513,7 +513,7 @@ function useStreamedArtifact({
|
|
|
513
513
|
const started = react.useRef(null);
|
|
514
514
|
const content = artifact?.content ?? "";
|
|
515
515
|
const title = artifact?.title ?? "Draft";
|
|
516
|
-
const passThrough = !!artifact &&
|
|
516
|
+
const passThrough = !!artifact && chunkWEJHHBA2_cjs.isDocumentId(artifact.doc_ext_id);
|
|
517
517
|
const needsSave = settled && !!artifact && !passThrough && !!content.trim() && !!workspaceId;
|
|
518
518
|
react.useEffect(() => {
|
|
519
519
|
const key = `${attempt}:${content}`;
|
|
@@ -523,7 +523,7 @@ function useStreamedArtifact({
|
|
|
523
523
|
let stored;
|
|
524
524
|
if (clean) stored = clean(content);
|
|
525
525
|
else {
|
|
526
|
-
const report =
|
|
526
|
+
const report = chunkWEJHHBA2_cjs.cleanDraftWithReport(content);
|
|
527
527
|
stored = report.text;
|
|
528
528
|
setCleaned(report);
|
|
529
529
|
onCleaned?.(report);
|
|
@@ -590,71 +590,71 @@ Object.defineProperty(exports, "revertRedlineRegion", {
|
|
|
590
590
|
});
|
|
591
591
|
Object.defineProperty(exports, "cleanDraftMarkdown", {
|
|
592
592
|
enumerable: true,
|
|
593
|
-
get: function () { return
|
|
593
|
+
get: function () { return chunkWEJHHBA2_cjs.cleanDraftMarkdown; }
|
|
594
594
|
});
|
|
595
595
|
Object.defineProperty(exports, "cleanDraftWithReport", {
|
|
596
596
|
enumerable: true,
|
|
597
|
-
get: function () { return
|
|
597
|
+
get: function () { return chunkWEJHHBA2_cjs.cleanDraftWithReport; }
|
|
598
598
|
});
|
|
599
599
|
Object.defineProperty(exports, "documentVersions", {
|
|
600
600
|
enumerable: true,
|
|
601
|
-
get: function () { return
|
|
601
|
+
get: function () { return chunkWEJHHBA2_cjs.documentVersions; }
|
|
602
602
|
});
|
|
603
603
|
Object.defineProperty(exports, "findVersion", {
|
|
604
604
|
enumerable: true,
|
|
605
|
-
get: function () { return
|
|
605
|
+
get: function () { return chunkWEJHHBA2_cjs.findVersion; }
|
|
606
606
|
});
|
|
607
607
|
Object.defineProperty(exports, "flattenChunks", {
|
|
608
608
|
enumerable: true,
|
|
609
|
-
get: function () { return
|
|
609
|
+
get: function () { return chunkWEJHHBA2_cjs.flattenChunks; }
|
|
610
610
|
});
|
|
611
611
|
Object.defineProperty(exports, "isDocumentId", {
|
|
612
612
|
enumerable: true,
|
|
613
|
-
get: function () { return
|
|
613
|
+
get: function () { return chunkWEJHHBA2_cjs.isDocumentId; }
|
|
614
614
|
});
|
|
615
615
|
Object.defineProperty(exports, "parseVersionRef", {
|
|
616
616
|
enumerable: true,
|
|
617
|
-
get: function () { return
|
|
617
|
+
get: function () { return chunkWEJHHBA2_cjs.parseVersionRef; }
|
|
618
618
|
});
|
|
619
619
|
Object.defineProperty(exports, "promoteBoldTitle", {
|
|
620
620
|
enumerable: true,
|
|
621
|
-
get: function () { return
|
|
621
|
+
get: function () { return chunkWEJHHBA2_cjs.promoteBoldTitle; }
|
|
622
622
|
});
|
|
623
623
|
Object.defineProperty(exports, "repairParsedStructure", {
|
|
624
624
|
enumerable: true,
|
|
625
|
-
get: function () { return
|
|
625
|
+
get: function () { return chunkWEJHHBA2_cjs.repairParsedStructure; }
|
|
626
626
|
});
|
|
627
627
|
Object.defineProperty(exports, "repairParsedTitle", {
|
|
628
628
|
enumerable: true,
|
|
629
|
-
get: function () { return
|
|
629
|
+
get: function () { return chunkWEJHHBA2_cjs.repairParsedTitle; }
|
|
630
630
|
});
|
|
631
631
|
Object.defineProperty(exports, "savedFromId", {
|
|
632
632
|
enumerable: true,
|
|
633
|
-
get: function () { return
|
|
633
|
+
get: function () { return chunkWEJHHBA2_cjs.savedFromId; }
|
|
634
634
|
});
|
|
635
635
|
Object.defineProperty(exports, "stripAgentPreamble", {
|
|
636
636
|
enumerable: true,
|
|
637
|
-
get: function () { return
|
|
637
|
+
get: function () { return chunkWEJHHBA2_cjs.stripAgentPreamble; }
|
|
638
638
|
});
|
|
639
639
|
Object.defineProperty(exports, "toArtifactVersions", {
|
|
640
640
|
enumerable: true,
|
|
641
|
-
get: function () { return
|
|
641
|
+
get: function () { return chunkWEJHHBA2_cjs.toArtifactVersions; }
|
|
642
642
|
});
|
|
643
643
|
Object.defineProperty(exports, "unescapeMarkdown", {
|
|
644
644
|
enumerable: true,
|
|
645
|
-
get: function () { return
|
|
645
|
+
get: function () { return chunkWEJHHBA2_cjs.unescapeMarkdown; }
|
|
646
646
|
});
|
|
647
647
|
Object.defineProperty(exports, "unwrapCitationLinks", {
|
|
648
648
|
enumerable: true,
|
|
649
|
-
get: function () { return
|
|
649
|
+
get: function () { return chunkWEJHHBA2_cjs.unwrapCitationLinks; }
|
|
650
650
|
});
|
|
651
651
|
Object.defineProperty(exports, "versionLabel", {
|
|
652
652
|
enumerable: true,
|
|
653
|
-
get: function () { return
|
|
653
|
+
get: function () { return chunkWEJHHBA2_cjs.versionLabel; }
|
|
654
654
|
});
|
|
655
655
|
Object.defineProperty(exports, "versionRef", {
|
|
656
656
|
enumerable: true,
|
|
657
|
-
get: function () { return
|
|
657
|
+
get: function () { return chunkWEJHHBA2_cjs.versionRef; }
|
|
658
658
|
});
|
|
659
659
|
Object.defineProperty(exports, "normalizeMarkdown", {
|
|
660
660
|
enumerable: true,
|
package/dist/artifacts/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { useDocuments, refreshDocuments } from '../chunk-2LV53J46.js';
|
|
2
|
-
import {
|
|
2
|
+
import { MarkdownRenderer } from '../chunk-C44GO33B.js';
|
|
3
|
+
import { useDocumentVersionList } from '../chunk-IXKD5JLF.js';
|
|
3
4
|
import { revertRedlineRegion, buildHybridRedlineWithRegions, buildHybridRedlineMarkdown } from '../chunk-74N436VK.js';
|
|
4
5
|
export { buildHybridRedlineMarkdown, buildHybridRedlineWithRegions, revertRedlineRegion } from '../chunk-74N436VK.js';
|
|
5
6
|
import { arbiQueryKeys } from '../chunk-AOEJ744V.js';
|
|
6
|
-
import { useArbi } from '../chunk-R7YNABZY.js';
|
|
7
7
|
import '../chunk-DPYBZDJB.js';
|
|
8
|
-
import { isDocumentId, parseVersionRef, flattenChunks, documentVersions, toArtifactVersions, findVersion, versionLabel, cleanDraftWithReport } from '../chunk-
|
|
9
|
-
export { cleanDraftMarkdown, cleanDraftWithReport, documentVersions, findVersion, flattenChunks, isDocumentId, parseVersionRef, promoteBoldTitle, repairParsedStructure, repairParsedTitle, savedFromId, stripAgentPreamble, toArtifactVersions, unescapeMarkdown, unwrapCitationLinks, versionLabel, versionRef } from '../chunk-
|
|
8
|
+
import { isDocumentId, parseVersionRef, flattenChunks, documentVersions, toArtifactVersions, findVersion, versionLabel, cleanDraftWithReport } from '../chunk-MZ7EYCGH.js';
|
|
9
|
+
export { cleanDraftMarkdown, cleanDraftWithReport, documentVersions, findVersion, flattenChunks, isDocumentId, parseVersionRef, promoteBoldTitle, repairParsedStructure, repairParsedTitle, savedFromId, stripAgentPreamble, toArtifactVersions, unescapeMarkdown, unwrapCitationLinks, versionLabel, versionRef } from '../chunk-MZ7EYCGH.js';
|
|
10
|
+
import '../chunk-QRCMKEE6.js';
|
|
11
|
+
import '../chunk-SN5YV6FF.js';
|
|
10
12
|
import { normalizeMarkdown } from '../chunk-WUTL62MC.js';
|
|
11
13
|
export { normalizeMarkdown } from '../chunk-WUTL62MC.js';
|
|
12
|
-
import {
|
|
13
|
-
import '../chunk-QRCMKEE6.js';
|
|
14
|
+
import { useArbi } from '../chunk-R7YNABZY.js';
|
|
14
15
|
import '../chunk-CPZ36AQS.js';
|
|
15
|
-
import '../chunk-SN5YV6FF.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';
|
|
@@ -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-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle-DCWPYNGD.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle-JCKKGEJE.js"}
|