@arbidocs/blocks 0.4.95 → 0.4.97
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 +283 -283
- package/dist/agents/index.js +7 -7
- package/dist/chat/index.cjs +127 -127
- package/dist/chat/index.js +4 -4
- package/dist/{chunk-DCZGYCN2.cjs → chunk-3US5OIDQ.cjs} +5 -5
- package/dist/{chunk-DCZGYCN2.cjs.map → chunk-3US5OIDQ.cjs.map} +1 -1
- package/dist/{chunk-QQH2NI5U.js → chunk-5NQIBJPP.js} +8 -8
- package/dist/{chunk-QQH2NI5U.js.map → chunk-5NQIBJPP.js.map} +1 -1
- package/dist/{chunk-KBPHLW2R.cjs → chunk-B4SRYJLM.cjs} +3 -3
- package/dist/{chunk-KBPHLW2R.cjs.map → chunk-B4SRYJLM.cjs.map} +1 -1
- package/dist/chunk-D54JXTPG.cjs +164 -0
- package/dist/chunk-D54JXTPG.cjs.map +1 -0
- package/dist/{chunk-VQ65UHTV.cjs → chunk-DDYXFALG.cjs} +47 -47
- package/dist/{chunk-VQ65UHTV.cjs.map → chunk-DDYXFALG.cjs.map} +1 -1
- package/dist/{chunk-RZGVMV6B.cjs → chunk-EHB7J6SR.cjs} +5 -5
- package/dist/{chunk-RZGVMV6B.cjs.map → chunk-EHB7J6SR.cjs.map} +1 -1
- package/dist/{chunk-EJAYB7PP.js → chunk-EWSEQEPL.js} +4 -4
- package/dist/{chunk-EJAYB7PP.js.map → chunk-EWSEQEPL.js.map} +1 -1
- package/dist/{chunk-3OXWJ3CZ.cjs → chunk-GVOTXXZG.cjs} +5 -5
- package/dist/{chunk-3OXWJ3CZ.cjs.map → chunk-GVOTXXZG.cjs.map} +1 -1
- package/dist/{chunk-CKYA2IG5.cjs → chunk-HBF4BDRU.cjs} +3 -3
- package/dist/{chunk-CKYA2IG5.cjs.map → chunk-HBF4BDRU.cjs.map} +1 -1
- package/dist/{chunk-E2AAIMXO.cjs → chunk-HGJGALLN.cjs} +832 -219
- package/dist/chunk-HGJGALLN.cjs.map +1 -0
- package/dist/{chunk-24CS7JWU.js → chunk-HOXKR26S.js} +3 -3
- package/dist/{chunk-24CS7JWU.js.map → chunk-HOXKR26S.js.map} +1 -1
- package/dist/{chunk-PDEHIGJ5.js → chunk-ICBAFX5B.js} +3 -3
- package/dist/{chunk-PDEHIGJ5.js.map → chunk-ICBAFX5B.js.map} +1 -1
- package/dist/{chunk-OYMYNYFV.cjs → chunk-IF6VAYIA.cjs} +5 -5
- package/dist/{chunk-OYMYNYFV.cjs.map → chunk-IF6VAYIA.cjs.map} +1 -1
- package/dist/{chunk-TOVSTC2M.cjs → chunk-LENXDIMY.cjs} +5 -5
- package/dist/{chunk-TOVSTC2M.cjs.map → chunk-LENXDIMY.cjs.map} +1 -1
- package/dist/{chunk-VYKMBLDX.cjs → chunk-MP6FK43E.cjs} +8 -8
- package/dist/{chunk-VYKMBLDX.cjs.map → chunk-MP6FK43E.cjs.map} +1 -1
- package/dist/{chunk-HUFLBZWI.js → chunk-PGDL26TQ.js} +4 -4
- package/dist/{chunk-HUFLBZWI.js.map → chunk-PGDL26TQ.js.map} +1 -1
- package/dist/{chunk-WXLKMEMB.js → chunk-QIEEFBZ5.js} +834 -221
- package/dist/chunk-QIEEFBZ5.js.map +1 -0
- package/dist/{chunk-YPKSLTL5.js → chunk-RSUOOMPT.js} +3 -3
- package/dist/{chunk-YPKSLTL5.js.map → chunk-RSUOOMPT.js.map} +1 -1
- package/dist/{chunk-UMY6Y6BM.js → chunk-VLOPZHFH.js} +3 -3
- package/dist/{chunk-UMY6Y6BM.js.map → chunk-VLOPZHFH.js.map} +1 -1
- package/dist/{chunk-GNHOB2ZB.cjs → chunk-XMBYDLZQ.cjs} +4 -4
- package/dist/{chunk-GNHOB2ZB.cjs.map → chunk-XMBYDLZQ.cjs.map} +1 -1
- package/dist/{chunk-YG7DGGCA.js → chunk-XQDM6T6C.js} +3 -3
- package/dist/{chunk-YG7DGGCA.js.map → chunk-XQDM6T6C.js.map} +1 -1
- package/dist/{chunk-ZNDAXSDP.js → chunk-YH6SSJDW.js} +3 -3
- package/dist/{chunk-ZNDAXSDP.js.map → chunk-YH6SSJDW.js.map} +1 -1
- package/dist/{chunk-EOEDGJ75.js → chunk-Z3G65XHZ.js} +3 -3
- package/dist/{chunk-EOEDGJ75.js.map → chunk-Z3G65XHZ.js.map} +1 -1
- package/dist/chunk-ZCOVDK2E.js +153 -0
- package/dist/chunk-ZCOVDK2E.js.map +1 -0
- package/dist/components/DetailPanel.d.ts +106 -0
- package/dist/connect/docx.cjs +6 -6
- package/dist/connect/docx.js +4 -4
- package/dist/connect/index.cjs +47 -47
- package/dist/connect/index.js +17 -17
- package/dist/databases/DatabaseRowDetail.d.ts +32 -0
- package/dist/databases/DatabaseTable.d.ts +3 -1
- package/dist/databases/DatabaseToolbar.d.ts +9 -1
- package/dist/databases/PickCellEditor.d.ts +8 -1
- package/dist/databases/SelectCellEditor.d.ts +6 -1
- package/dist/databases/column-types.d.ts +5 -0
- package/dist/databases/databaseColumns.d.ts +7 -0
- package/dist/databases/index.cjs +381 -11
- package/dist/databases/index.cjs.map +1 -1
- package/dist/databases/index.d.ts +7 -5
- package/dist/databases/index.js +379 -14
- package/dist/databases/index.js.map +1 -1
- package/dist/databases/linkCells.d.ts +4 -2
- package/dist/docx/NativeDocxEditor.d.ts +3 -1
- package/dist/docx/RibbonMenu.d.ts +15 -0
- package/dist/docx/StyleGallery.d.ts +9 -0
- package/dist/docx/WordReferences.d.ts +21 -0
- package/dist/docx/index.cjs +24 -24
- package/dist/docx/index.js +3 -3
- package/dist/docx/review/DocxEditorReview.d.ts +4 -2
- package/dist/docx/review/commentText.d.ts +7 -0
- package/dist/docx/wordStyles.d.ts +21 -0
- package/dist/facts/index.cjs +5 -5
- package/dist/facts/index.js +2 -2
- package/dist/files/index.cjs +308 -0
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +298 -2
- package/dist/files/index.js.map +1 -1
- package/dist/files/views/gridViews.d.ts +80 -0
- package/dist/files/views/index.d.ts +2 -0
- package/dist/files/views/useGridViews.d.ts +38 -0
- package/dist/index.cjs +1237 -1237
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +100 -139
- package/dist/index.js.map +1 -1
- package/dist/settings/index.cjs +1 -1
- package/dist/settings/index.js +1 -1
- package/dist/shell/index.cjs +67 -67
- package/dist/shell/index.js +3 -3
- package/dist/studio/index.cjs +7 -7
- package/dist/studio/index.js +6 -6
- package/dist/tags/TagDetail.d.ts +1 -0
- package/dist/workflow-canvas/index.cjs +51 -51
- package/dist/workflow-canvas/index.js +8 -8
- package/package.json +4 -4
- package/src/docx/styles.css +564 -91
- package/dist/chunk-E2AAIMXO.cjs.map +0 -1
- package/dist/chunk-WXLKMEMB.js.map +0 -1
package/dist/connect/index.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useWorkspaceDocs } from '../chunk-YG7DGGCA.js';
|
|
3
|
-
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-YG7DGGCA.js';
|
|
4
2
|
import { SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-W7NZRZ54.js';
|
|
3
|
+
import { useWorkspaceDocs } from '../chunk-XQDM6T6C.js';
|
|
4
|
+
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-XQDM6T6C.js';
|
|
5
|
+
import { ConnectedNativeDocxEditor } from '../chunk-YH6SSJDW.js';
|
|
6
|
+
import { ConnectionProvider, useConnection } from '../chunk-OYMWV45N.js';
|
|
7
|
+
export { ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, useConnection } from '../chunk-OYMWV45N.js';
|
|
5
8
|
import { SignDocumentDialog } from '../chunk-2YOVK524.js';
|
|
9
|
+
import '../chunk-QIEEFBZ5.js';
|
|
6
10
|
import { FilesFilterBar, FolderFilterButton, FolderPickerRow } from '../chunk-7RJTEWYM.js';
|
|
7
|
-
import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx } from '../chunk-
|
|
8
|
-
import {
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import { splitDocRef, WorkflowStepBar, stepLevels, WorkflowRunner, initialRunInputs, workflowSteps, fromPlanSteps, stepStatesFromActivity, toPlanSteps, runThreadTitle, useWorkflowView, stepFields } from '../chunk-
|
|
11
|
+
import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx } from '../chunk-Z3G65XHZ.js';
|
|
12
|
+
import { DOCX_MIME_TYPE } from '../chunk-D3QPYKZG.js';
|
|
13
|
+
import '../chunk-AF6RDAJF.js';
|
|
14
|
+
import { splitDocRef, WorkflowStepBar, stepLevels, WorkflowRunner, initialRunInputs, workflowSteps, fromPlanSteps, stepStatesFromActivity, toPlanSteps, runThreadTitle, useWorkflowView, stepFields } from '../chunk-PGDL26TQ.js';
|
|
11
15
|
import { TriStateFilterMenu } from '../chunk-6S5FLMWG.js';
|
|
12
|
-
import '../chunk-24CS7JWU.js';
|
|
13
16
|
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
14
|
-
import '../chunk-XD2M6LIG.js';
|
|
15
17
|
import '../chunk-EVUEIBNU.js';
|
|
16
18
|
import '../chunk-AUS3KBHJ.js';
|
|
17
19
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
18
|
-
import '../chunk-
|
|
19
|
-
import '../chunk-VILAPTCB.js';
|
|
20
|
+
import '../chunk-XD2M6LIG.js';
|
|
20
21
|
import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
22
|
+
import '../chunk-VILAPTCB.js';
|
|
23
|
+
import { ChatPage } from '../chunk-EWSEQEPL.js';
|
|
24
|
+
import '../chunk-KZJAG7T3.js';
|
|
25
|
+
import '../chunk-HOXKR26S.js';
|
|
26
|
+
import '../chunk-AA3PT6KR.js';
|
|
27
|
+
import '../chunk-NPLYHR2E.js';
|
|
21
28
|
import { initials } from '../chunk-OXF2IFXG.js';
|
|
22
29
|
import { PlainMailBodyEditor, draftMailCompose, emptyMailCompose, MailGrid, MailMessageView, replyMailCompose, MailDocumentPicker, parseMailRecipients } from '../chunk-LGX6UFYG.js';
|
|
23
30
|
import { ModalScaffold } from '../chunk-TX2ZICS7.js';
|
|
24
31
|
import '../chunk-ZPLG7QYF.js';
|
|
25
32
|
import '../chunk-SLSBJRWW.js';
|
|
26
|
-
import { ConnectedNativeDocxEditor } from '../chunk-ZNDAXSDP.js';
|
|
27
|
-
import { ConnectionProvider, useConnection } from '../chunk-OYMWV45N.js';
|
|
28
|
-
export { ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, useConnection } from '../chunk-OYMWV45N.js';
|
|
29
|
-
import '../chunk-WXLKMEMB.js';
|
|
30
|
-
import { DOCX_MIME_TYPE } from '../chunk-D3QPYKZG.js';
|
|
31
|
-
import '../chunk-AF6RDAJF.js';
|
|
32
|
-
import '../chunk-AA3PT6KR.js';
|
|
33
33
|
import '../chunk-7F6CBP3Z.js';
|
|
34
34
|
import '../chunk-VUNV25KB.js';
|
|
35
35
|
import { lazy, useState, useMemo, Suspense, useEffect, useRef, useCallback, useLayoutEffect } from 'react';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type DatabaseColumnView, type DatabaseRowView } from './column-types';
|
|
2
|
+
import { type DatabaseCellSources } from './linkCells';
|
|
3
|
+
export interface DatabaseRowDetailLabels {
|
|
4
|
+
untitled: string;
|
|
5
|
+
fields: string;
|
|
6
|
+
documents: string;
|
|
7
|
+
noDocuments: string;
|
|
8
|
+
/** An empty cell that can be filled in. */
|
|
9
|
+
empty: string;
|
|
10
|
+
deleteRow: string;
|
|
11
|
+
close: string;
|
|
12
|
+
/** Under a computed (lookup / rollup) field. */
|
|
13
|
+
computed: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const DEFAULT_DATABASE_ROW_DETAIL_LABELS: DatabaseRowDetailLabels;
|
|
16
|
+
export interface DatabaseRowDetailProps {
|
|
17
|
+
/** The row (absent while it loads). */
|
|
18
|
+
row: DatabaseRowView | undefined;
|
|
19
|
+
columns: DatabaseColumnView[];
|
|
20
|
+
/** A field edited here: the value is in the API's form (`null` empties the cell). */
|
|
21
|
+
onChange?: (row: DatabaseRowView, columnId: string, value: unknown) => void;
|
|
22
|
+
/** The pickers' choices and what a document opens (the grid's sources). */
|
|
23
|
+
sources?: DatabaseCellSources;
|
|
24
|
+
onDelete?: (row: DatabaseRowView) => void;
|
|
25
|
+
onClose?: () => void;
|
|
26
|
+
readOnly?: boolean;
|
|
27
|
+
locale?: string;
|
|
28
|
+
labels?: Partial<DatabaseRowDetailLabels>;
|
|
29
|
+
className?: string;
|
|
30
|
+
testId?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare function DatabaseRowDetail({ row, columns, onChange, sources, onDelete, onClose, readOnly, locale, labels, className, testId, }: DatabaseRowDetailProps): import("react").JSX.Element;
|
|
@@ -19,6 +19,8 @@ export interface DatabaseTableProps {
|
|
|
19
19
|
onAddRow?: () => void;
|
|
20
20
|
onAddColumn?: () => void;
|
|
21
21
|
onEditColumn?: (column: DatabaseColumnView) => void;
|
|
22
|
+
/** Open a row in full (its detail): a leading column of "open" buttons. */
|
|
23
|
+
onOpenRow?: (row: DatabaseRowView) => void;
|
|
22
24
|
/**
|
|
23
25
|
* Choices for person, document and relation cells (workspace members, documents, a search of
|
|
24
26
|
* the related database's rows) and what a document chip opens. Keep it stable (memoise it): the
|
|
@@ -42,4 +44,4 @@ export interface DatabaseTableProps {
|
|
|
42
44
|
gridProps?: Partial<Omit<GridViewProps<DatabaseRowView>, 'items' | 'columnDefs' | 'getItemId'>>;
|
|
43
45
|
testId?: string;
|
|
44
46
|
}
|
|
45
|
-
export declare function DatabaseTable({ columns, rows, onCellChange, onAddRow, onAddColumn, onEditColumn, sources, onSelectionChange, selected, readOnly, isFiltered, isLoading, locale, gridId, height, labels, columnLabels, gridProps, testId, }: DatabaseTableProps): import("react").JSX.Element;
|
|
47
|
+
export declare function DatabaseTable({ columns, rows, onCellChange, onAddRow, onAddColumn, onEditColumn, onOpenRow, sources, onSelectionChange, selected, readOnly, isFiltered, isLoading, locale, gridId, height, labels, columnLabels, gridProps, testId, }: DatabaseTableProps): import("react").JSX.Element;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DatabaseToolbar: the header of an open database. Back to the list, the database's name (rename
|
|
3
|
+
* in place), its row count, a search box, the saved-views menu, the bulk delete for ticked rows, and the import/export
|
|
4
|
+
* menu. A database of another workspace is read-only here and says where to edit it.
|
|
5
|
+
*/
|
|
6
|
+
import { type ReactNode } from 'react';
|
|
1
7
|
export type DatabaseExportFormat = 'csv' | 'xlsx';
|
|
2
8
|
export interface DatabaseToolbarLabels {
|
|
3
9
|
back: string;
|
|
@@ -33,6 +39,8 @@ export interface DatabaseToolbarProps {
|
|
|
33
39
|
/** Delete the whole database (the host confirms first). */
|
|
34
40
|
onDeleteDatabase?: () => void;
|
|
35
41
|
readOnly?: boolean;
|
|
42
|
+
/** The saved-views menu (`ViewSelectorMenu`, as the Files table has), beside the search. */
|
|
43
|
+
views?: ReactNode;
|
|
36
44
|
labels?: Partial<DatabaseToolbarLabels>;
|
|
37
45
|
}
|
|
38
|
-
export declare function DatabaseToolbar({ name, description, total, shown, search, onSearchChange, onBack, onRename, selectedCount, onDeleteSelected, onImportRows, onExport, onDeleteDatabase, readOnly, labels, }: DatabaseToolbarProps): import("react").JSX.Element;
|
|
46
|
+
export declare function DatabaseToolbar({ name, description, total, shown, search, onSearchChange, onBack, onRename, selectedCount, onDeleteSelected, onImportRows, onExport, onDeleteDatabase, readOnly, views, labels, }: DatabaseToolbarProps): import("react").JSX.Element;
|
|
@@ -18,4 +18,11 @@ export interface PickCellEditorParams {
|
|
|
18
18
|
search?: (q: string) => Promise<DatabasePickOption[]>;
|
|
19
19
|
labels?: Partial<PickCellEditorLabels>;
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
/**
|
|
22
|
+
* What the editor reads of AG Grid's editor props: the value, a setter, a close and the row (whose
|
|
23
|
+
* `titles` name the chosen ids). A host outside the grid (a row's detail panel) passes just these.
|
|
24
|
+
*/
|
|
25
|
+
export type PickCellEditorProps = Pick<CustomCellEditorProps<DatabaseRowView>, 'value' | 'onValueChange' | 'stopEditing'> & {
|
|
26
|
+
data?: DatabaseRowView;
|
|
27
|
+
} & PickCellEditorParams;
|
|
28
|
+
export declare function PickCellEditor(props: PickCellEditorProps): import("react").JSX.Element;
|
|
@@ -3,4 +3,9 @@ export interface SelectCellEditorParams {
|
|
|
3
3
|
options: string[];
|
|
4
4
|
clearLabel?: string;
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* What the editor reads of AG Grid's editor props: the value, a setter and a close. A host outside
|
|
8
|
+
* the grid (a row's detail panel) passes just these.
|
|
9
|
+
*/
|
|
10
|
+
export type SelectCellEditorProps = Pick<CustomCellEditorProps, 'value' | 'onValueChange' | 'stopEditing'> & SelectCellEditorParams;
|
|
11
|
+
export declare function SelectCellEditor(props: SelectCellEditorProps): import("react").JSX.Element;
|
|
@@ -120,3 +120,8 @@ export declare function toApiValue(value: unknown, type: DatabaseColumnType): un
|
|
|
120
120
|
* related rows and lookups sort by what they show, so pass each row's titles.
|
|
121
121
|
*/
|
|
122
122
|
export declare function compareCells(a: unknown, b: unknown, type: DatabaseColumnType, titlesA?: Record<string, string>, titlesB?: Record<string, string>): number;
|
|
123
|
+
/**
|
|
124
|
+
* A row's title: its first column as text (what a relation picker and a row's detail call it), or
|
|
125
|
+
* `''` when that cell is empty.
|
|
126
|
+
*/
|
|
127
|
+
export declare function rowTitle(row: Pick<DatabaseRowView, 'values' | 'titles'>, columns: DatabaseColumnView[], locale?: string): string;
|
|
@@ -8,10 +8,13 @@ export interface DatabaseColumnLabels {
|
|
|
8
8
|
addColumn: string;
|
|
9
9
|
columnSettings: (name: string) => string;
|
|
10
10
|
computed: string;
|
|
11
|
+
openRow: string;
|
|
11
12
|
}
|
|
12
13
|
export declare const DEFAULT_DATABASE_COLUMN_LABELS: DatabaseColumnLabels;
|
|
13
14
|
/** colId of the trailing "add a column" column (never a database column id). */
|
|
14
15
|
export declare const ADD_COLUMN_COL_ID = "__add_column";
|
|
16
|
+
/** colId of the leading "open the row" column (never a database column id). */
|
|
17
|
+
export declare const OPEN_ROW_COL_ID = "__open_row";
|
|
15
18
|
export declare const COLUMN_TYPE_ICONS: Record<DatabaseColumnType, typeof Type>;
|
|
16
19
|
export interface DatabaseColumnOptions {
|
|
17
20
|
/** No editing, no column settings, no add-column button (a database of another workspace). */
|
|
@@ -20,6 +23,8 @@ export interface DatabaseColumnOptions {
|
|
|
20
23
|
onEditColumn?: (column: DatabaseColumnView) => void;
|
|
21
24
|
/** Add a column (the trailing "+" header). */
|
|
22
25
|
onAddColumn?: () => void;
|
|
26
|
+
/** Open a row in full (a leading column of "open" buttons). */
|
|
27
|
+
onOpenRow?: (row: DatabaseRowView) => void;
|
|
23
28
|
/** Choices for person, document and relation cells, and what a document chip opens. */
|
|
24
29
|
sources?: DatabaseCellSources;
|
|
25
30
|
/** Locale for numbers and dates. */
|
|
@@ -28,5 +33,7 @@ export interface DatabaseColumnOptions {
|
|
|
28
33
|
}
|
|
29
34
|
/** Wide enough for the type's values and for the header (icon, name, settings button). */
|
|
30
35
|
export declare function columnWidth(column: DatabaseColumnView): number;
|
|
36
|
+
/** Whether a cell of this column can be edited here (given the sources the host supplied). */
|
|
37
|
+
export declare function canEditColumn(column: DatabaseColumnView, sources?: DatabaseCellSources): boolean;
|
|
31
38
|
/** One grid column per database column, then the "add a column" column (unless read-only). */
|
|
32
39
|
export declare function createDatabaseColumns(columns: DatabaseColumnView[], options?: DatabaseColumnOptions): ColDef<DatabaseRowView>[];
|