@arbidocs/react 0.4.159 → 0.4.161
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/README.md +13 -6
- package/dist/{ProductionDialog-Dhf9MXH-.d.cts → ProductionDialog.d-BD1osHeq.d.cts} +1 -1
- package/dist/{ProductionDialog-BvRVGdvH.d.ts → ProductionDialog.d-CttHqQAh.d.ts} +1 -1
- package/dist/annotations/freeze/index.d.cts +3 -3
- package/dist/annotations/freeze/index.d.ts +3 -3
- package/dist/annotations/index.d.cts +4 -4
- package/dist/annotations/index.d.ts +4 -4
- package/dist/artifacts/index.cjs +12 -11
- package/dist/artifacts/index.cjs.map +1 -1
- package/dist/artifacts/index.d.cts +4 -4
- package/dist/artifacts/index.d.ts +4 -4
- package/dist/artifacts/index.js +3 -2
- package/dist/artifacts/index.js.map +1 -1
- package/dist/{chunk-RDLAOB55.cjs → chunk-3LMX6GXR.cjs} +150 -14
- package/dist/chunk-3LMX6GXR.cjs.map +1 -0
- package/dist/{chunk-37TQBT7Y.cjs → chunk-6MTKKT2O.cjs} +188 -126
- package/dist/chunk-6MTKKT2O.cjs.map +1 -0
- package/dist/{chunk-HKIR456G.js → chunk-CEZCFQ47.js} +149 -92
- package/dist/chunk-CEZCFQ47.js.map +1 -0
- package/dist/chunk-CPZ36AQS.js +11 -0
- package/dist/chunk-CPZ36AQS.js.map +1 -0
- package/dist/{chunk-JFKWH6EP.cjs → chunk-EUC2BTNS.cjs} +35 -4
- package/dist/chunk-EUC2BTNS.cjs.map +1 -0
- package/dist/chunk-GTJ667CP.cjs +26 -0
- package/dist/chunk-GTJ667CP.cjs.map +1 -0
- package/dist/{chunk-3XYIQZTH.js → chunk-I5ZBQ63Y.js} +33 -5
- package/dist/chunk-I5ZBQ63Y.js.map +1 -0
- package/dist/chunk-JSSKEXRR.js +22 -0
- package/dist/chunk-JSSKEXRR.js.map +1 -0
- package/dist/{chunk-QKNJ6FRD.cjs → chunk-ON4PL6DQ.cjs} +4 -4
- package/dist/chunk-ON4PL6DQ.cjs.map +1 -0
- package/dist/chunk-RCKA7BEF.cjs +14 -0
- package/dist/chunk-RCKA7BEF.cjs.map +1 -0
- package/dist/{chunk-2HNEVAXO.js → chunk-SVHGCX25.js} +3 -3
- package/dist/chunk-SVHGCX25.js.map +1 -0
- package/dist/{chunk-CNGWJDMG.js → chunk-WOXITGVS.js} +139 -15
- package/dist/chunk-WOXITGVS.js.map +1 -0
- package/dist/document-tools/index.cjs +35 -34
- package/dist/document-tools/index.cjs.map +1 -1
- package/dist/document-tools/index.d.cts +4 -4
- package/dist/document-tools/index.d.ts +4 -4
- package/dist/document-tools/index.js +4 -3
- package/dist/document-tools/index.js.map +1 -1
- package/dist/index.cjs +1694 -1432
- package/dist/index.cjs.map +1 -1
- package/dist/{index-DyFzmDZ2.d.ts → index.d-DfCFKora.d.cts} +49 -5
- package/dist/{index-DyFzmDZ2.d.cts → index.d-DfCFKora.d.ts} +49 -5
- package/dist/{index-CDTwtUr9.d.cts → index.d-eRbU1qpQ.d.cts} +333 -196
- package/dist/{index-CDTwtUr9.d.ts → index.d-eRbU1qpQ.d.ts} +333 -196
- package/dist/index.d.cts +1797 -1504
- package/dist/index.d.ts +1797 -1504
- package/dist/index.js +928 -765
- package/dist/index.js.map +1 -1
- package/dist/shell/index.cjs +24 -15
- package/dist/shell/index.d.cts +1 -1
- package/dist/shell/index.d.ts +1 -1
- package/dist/shell/index.js +2 -1
- package/dist/ui/index.cjs +191 -142
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +2 -1
- package/dist/viewers/index.cjs +3 -2
- package/dist/viewers/index.cjs.map +1 -1
- package/dist/viewers/index.d.cts +2 -2
- package/dist/viewers/index.d.ts +2 -2
- package/dist/viewers/index.js +2 -1
- package/dist/viewers/index.js.map +1 -1
- package/package.json +4 -6
- package/dist/chunk-2HNEVAXO.js.map +0 -1
- package/dist/chunk-37TQBT7Y.cjs.map +0 -1
- package/dist/chunk-3XYIQZTH.js.map +0 -1
- package/dist/chunk-CNGWJDMG.js.map +0 -1
- package/dist/chunk-CPPBN2JB.js +0 -31
- package/dist/chunk-CPPBN2JB.js.map +0 -1
- package/dist/chunk-HKIR456G.js.map +0 -1
- package/dist/chunk-JFKWH6EP.cjs.map +0 -1
- package/dist/chunk-QKNJ6FRD.cjs.map +0 -1
- package/dist/chunk-R2MF7YCW.cjs +0 -36
- package/dist/chunk-R2MF7YCW.cjs.map +0 -1
- package/dist/chunk-RDLAOB55.cjs.map +0 -1
- /package/dist/{PdfViewer-bQH9yxFg.d.cts → PdfViewer.d-bQH9yxFg.d.cts} +0 -0
- /package/dist/{PdfViewer-bQH9yxFg.d.ts → PdfViewer.d-bQH9yxFg.d.ts} +0 -0
- /package/dist/{bundle-BnCSbHy2.d.cts → bundle.d-BnCSbHy2.d.cts} +0 -0
- /package/dist/{bundle-BnCSbHy2.d.ts → bundle.d-BnCSbHy2.d.ts} +0 -0
- /package/dist/{model-D63gedpb.d.cts → model.d-D63gedpb.d.cts} +0 -0
- /package/dist/{model-D63gedpb.d.ts → model.d-D63gedpb.d.ts} +0 -0
- /package/dist/{stored-markdown-Bp18vrbr.d.cts → stored-markdown.d-Bp18vrbr.d.cts} +0 -0
- /package/dist/{stored-markdown-Bp18vrbr.d.ts → stored-markdown.d-Bp18vrbr.d.ts} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { ArbiClient, operations, components, KeyPair } from '@arbidocs/client';
|
|
4
|
-
import { P as ProductionChoices, A as AnnotationStore } from '../ProductionDialog-
|
|
5
|
-
import { a as BundleFile, b as BundleIndexEntry } from '../bundle-BnCSbHy2.cjs';
|
|
6
|
-
import { A as Annotation, b as AnnotationLayer } from '../model-D63gedpb.cjs';
|
|
4
|
+
import { P as ProductionChoices, A as AnnotationStore } from '../ProductionDialog.d-BD1osHeq.cjs';
|
|
5
|
+
import { a as BundleFile, b as BundleIndexEntry } from '../bundle.d-BnCSbHy2.cjs';
|
|
6
|
+
import { A as Annotation, b as AnnotationLayer } from '../model.d-D63gedpb.cjs';
|
|
7
7
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
8
8
|
|
|
9
9
|
type DocumentToolsClient = ArbiClient['fetch'];
|
|
@@ -55,7 +55,7 @@ interface DocumentToolsEnvironment {
|
|
|
55
55
|
client: DocumentToolsClient;
|
|
56
56
|
/**
|
|
57
57
|
* The deployment domain the user's keys are derived for. Needed for signing. Default: the one
|
|
58
|
-
* the
|
|
58
|
+
* the host's `Arbi` computes (`arbi.getDeploymentDomain()`), if any.
|
|
59
59
|
*/
|
|
60
60
|
deploymentDomain?: string;
|
|
61
61
|
/** The signed-in user; marks are authored as "You" without one, and signing is unavailable. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { ArbiClient, operations, components, KeyPair } from '@arbidocs/client';
|
|
4
|
-
import { P as ProductionChoices, A as AnnotationStore } from '../ProductionDialog-
|
|
5
|
-
import { a as BundleFile, b as BundleIndexEntry } from '../bundle-BnCSbHy2.js';
|
|
6
|
-
import { A as Annotation, b as AnnotationLayer } from '../model-D63gedpb.js';
|
|
4
|
+
import { P as ProductionChoices, A as AnnotationStore } from '../ProductionDialog.d-CttHqQAh.js';
|
|
5
|
+
import { a as BundleFile, b as BundleIndexEntry } from '../bundle.d-BnCSbHy2.js';
|
|
6
|
+
import { A as Annotation, b as AnnotationLayer } from '../model.d-D63gedpb.js';
|
|
7
7
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
8
8
|
|
|
9
9
|
type DocumentToolsClient = ArbiClient['fetch'];
|
|
@@ -55,7 +55,7 @@ interface DocumentToolsEnvironment {
|
|
|
55
55
|
client: DocumentToolsClient;
|
|
56
56
|
/**
|
|
57
57
|
* The deployment domain the user's keys are derived for. Needed for signing. Default: the one
|
|
58
|
-
* the
|
|
58
|
+
* the host's `Arbi` computes (`arbi.getDeploymentDomain()`), if any.
|
|
59
59
|
*/
|
|
60
60
|
deploymentDomain?: string;
|
|
61
61
|
/** The signed-in user; marks are authored as "You" without one, and signing is unavailable. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { fetchDocumentFile, fetchDocumentPdf, DocumentFetchError, useDocumentTools } from '../chunk-
|
|
2
|
-
export { DocumentFetchError, DocumentToolsProvider, certificateLink, clientUpload, contentDispositionFileName, defaultCertificateUrl, downloadBlob, fetchDocumentFile, fetchDocumentPdf, uploadQueryString, useDocumentTools, useOptionalDocumentTools } from '../chunk-
|
|
1
|
+
import { fetchDocumentFile, fetchDocumentPdf, DocumentFetchError, useDocumentTools } from '../chunk-SVHGCX25.js';
|
|
2
|
+
export { DocumentFetchError, DocumentToolsProvider, certificateLink, clientUpload, contentDispositionFileName, defaultCertificateUrl, downloadBlob, fetchDocumentFile, fetchDocumentPdf, uploadQueryString, useDocumentTools, useOptionalDocumentTools } from '../chunk-SVHGCX25.js';
|
|
3
3
|
import { mergeLayers, AnnotationStoreOfflineError } from '../chunk-S33P6THG.js';
|
|
4
4
|
import { parseLayer, emptyLayer, LAYER_SCHEMA_VERSION } from '../chunk-NBIW7AEE.js';
|
|
5
5
|
import { parseVersionRef } from '../chunk-NNWMHMEC.js';
|
|
@@ -8,7 +8,8 @@ import '../chunk-YNNAJJ5Z.js';
|
|
|
8
8
|
import '../chunk-QRCMKEE6.js';
|
|
9
9
|
import '../chunk-47CCGUWR.js';
|
|
10
10
|
import '../chunk-SN5YV6FF.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-JSSKEXRR.js';
|
|
12
|
+
import '../chunk-CPZ36AQS.js';
|
|
12
13
|
import { useMemo, useState, useCallback, useEffect, useSyncExternalStore } from 'react';
|
|
13
14
|
import { onlineManager, useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
|
|
14
15
|
import { unlockIdentityWithPassword, signMessage, getUserEncryptionKeypair, sealedBoxDecrypt, sealedBoxEncrypt, initSodium } from '@arbidocs/client';
|