@arbidocs/blocks 0.5.98 → 0.5.100
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 +37 -3
- package/dist/ConnectedCallDock-OJ4UR5PR.js +1 -1
- package/dist/ConnectedCallDock-OKH3FT2U.cjs +1 -1
- package/dist/ConnectedCallRoom-NB7I6RLQ.cjs +1 -1
- package/dist/ConnectedCallRoom-OX7ZIF76.js +1 -1
- package/dist/ConnectedNativeDocxComparison-3UJZR52S.cjs +2 -2
- package/dist/ConnectedNativeDocxComparison-VGJLNVM4.js +2 -2
- package/dist/ConnectedNativeDocxEditor-A6PGFR35.cjs +2 -2
- package/dist/ConnectedNativeDocxEditor-O7QEWYGG.js +2 -2
- package/dist/ConnectedStreamedWordArtifact-MJAVZ3NR.js +2 -2
- package/dist/ConnectedStreamedWordArtifact-Q7TWGK4B.cjs +2 -2
- package/dist/{DocumentReviewCard-LGBI472S.js → DocumentReviewCard-5NZM6FOB.js} +9 -9
- package/dist/{DocumentReviewCard-LGBI472S.js.map → DocumentReviewCard-5NZM6FOB.js.map} +1 -1
- package/dist/{DocumentReviewCard-CJ5VQM45.cjs → DocumentReviewCard-7VJ3MMYG.cjs} +14 -14
- package/dist/{DocumentReviewCard-CJ5VQM45.cjs.map → DocumentReviewCard-7VJ3MMYG.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-KP3IHDSS.js → FilesViewerDialog-5VML4F5E.js} +8 -8
- package/dist/{FilesViewerDialog-KP3IHDSS.js.map → FilesViewerDialog-5VML4F5E.js.map} +1 -1
- package/dist/{FilesViewerDialog-AFIM2SCB.cjs → FilesViewerDialog-IQ5UDAZX.cjs} +9 -9
- package/dist/{FilesViewerDialog-AFIM2SCB.cjs.map → FilesViewerDialog-IQ5UDAZX.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-2FL5OX6M.js → WorkspaceTableView-DYABS53K.js} +3 -3
- package/dist/{WorkspaceTableView-2FL5OX6M.js.map → WorkspaceTableView-DYABS53K.js.map} +1 -1
- package/dist/{WorkspaceTableView-YPESFW25.cjs → WorkspaceTableView-ZIQ7JWT5.cjs} +3 -3
- package/dist/{WorkspaceTableView-YPESFW25.cjs.map → WorkspaceTableView-ZIQ7JWT5.cjs.map} +1 -1
- package/dist/agents/index.cjs +177 -177
- package/dist/agents/index.js +4 -4
- package/dist/chat/index.cjs +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/{chunk-Y7QIZGZA.js → chunk-22EZJLGW.js} +5 -5
- package/dist/{chunk-Y7QIZGZA.js.map → chunk-22EZJLGW.js.map} +1 -1
- package/dist/{chunk-YOCKX2OP.cjs → chunk-4VSRSF4Q.cjs} +5 -5
- package/dist/{chunk-YOCKX2OP.cjs.map → chunk-4VSRSF4Q.cjs.map} +1 -1
- package/dist/{chunk-VJTDTWNZ.cjs → chunk-ERDQ4DAX.cjs} +3 -3
- package/dist/{chunk-VJTDTWNZ.cjs.map → chunk-ERDQ4DAX.cjs.map} +1 -1
- package/dist/{chunk-F3IRNQIB.cjs → chunk-HJBVSG6H.cjs} +4 -4
- package/dist/{chunk-F3IRNQIB.cjs.map → chunk-HJBVSG6H.cjs.map} +1 -1
- package/dist/{chunk-ERVXJW7P.cjs → chunk-J24LYNTY.cjs} +35 -35
- package/dist/{chunk-ERVXJW7P.cjs.map → chunk-J24LYNTY.cjs.map} +1 -1
- package/dist/{chunk-5HPLUT4M.cjs → chunk-KBXATCF4.cjs} +4 -4
- package/dist/{chunk-5HPLUT4M.cjs.map → chunk-KBXATCF4.cjs.map} +1 -1
- package/dist/{chunk-6FLDM72D.js → chunk-KYR3TXHS.js} +3 -3
- package/dist/{chunk-6FLDM72D.js.map → chunk-KYR3TXHS.js.map} +1 -1
- package/dist/{chunk-JGC3EPPF.js → chunk-L3V2ANBD.js} +3 -3
- package/dist/{chunk-JGC3EPPF.js.map → chunk-L3V2ANBD.js.map} +1 -1
- package/dist/{chunk-SVQTUHPE.cjs → chunk-MM5Q7AJL.cjs} +8 -8
- package/dist/{chunk-SVQTUHPE.cjs.map → chunk-MM5Q7AJL.cjs.map} +1 -1
- package/dist/{chunk-VYTEEQ4C.cjs → chunk-MT3RPUQC.cjs} +4 -4
- package/dist/{chunk-VYTEEQ4C.cjs.map → chunk-MT3RPUQC.cjs.map} +1 -1
- package/dist/{chunk-KA6TKTIT.js → chunk-OOYT5A7W.js} +3 -3
- package/dist/{chunk-KA6TKTIT.js.map → chunk-OOYT5A7W.js.map} +1 -1
- package/dist/{chunk-U3FUFNNR.js → chunk-OYSTBNNA.js} +3 -3
- package/dist/{chunk-U3FUFNNR.js.map → chunk-OYSTBNNA.js.map} +1 -1
- package/dist/{chunk-E35SHIUT.cjs → chunk-RAF72BBC.cjs} +4 -4
- package/dist/{chunk-E35SHIUT.cjs.map → chunk-RAF72BBC.cjs.map} +1 -1
- package/dist/{chunk-5SQJTWD3.cjs → chunk-SWILV6LT.cjs} +4 -4
- package/dist/{chunk-5SQJTWD3.cjs.map → chunk-SWILV6LT.cjs.map} +1 -1
- package/dist/{chunk-7OMLHP7B.js → chunk-SWW3KBH2.js} +4 -4
- package/dist/{chunk-7OMLHP7B.js.map → chunk-SWW3KBH2.js.map} +1 -1
- package/dist/{chunk-5CKKWKEJ.js → chunk-TVJAVK2G.js} +3 -3
- package/dist/{chunk-5CKKWKEJ.js.map → chunk-TVJAVK2G.js.map} +1 -1
- package/dist/{chunk-37J6OLML.js → chunk-UBI4HXT6.js} +5 -5
- package/dist/{chunk-37J6OLML.js.map → chunk-UBI4HXT6.js.map} +1 -1
- package/dist/{chunk-3SBMU4LB.js → chunk-UNQE3JWX.js} +4 -4
- package/dist/{chunk-3SBMU4LB.js.map → chunk-UNQE3JWX.js.map} +1 -1
- package/dist/{chunk-LDGVJI7D.cjs → chunk-USIRUI2M.cjs} +24 -24
- package/dist/{chunk-LDGVJI7D.cjs.map → chunk-USIRUI2M.cjs.map} +1 -1
- package/dist/{chunk-65MSYISI.cjs → chunk-VD33HXFZ.cjs} +28 -28
- package/dist/{chunk-65MSYISI.cjs.map → chunk-VD33HXFZ.cjs.map} +1 -1
- package/dist/{chunk-VYW4YXDB.js → chunk-VW6MFQFW.js} +3 -3
- package/dist/{chunk-VYW4YXDB.js.map → chunk-VW6MFQFW.js.map} +1 -1
- package/dist/{chunk-3LZ7JL3N.js → chunk-YG4S7OCD.js} +3 -3
- package/dist/{chunk-3LZ7JL3N.js.map → chunk-YG4S7OCD.js.map} +1 -1
- package/dist/{chunk-CYIL3N2M.js → chunk-Z7XKBKQN.js} +6 -6
- package/dist/{chunk-CYIL3N2M.js.map → chunk-Z7XKBKQN.js.map} +1 -1
- package/dist/{chunk-PNDWMFVL.cjs → chunk-ZAKDIJBP.cjs} +46 -46
- package/dist/{chunk-PNDWMFVL.cjs.map → chunk-ZAKDIJBP.cjs.map} +1 -1
- package/dist/connect/docx.cjs +2 -2
- package/dist/connect/docx.js +2 -2
- package/dist/connect/index.cjs +1259 -713
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +1 -0
- package/dist/connect/index.js +784 -241
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/viewer.cjs +7 -7
- package/dist/connect/viewer.js +6 -6
- package/dist/connection/command/ConnectedCommandPalette.d.ts +16 -0
- package/dist/connection/command/actions.d.ts +21 -0
- package/dist/connection/command/icons.d.ts +7 -0
- package/dist/connection/command/index.d.ts +3 -0
- package/dist/connection/command/palette-state.d.ts +22 -0
- package/dist/connection/files/grid/documentCellRenderers.d.ts +57 -0
- package/dist/connection/files/grid/documentColumns.d.ts +2 -2
- package/dist/embed/index.cjs +13 -13
- package/dist/embed/index.js +7 -7
- package/dist/files/index.cjs +224 -224
- package/dist/files/index.js +3 -3
- package/dist/index.cjs +267 -267
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/nav/actions.d.ts +23 -1
- package/dist/styles.css +1 -1
- package/dist/workflow-canvas/index.cjs +20 -20
- package/dist/workflow-canvas/index.js +10 -10
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
package/dist/connect/viewer.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkZAKDIJBP_cjs = require('../chunk-ZAKDIJBP.cjs');
|
|
5
5
|
require('../chunk-JXKNPKU6.cjs');
|
|
6
6
|
var chunkEAA2X45O_cjs = require('../chunk-EAA2X45O.cjs');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-HJBVSG6H.cjs');
|
|
8
8
|
require('../chunk-6KQVTMRL.cjs');
|
|
9
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-J24LYNTY.cjs');
|
|
10
10
|
require('../chunk-MMSHLHTA.cjs');
|
|
11
|
-
require('../chunk-
|
|
11
|
+
require('../chunk-ERDQ4DAX.cjs');
|
|
12
12
|
require('../chunk-223D4727.cjs');
|
|
13
13
|
require('../chunk-SNUBQMIS.cjs');
|
|
14
14
|
require('../chunk-YYPZOEED.cjs');
|
|
@@ -38,8 +38,8 @@ require('../chunk-4PA6VCCR.cjs');
|
|
|
38
38
|
require('../chunk-AHDJXIUB.cjs');
|
|
39
39
|
require('../chunk-RL2HI6NP.cjs');
|
|
40
40
|
require('../chunk-6UZC4XVV.cjs');
|
|
41
|
-
require('../chunk-LKK52DEY.cjs');
|
|
42
41
|
require('../chunk-TTPJ2G3G.cjs');
|
|
42
|
+
require('../chunk-LKK52DEY.cjs');
|
|
43
43
|
require('../chunk-CYKHYFI3.cjs');
|
|
44
44
|
require('../chunk-VG24E4JJ.cjs');
|
|
45
45
|
require('../chunk-U2FFG2B3.cjs');
|
|
@@ -60,8 +60,8 @@ require('../chunk-MCXS6X37.cjs');
|
|
|
60
60
|
require('../chunk-KQF7POTG.cjs');
|
|
61
61
|
require('../chunk-75BNMCUX.cjs');
|
|
62
62
|
require('../chunk-UDSHVNU3.cjs');
|
|
63
|
-
require('../chunk-FX3K6LNZ.cjs');
|
|
64
63
|
require('../chunk-IPSHAMO2.cjs');
|
|
64
|
+
require('../chunk-FX3K6LNZ.cjs');
|
|
65
65
|
require('../chunk-PPCATBOY.cjs');
|
|
66
66
|
require('../chunk-WGWP4ATS.cjs');
|
|
67
67
|
require('../chunk-JDFBEGQO.cjs');
|
|
@@ -74,7 +74,7 @@ require('../chunk-DES3K4SD.cjs');
|
|
|
74
74
|
|
|
75
75
|
Object.defineProperty(exports, "ConnectedDocumentViewer", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkZAKDIJBP_cjs.ConnectedDocumentViewer; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
|
|
80
80
|
enumerable: true,
|
package/dist/connect/viewer.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ConnectedDocumentViewer } from '../chunk-
|
|
2
|
+
export { ConnectedDocumentViewer } from '../chunk-Z7XKBKQN.js';
|
|
3
3
|
import '../chunk-QTSNHGSI.js';
|
|
4
4
|
export { ConnectedDocumentToolsProvider } from '../chunk-GNBYRV46.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-OYSTBNNA.js';
|
|
6
6
|
import '../chunk-3PV25ICC.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-TVJAVK2G.js';
|
|
8
8
|
import '../chunk-N77UYRV7.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-OOYT5A7W.js';
|
|
10
10
|
import '../chunk-RC6VTY2H.js';
|
|
11
11
|
import '../chunk-OHRWYRTH.js';
|
|
12
12
|
import '../chunk-IIUR73K2.js';
|
|
@@ -36,8 +36,8 @@ import '../chunk-ZQ5YTC3P.js';
|
|
|
36
36
|
import '../chunk-RLWIUUQ5.js';
|
|
37
37
|
import '../chunk-L3BEWZWT.js';
|
|
38
38
|
import '../chunk-P4CH2ATT.js';
|
|
39
|
-
import '../chunk-7F5Z4K5W.js';
|
|
40
39
|
import '../chunk-U53SIJES.js';
|
|
40
|
+
import '../chunk-7F5Z4K5W.js';
|
|
41
41
|
import '../chunk-MB5B7E2Y.js';
|
|
42
42
|
import '../chunk-NS4JD2VR.js';
|
|
43
43
|
import '../chunk-Z42EEBON.js';
|
|
@@ -58,8 +58,8 @@ import '../chunk-5B74B62N.js';
|
|
|
58
58
|
import '../chunk-UH7LTR2B.js';
|
|
59
59
|
import '../chunk-7SQVZML4.js';
|
|
60
60
|
import '../chunk-XDDORJPA.js';
|
|
61
|
-
import '../chunk-SLSBJRWW.js';
|
|
62
61
|
import '../chunk-X5YMI6A7.js';
|
|
62
|
+
import '../chunk-SLSBJRWW.js';
|
|
63
63
|
import '../chunk-NPLYHR2E.js';
|
|
64
64
|
import '../chunk-YUHSDOPW.js';
|
|
65
65
|
import '../chunk-WTTPZMZ7.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ActionDefinition } from '../../nav/actions';
|
|
2
|
+
import type { AppNavItem } from '../../nav/types';
|
|
3
|
+
import { type CommandPaletteLabels } from './palette-state';
|
|
4
|
+
export interface ConnectedCommandPaletteProps {
|
|
5
|
+
/**
|
|
6
|
+
* The host's destinations (`defineNavigation(...).items`), listed under Pages. Default: inside a
|
|
7
|
+
* routed `ConnectedAppShell`, its visible (gated) destinations; elsewhere none.
|
|
8
|
+
*/
|
|
9
|
+
navigation?: readonly AppNavItem[];
|
|
10
|
+
/** Go to a destination. Default: the environment's `navigate(item.to)`. */
|
|
11
|
+
onNavigate?: (item: AppNavItem) => void;
|
|
12
|
+
/** The host's own actions, beside the built-in ones (an equal id replaces a built-in one). */
|
|
13
|
+
actions?: Readonly<Partial<Record<string, ActionDefinition>>>;
|
|
14
|
+
labels?: Partial<CommandPaletteLabels>;
|
|
15
|
+
}
|
|
16
|
+
export declare function ConnectedCommandPalette({ navigation: navigationProp, onNavigate, actions, labels: labelOverrides, }: ConnectedCommandPaletteProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The built-in action catalogue: the parameter-light things a user can do from anywhere on any
|
|
3
|
+
* host (open a dialog, create something, switch the Files view, open settings, get help). Each
|
|
4
|
+
* `run` goes through the host's environment intents and the session store, never an app path, so
|
|
5
|
+
* the catalogue works outside React too (a tip's CTA, a validated remote dispatch).
|
|
6
|
+
*
|
|
7
|
+
* A host adds its own actions beside these (its pages, its panels) and may replace one by giving
|
|
8
|
+
* an action with the same id. `ConnectedCommandPalette` builds this catalogue from the host in
|
|
9
|
+
* scope; code outside React builds it with the host's environment and session store.
|
|
10
|
+
*/
|
|
11
|
+
import { type ArbiSessionStore } from '@arbidocs/react';
|
|
12
|
+
import type { ActionDefinition } from '../../nav/actions';
|
|
13
|
+
import type { BlocksEnvironment } from '../../provider/environment';
|
|
14
|
+
export type BuiltinActionId = 'goto-user-settings' | 'create-workspace' | 'upload-documents' | 'view-processing-status' | 'transfer-workspace' | 'export-documents' | 'bulk-tag-documents' | 'move-to-folder' | 'ai-review-documents' | 'docs-grid-view' | 'docs-navigator-view' | 'docs-explorer-view' | 'show-uploaded-docs' | 'show-generated-docs' | 'clear-document-selection' | 'summarise-document' | 'translate-document' | 'attach-context' | 'conversation-settings' | 'open-skills-library' | 'clear-conversation-context' | 'open-invite-contacts' | 'open-projects' | 'open-user-settings' | 'view-pro-features' | 'logout' | 'start-welcome-tour' | 'mute-notifications' | 'work-offline';
|
|
15
|
+
type Session = Pick<ArbiSessionStore, 'getState' | 'setConversationDocuments' | 'setSelectedDocumentIds' | 'setTransientView'>;
|
|
16
|
+
/**
|
|
17
|
+
* The built-in catalogue on a host's environment and session store. An action whose intent the
|
|
18
|
+
* host does not offer (`openProcessing`) is left out.
|
|
19
|
+
*/
|
|
20
|
+
export declare function createBuiltinActions(environment: BlocksEnvironment, session: Session): Partial<Record<BuiltinActionId, ActionDefinition<BuiltinActionId>>>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The icons the palette draws for an action's icon name. A catalogue names its icons
|
|
3
|
+
* (`ActionDefinition.icon`) so it stays independent of a renderer; this map keeps the palette from
|
|
4
|
+
* bundling the whole icon set. A name it does not know draws the generic action glyph.
|
|
5
|
+
*/
|
|
6
|
+
import { type LucideIcon } from 'lucide-react';
|
|
7
|
+
export declare const actionIcon: (name: string) => LucideIcon;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface CommandPaletteLabels {
|
|
2
|
+
placeholder: string;
|
|
3
|
+
/** The palette's name for screen readers. */
|
|
4
|
+
title: string;
|
|
5
|
+
pages: string;
|
|
6
|
+
/** Before the typed text on the ask row. */
|
|
7
|
+
ask: string;
|
|
8
|
+
/** Before the typed text on the search row. */
|
|
9
|
+
search: string;
|
|
10
|
+
/** Nothing matches (and there is no workspace to ask). */
|
|
11
|
+
empty: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const DEFAULT_COMMAND_PALETTE_LABELS: CommandPaletteLabels;
|
|
14
|
+
export declare const usePaletteOpen: import("zustand").UseBoundStore<import("zustand").StoreApi<boolean>>;
|
|
15
|
+
/** Open the command palette (a search button, a menu item). */
|
|
16
|
+
export declare const openCommandPalette: () => void;
|
|
17
|
+
/**
|
|
18
|
+
* ⌘K on Apple platforms, Ctrl+K elsewhere (so Ctrl+K on a Mac keeps "delete to end of line"),
|
|
19
|
+
* with no Shift or Alt. A key an editor already handled (the Word editor's insert-link calls
|
|
20
|
+
* `preventDefault`), or one typed in an editable region or the Word editor, stays the editor's.
|
|
21
|
+
*/
|
|
22
|
+
export declare function isPaletteShortcut(event: KeyboardEvent, isApple?: boolean): boolean;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The documents table's cell renderers. Each is a module-level component, so it is one component
|
|
3
|
+
* type for the life of the grid; what changes between column builds (the viewer's rights, the
|
|
4
|
+
* actions, the labels) reaches it through `cellRendererParams`, which AG Grid passes as props.
|
|
5
|
+
* A renderer created inside `createDocumentColumns` was a new component type on every rebuild, and
|
|
6
|
+
* the columns are rebuilt right after the first paint (the labels, the role and the membership
|
|
7
|
+
* load after the documents): React then unmounted and remounted every rendered cell, closing a
|
|
8
|
+
* row menu the person had just opened (#2240).
|
|
9
|
+
*/
|
|
10
|
+
import type { ICellRendererParams } from 'ag-grid-community';
|
|
11
|
+
import type { TagResponse } from '@arbidocs/sdk/browser';
|
|
12
|
+
import type { CreateDocumentColumnsParams, GridDocument } from './documentColumns';
|
|
13
|
+
type Doc = GridDocument;
|
|
14
|
+
type Tag = TagResponse;
|
|
15
|
+
type RowCheck = (params: {
|
|
16
|
+
data?: Doc | null;
|
|
17
|
+
}) => boolean;
|
|
18
|
+
export interface DocumentNameCellParams {
|
|
19
|
+
canEdit: RowCheck;
|
|
20
|
+
onOpenDocument: (docId: string) => void;
|
|
21
|
+
onReviewDocument?: (docId: string) => void;
|
|
22
|
+
onDocumentChat?: (docId: string) => void;
|
|
23
|
+
onDownloadDocument?: (doc: Doc) => void;
|
|
24
|
+
onMoveDocument?: (docId: string) => void;
|
|
25
|
+
onDeleteDocument?: (docId: string) => void;
|
|
26
|
+
}
|
|
27
|
+
/** Unified "document" cell: the pill (a click opens) and the row's ⋯ menu. */
|
|
28
|
+
export declare function DocumentNameCellRenderer(params: ICellRendererParams<Doc> & DocumentNameCellParams): import("react").JSX.Element | null;
|
|
29
|
+
export interface SharedCellParams {
|
|
30
|
+
canToggle: RowCheck;
|
|
31
|
+
onToggleShared: (docId: string, shared: boolean) => void;
|
|
32
|
+
}
|
|
33
|
+
export declare function SharedCellRenderer(params: ICellRendererParams<Doc> & SharedCellParams): import("react").JSX.Element | null;
|
|
34
|
+
export interface StatusCellParams {
|
|
35
|
+
onStatusClick?: () => void;
|
|
36
|
+
}
|
|
37
|
+
export declare function StatusCellRenderer(params: ICellRendererParams<Doc> & StatusCellParams): import("react").JSX.Element | null;
|
|
38
|
+
export interface LabelsCellParams {
|
|
39
|
+
labels: Tag[];
|
|
40
|
+
createDocTag: CreateDocumentColumnsParams['createDocTag'];
|
|
41
|
+
deleteDocTag: CreateDocumentColumnsParams['deleteDocTag'];
|
|
42
|
+
createTag: CreateDocumentColumnsParams['createTag'];
|
|
43
|
+
isMember: boolean;
|
|
44
|
+
}
|
|
45
|
+
export declare function LabelsCellRenderer(params: ICellRendererParams<Doc> & LabelsCellParams): import("react").JSX.Element | null;
|
|
46
|
+
export interface RelatedDocsCellParams {
|
|
47
|
+
onOpenDocument: (docId: string) => void;
|
|
48
|
+
onDeleteDocument?: (docId: string) => void;
|
|
49
|
+
}
|
|
50
|
+
export declare function RelatedDocsCellRenderer(params: ICellRendererParams<Doc> & RelatedDocsCellParams): import("react").JSX.Element | null;
|
|
51
|
+
export interface FolderCellParams {
|
|
52
|
+
canEdit: RowCheck;
|
|
53
|
+
}
|
|
54
|
+
export declare function FolderCellRenderer(params: ICellRendererParams<Doc> & FolderCellParams): import("react").JSX.Element | null;
|
|
55
|
+
/** The uploader's avatar (the members come through the grid's context). */
|
|
56
|
+
export declare function CreatedByCellRenderer(params: ICellRendererParams<Doc>): import("react").JSX.Element | null;
|
|
57
|
+
export {};
|
|
@@ -10,7 +10,7 @@ import { type TagResponse } from '@arbidocs/sdk/browser';
|
|
|
10
10
|
import { type DocumentHostActions, type RelatedDocsMap, type useAssignDocTags, type useCreateTag, type useRemoveDocTags, type useUpdateDocTag } from '@arbidocs/react';
|
|
11
11
|
import { type WorkspaceMemberRole } from '../../../files/permissions';
|
|
12
12
|
import type { FileTileDocument } from '../explorer/FileTiles';
|
|
13
|
-
import {
|
|
13
|
+
import type { GridUser } from './cells';
|
|
14
14
|
/** A row of the documents table. */
|
|
15
15
|
export type GridDocument = FileTileDocument & {
|
|
16
16
|
/** The email sender of a document imported from mail ("Ada <ada@x.com>"). */
|
|
@@ -35,7 +35,7 @@ export interface DocumentGridContext {
|
|
|
35
35
|
getHostActions?: () => DocumentHostActions;
|
|
36
36
|
updateFolder?: (docId: string, folder: string | null) => void;
|
|
37
37
|
}
|
|
38
|
-
interface CreateDocumentColumnsParams {
|
|
38
|
+
export interface CreateDocumentColumnsParams {
|
|
39
39
|
handleToggleDocumentViewer: (docId: string) => void;
|
|
40
40
|
onStatusClick?: () => void;
|
|
41
41
|
/** Per-row document actions for the unified name column's ⋯ kebab. */
|
package/dist/embed/index.cjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkMM5Q7AJL_cjs = require('../chunk-MM5Q7AJL.cjs');
|
|
5
5
|
require('../chunk-IU3SXE62.cjs');
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-SWILV6LT.cjs');
|
|
7
|
+
require('../chunk-MT3RPUQC.cjs');
|
|
8
8
|
require('../chunk-PZYPWY7G.cjs');
|
|
9
9
|
require('../chunk-TJY7XPDE.cjs');
|
|
10
10
|
require('../chunk-XNW62J54.cjs');
|
|
11
11
|
require('../chunk-53RXGFJ6.cjs');
|
|
12
12
|
require('../chunk-CWPKWXFU.cjs');
|
|
13
13
|
require('../chunk-6KQVTMRL.cjs');
|
|
14
|
-
require('../chunk-
|
|
14
|
+
require('../chunk-J24LYNTY.cjs');
|
|
15
15
|
require('../chunk-MMSHLHTA.cjs');
|
|
16
|
-
require('../chunk-
|
|
16
|
+
require('../chunk-ERDQ4DAX.cjs');
|
|
17
17
|
require('../chunk-223D4727.cjs');
|
|
18
18
|
require('../chunk-SNUBQMIS.cjs');
|
|
19
19
|
require('../chunk-QQMMCXBP.cjs');
|
|
@@ -43,8 +43,8 @@ require('../chunk-4PA6VCCR.cjs');
|
|
|
43
43
|
require('../chunk-AHDJXIUB.cjs');
|
|
44
44
|
require('../chunk-RL2HI6NP.cjs');
|
|
45
45
|
require('../chunk-6UZC4XVV.cjs');
|
|
46
|
-
require('../chunk-LKK52DEY.cjs');
|
|
47
46
|
require('../chunk-TTPJ2G3G.cjs');
|
|
47
|
+
require('../chunk-LKK52DEY.cjs');
|
|
48
48
|
require('../chunk-VYJF4ZQY.cjs');
|
|
49
49
|
require('../chunk-M74FWYNL.cjs');
|
|
50
50
|
require('../chunk-QUMUAJ2P.cjs');
|
|
@@ -71,8 +71,8 @@ require('../chunk-HSLPFBK2.cjs');
|
|
|
71
71
|
require('../chunk-QGVOT7E4.cjs');
|
|
72
72
|
require('../chunk-QRAQZTJE.cjs');
|
|
73
73
|
require('../chunk-UDSHVNU3.cjs');
|
|
74
|
-
require('../chunk-FX3K6LNZ.cjs');
|
|
75
74
|
require('../chunk-IPSHAMO2.cjs');
|
|
75
|
+
require('../chunk-FX3K6LNZ.cjs');
|
|
76
76
|
require('../chunk-ZBP4ZSAJ.cjs');
|
|
77
77
|
require('../chunk-PPCATBOY.cjs');
|
|
78
78
|
require('../chunk-WGWP4ATS.cjs');
|
|
@@ -86,27 +86,27 @@ require('../chunk-DES3K4SD.cjs');
|
|
|
86
86
|
|
|
87
87
|
Object.defineProperty(exports, "ArbiChat", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkMM5Q7AJL_cjs.ArbiChat; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "ConnectedCompactLogin", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkMM5Q7AJL_cjs.ConnectedCompactLogin; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "ConnectedEmbeddedChat", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkMM5Q7AJL_cjs.ConnectedEmbeddedChat; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "ConnectedLoginPage", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkMM5Q7AJL_cjs.ConnectedLoginPage; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "EmbeddedChatPanel", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkMM5Q7AJL_cjs.EmbeddedChatPanel; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "defaultHost", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkMM5Q7AJL_cjs.defaultHost; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "useConnection", {
|
|
112
112
|
enumerable: true,
|
package/dist/embed/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ArbiChat, ConnectedCompactLogin, ConnectedEmbeddedChat, ConnectedLoginPage, EmbeddedChatPanel, defaultHost } from '../chunk-
|
|
2
|
+
export { ArbiChat, ConnectedCompactLogin, ConnectedEmbeddedChat, ConnectedLoginPage, EmbeddedChatPanel, defaultHost } from '../chunk-UNQE3JWX.js';
|
|
3
3
|
import '../chunk-WGPJUGQ4.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-YG4S7OCD.js';
|
|
5
|
+
import '../chunk-KYR3TXHS.js';
|
|
6
6
|
import '../chunk-SX4MHN4P.js';
|
|
7
7
|
import '../chunk-CDDOLWSF.js';
|
|
8
8
|
import '../chunk-AZDPAV7E.js';
|
|
9
9
|
import '../chunk-AYIPCUPG.js';
|
|
10
10
|
import '../chunk-PQASXVZD.js';
|
|
11
11
|
import '../chunk-3PV25ICC.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-TVJAVK2G.js';
|
|
13
13
|
import '../chunk-N77UYRV7.js';
|
|
14
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-OOYT5A7W.js';
|
|
15
15
|
import '../chunk-RC6VTY2H.js';
|
|
16
16
|
import '../chunk-OHRWYRTH.js';
|
|
17
17
|
import '../chunk-PBQNZWSX.js';
|
|
@@ -41,8 +41,8 @@ import '../chunk-ZQ5YTC3P.js';
|
|
|
41
41
|
import '../chunk-RLWIUUQ5.js';
|
|
42
42
|
import '../chunk-L3BEWZWT.js';
|
|
43
43
|
import '../chunk-P4CH2ATT.js';
|
|
44
|
-
import '../chunk-7F5Z4K5W.js';
|
|
45
44
|
import '../chunk-U53SIJES.js';
|
|
45
|
+
import '../chunk-7F5Z4K5W.js';
|
|
46
46
|
import '../chunk-FVZ2CN4A.js';
|
|
47
47
|
import '../chunk-I6F6RBKV.js';
|
|
48
48
|
import '../chunk-OJIX5NBN.js';
|
|
@@ -69,8 +69,8 @@ import '../chunk-PMJPPXX5.js';
|
|
|
69
69
|
import '../chunk-XEZCSRFG.js';
|
|
70
70
|
import '../chunk-ECYOIRXR.js';
|
|
71
71
|
import '../chunk-XDDORJPA.js';
|
|
72
|
-
import '../chunk-SLSBJRWW.js';
|
|
73
72
|
import '../chunk-X5YMI6A7.js';
|
|
73
|
+
import '../chunk-SLSBJRWW.js';
|
|
74
74
|
import '../chunk-H773F7OR.js';
|
|
75
75
|
import '../chunk-NPLYHR2E.js';
|
|
76
76
|
import '../chunk-YUHSDOPW.js';
|