@arbidocs/react 0.4.78 → 0.4.80
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/artifacts/index.cjs +1 -1
- package/dist/artifacts/index.js +1 -1
- package/dist/document-tools/index.cjs +4 -4
- package/dist/document-tools/index.js +4 -4
- package/dist/index.cjs +67 -67
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8 -8
- package/dist/ui/index.cjs +18 -18
- package/dist/ui/index.js +2 -2
- package/package.json +3 -3
package/dist/artifacts/index.cjs
CHANGED
|
@@ -5,10 +5,10 @@ var chunk3AADNIOK_cjs = require('../chunk-3AADNIOK.cjs');
|
|
|
5
5
|
var chunkT4IJHRRD_cjs = require('../chunk-T4IJHRRD.cjs');
|
|
6
6
|
var chunk5DCRIWCA_cjs = require('../chunk-5DCRIWCA.cjs');
|
|
7
7
|
var chunkVOFNX4P6_cjs = require('../chunk-VOFNX4P6.cjs');
|
|
8
|
-
var chunkIIT7DMQL_cjs = require('../chunk-IIT7DMQL.cjs');
|
|
9
8
|
var chunk5SZ2J2WT_cjs = require('../chunk-5SZ2J2WT.cjs');
|
|
10
9
|
require('../chunk-Z3LLUO32.cjs');
|
|
11
10
|
require('../chunk-S6A6FSG7.cjs');
|
|
11
|
+
var chunkIIT7DMQL_cjs = require('../chunk-IIT7DMQL.cjs');
|
|
12
12
|
var react = require('react');
|
|
13
13
|
var reactQuery = require('@tanstack/react-query');
|
|
14
14
|
var jsxRuntime = require('react/jsx-runtime');
|
package/dist/artifacts/index.js
CHANGED
|
@@ -7,10 +7,10 @@ import { cleanDraftWithReport } from '../chunk-G6FHNURH.js';
|
|
|
7
7
|
export { cleanDraftMarkdown, cleanDraftWithReport, promoteBoldTitle, repairParsedStructure, repairParsedTitle, stripAgentPreamble, unescapeMarkdown, unwrapCitationLinks } from '../chunk-G6FHNURH.js';
|
|
8
8
|
import { normalizeMarkdown } from '../chunk-WUTL62MC.js';
|
|
9
9
|
export { normalizeMarkdown } from '../chunk-WUTL62MC.js';
|
|
10
|
-
import { useArbi } from '../chunk-WBYNKFUO.js';
|
|
11
10
|
import { MarkdownRenderer } from '../chunk-YXSXGTYQ.js';
|
|
12
11
|
import '../chunk-QRCMKEE6.js';
|
|
13
12
|
import '../chunk-SN5YV6FF.js';
|
|
13
|
+
import { useArbi } from '../chunk-WBYNKFUO.js';
|
|
14
14
|
import { useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
|
15
15
|
import { useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var chunkL2PXZWJM_cjs = require('../chunk-L2PXZWJM.cjs');
|
|
4
|
+
var chunkSSOPIPEX_cjs = require('../chunk-SSOPIPEX.cjs');
|
|
3
5
|
var chunkT4IJHRRD_cjs = require('../chunk-T4IJHRRD.cjs');
|
|
4
6
|
require('../chunk-5DCRIWCA.cjs');
|
|
5
7
|
require('../chunk-VOFNX4P6.cjs');
|
|
6
|
-
var chunkL2PXZWJM_cjs = require('../chunk-L2PXZWJM.cjs');
|
|
7
|
-
var chunkSSOPIPEX_cjs = require('../chunk-SSOPIPEX.cjs');
|
|
8
|
-
var chunkIIT7DMQL_cjs = require('../chunk-IIT7DMQL.cjs');
|
|
9
|
-
require('../chunk-Z3LLUO32.cjs');
|
|
10
8
|
require('../chunk-WYZJLZ67.cjs');
|
|
9
|
+
require('../chunk-Z3LLUO32.cjs');
|
|
11
10
|
require('../chunk-HJDR5HEO.cjs');
|
|
12
11
|
require('../chunk-S6A6FSG7.cjs');
|
|
12
|
+
var chunkIIT7DMQL_cjs = require('../chunk-IIT7DMQL.cjs');
|
|
13
13
|
var react = require('react');
|
|
14
14
|
var jsxRuntime = require('react/jsx-runtime');
|
|
15
15
|
var reactQuery = require('@tanstack/react-query');
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { mergeLayers, AnnotationStoreOfflineError } from '../chunk-IHTBAY57.js';
|
|
2
|
+
import { parseLayer, emptyLayer, LAYER_SCHEMA_VERSION } from '../chunk-COWZGCL5.js';
|
|
1
3
|
import { parseVersionRef } from '../chunk-HKUD2NZN.js';
|
|
2
4
|
import '../chunk-G6FHNURH.js';
|
|
3
5
|
import '../chunk-WUTL62MC.js';
|
|
4
|
-
import { mergeLayers, AnnotationStoreOfflineError } from '../chunk-IHTBAY57.js';
|
|
5
|
-
import { parseLayer, emptyLayer, LAYER_SCHEMA_VERSION } from '../chunk-COWZGCL5.js';
|
|
6
|
-
import { useDeploymentDomain } from '../chunk-WBYNKFUO.js';
|
|
7
|
-
import '../chunk-QRCMKEE6.js';
|
|
8
6
|
import '../chunk-YNNAJJ5Z.js';
|
|
7
|
+
import '../chunk-QRCMKEE6.js';
|
|
9
8
|
import '../chunk-47CCGUWR.js';
|
|
10
9
|
import '../chunk-SN5YV6FF.js';
|
|
10
|
+
import { useDeploymentDomain } from '../chunk-WBYNKFUO.js';
|
|
11
11
|
import { createContext, useMemo, useContext, useState, useCallback, useEffect, useSyncExternalStore } from 'react';
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
import { onlineManager, useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
|
package/dist/index.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkPXHRLAOX_cjs = require('./chunk-PXHRLAOX.cjs');
|
|
4
|
-
var chunkF7KQVVD2_cjs = require('./chunk-F7KQVVD2.cjs');
|
|
5
4
|
var chunk5DCRIWCA_cjs = require('./chunk-5DCRIWCA.cjs');
|
|
6
|
-
var
|
|
7
|
-
var chunkIIT7DMQL_cjs = require('./chunk-IIT7DMQL.cjs');
|
|
5
|
+
var chunkF7KQVVD2_cjs = require('./chunk-F7KQVVD2.cjs');
|
|
8
6
|
var chunkQJRP2LLQ_cjs = require('./chunk-QJRP2LLQ.cjs');
|
|
9
7
|
var chunk5SZ2J2WT_cjs = require('./chunk-5SZ2J2WT.cjs');
|
|
10
|
-
var chunkHUZB36QU_cjs = require('./chunk-HUZB36QU.cjs');
|
|
11
|
-
var chunkZ3LLUO32_cjs = require('./chunk-Z3LLUO32.cjs');
|
|
12
8
|
var chunkWYZJLZ67_cjs = require('./chunk-WYZJLZ67.cjs');
|
|
9
|
+
var chunkZ3LLUO32_cjs = require('./chunk-Z3LLUO32.cjs');
|
|
10
|
+
var chunkHUZB36QU_cjs = require('./chunk-HUZB36QU.cjs');
|
|
13
11
|
var chunkHJDR5HEO_cjs = require('./chunk-HJDR5HEO.cjs');
|
|
14
12
|
var chunkS6A6FSG7_cjs = require('./chunk-S6A6FSG7.cjs');
|
|
13
|
+
var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
|
|
14
|
+
var chunkIIT7DMQL_cjs = require('./chunk-IIT7DMQL.cjs');
|
|
15
15
|
var React = require('react');
|
|
16
16
|
var reactQuery = require('@tanstack/react-query');
|
|
17
17
|
var browser = require('@arbidocs/sdk/browser');
|
|
@@ -6624,42 +6624,6 @@ Object.defineProperty(exports, "useWorkspaces", {
|
|
|
6624
6624
|
enumerable: true,
|
|
6625
6625
|
get: function () { return chunkPXHRLAOX_cjs.useWorkspaces; }
|
|
6626
6626
|
});
|
|
6627
|
-
Object.defineProperty(exports, "DEFAULT_NOTIFY_TONE", {
|
|
6628
|
-
enumerable: true,
|
|
6629
|
-
get: function () { return chunkF7KQVVD2_cjs.DEFAULT_NOTIFY_TONE; }
|
|
6630
|
-
});
|
|
6631
|
-
Object.defineProperty(exports, "NotificationBell", {
|
|
6632
|
-
enumerable: true,
|
|
6633
|
-
get: function () { return chunkF7KQVVD2_cjs.NotificationBell; }
|
|
6634
|
-
});
|
|
6635
|
-
Object.defineProperty(exports, "Toaster", {
|
|
6636
|
-
enumerable: true,
|
|
6637
|
-
get: function () { return chunkF7KQVVD2_cjs.Toaster; }
|
|
6638
|
-
});
|
|
6639
|
-
Object.defineProperty(exports, "formatRelativeTime", {
|
|
6640
|
-
enumerable: true,
|
|
6641
|
-
get: function () { return chunkF7KQVVD2_cjs.formatRelativeTime; }
|
|
6642
|
-
});
|
|
6643
|
-
Object.defineProperty(exports, "notify", {
|
|
6644
|
-
enumerable: true,
|
|
6645
|
-
get: function () { return chunkF7KQVVD2_cjs.notify; }
|
|
6646
|
-
});
|
|
6647
|
-
Object.defineProperty(exports, "seedNotifications", {
|
|
6648
|
-
enumerable: true,
|
|
6649
|
-
get: function () { return chunkF7KQVVD2_cjs.seedNotifications; }
|
|
6650
|
-
});
|
|
6651
|
-
Object.defineProperty(exports, "selectUnread", {
|
|
6652
|
-
enumerable: true,
|
|
6653
|
-
get: function () { return chunkF7KQVVD2_cjs.selectUnread; }
|
|
6654
|
-
});
|
|
6655
|
-
Object.defineProperty(exports, "toast", {
|
|
6656
|
-
enumerable: true,
|
|
6657
|
-
get: function () { return chunkF7KQVVD2_cjs.toast; }
|
|
6658
|
-
});
|
|
6659
|
-
Object.defineProperty(exports, "useNotify", {
|
|
6660
|
-
enumerable: true,
|
|
6661
|
-
get: function () { return chunkF7KQVVD2_cjs.useNotify; }
|
|
6662
|
-
});
|
|
6663
6627
|
Object.defineProperty(exports, "cleanDraftMarkdown", {
|
|
6664
6628
|
enumerable: true,
|
|
6665
6629
|
get: function () { return chunk5DCRIWCA_cjs.cleanDraftMarkdown; }
|
|
@@ -6692,17 +6656,41 @@ Object.defineProperty(exports, "unwrapCitationLinks", {
|
|
|
6692
6656
|
enumerable: true,
|
|
6693
6657
|
get: function () { return chunk5DCRIWCA_cjs.unwrapCitationLinks; }
|
|
6694
6658
|
});
|
|
6695
|
-
Object.defineProperty(exports, "
|
|
6659
|
+
Object.defineProperty(exports, "DEFAULT_NOTIFY_TONE", {
|
|
6696
6660
|
enumerable: true,
|
|
6697
|
-
get: function () { return
|
|
6661
|
+
get: function () { return chunkF7KQVVD2_cjs.DEFAULT_NOTIFY_TONE; }
|
|
6698
6662
|
});
|
|
6699
|
-
Object.defineProperty(exports, "
|
|
6663
|
+
Object.defineProperty(exports, "NotificationBell", {
|
|
6700
6664
|
enumerable: true,
|
|
6701
|
-
get: function () { return
|
|
6665
|
+
get: function () { return chunkF7KQVVD2_cjs.NotificationBell; }
|
|
6702
6666
|
});
|
|
6703
|
-
Object.defineProperty(exports, "
|
|
6667
|
+
Object.defineProperty(exports, "Toaster", {
|
|
6704
6668
|
enumerable: true,
|
|
6705
|
-
get: function () { return
|
|
6669
|
+
get: function () { return chunkF7KQVVD2_cjs.Toaster; }
|
|
6670
|
+
});
|
|
6671
|
+
Object.defineProperty(exports, "formatRelativeTime", {
|
|
6672
|
+
enumerable: true,
|
|
6673
|
+
get: function () { return chunkF7KQVVD2_cjs.formatRelativeTime; }
|
|
6674
|
+
});
|
|
6675
|
+
Object.defineProperty(exports, "notify", {
|
|
6676
|
+
enumerable: true,
|
|
6677
|
+
get: function () { return chunkF7KQVVD2_cjs.notify; }
|
|
6678
|
+
});
|
|
6679
|
+
Object.defineProperty(exports, "seedNotifications", {
|
|
6680
|
+
enumerable: true,
|
|
6681
|
+
get: function () { return chunkF7KQVVD2_cjs.seedNotifications; }
|
|
6682
|
+
});
|
|
6683
|
+
Object.defineProperty(exports, "selectUnread", {
|
|
6684
|
+
enumerable: true,
|
|
6685
|
+
get: function () { return chunkF7KQVVD2_cjs.selectUnread; }
|
|
6686
|
+
});
|
|
6687
|
+
Object.defineProperty(exports, "toast", {
|
|
6688
|
+
enumerable: true,
|
|
6689
|
+
get: function () { return chunkF7KQVVD2_cjs.toast; }
|
|
6690
|
+
});
|
|
6691
|
+
Object.defineProperty(exports, "useNotify", {
|
|
6692
|
+
enumerable: true,
|
|
6693
|
+
get: function () { return chunkF7KQVVD2_cjs.useNotify; }
|
|
6706
6694
|
});
|
|
6707
6695
|
Object.defineProperty(exports, "AgentBadge", {
|
|
6708
6696
|
enumerable: true,
|
|
@@ -7236,26 +7224,6 @@ Object.defineProperty(exports, "splitMarkdownBlocks", {
|
|
|
7236
7224
|
enumerable: true,
|
|
7237
7225
|
get: function () { return chunk5SZ2J2WT_cjs.splitMarkdownBlocks; }
|
|
7238
7226
|
});
|
|
7239
|
-
Object.defineProperty(exports, "ScrollArea", {
|
|
7240
|
-
enumerable: true,
|
|
7241
|
-
get: function () { return chunkHUZB36QU_cjs.ScrollArea; }
|
|
7242
|
-
});
|
|
7243
|
-
Object.defineProperty(exports, "ScrollBar", {
|
|
7244
|
-
enumerable: true,
|
|
7245
|
-
get: function () { return chunkHUZB36QU_cjs.ScrollBar; }
|
|
7246
|
-
});
|
|
7247
|
-
Object.defineProperty(exports, "closeOpenEmphasis", {
|
|
7248
|
-
enumerable: true,
|
|
7249
|
-
get: function () { return chunkZ3LLUO32_cjs.closeOpenEmphasis; }
|
|
7250
|
-
});
|
|
7251
|
-
Object.defineProperty(exports, "normalizeCitationMarkup", {
|
|
7252
|
-
enumerable: true,
|
|
7253
|
-
get: function () { return chunkZ3LLUO32_cjs.normalizeCitationMarkup; }
|
|
7254
|
-
});
|
|
7255
|
-
Object.defineProperty(exports, "trimOpenCitation", {
|
|
7256
|
-
enumerable: true,
|
|
7257
|
-
get: function () { return chunkZ3LLUO32_cjs.trimOpenCitation; }
|
|
7258
|
-
});
|
|
7259
7227
|
Object.defineProperty(exports, "Button", {
|
|
7260
7228
|
enumerable: true,
|
|
7261
7229
|
get: function () { return chunkWYZJLZ67_cjs.Button; }
|
|
@@ -7304,6 +7272,26 @@ Object.defineProperty(exports, "buttonVariants", {
|
|
|
7304
7272
|
enumerable: true,
|
|
7305
7273
|
get: function () { return chunkWYZJLZ67_cjs.buttonVariants; }
|
|
7306
7274
|
});
|
|
7275
|
+
Object.defineProperty(exports, "closeOpenEmphasis", {
|
|
7276
|
+
enumerable: true,
|
|
7277
|
+
get: function () { return chunkZ3LLUO32_cjs.closeOpenEmphasis; }
|
|
7278
|
+
});
|
|
7279
|
+
Object.defineProperty(exports, "normalizeCitationMarkup", {
|
|
7280
|
+
enumerable: true,
|
|
7281
|
+
get: function () { return chunkZ3LLUO32_cjs.normalizeCitationMarkup; }
|
|
7282
|
+
});
|
|
7283
|
+
Object.defineProperty(exports, "trimOpenCitation", {
|
|
7284
|
+
enumerable: true,
|
|
7285
|
+
get: function () { return chunkZ3LLUO32_cjs.trimOpenCitation; }
|
|
7286
|
+
});
|
|
7287
|
+
Object.defineProperty(exports, "ScrollArea", {
|
|
7288
|
+
enumerable: true,
|
|
7289
|
+
get: function () { return chunkHUZB36QU_cjs.ScrollArea; }
|
|
7290
|
+
});
|
|
7291
|
+
Object.defineProperty(exports, "ScrollBar", {
|
|
7292
|
+
enumerable: true,
|
|
7293
|
+
get: function () { return chunkHUZB36QU_cjs.ScrollBar; }
|
|
7294
|
+
});
|
|
7307
7295
|
Object.defineProperty(exports, "DropdownMenu", {
|
|
7308
7296
|
enumerable: true,
|
|
7309
7297
|
get: function () { return chunkHJDR5HEO_cjs.DropdownMenu; }
|
|
@@ -7376,6 +7364,18 @@ Object.defineProperty(exports, "cn", {
|
|
|
7376
7364
|
enumerable: true,
|
|
7377
7365
|
get: function () { return chunkS6A6FSG7_cjs.cn; }
|
|
7378
7366
|
});
|
|
7367
|
+
Object.defineProperty(exports, "ArbiProvider", {
|
|
7368
|
+
enumerable: true,
|
|
7369
|
+
get: function () { return chunkIIT7DMQL_cjs.ArbiProvider; }
|
|
7370
|
+
});
|
|
7371
|
+
Object.defineProperty(exports, "useArbi", {
|
|
7372
|
+
enumerable: true,
|
|
7373
|
+
get: function () { return chunkIIT7DMQL_cjs.useArbi; }
|
|
7374
|
+
});
|
|
7375
|
+
Object.defineProperty(exports, "useDeploymentDomain", {
|
|
7376
|
+
enumerable: true,
|
|
7377
|
+
get: function () { return chunkIIT7DMQL_cjs.useDeploymentDomain; }
|
|
7378
|
+
});
|
|
7379
7379
|
Object.defineProperty(exports, "Arbi", {
|
|
7380
7380
|
enumerable: true,
|
|
7381
7381
|
get: function () { return browser.Arbi; }
|
package/dist/index.d.cts
CHANGED
|
@@ -1081,7 +1081,7 @@ declare function useTags(workspaceId: string | undefined, options?: {
|
|
|
1081
1081
|
fields?: {
|
|
1082
1082
|
id: string;
|
|
1083
1083
|
name: string;
|
|
1084
|
-
type: "text" | "number" | "date" | "checkbox" | "select" | "person";
|
|
1084
|
+
type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup";
|
|
1085
1085
|
options?: string[] | null | undefined;
|
|
1086
1086
|
tag_ext_id: string;
|
|
1087
1087
|
}[] | undefined;
|
|
@@ -1307,7 +1307,7 @@ declare function useProjects(options?: {
|
|
|
1307
1307
|
field_schema?: {
|
|
1308
1308
|
key: string;
|
|
1309
1309
|
label?: string | null | undefined;
|
|
1310
|
-
type: "text" | "number" | "date" | "checkbox" | "select" | "person";
|
|
1310
|
+
type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup";
|
|
1311
1311
|
options?: string[] | null | undefined;
|
|
1312
1312
|
}[] | null | undefined;
|
|
1313
1313
|
plan_interval?: ("month" | "year") | null | undefined;
|
|
@@ -2647,7 +2647,7 @@ declare function useFilteredProjects(filters: {
|
|
|
2647
2647
|
field_schema?: {
|
|
2648
2648
|
key: string;
|
|
2649
2649
|
label?: string | null | undefined;
|
|
2650
|
-
type: "text" | "number" | "date" | "checkbox" | "select" | "person";
|
|
2650
|
+
type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup";
|
|
2651
2651
|
options?: string[] | null | undefined;
|
|
2652
2652
|
}[] | null | undefined;
|
|
2653
2653
|
plan_interval?: ("month" | "year") | null | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -1081,7 +1081,7 @@ declare function useTags(workspaceId: string | undefined, options?: {
|
|
|
1081
1081
|
fields?: {
|
|
1082
1082
|
id: string;
|
|
1083
1083
|
name: string;
|
|
1084
|
-
type: "text" | "number" | "date" | "checkbox" | "select" | "person";
|
|
1084
|
+
type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup";
|
|
1085
1085
|
options?: string[] | null | undefined;
|
|
1086
1086
|
tag_ext_id: string;
|
|
1087
1087
|
}[] | undefined;
|
|
@@ -1307,7 +1307,7 @@ declare function useProjects(options?: {
|
|
|
1307
1307
|
field_schema?: {
|
|
1308
1308
|
key: string;
|
|
1309
1309
|
label?: string | null | undefined;
|
|
1310
|
-
type: "text" | "number" | "date" | "checkbox" | "select" | "person";
|
|
1310
|
+
type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup";
|
|
1311
1311
|
options?: string[] | null | undefined;
|
|
1312
1312
|
}[] | null | undefined;
|
|
1313
1313
|
plan_interval?: ("month" | "year") | null | undefined;
|
|
@@ -2647,7 +2647,7 @@ declare function useFilteredProjects(filters: {
|
|
|
2647
2647
|
field_schema?: {
|
|
2648
2648
|
key: string;
|
|
2649
2649
|
label?: string | null | undefined;
|
|
2650
|
-
type: "text" | "number" | "date" | "checkbox" | "select" | "person";
|
|
2650
|
+
type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup";
|
|
2651
2651
|
options?: string[] | null | undefined;
|
|
2652
2652
|
}[] | null | undefined;
|
|
2653
2653
|
plan_interval?: ("month" | "year") | null | undefined;
|
package/dist/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { arbiQueryKeys, useDocuments, useConversations, useAssistantQuery, useConversationThreads, useWorkspaces, useParsedDocument, useTags, useActivity, useThumbnails } from './chunk-2JPBOZIH.js';
|
|
2
2
|
export { DEFAULT_USD_PER_CREDIT, arbiQueryKeys, creditsToUsd, formatCredits, isUsageMetered, useActivity, useAgents, useAssistantQuery, useConfigs, useConversationThreads, useConversations, useDeleteAgents, useDocuments, useFacts, useHealth, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSessions, useTags, useThumbnails, useUserUsageToday, useWorkspaceUsers, useWorkspaces } from './chunk-2JPBOZIH.js';
|
|
3
|
+
export { cleanDraftMarkdown, cleanDraftWithReport, promoteBoldTitle, repairParsedStructure, repairParsedTitle, stripAgentPreamble, unescapeMarkdown, unwrapCitationLinks } from './chunk-G6FHNURH.js';
|
|
3
4
|
import { formatRelativeTime } from './chunk-ECOSGMTW.js';
|
|
4
5
|
export { DEFAULT_NOTIFY_TONE, NotificationBell, Toaster, formatRelativeTime, notify, seedNotifications, selectUnread, toast, useNotify } from './chunk-ECOSGMTW.js';
|
|
5
|
-
export { cleanDraftMarkdown, cleanDraftWithReport, promoteBoldTitle, repairParsedStructure, repairParsedTitle, stripAgentPreamble, unescapeMarkdown, unwrapCitationLinks } from './chunk-G6FHNURH.js';
|
|
6
|
-
import { AudioViewer, ImageViewer, VideoViewer } from './chunk-HDCRPPBW.js';
|
|
7
|
-
import { useArbi } from './chunk-WBYNKFUO.js';
|
|
8
|
-
export { ArbiProvider, useArbi, useDeploymentDomain } from './chunk-WBYNKFUO.js';
|
|
9
6
|
import { returnFocusToMark, MarkMenu, AiMarkdown, Card, Badge, TagEntity, Input, FILE_TYPE_COLORS, getEntityIcon, UserEntity, getEntityColorStyles, AgentBadge, Textarea, Label, Slider, DocumentEntity, DocumentCard, useAudioRecorder, MicWaveformIndicator, IconToggle, classifyMediaError, formatElapsed, PassageCard } from './chunk-MHCN7OST.js';
|
|
10
7
|
export { AgentBadge, AiMarkdown, ArbiBotHeadIcon, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS, Badge, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DictateProvider, DocIcon, DocumentCard, DocumentEntity, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, HoverCard, HoverCardContent, HoverCardTrigger, HtmlIcon, IconToggle, ImgIcon, InlineMicButton, Input, Label, MarkMenu, MicRecordingOverlay, MicWaveformIndicator, NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, PdfIcon, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PresenceLabel, Progress, ProjectEntity, RadioGroup, RadioGroupItem, RagDot, RelevanceDot, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, StatusPill, Switch, TAG_TYPE_ICONS, TAG_TYPE_LABELS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagEntity, Textarea, ThreadVisibilityIcon, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TxtIcon, UserEntity, UserMenu, VISIBILITY_ICONS, VerifiedBadge, VidIcon, VisibilityIcon, VisibilityToggle, XlsIcon, badgeVariants, cardVariants, classifyMediaError, configureEntityRegistry, configureRagLabels, configureStatusRegistry, formatElapsed, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, toggleVariants, useAudioRecorder } from './chunk-MHCN7OST.js';
|
|
11
8
|
import { MarkdownRenderer } from './chunk-YXSXGTYQ.js';
|
|
12
9
|
export { MarkdownRenderer, MarkdownStreamingContext, markdownBaseComponents, splitMarkdownBlocks } from './chunk-YXSXGTYQ.js';
|
|
13
|
-
import { ScrollArea } from './chunk-W4H6XAIU.js';
|
|
14
|
-
export { ScrollArea, ScrollBar } from './chunk-W4H6XAIU.js';
|
|
15
|
-
import { normalizeCitationMarkup } from './chunk-QRCMKEE6.js';
|
|
16
|
-
export { closeOpenEmphasis, normalizeCitationMarkup, trimOpenCitation } from './chunk-QRCMKEE6.js';
|
|
17
10
|
import { Button, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from './chunk-YNNAJJ5Z.js';
|
|
18
11
|
export { Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, buttonVariants } from './chunk-YNNAJJ5Z.js';
|
|
12
|
+
import { normalizeCitationMarkup } from './chunk-QRCMKEE6.js';
|
|
13
|
+
export { closeOpenEmphasis, normalizeCitationMarkup, trimOpenCitation } from './chunk-QRCMKEE6.js';
|
|
14
|
+
import { ScrollArea } from './chunk-W4H6XAIU.js';
|
|
15
|
+
export { ScrollArea, ScrollBar } from './chunk-W4H6XAIU.js';
|
|
19
16
|
import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator } from './chunk-47CCGUWR.js';
|
|
20
17
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, PortalContainerProvider, usePortalContainer } from './chunk-47CCGUWR.js';
|
|
21
18
|
import { cn } from './chunk-SN5YV6FF.js';
|
|
22
19
|
export { cn } from './chunk-SN5YV6FF.js';
|
|
20
|
+
import { AudioViewer, ImageViewer, VideoViewer } from './chunk-HDCRPPBW.js';
|
|
21
|
+
import { useArbi } from './chunk-WBYNKFUO.js';
|
|
22
|
+
export { ArbiProvider, useArbi, useDeploymentDomain } from './chunk-WBYNKFUO.js';
|
|
23
23
|
import React, { memo, useState, createContext, useMemo, useCallback, useEffect, useRef, useLayoutEffect, useContext, useId, Fragment as Fragment$1 } from 'react';
|
|
24
24
|
import { useQueryClient, useMutation, useQuery } from '@tanstack/react-query';
|
|
25
25
|
import { resolveCitations, summarizeCitations, formatFileSize, connectWithReconnect, dm, identityErrorCode } from '@arbidocs/sdk/browser';
|
package/dist/ui/index.cjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkQJRP2LLQ_cjs = require('../chunk-QJRP2LLQ.cjs');
|
|
4
4
|
var chunk5SZ2J2WT_cjs = require('../chunk-5SZ2J2WT.cjs');
|
|
5
|
-
var chunkHUZB36QU_cjs = require('../chunk-HUZB36QU.cjs');
|
|
6
|
-
var chunkZ3LLUO32_cjs = require('../chunk-Z3LLUO32.cjs');
|
|
7
5
|
var chunkWYZJLZ67_cjs = require('../chunk-WYZJLZ67.cjs');
|
|
6
|
+
var chunkZ3LLUO32_cjs = require('../chunk-Z3LLUO32.cjs');
|
|
7
|
+
var chunkHUZB36QU_cjs = require('../chunk-HUZB36QU.cjs');
|
|
8
8
|
var chunkHJDR5HEO_cjs = require('../chunk-HJDR5HEO.cjs');
|
|
9
9
|
var chunkS6A6FSG7_cjs = require('../chunk-S6A6FSG7.cjs');
|
|
10
10
|
|
|
@@ -474,22 +474,6 @@ Object.defineProperty(exports, "splitMarkdownBlocks", {
|
|
|
474
474
|
enumerable: true,
|
|
475
475
|
get: function () { return chunk5SZ2J2WT_cjs.splitMarkdownBlocks; }
|
|
476
476
|
});
|
|
477
|
-
Object.defineProperty(exports, "ScrollArea", {
|
|
478
|
-
enumerable: true,
|
|
479
|
-
get: function () { return chunkHUZB36QU_cjs.ScrollArea; }
|
|
480
|
-
});
|
|
481
|
-
Object.defineProperty(exports, "ScrollBar", {
|
|
482
|
-
enumerable: true,
|
|
483
|
-
get: function () { return chunkHUZB36QU_cjs.ScrollBar; }
|
|
484
|
-
});
|
|
485
|
-
Object.defineProperty(exports, "closeOpenEmphasis", {
|
|
486
|
-
enumerable: true,
|
|
487
|
-
get: function () { return chunkZ3LLUO32_cjs.closeOpenEmphasis; }
|
|
488
|
-
});
|
|
489
|
-
Object.defineProperty(exports, "trimOpenCitation", {
|
|
490
|
-
enumerable: true,
|
|
491
|
-
get: function () { return chunkZ3LLUO32_cjs.trimOpenCitation; }
|
|
492
|
-
});
|
|
493
477
|
Object.defineProperty(exports, "Button", {
|
|
494
478
|
enumerable: true,
|
|
495
479
|
get: function () { return chunkWYZJLZ67_cjs.Button; }
|
|
@@ -538,6 +522,22 @@ Object.defineProperty(exports, "buttonVariants", {
|
|
|
538
522
|
enumerable: true,
|
|
539
523
|
get: function () { return chunkWYZJLZ67_cjs.buttonVariants; }
|
|
540
524
|
});
|
|
525
|
+
Object.defineProperty(exports, "closeOpenEmphasis", {
|
|
526
|
+
enumerable: true,
|
|
527
|
+
get: function () { return chunkZ3LLUO32_cjs.closeOpenEmphasis; }
|
|
528
|
+
});
|
|
529
|
+
Object.defineProperty(exports, "trimOpenCitation", {
|
|
530
|
+
enumerable: true,
|
|
531
|
+
get: function () { return chunkZ3LLUO32_cjs.trimOpenCitation; }
|
|
532
|
+
});
|
|
533
|
+
Object.defineProperty(exports, "ScrollArea", {
|
|
534
|
+
enumerable: true,
|
|
535
|
+
get: function () { return chunkHUZB36QU_cjs.ScrollArea; }
|
|
536
|
+
});
|
|
537
|
+
Object.defineProperty(exports, "ScrollBar", {
|
|
538
|
+
enumerable: true,
|
|
539
|
+
get: function () { return chunkHUZB36QU_cjs.ScrollBar; }
|
|
540
|
+
});
|
|
541
541
|
Object.defineProperty(exports, "DropdownMenu", {
|
|
542
542
|
enumerable: true,
|
|
543
543
|
get: function () { return chunkHJDR5HEO_cjs.DropdownMenu; }
|
package/dist/ui/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { AgentBadge, AiMarkdown, Avatar, AvatarFallback, AvatarImage, BASE_COLORS, Badge, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DictateProvider, DocumentCard, DocumentEntity, ENTITY_MAPPINGS, EntityIcon, EntityPill, HoverCard, HoverCardContent, HoverCardTrigger, IconToggle, Input, Label, MarkMenu, NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PresenceLabel, Progress, ProjectEntity, RadioGroup, RadioGroupItem, RagDot, RelevanceDot, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, StatusPill, Switch, TAG_TYPE_ICONS, TAG_TYPE_LABELS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagEntity, Textarea, ThreadVisibilityIcon, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserEntity, UserMenu, VISIBILITY_ICONS, VerifiedBadge, VisibilityIcon, VisibilityToggle, badgeVariants, cardVariants, configureEntityRegistry, configureRagLabels, configureStatusRegistry, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, toggleVariants } from '../chunk-MHCN7OST.js';
|
|
2
2
|
export { MarkdownRenderer, MarkdownStreamingContext, markdownBaseComponents, splitMarkdownBlocks } from '../chunk-YXSXGTYQ.js';
|
|
3
|
-
export { ScrollArea, ScrollBar } from '../chunk-W4H6XAIU.js';
|
|
4
|
-
export { closeOpenEmphasis, trimOpenCitation } from '../chunk-QRCMKEE6.js';
|
|
5
3
|
export { Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, buttonVariants } from '../chunk-YNNAJJ5Z.js';
|
|
4
|
+
export { closeOpenEmphasis, trimOpenCitation } from '../chunk-QRCMKEE6.js';
|
|
5
|
+
export { ScrollArea, ScrollBar } from '../chunk-W4H6XAIU.js';
|
|
6
6
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, PortalContainerProvider, usePortalContainer } from '../chunk-47CCGUWR.js';
|
|
7
7
|
export { cn } from '../chunk-SN5YV6FF.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/react",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.80",
|
|
4
4
|
"description": "React hooks and provider for the ARBI SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
"build-storybook": "storybook build"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@arbidocs/client": "0.4.
|
|
97
|
-
"@arbidocs/sdk": "0.4.
|
|
96
|
+
"@arbidocs/client": "0.4.80",
|
|
97
|
+
"@arbidocs/sdk": "0.4.80",
|
|
98
98
|
"@didit-protocol/sdk-web": "0.4.0",
|
|
99
99
|
"@radix-ui/react-avatar": "^1.2.0",
|
|
100
100
|
"@radix-ui/react-checkbox": "^1.3.5",
|