@arbidocs/react 0.5.74 → 0.5.75
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 +5 -0
- package/dist/artifacts/index.cjs +9 -9
- package/dist/artifacts/index.js +3 -3
- package/dist/calls/livekit/index.cjs +48 -48
- package/dist/calls/livekit/index.js +3 -3
- package/dist/{chunk-6PNLCGMJ.js → chunk-2MECTZLS.js} +9 -5
- package/dist/chunk-2MECTZLS.js.map +1 -0
- package/dist/{chunk-R7YNABZY.js → chunk-2Y6LJNWA.js} +2 -2
- package/dist/{chunk-R7YNABZY.js.map → chunk-2Y6LJNWA.js.map} +1 -1
- package/dist/{chunk-YWU7HEHL.js → chunk-33PVGKXT.js} +78 -4
- package/dist/chunk-33PVGKXT.js.map +1 -0
- package/dist/{chunk-Y7S2SQH3.cjs → chunk-5YGUBXXH.cjs} +2 -2
- package/dist/{chunk-Y7S2SQH3.cjs.map → chunk-5YGUBXXH.cjs.map} +1 -1
- package/dist/{chunk-BF7ABX3X.cjs → chunk-6RSVGLQY.cjs} +106 -31
- package/dist/chunk-6RSVGLQY.cjs.map +1 -0
- package/dist/{chunk-2LV53J46.js → chunk-JHN4PKWX.js} +3 -3
- package/dist/{chunk-2LV53J46.js.map → chunk-JHN4PKWX.js.map} +1 -1
- package/dist/{chunk-ZTPJNKF2.js → chunk-LC276BI7.js} +5 -5
- package/dist/chunk-LC276BI7.js.map +1 -0
- package/dist/{chunk-GOJHU7RZ.cjs → chunk-MWW54PY6.cjs} +25 -25
- package/dist/{chunk-GOJHU7RZ.cjs.map → chunk-MWW54PY6.cjs.map} +1 -1
- package/dist/{chunk-4DTTEUVY.js → chunk-O2HDONQE.js} +4 -4
- package/dist/{chunk-4DTTEUVY.js.map → chunk-O2HDONQE.js.map} +1 -1
- package/dist/{chunk-SI7DJWBT.js → chunk-OR6B7IL2.js} +3 -3
- package/dist/{chunk-SI7DJWBT.js.map → chunk-OR6B7IL2.js.map} +1 -1
- package/dist/{chunk-LMW46NBD.cjs → chunk-OY4PYCJH.cjs} +5 -5
- package/dist/chunk-OY4PYCJH.cjs.map +1 -0
- package/dist/{chunk-C5SVEWPU.cjs → chunk-PMHFLOXY.cjs} +27 -22
- package/dist/chunk-PMHFLOXY.cjs.map +1 -0
- package/dist/{chunk-TGSEQGM3.cjs → chunk-QEVM3F5X.cjs} +4 -4
- package/dist/{chunk-TGSEQGM3.cjs.map → chunk-QEVM3F5X.cjs.map} +1 -1
- package/dist/{chunk-ZNQPUPX6.cjs → chunk-RDERZWMO.cjs} +16 -16
- package/dist/{chunk-ZNQPUPX6.cjs.map → chunk-RDERZWMO.cjs.map} +1 -1
- package/dist/document-tools/core.cjs +99 -99
- package/dist/document-tools/core.js +3 -3
- package/dist/document-tools/index.cjs +101 -101
- package/dist/document-tools/index.js +4 -4
- package/dist/index.cjs +992 -896
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +59 -12
- package/dist/index.d.ts +59 -12
- package/dist/index.js +117 -31
- package/dist/index.js.map +1 -1
- package/dist/shell/index.cjs +32 -32
- package/dist/shell/index.js +1 -1
- package/dist/viewers/index.cjs +2 -2
- package/dist/viewers/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-6PNLCGMJ.js.map +0 -1
- package/dist/chunk-BF7ABX3X.cjs.map +0 -1
- package/dist/chunk-C5SVEWPU.cjs.map +0 -1
- package/dist/chunk-LMW46NBD.cjs.map +0 -1
- package/dist/chunk-YWU7HEHL.js.map +0 -1
- package/dist/chunk-ZTPJNKF2.js.map +0 -1
package/dist/shell/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOY4PYCJH_cjs = require('../chunk-OY4PYCJH.cjs');
|
|
4
4
|
var chunkDZUBZ45Y_cjs = require('../chunk-DZUBZ45Y.cjs');
|
|
5
5
|
require('../chunk-N73IMVFF.cjs');
|
|
6
6
|
require('../chunk-ZWFMFOGP.cjs');
|
|
@@ -15,127 +15,127 @@ require('../chunk-S6A6FSG7.cjs');
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "ArbiHost", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkOY4PYCJH_cjs.ArbiHost; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "LEGACY_THREAD_DOCUMENTS_KEY", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkOY4PYCJH_cjs.LEGACY_THREAD_DOCUMENTS_KEY; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "MENTION_HREF_PREFIX", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkOY4PYCJH_cjs.MENTION_HREF_PREFIX; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "NotificationBell", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkOY4PYCJH_cjs.NotificationBell; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "Toaster", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkOY4PYCJH_cjs.Toaster; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "UNBOUND", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkOY4PYCJH_cjs.UNBOUND; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "bindingOfRow", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkOY4PYCJH_cjs.bindingOfRow; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "clearSearchSession", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkOY4PYCJH_cjs.clearSearchSession; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "createSearchSession", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkOY4PYCJH_cjs.createSearchSession; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "extractMentions", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkOY4PYCJH_cjs.extractMentions; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "filterMentionCandidates", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkOY4PYCJH_cjs.filterMentionCandidates; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "findMentionQuery", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkOY4PYCJH_cjs.findMentionQuery; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "forgetLegacyThreadDocuments", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkOY4PYCJH_cjs.forgetLegacyThreadDocuments; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "hasMessageBody", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkOY4PYCJH_cjs.hasMessageBody; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "insertMention", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkOY4PYCJH_cjs.insertMention; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "latestThreadOfDocument", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkOY4PYCJH_cjs.latestThreadOfDocument; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "linkMentions", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkOY4PYCJH_cjs.linkMentions; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "mentionFromHref", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkOY4PYCJH_cjs.mentionFromHref; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "openDocumentId", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkOY4PYCJH_cjs.openDocumentId; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "opensInWord", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkOY4PYCJH_cjs.opensInWord; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "persistSearchSession", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkOY4PYCJH_cjs.persistSearchSession; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "readLegacyThreadDocuments", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkOY4PYCJH_cjs.readLegacyThreadDocuments; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "requestSearch", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkOY4PYCJH_cjs.requestSearch; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "savedDocumentIdFor", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkOY4PYCJH_cjs.savedDocumentIdFor; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "sharedSearchSession", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkOY4PYCJH_cjs.sharedSearchSession; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "takeDocumentForTurn", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkOY4PYCJH_cjs.takeDocumentForTurn; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "takePendingSearch", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkOY4PYCJH_cjs.takePendingSearch; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "toMessageMentions", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkOY4PYCJH_cjs.toMessageMentions; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "useOpenDocumentId", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkOY4PYCJH_cjs.useOpenDocumentId; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "useRegisterOpenDocument", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkOY4PYCJH_cjs.useRegisterOpenDocument; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "useTurnDocumentId", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkOY4PYCJH_cjs.useTurnDocumentId; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "clearChatArtifacts", {
|
|
141
141
|
enumerable: true,
|
package/dist/shell/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ArbiHost, LEGACY_THREAD_DOCUMENTS_KEY, MENTION_HREF_PREFIX, NotificationBell, Toaster, UNBOUND, bindingOfRow, clearSearchSession, createSearchSession, extractMentions, filterMentionCandidates, findMentionQuery, forgetLegacyThreadDocuments, hasMessageBody, insertMention, latestThreadOfDocument, linkMentions, mentionFromHref, openDocumentId, opensInWord, persistSearchSession, readLegacyThreadDocuments, requestSearch, savedDocumentIdFor, sharedSearchSession, takeDocumentForTurn, takePendingSearch, toMessageMentions, useOpenDocumentId, useRegisterOpenDocument, useTurnDocumentId } from '../chunk-
|
|
1
|
+
export { ArbiHost, LEGACY_THREAD_DOCUMENTS_KEY, MENTION_HREF_PREFIX, NotificationBell, Toaster, UNBOUND, bindingOfRow, clearSearchSession, createSearchSession, extractMentions, filterMentionCandidates, findMentionQuery, forgetLegacyThreadDocuments, hasMessageBody, insertMention, latestThreadOfDocument, linkMentions, mentionFromHref, openDocumentId, opensInWord, persistSearchSession, readLegacyThreadDocuments, requestSearch, savedDocumentIdFor, sharedSearchSession, takeDocumentForTurn, takePendingSearch, toMessageMentions, useOpenDocumentId, useRegisterOpenDocument, useTurnDocumentId } from '../chunk-LC276BI7.js';
|
|
2
2
|
export { clearChatArtifacts, configureNotify, getChatArtifact, getChatArtifacts, notify, persistNotifyHistory, recordChatArtifact, selectUnread, toast, useChatArtifact, useConversationChatArtifact, useMessageChatArtifact, useNotify } from '../chunk-G4Z3IP4J.js';
|
|
3
3
|
import '../chunk-DPYBZDJB.js';
|
|
4
4
|
import '../chunk-NNWMHMEC.js';
|
package/dist/viewers/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkIU2CJNTB_cjs = require('../chunk-IU2CJNTB.cjs');
|
|
4
4
|
var chunkTMPDW7J5_cjs = require('../chunk-TMPDW7J5.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunk5YGUBXXH_cjs = require('../chunk-5YGUBXXH.cjs');
|
|
6
6
|
require('../chunk-RCKA7BEF.cjs');
|
|
7
7
|
var react = require('react');
|
|
8
8
|
var reactPdf = require('react-pdf');
|
|
@@ -863,7 +863,7 @@ function DocumentViewer({
|
|
|
863
863
|
errorRender,
|
|
864
864
|
className
|
|
865
865
|
}) {
|
|
866
|
-
const arbi =
|
|
866
|
+
const arbi = chunk5YGUBXXH_cjs.useArbi();
|
|
867
867
|
const [blob, setBlob] = react.useState(null);
|
|
868
868
|
const [error, setError] = react.useState(null);
|
|
869
869
|
const kind = react.useMemo(() => nativeViewerKind(doc), [doc]);
|
package/dist/viewers/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { installPdfjsPolyfills } from '../chunk-PTOP7OHG.js';
|
|
|
2
2
|
export { installPdfjsPolyfills } from '../chunk-PTOP7OHG.js';
|
|
3
3
|
import { VideoViewer, AudioViewer, ImageViewer } from '../chunk-HDCRPPBW.js';
|
|
4
4
|
export { AudioViewer, ImageViewer, VideoViewer } from '../chunk-HDCRPPBW.js';
|
|
5
|
-
import { useArbi } from '../chunk-
|
|
5
|
+
import { useArbi } from '../chunk-2Y6LJNWA.js';
|
|
6
6
|
import '../chunk-CPZ36AQS.js';
|
|
7
7
|
import { useEffect, useRef, useCallback, useLayoutEffect, useState, useMemo } from 'react';
|
|
8
8
|
import { Document, Page, pdfjs } from 'react-pdf';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/react",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.75",
|
|
4
4
|
"description": "React hooks and provider for the ARBI SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -109,8 +109,8 @@
|
|
|
109
109
|
"build-storybook": "storybook build"
|
|
110
110
|
},
|
|
111
111
|
"dependencies": {
|
|
112
|
-
"@arbidocs/client": "0.5.
|
|
113
|
-
"@arbidocs/sdk": "0.5.
|
|
112
|
+
"@arbidocs/client": "0.5.75",
|
|
113
|
+
"@arbidocs/sdk": "0.5.75",
|
|
114
114
|
"@didit-protocol/sdk-web": "0.4.0",
|
|
115
115
|
"@livekit/components-react": "2.9.24",
|
|
116
116
|
"@radix-ui/react-avatar": "^1.2.0",
|