@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.
Files changed (88) hide show
  1. package/README.md +13 -6
  2. package/dist/{ProductionDialog-Dhf9MXH-.d.cts → ProductionDialog.d-BD1osHeq.d.cts} +1 -1
  3. package/dist/{ProductionDialog-BvRVGdvH.d.ts → ProductionDialog.d-CttHqQAh.d.ts} +1 -1
  4. package/dist/annotations/freeze/index.d.cts +3 -3
  5. package/dist/annotations/freeze/index.d.ts +3 -3
  6. package/dist/annotations/index.d.cts +4 -4
  7. package/dist/annotations/index.d.ts +4 -4
  8. package/dist/artifacts/index.cjs +12 -11
  9. package/dist/artifacts/index.cjs.map +1 -1
  10. package/dist/artifacts/index.d.cts +4 -4
  11. package/dist/artifacts/index.d.ts +4 -4
  12. package/dist/artifacts/index.js +3 -2
  13. package/dist/artifacts/index.js.map +1 -1
  14. package/dist/{chunk-RDLAOB55.cjs → chunk-3LMX6GXR.cjs} +150 -14
  15. package/dist/chunk-3LMX6GXR.cjs.map +1 -0
  16. package/dist/{chunk-37TQBT7Y.cjs → chunk-6MTKKT2O.cjs} +188 -126
  17. package/dist/chunk-6MTKKT2O.cjs.map +1 -0
  18. package/dist/{chunk-HKIR456G.js → chunk-CEZCFQ47.js} +149 -92
  19. package/dist/chunk-CEZCFQ47.js.map +1 -0
  20. package/dist/chunk-CPZ36AQS.js +11 -0
  21. package/dist/chunk-CPZ36AQS.js.map +1 -0
  22. package/dist/{chunk-JFKWH6EP.cjs → chunk-EUC2BTNS.cjs} +35 -4
  23. package/dist/chunk-EUC2BTNS.cjs.map +1 -0
  24. package/dist/chunk-GTJ667CP.cjs +26 -0
  25. package/dist/chunk-GTJ667CP.cjs.map +1 -0
  26. package/dist/{chunk-3XYIQZTH.js → chunk-I5ZBQ63Y.js} +33 -5
  27. package/dist/chunk-I5ZBQ63Y.js.map +1 -0
  28. package/dist/chunk-JSSKEXRR.js +22 -0
  29. package/dist/chunk-JSSKEXRR.js.map +1 -0
  30. package/dist/{chunk-QKNJ6FRD.cjs → chunk-ON4PL6DQ.cjs} +4 -4
  31. package/dist/chunk-ON4PL6DQ.cjs.map +1 -0
  32. package/dist/chunk-RCKA7BEF.cjs +14 -0
  33. package/dist/chunk-RCKA7BEF.cjs.map +1 -0
  34. package/dist/{chunk-2HNEVAXO.js → chunk-SVHGCX25.js} +3 -3
  35. package/dist/chunk-SVHGCX25.js.map +1 -0
  36. package/dist/{chunk-CNGWJDMG.js → chunk-WOXITGVS.js} +139 -15
  37. package/dist/chunk-WOXITGVS.js.map +1 -0
  38. package/dist/document-tools/index.cjs +35 -34
  39. package/dist/document-tools/index.cjs.map +1 -1
  40. package/dist/document-tools/index.d.cts +4 -4
  41. package/dist/document-tools/index.d.ts +4 -4
  42. package/dist/document-tools/index.js +4 -3
  43. package/dist/document-tools/index.js.map +1 -1
  44. package/dist/index.cjs +1694 -1432
  45. package/dist/index.cjs.map +1 -1
  46. package/dist/{index-DyFzmDZ2.d.ts → index.d-DfCFKora.d.cts} +49 -5
  47. package/dist/{index-DyFzmDZ2.d.cts → index.d-DfCFKora.d.ts} +49 -5
  48. package/dist/{index-CDTwtUr9.d.cts → index.d-eRbU1qpQ.d.cts} +333 -196
  49. package/dist/{index-CDTwtUr9.d.ts → index.d-eRbU1qpQ.d.ts} +333 -196
  50. package/dist/index.d.cts +1797 -1504
  51. package/dist/index.d.ts +1797 -1504
  52. package/dist/index.js +928 -765
  53. package/dist/index.js.map +1 -1
  54. package/dist/shell/index.cjs +24 -15
  55. package/dist/shell/index.d.cts +1 -1
  56. package/dist/shell/index.d.ts +1 -1
  57. package/dist/shell/index.js +2 -1
  58. package/dist/ui/index.cjs +191 -142
  59. package/dist/ui/index.d.cts +1 -1
  60. package/dist/ui/index.d.ts +1 -1
  61. package/dist/ui/index.js +2 -1
  62. package/dist/viewers/index.cjs +3 -2
  63. package/dist/viewers/index.cjs.map +1 -1
  64. package/dist/viewers/index.d.cts +2 -2
  65. package/dist/viewers/index.d.ts +2 -2
  66. package/dist/viewers/index.js +2 -1
  67. package/dist/viewers/index.js.map +1 -1
  68. package/package.json +4 -6
  69. package/dist/chunk-2HNEVAXO.js.map +0 -1
  70. package/dist/chunk-37TQBT7Y.cjs.map +0 -1
  71. package/dist/chunk-3XYIQZTH.js.map +0 -1
  72. package/dist/chunk-CNGWJDMG.js.map +0 -1
  73. package/dist/chunk-CPPBN2JB.js +0 -31
  74. package/dist/chunk-CPPBN2JB.js.map +0 -1
  75. package/dist/chunk-HKIR456G.js.map +0 -1
  76. package/dist/chunk-JFKWH6EP.cjs.map +0 -1
  77. package/dist/chunk-QKNJ6FRD.cjs.map +0 -1
  78. package/dist/chunk-R2MF7YCW.cjs +0 -36
  79. package/dist/chunk-R2MF7YCW.cjs.map +0 -1
  80. package/dist/chunk-RDLAOB55.cjs.map +0 -1
  81. /package/dist/{PdfViewer-bQH9yxFg.d.cts → PdfViewer.d-bQH9yxFg.d.cts} +0 -0
  82. /package/dist/{PdfViewer-bQH9yxFg.d.ts → PdfViewer.d-bQH9yxFg.d.ts} +0 -0
  83. /package/dist/{bundle-BnCSbHy2.d.cts → bundle.d-BnCSbHy2.d.cts} +0 -0
  84. /package/dist/{bundle-BnCSbHy2.d.ts → bundle.d-BnCSbHy2.d.ts} +0 -0
  85. /package/dist/{model-D63gedpb.d.cts → model.d-D63gedpb.d.cts} +0 -0
  86. /package/dist/{model-D63gedpb.d.ts → model.d-D63gedpb.d.ts} +0 -0
  87. /package/dist/{stored-markdown-Bp18vrbr.d.cts → stored-markdown.d-Bp18vrbr.d.cts} +0 -0
  88. /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-Dhf9MXH-.cjs';
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 enclosing `<ArbiProvider>`'s `Arbi` computes (`arbi.getDeploymentDomain()`), if any.
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-BvRVGdvH.js';
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 enclosing `<ArbiProvider>`'s `Arbi` computes (`arbi.getDeploymentDomain()`), if any.
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-2HNEVAXO.js';
2
- export { DocumentFetchError, DocumentToolsProvider, certificateLink, clientUpload, contentDispositionFileName, defaultCertificateUrl, downloadBlob, fetchDocumentFile, fetchDocumentPdf, uploadQueryString, useDocumentTools, useOptionalDocumentTools } from '../chunk-2HNEVAXO.js';
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-CPPBN2JB.js';
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';