@arbidocs/blocks 0.4.146 → 0.4.147
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/agents/index.cjs +262 -262
- package/dist/agents/index.js +5 -5
- package/dist/{chunk-MFMASSEO.cjs → chunk-AINU3EJ6.cjs} +8 -8
- package/dist/{chunk-MFMASSEO.cjs.map → chunk-AINU3EJ6.cjs.map} +1 -1
- package/dist/{chunk-O2GW5IY6.cjs → chunk-AO7SK6WP.cjs} +29 -29
- package/dist/{chunk-O2GW5IY6.cjs.map → chunk-AO7SK6WP.cjs.map} +1 -1
- package/dist/{chunk-OBWYM25Y.js → chunk-DAHCRVPM.js} +3 -3
- package/dist/{chunk-OBWYM25Y.js.map → chunk-DAHCRVPM.js.map} +1 -1
- package/dist/{chunk-FUTMU4FR.js → chunk-DGV7HQA7.js} +6 -179
- package/dist/chunk-DGV7HQA7.js.map +1 -0
- package/dist/{chunk-O6IEZDRC.cjs → chunk-GRGS5M6O.cjs} +181 -3
- package/dist/chunk-GRGS5M6O.cjs.map +1 -0
- package/dist/{chunk-A6IU4GIW.js → chunk-H74HEPKT.js} +3 -3
- package/dist/{chunk-A6IU4GIW.js.map → chunk-H74HEPKT.js.map} +1 -1
- package/dist/{chunk-LPYEUD2D.cjs → chunk-IL3WB3YX.cjs} +3 -3
- package/dist/{chunk-LPYEUD2D.cjs.map → chunk-IL3WB3YX.cjs.map} +1 -1
- package/dist/{chunk-C3CGJK7A.cjs → chunk-LTU35TQN.cjs} +5 -5
- package/dist/{chunk-C3CGJK7A.cjs.map → chunk-LTU35TQN.cjs.map} +1 -1
- package/dist/{chunk-T5B7FM7S.js → chunk-LZRMXJIE.js} +3 -3
- package/dist/{chunk-T5B7FM7S.js.map → chunk-LZRMXJIE.js.map} +1 -1
- package/dist/{chunk-OPTBQSCV.cjs → chunk-MFY2ZNP6.cjs} +2 -181
- package/dist/{chunk-FUTMU4FR.js.map → chunk-MFY2ZNP6.cjs.map} +1 -1
- package/dist/{chunk-6HCJ3ZEU.js → chunk-R6VCPDPF.js} +178 -6
- package/dist/chunk-R6VCPDPF.js.map +1 -0
- package/dist/{chunk-C44TDH54.js → chunk-SUUPR735.js} +3 -3
- package/dist/{chunk-C44TDH54.js.map → chunk-SUUPR735.js.map} +1 -1
- package/dist/{chunk-RB7GX2VT.cjs → chunk-T5I4NRFP.cjs} +6 -6
- package/dist/{chunk-RB7GX2VT.cjs.map → chunk-T5I4NRFP.cjs.map} +1 -1
- package/dist/chunk-U37AYUPI.cjs +5371 -0
- package/dist/chunk-U37AYUPI.cjs.map +1 -0
- package/dist/{chunk-IJST4EBM.js → chunk-VUR63NMQ.js} +5 -5
- package/dist/{chunk-IJST4EBM.js.map → chunk-VUR63NMQ.js.map} +1 -1
- package/dist/chunk-WIZ7Z7FN.js +5179 -0
- package/dist/chunk-WIZ7Z7FN.js.map +1 -0
- package/dist/collaboration/index.cjs +73 -73
- package/dist/collaboration/index.js +2 -2
- package/dist/connect/docx.cjs +7 -7
- package/dist/connect/docx.js +4 -4
- package/dist/connect/index.cjs +1029 -125
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +1 -0
- package/dist/connect/index.js +910 -13
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/connectors/ConnectedAppsSettings.d.ts +24 -0
- package/dist/connection/connectors/ConnectedDriveSyncDialog.d.ts +12 -0
- package/dist/connection/connectors/ConnectedMailboxSyncDialog.d.ts +12 -0
- package/dist/connection/connectors/index.d.ts +4 -0
- package/dist/connection/connectors/sync-labels.d.ts +21 -0
- package/dist/connection/settings-page/ConnectedSettingsPage.d.ts +4 -0
- package/dist/connection/settings-page/index.d.ts +1 -1
- package/dist/files/index.cjs +2 -2
- package/dist/files/index.js +2 -2
- package/dist/index.cjs +395 -395
- package/dist/index.js +11 -11
- package/dist/settings/PlanBadge.d.ts +1 -1
- package/dist/settings/index.cjs +545 -3710
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.js +8 -3525
- package/dist/settings/index.js.map +1 -1
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +1 -1
- package/dist/studio/index.js +1 -1
- package/dist/workflow-canvas/index.cjs +18 -18
- package/dist/workflow-canvas/index.js +5 -5
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +4 -4
- package/dist/chunk-5YHEHEJT.js +0 -1667
- package/dist/chunk-5YHEHEJT.js.map +0 -1
- package/dist/chunk-6HCJ3ZEU.js.map +0 -1
- package/dist/chunk-O6IEZDRC.cjs.map +0 -1
- package/dist/chunk-OPTBQSCV.cjs.map +0 -1
- package/dist/chunk-U73KPFYH.cjs +0 -1717
- package/dist/chunk-U73KPFYH.cjs.map +0 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ConnectedAppsSettings
|
|
3
|
+
*
|
|
4
|
+
* "Connected Apps" settings tab — lets users connect their legal tools
|
|
5
|
+
* (iManage, CoCounsel, Everlaw, CourtListener, …) so the ARBI agent can
|
|
6
|
+
* query them directly during a conversation.
|
|
7
|
+
*
|
|
8
|
+
* Architecture: calls /v1/connectors (catalog) and /v1/connectors/me (user's
|
|
9
|
+
* installed connectors) to build the list. Each card shows the vendor, its
|
|
10
|
+
* connection status, and a Connect / Disconnect action.
|
|
11
|
+
*
|
|
12
|
+
* OAuth flow: clicking "Connect" navigates the browser to
|
|
13
|
+
* /v1/connectors/{vendor}/authorize, which redirects to the vendor's OAuth
|
|
14
|
+
* consent page. After the user grants access the vendor redirects back to
|
|
15
|
+
* /v1/connectors/{vendor}/callback, which stores the encrypted token and
|
|
16
|
+
* redirects to /settings/connected-apps?connected={vendor}.
|
|
17
|
+
*/
|
|
18
|
+
export interface ConnectedAppsSettingsProps {
|
|
19
|
+
/** The vendor an OAuth return just connected (`?connected=`): badged for 4 s, then cleared. */
|
|
20
|
+
justConnectedVendor?: string | null;
|
|
21
|
+
/** The badge is done: forget the just-connected vendor. */
|
|
22
|
+
onJustConnectedSeen?: () => void;
|
|
23
|
+
}
|
|
24
|
+
export declare function ConnectedAppsSettings({ justConnectedVendor, onJustConnectedSeen, }: ConnectedAppsSettingsProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ConnectorCatalogEntry, type UserConnectorEntry } from '@arbidocs/react';
|
|
2
|
+
export interface ConnectedDriveSyncDialogProps {
|
|
3
|
+
catalog: ConnectorCatalogEntry;
|
|
4
|
+
userConnector: UserConnectorEntry | undefined;
|
|
5
|
+
open: boolean;
|
|
6
|
+
onOpenChange: (open: boolean) => void;
|
|
7
|
+
/** When set, hide the workspace picker and force sync onto this workspace. */
|
|
8
|
+
lockedWorkspaceExtId?: string;
|
|
9
|
+
/** Fired after a successful enable, with the workspace the sync now targets. */
|
|
10
|
+
onEnabled?: (workspaceExtId: string) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function ConnectedDriveSyncDialog({ catalog, userConnector, open, onOpenChange, lockedWorkspaceExtId, onEnabled, }: ConnectedDriveSyncDialogProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ConnectorCatalogEntry, type UserConnectorEntry } from '@arbidocs/react';
|
|
2
|
+
export interface ConnectedMailboxSyncDialogProps {
|
|
3
|
+
catalog: ConnectorCatalogEntry;
|
|
4
|
+
userConnector: UserConnectorEntry | undefined;
|
|
5
|
+
open: boolean;
|
|
6
|
+
onOpenChange: (open: boolean) => void;
|
|
7
|
+
/** When set, hide the workspace picker and force sync onto this workspace. */
|
|
8
|
+
lockedWorkspaceExtId?: string;
|
|
9
|
+
/** Fired after a successful enable, with the workspace the sync now targets. */
|
|
10
|
+
onEnabled?: (workspaceExtId: string) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function ConnectedMailboxSyncDialog({ catalog, userConnector, open, onOpenChange, lockedWorkspaceExtId, onEnabled, }: ConnectedMailboxSyncDialogProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { ConnectedAppsSettings, type ConnectedAppsSettingsProps } from './ConnectedAppsSettings';
|
|
2
|
+
export { ConnectedMailboxSyncDialog, type ConnectedMailboxSyncDialogProps, } from './ConnectedMailboxSyncDialog';
|
|
3
|
+
export { ConnectedDriveSyncDialog, type ConnectedDriveSyncDialogProps, } from './ConnectedDriveSyncDialog';
|
|
4
|
+
export { BACKFILL_OPTIONS, formatLastSync, windowLabel } from './sync-labels';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** Labels of a connector sync: the backfill windows and "last synced" times. */
|
|
2
|
+
export declare const BACKFILL_OPTIONS: readonly [{
|
|
3
|
+
readonly value: "1";
|
|
4
|
+
readonly label: "Last 1 day";
|
|
5
|
+
}, {
|
|
6
|
+
readonly value: "7";
|
|
7
|
+
readonly label: "Last 7 days";
|
|
8
|
+
}, {
|
|
9
|
+
readonly value: "30";
|
|
10
|
+
readonly label: "Last 30 days";
|
|
11
|
+
}, {
|
|
12
|
+
readonly value: "90";
|
|
13
|
+
readonly label: "Last 90 days";
|
|
14
|
+
}, {
|
|
15
|
+
readonly value: "365";
|
|
16
|
+
readonly label: "Last year";
|
|
17
|
+
}];
|
|
18
|
+
/** Human-friendly "3d ago" style relative time; falls back to the raw ISO on parse failure. */
|
|
19
|
+
export declare function formatLastSync(iso: string): string;
|
|
20
|
+
/** Label for a backfill window in days (e.g. 1 -> "Last 1 day"). */
|
|
21
|
+
export declare function windowLabel(days: number | null): string;
|
|
@@ -2,12 +2,14 @@ import { type SettingsPageProps, type SettingsPageSection } from '../../settings
|
|
|
2
2
|
import { type ConnectedAccountSettingsProps } from './ConnectedAccountSettings';
|
|
3
3
|
import { type ConnectedMailSettingsProps } from './ConnectedMailSettings';
|
|
4
4
|
import { type ConnectedPrivacySettingsProps } from './ConnectedPrivacySettings';
|
|
5
|
+
import { type ConnectedAppsSettingsProps } from '../connectors/ConnectedAppsSettings';
|
|
5
6
|
/** The section ids of the connected sections. */
|
|
6
7
|
export declare const SETTINGS_SECTION_IDS: {
|
|
7
8
|
readonly account: "account";
|
|
8
9
|
readonly mail: "mail";
|
|
9
10
|
readonly privacy: "privacy";
|
|
10
11
|
readonly chat: "chat";
|
|
12
|
+
readonly connectedApps: "connected-apps";
|
|
11
13
|
};
|
|
12
14
|
/** Account: profile, ID check, security, sessions, sign out, delete. */
|
|
13
15
|
export declare function accountSettingsSection(props?: ConnectedAccountSettingsProps): SettingsPageSection;
|
|
@@ -17,6 +19,8 @@ export declare function mailSettingsSection(props?: ConnectedMailSettingsProps):
|
|
|
17
19
|
export declare function privacySettingsSection(props?: ConnectedPrivacySettingsProps): SettingsPageSection;
|
|
18
20
|
/** Chat: the premium models. */
|
|
19
21
|
export declare function chatSettingsSection(): SettingsPageSection;
|
|
22
|
+
/** Connected apps: Microsoft / Google, the MCP tools and Slack, connected through OAuth. */
|
|
23
|
+
export declare function connectedAppsSettingsSection(props?: ConnectedAppsSettingsProps): SettingsPageSection;
|
|
20
24
|
/** The sections of a host that adds none of its own. */
|
|
21
25
|
export declare const DEFAULT_SETTINGS_SECTIONS: readonly SettingsPageSection[];
|
|
22
26
|
export interface ConnectedSettingsPageProps extends Omit<SettingsPageProps, 'sections' | 'activeSectionId' | 'onSectionChange'> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ConnectedSettingsPage, DEFAULT_SETTINGS_SECTIONS, SETTINGS_SECTION_IDS, accountSettingsSection, chatSettingsSection, mailSettingsSection, privacySettingsSection, type ConnectedSettingsPageProps, } from './ConnectedSettingsPage';
|
|
1
|
+
export { ConnectedSettingsPage, DEFAULT_SETTINGS_SECTIONS, SETTINGS_SECTION_IDS, accountSettingsSection, chatSettingsSection, connectedAppsSettingsSection, mailSettingsSection, privacySettingsSection, type ConnectedSettingsPageProps, } from './ConnectedSettingsPage';
|
|
2
2
|
export { ConnectedAccountSettings, type ConnectedAccountSettingsProps, type ConnectedServerConnection, } from './ConnectedAccountSettings';
|
|
3
3
|
export { ConnectedMailSettings, type ConnectedMailSettingsProps } from './ConnectedMailSettings';
|
|
4
4
|
export { ConnectedPrivacySettings, type ConnectedPrivacySettingsProps, } from './ConnectedPrivacySettings';
|
package/dist/files/index.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
5
4
|
var chunkO4YPVYPO_cjs = require('../chunk-O4YPVYPO.cjs');
|
|
5
|
+
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
6
6
|
var chunkUWIILWDI_cjs = require('../chunk-UWIILWDI.cjs');
|
|
7
7
|
var chunk2WLXQGWC_cjs = require('../chunk-2WLXQGWC.cjs');
|
|
8
8
|
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
9
9
|
var chunk3AFWGEDJ_cjs = require('../chunk-3AFWGEDJ.cjs');
|
|
10
|
-
var chunkDVUZTGVL_cjs = require('../chunk-DVUZTGVL.cjs');
|
|
11
10
|
var chunkDETZZBG2_cjs = require('../chunk-DETZZBG2.cjs');
|
|
11
|
+
var chunkDVUZTGVL_cjs = require('../chunk-DVUZTGVL.cjs');
|
|
12
12
|
var chunkDTROMMDX_cjs = require('../chunk-DTROMMDX.cjs');
|
|
13
13
|
var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
14
14
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
package/dist/files/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { ModalBreadcrumbHeader } from '../chunk-RC6VTY2H.js';
|
|
3
2
|
export { DEFAULT_FOLDER_FILTER_LABELS, DEFAULT_FOLDER_PICKER_LABELS, FilesFilterBar, FilesModalFooter, FilesTagsButton, FilesViewCenter, FolderCommandList, FolderFilterButton, FolderPickerRow, FolderTree } from '../chunk-7RJTEWYM.js';
|
|
3
|
+
import { ModalBreadcrumbHeader } from '../chunk-RC6VTY2H.js';
|
|
4
4
|
export { ViewerHeaderEnd, ViewerHeaderStart, ViewerPane, ViewerRenderedPane, ViewerStatusNote } from '../chunk-6HKLTYNN.js';
|
|
5
5
|
export { DEFAULT_DOCUMENT_VIEW_TOGGLE_LABELS, DocumentViewToggle, ViewToggle } from '../chunk-JJA6GQKH.js';
|
|
6
6
|
import { ShareControl } from '../chunk-K4BGOPGG.js';
|
|
7
7
|
import { CellHoverIcon } from '../chunk-RFXJYIDV.js';
|
|
8
8
|
export { CellHoverIcon, HoverIconCell } from '../chunk-RFXJYIDV.js';
|
|
9
|
-
import { ToneBadge } from '../chunk-5LXQPP2K.js';
|
|
10
9
|
export { UploadDropzone } from '../chunk-EVUEIBNU.js';
|
|
10
|
+
import { ToneBadge } from '../chunk-5LXQPP2K.js';
|
|
11
11
|
import { ActionLink } from '../chunk-YKQ2DPIP.js';
|
|
12
12
|
import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
13
13
|
export { DEFAULT_SELECTION_BAR_LABELS, SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|