@ai-matrx/records-ui 0.116.23 → 0.116.25
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/CHANGELOG.md +36 -1
- package/README.md +3 -3
- package/dist/SaveToTable-P3MPRSCW.js +20 -0
- package/dist/{chunk-MUK63ANA.js → chunk-4ZS4WEEE.js} +3 -3
- package/dist/chunk-4ZS4WEEE.js.map +1 -0
- package/dist/{chunk-SYHUPGCU.js → chunk-6Z537SLG.js} +1 -1
- package/dist/{chunk-SYHUPGCU.js.map → chunk-6Z537SLG.js.map} +1 -1
- package/dist/{chunk-ODABFEHG.js → chunk-7RSMA3NK.js} +3 -3
- package/dist/chunk-7RSMA3NK.js.map +1 -0
- package/dist/{chunk-VHZKLE63.js → chunk-FLIERNH7.js} +9 -9
- package/dist/chunk-FLIERNH7.js.map +1 -0
- package/dist/{chunk-ZNIXJ5RY.js → chunk-KQR2RA4V.js} +3 -3
- package/dist/{chunk-WQGFKNE2.js → chunk-OJTJ4HJI.js} +26 -26
- package/dist/chunk-OJTJ4HJI.js.map +1 -0
- package/dist/{chunk-PPWNFIJ5.js → chunk-OV6QBL5R.js} +2 -2
- package/dist/{chunk-PPWNFIJ5.js.map → chunk-OV6QBL5R.js.map} +1 -1
- package/dist/{chunk-5IX4BL72.js → chunk-QBMUTXTQ.js} +2 -2
- package/dist/{chunk-5IX4BL72.js.map → chunk-QBMUTXTQ.js.map} +1 -1
- package/dist/{chunk-MCDA6L7E.js → chunk-TC5S4VOW.js} +2 -2
- package/dist/chunk-TC5S4VOW.js.map +1 -0
- package/dist/{chunk-FECWKOWW.js → chunk-W7GR64CB.js} +1 -1
- package/dist/chunk-W7GR64CB.js.map +1 -0
- package/dist/{chunk-FHL4GG6R.js → chunk-WCQSJPLS.js} +2 -2
- package/dist/chunk-WCQSJPLS.js.map +1 -0
- package/dist/data-source.cjs.map +1 -1
- package/dist/data-source.d.cts +1 -1
- package/dist/data-source.d.ts +1 -1
- package/dist/data-source.js.map +1 -1
- package/dist/first-page.cjs.map +1 -1
- package/dist/first-page.d.cts +1 -1
- package/dist/first-page.d.ts +1 -1
- package/dist/first-page.js.map +1 -1
- package/dist/helpers.cjs +4 -4
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +9 -9
- package/dist/helpers.d.ts +9 -9
- package/dist/helpers.js +4 -4
- package/dist/helpers.js.map +1 -1
- package/dist/html-frame.cjs.map +1 -1
- package/dist/html-frame.d.cts +1 -1
- package/dist/html-frame.d.ts +1 -1
- package/dist/html-frame.js +1 -1
- package/dist/index.cjs +603 -251
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +162 -115
- package/dist/index.d.ts +162 -115
- package/dist/index.js +590 -224
- package/dist/index.js.map +1 -1
- package/dist/object-actions.cjs +2 -2
- package/dist/object-actions.cjs.map +1 -1
- package/dist/object-actions.js +3 -3
- package/dist/pickers.cjs +23 -23
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +8 -8
- package/dist/skeleton.cjs.map +1 -1
- package/dist/skeleton.js +4 -4
- package/dist/table-shape.cjs.map +1 -1
- package/dist/table-shape.js +1 -1
- package/package.json +3 -3
- package/dist/SaveToTable-PGOQVYVS.js +0 -20
- package/dist/chunk-FECWKOWW.js.map +0 -1
- package/dist/chunk-FHL4GG6R.js.map +0 -1
- package/dist/chunk-MCDA6L7E.js.map +0 -1
- package/dist/chunk-MUK63ANA.js.map +0 -1
- package/dist/chunk-ODABFEHG.js.map +0 -1
- package/dist/chunk-VHZKLE63.js.map +0 -1
- package/dist/chunk-WQGFKNE2.js.map +0 -1
- /package/dist/{SaveToTable-PGOQVYVS.js.map → SaveToTable-P3MPRSCW.js.map} +0 -0
- /package/dist/{chunk-ZNIXJ5RY.js.map → chunk-KQR2RA4V.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -11,10 +11,11 @@ import { RecordsClient, ParsedImport } from '@ai-matrx/records/core';
|
|
|
11
11
|
import { FieldFormatConfig, ShadowLayer, ColorPair } from '@ai-matrx/design-system/field-formats';
|
|
12
12
|
import { RecordVersions } from '@ai-matrx/records/versions';
|
|
13
13
|
export { asRefusal, refusal, refusalFromThrown, refusalOr } from '@ai-matrx/records/versions';
|
|
14
|
-
import { TableStyle, GroupAggregateSpec, GroupOrder, ChoiceColorLookup,
|
|
14
|
+
import { TableStyle, GroupAggregateSpec, GroupOrder, ChoiceColorLookup, MatrxDataTableDrillConfig, MatrxColumnDef as MatrxColumnDef$1, MatrxTableCardProps, StyleColor, MatrxDrillDimension, MatrxDrillMeasure, MatrxDrillFilter, MatrxDrillQuestion, MatrxDrillAnswers, MatrxDrillAttribute, MatrxDrillFocusAttribute } from '@ai-matrx/design-system/data-table';
|
|
15
15
|
import * as base from '@ai-matrx/records/views';
|
|
16
16
|
import { ViewOrder, ViewSort, ViewLayout, ViewNeed, PageView } from '@ai-matrx/records/views';
|
|
17
17
|
export { LAYOUT_FIELD_KIND, LAYOUT_LABEL, PAGE_VIEWS, PAGE_VIEW_LABEL, PageView, STORE_KEEPS_TIMELINE, STORE_KEPT_LAYOUTS, VIEW_KEYS, VIEW_LAYOUTS, VIEW_NEEDS, ViewKeyDeclaration, ViewKeyLayout, ViewKeyWriter, ViewLayout, ViewNeed, ViewNeedKind, ViewSort, ViewSortKey, applyLook, defaultViewOf, freeColumnName, lookDiffers, lookPart, pageViewFromParam, saveToViewPlan, storeKeepsLayout, unknownViewLine, viewKeysFor, viewSettingsFor, wordsList } from '@ai-matrx/records/views';
|
|
18
|
+
import { Column, Row, Values, WhereClause } from '@ai-matrx/records/data';
|
|
18
19
|
import { GuessedFieldType, TableShape } from './table-shape.js';
|
|
19
20
|
export { ColumnGuess, FEWEST_KEY_VALUE_PAIRS, FEWEST_LIST_ITEMS, TableShapeKind, TableShapeSplit, cellWords, guessColumn, hasTableShape, parseDelimited, readFirstTableShape, readTableShapes, shapeOfGrid, shapeOfValue, shapeTextOfNode } from './table-shape.js';
|
|
20
21
|
import { DeclarableFieldKind, NewerFieldKind, ParityFieldType, FieldKind, NewFieldSpec } from '@ai-matrx/records/field-kinds';
|
|
@@ -25,7 +26,6 @@ export { FORM_EMBEDS, FORM_FLOWS, FormEmbed, FormEnding, FormFlow, FormJump, For
|
|
|
25
26
|
import { QuestionSpec, QuestionAnswer } from '@ai-matrx/records/questions';
|
|
26
27
|
export { QUESTION_OPS, QUESTION_SURFACE, QuestionAnswer, QuestionGroup, QuestionMeasure, QuestionOp, QuestionRow, QuestionShow, QuestionSpec, SavedQuestion, ThroughCondition, askQuestion, flatWhere, measurableFields, newQuestion, questionArchive, questionFromDefinition, questionSave, questionsOf, unreadableKeys } from '@ai-matrx/records/questions';
|
|
27
28
|
import { PrintOutcome } from '@ai-matrx/print/core';
|
|
28
|
-
import { Column, Row, Values } from '@ai-matrx/records/data';
|
|
29
29
|
export { ColumnValuesEditor, ColumnValuesEditorProps, ColumnValuesText, DATA_BINDING_MISSING, DATA_BINDING_SHAPES, DataBinding, DataBindingPicker, DataBindingPickerProps, DataBindingShape, HeldChangeDecision, HeldChangeDecisionProps, RecordNameText, RecordPicker, RecordPickerProps, TableAnywhere, TableNameText, TablePicker, TablePickerProps, TableScope, TableScopeProps, TablesAnywhere, bindingPlaceholdersFor, defaultBindingTemplate, emptyDataBinding, isCompleteDataBinding, isDataBinding, useTablesAnywhere } from './pickers.js';
|
|
30
30
|
import { ContentTransferReference } from '@ai-matrx/alchemy/react/workspace';
|
|
31
31
|
import { TemplateSpec } from '@ai-matrx/records/templates';
|
|
@@ -66,7 +66,7 @@ declare function useTablePresence(tableId: string): {
|
|
|
66
66
|
session: TablePresenceSession | null;
|
|
67
67
|
people: readonly TablePresencePerson[];
|
|
68
68
|
};
|
|
69
|
-
/** The stylesheet that outlines every other person's selected cell in their
|
|
69
|
+
/** The stylesheet that outlines every other person's selected cell in their color (ids are escaped by allow-list). */
|
|
70
70
|
declare function presenceOutlineCss(people: readonly TablePresencePerson[]): string;
|
|
71
71
|
declare function TablePresence({ tableId }: {
|
|
72
72
|
tableId: string;
|
|
@@ -132,7 +132,7 @@ declare function projectPx(lat: number, lng: number, zoom: number): {
|
|
|
132
132
|
};
|
|
133
133
|
/**
|
|
134
134
|
* PINS THAT CROWD BECOME ONE BADGE. Greedy, in the order given (so a pin never jumps between
|
|
135
|
-
* clusters when the zoom moves a little): a pin joins the first cluster whose
|
|
135
|
+
* clusters when the zoom moves a little): a pin joins the first cluster whose center is within
|
|
136
136
|
* `radiusPx` on screen at this zoom, else starts its own. A cluster sits at its members' mean.
|
|
137
137
|
* Past `maxZoom` nothing merges — two pins on one doorstep stay two pins.
|
|
138
138
|
*/
|
|
@@ -338,7 +338,7 @@ interface EnrichBadgeProps {
|
|
|
338
338
|
* THE BADGE. Drawn beside every agent-owned value, always.
|
|
339
339
|
*
|
|
340
340
|
* The word on it is the state; `stale` rides along as a second, smaller word rather than a
|
|
341
|
-
*
|
|
341
|
+
* color, because "this is six weeks old" is a sentence and not a hue — a person reading a
|
|
342
342
|
* red cell has to be told what red means, and then told again next week.
|
|
343
343
|
*/
|
|
344
344
|
declare function EnrichBadge({ cell, onPin, className }: EnrichBadgeProps): react.JSX.Element | null;
|
|
@@ -842,7 +842,7 @@ interface RecordsUiHost {
|
|
|
842
842
|
* file picker — Airtable's "Attach" over your own files — rather than a second browser this
|
|
843
843
|
* package would invent. `multiple`: the column holds several files; `accept`: the native
|
|
844
844
|
* `accept` list, when the column restricts types. Resolves the host's file ids (the store turns
|
|
845
|
-
* each into its kernel File record at the write door), or `null` when the person
|
|
845
|
+
* each into its kernel File record at the write door), or `null` when the person canceled.
|
|
846
846
|
*
|
|
847
847
|
* Unbound, the editor offers `upload` alone; with neither bound it says no file store is bound
|
|
848
848
|
* (`NO_UPLOAD_REASON`) — never a dead button.
|
|
@@ -1069,8 +1069,8 @@ interface RecordsUiHost {
|
|
|
1069
1069
|
columnAccess?: (subject: ColumnAccessSubject) => ReactNode;
|
|
1070
1070
|
/**
|
|
1071
1071
|
* OPTIONAL. WHO ELSE IS LOOKING AT THIS TABLE (AIRTABLE-PARITY row 183). `join` opens the table's presence
|
|
1072
|
-
* room and answers the other people in it (name, avatar,
|
|
1073
|
-
* toolbar draws their avatars and the grid outlines each person's selected cell in their
|
|
1072
|
+
* room and answers the other people in it (name, avatar, color, the cell each has selected); the table's
|
|
1073
|
+
* toolbar draws their avatars and the grid outlines each person's selected cell in their color. The host
|
|
1074
1074
|
* owns the transport - matrx-frontend binds `createRecordsPresencePort` from `@ai-matrx/records/realtime` on its
|
|
1075
1075
|
* one realtime manager. Unbound, nothing is drawn (never a dead control).
|
|
1076
1076
|
*/
|
|
@@ -1158,7 +1158,7 @@ interface RecordsUiHost {
|
|
|
1158
1158
|
* a host normally opens its composer with it already typed, so the person
|
|
1159
1159
|
* edits rather than starts.
|
|
1160
1160
|
*
|
|
1161
|
-
* Unbound, the "Ask an agent" button is ABSENT — not
|
|
1161
|
+
* Unbound, the "Ask an agent" button is ABSENT — not grayed — and every
|
|
1162
1162
|
* builder's empty state says so in one sentence naming this port, with the
|
|
1163
1163
|
* hand-built way still right there. The product walk of 2026-09-21 found the
|
|
1164
1164
|
* opposite arrangement (the agent named and no builder at all), which left a
|
|
@@ -1411,7 +1411,7 @@ declare function machineIdentityIn(text: string): string[];
|
|
|
1411
1411
|
* a dropped connection, or an HTTP status like `404`). So the Checklists tab of
|
|
1412
1412
|
* a plumbing company's jobs table told its owner:
|
|
1413
1413
|
*
|
|
1414
|
-
* @ai-matrx/records did not
|
|
1414
|
+
* @ai-matrx/records did not recognize SQLSTATE from checklistTemplates
|
|
1415
1415
|
*
|
|
1416
1416
|
* The client no longer writes there. This is the guard on the other side, by
|
|
1417
1417
|
* SHAPE and not by that one sentence: a hint that talks about a package, a
|
|
@@ -1738,7 +1738,7 @@ interface Options {
|
|
|
1738
1738
|
*
|
|
1739
1739
|
* A level on the TABLE is not the answer for a row: the sixth-pass verdict
|
|
1740
1740
|
* found a record shared with a colleague at Editor inside a table she held at
|
|
1741
|
-
* Viewer, and the grid
|
|
1741
|
+
* Viewer, and the grid labeled the row "viewer" while the store let her
|
|
1742
1742
|
* write to it. Unbound, every row follows the table, which is what the
|
|
1743
1743
|
* ordinary case is.
|
|
1744
1744
|
*/
|
|
@@ -1968,7 +1968,7 @@ type GridPresentation = {
|
|
|
1968
1968
|
/**
|
|
1969
1969
|
* THE BOARD'S OWN LOOK (lane BOARD-SWIMLANES, Notion's board options). All kept on the view, all
|
|
1970
1970
|
* read only by the kanban layout. Absent means the board's default: columns wear their choice's
|
|
1971
|
-
*
|
|
1971
|
+
* color, each heading shows its count, empty columns and lanes are drawn, cards are medium with
|
|
1972
1972
|
* no preview.
|
|
1973
1973
|
* boardSize card size: sets the column width, the preview's height and, small, drops the card's extras
|
|
1974
1974
|
* boardPreview the FILE field drawn as a cover at the top of each card (absent = no preview)
|
|
@@ -2383,12 +2383,85 @@ declare function StructureLocked({ className }: {
|
|
|
2383
2383
|
className?: string;
|
|
2384
2384
|
}): react.JSX.Element;
|
|
2385
2385
|
|
|
2386
|
+
/** The entity engine's scope: the host's when it mounted one, else one bound from the records client. */
|
|
2387
|
+
declare function EntityDataScope({ children }: {
|
|
2388
|
+
children?: ReactNode;
|
|
2389
|
+
}): react.JSX.Element;
|
|
2390
|
+
/** The columns a table shows: everything the door answers but the store's own bookkeeping. */
|
|
2391
|
+
declare function entityShownColumns(columns: readonly Column[]): Column[];
|
|
2392
|
+
/** One cell's value: a platform column from the row, a custom field from `_custom`. */
|
|
2393
|
+
declare function entityCellValue(row: Row, column: Column): unknown;
|
|
2394
|
+
/**
|
|
2395
|
+
* THE TEXT OF ONE CELL OR CARD LINE. A link (`EntityRef[]`, a choice included) reads as its words; a
|
|
2396
|
+
* date or a date-and-time through the ONE date formatter every grid cell uses (`dateText`).
|
|
2397
|
+
*/
|
|
2398
|
+
declare function entityValueText(column: Pick<Column, "type">, v: unknown): string;
|
|
2399
|
+
/** The column that names a row: the first of name / display_name / title / subject, else its first plain text column. */
|
|
2400
|
+
declare function entityNameColumn(columns: readonly Column[]): Column | null;
|
|
2401
|
+
/** The choice columns a board can be grouped by (a deal's Stage, a task's Status). */
|
|
2402
|
+
declare function entityChoiceColumns(columns: readonly Column[]): Column[];
|
|
2403
|
+
interface EntityTable {
|
|
2404
|
+
token: string;
|
|
2405
|
+
label: string | null;
|
|
2406
|
+
columns: Column[];
|
|
2407
|
+
rows: Row[];
|
|
2408
|
+
/** Null while unknown, or when the store's count stopped at its cap. */
|
|
2409
|
+
total: number | null;
|
|
2410
|
+
loading: boolean;
|
|
2411
|
+
/** The store's sentence when a read was refused. */
|
|
2412
|
+
error: string | null;
|
|
2413
|
+
/** The person may add rows here (the door's own answer) and the row's name column is one she writes. */
|
|
2414
|
+
creatable: boolean;
|
|
2415
|
+
/** The person may change rows here (the door's own answer). */
|
|
2416
|
+
canUpdate: boolean;
|
|
2417
|
+
hasMore: boolean;
|
|
2418
|
+
loadingMore: boolean;
|
|
2419
|
+
/** Read the page after the last row (keyset). */
|
|
2420
|
+
loadMore: () => void;
|
|
2421
|
+
/** Rows others wrote that belong in this deep list; `refresh` reads them in. */
|
|
2422
|
+
newer: number;
|
|
2423
|
+
refresh: () => void;
|
|
2424
|
+
/** Change one column of one row — drawn at once, rolled back on refusal. Null, or the store's sentence. */
|
|
2425
|
+
update: (rowId: string, column: Column, value: unknown) => Promise<string | null>;
|
|
2426
|
+
/** Add one row in the active organization. Its id, or the store's sentence. */
|
|
2427
|
+
create: (values: Values) => Promise<{
|
|
2428
|
+
id: string;
|
|
2429
|
+
} | {
|
|
2430
|
+
refused: string;
|
|
2431
|
+
}>;
|
|
2432
|
+
}
|
|
2433
|
+
/**
|
|
2434
|
+
* THE PARENT CONSTRAINT: a standard source shown for ONE parent ("this brand's choices": `{ brand_id }`).
|
|
2435
|
+
* Every key must equal its value; the list asks the door for those rows only (a `where`, never a client
|
|
2436
|
+
* sieve), and a row added under it is stamped with the same values, so it lands under the same parent.
|
|
2437
|
+
*/
|
|
2438
|
+
type EntityFilter = Readonly<Record<string, string | number | boolean | null>>;
|
|
2439
|
+
/** The filter as the door's question: one `eq` clause per key, in key order (a stable query key). */
|
|
2440
|
+
declare function entityFilterWhere(filter: EntityFilter | null | undefined): WhereClause[];
|
|
2441
|
+
/** A standard source's columns, keyset pages and writes, through the one engine. Mount inside `EntityDataScope`. */
|
|
2442
|
+
declare function useEntitySourceTable(token: string, options?: {
|
|
2443
|
+
pageSize?: number;
|
|
2444
|
+
search?: string | null;
|
|
2445
|
+
filter?: EntityFilter | null;
|
|
2446
|
+
}): EntityTable;
|
|
2447
|
+
/** The columns of the one table. */
|
|
2448
|
+
declare function entityTableColumns(columns: readonly Column[], editable: boolean): MatrxColumnDef$1<Row>[];
|
|
2449
|
+
/** A standard source in the one table; cells the person may change edit in place, saved at once. */
|
|
2450
|
+
declare function EntityGrid({ entity, pageSize, drill, embedded, editable, }: {
|
|
2451
|
+
entity: EntityTable;
|
|
2452
|
+
pageSize?: number;
|
|
2453
|
+
drill?: MatrxDataTableDrillConfig;
|
|
2454
|
+
embedded?: boolean;
|
|
2455
|
+
editable?: boolean;
|
|
2456
|
+
}): react.JSX.Element;
|
|
2457
|
+
|
|
2386
2458
|
interface RecordsTableCardProps {
|
|
2387
2459
|
/**
|
|
2388
2460
|
* What to show: a custom Table (`{ kind: "table", id }`, drawn by this package's Grid) or a
|
|
2389
2461
|
* standard source (`{ kind: "entity", token }` — "party", "crm_deal", "task", "project"), read and
|
|
2390
2462
|
* written through `@ai-matrx/records/entity` (`entityTable.tsx`): keyset pages, edits drawn at once and
|
|
2391
|
-
* rolled back on refusal, other people's changes live.
|
|
2463
|
+
* rolled back on refusal, other people's changes live. `filter` shows ONE parent's rows (a component
|
|
2464
|
+
* table's `{ brand_id }`); a row added here is stamped with it.
|
|
2392
2465
|
*/
|
|
2393
2466
|
source: {
|
|
2394
2467
|
kind: "table";
|
|
@@ -2396,6 +2469,7 @@ interface RecordsTableCardProps {
|
|
|
2396
2469
|
} | {
|
|
2397
2470
|
kind: "entity";
|
|
2398
2471
|
token: string;
|
|
2472
|
+
filter?: EntityFilter | undefined;
|
|
2399
2473
|
};
|
|
2400
2474
|
/** Top-right Open — the host's page for this Table. */
|
|
2401
2475
|
open?: MatrxTableCardProps["open"];
|
|
@@ -2669,7 +2743,7 @@ declare const SAVE_TO_TABLE_TYPES: readonly GuessedFieldType[];
|
|
|
2669
2743
|
declare function shapesOfSource(source: SaveToTableSource): TableShape[];
|
|
2670
2744
|
declare function SaveToTable({ source, shapeIndex, onOpenTable, onSaved, onClose, makeAtOnce, className }: SaveToTableProps): react.JSX.Element;
|
|
2671
2745
|
|
|
2672
|
-
/** The three
|
|
2746
|
+
/** The three behaviors that carry no parity type of their own. */
|
|
2673
2747
|
type PlainFieldType = "text" | "long_text" | "number";
|
|
2674
2748
|
/**
|
|
2675
2749
|
* THE ONE A PERSON COMING FROM AIRTABLE REACHES FOR FIRST, AND IT WAS NOT HERE.
|
|
@@ -2683,7 +2757,7 @@ type PlainFieldType = "text" | "long_text" | "number";
|
|
|
2683
2757
|
* so the guide's section 3 told a person to pick a kind that did not exist.
|
|
2684
2758
|
*
|
|
2685
2759
|
* It is NOT a parity type of its own. `custom.parity_field_types()` ships
|
|
2686
|
-
* fourteen (the fourteenth is `checkbox`) and a relation is a
|
|
2760
|
+
* fourteen (the fourteenth is `checkbox`) and a relation is a BEHAVIOR — the same behavior `member` and
|
|
2687
2761
|
* `attachment` are made of — so it sits beside the three plain ones as its own
|
|
2688
2762
|
* word, and `parityTypesWithNoExplanation()` is unaffected by it in both
|
|
2689
2763
|
* directions: it does not appear there, and it cannot hide a real gap there.
|
|
@@ -2731,7 +2805,7 @@ declare function storePublishesKind(kind: string): boolean;
|
|
|
2731
2805
|
* Field whose expression is the system node (`fx.autonumber`, `fx.created_time`,
|
|
2732
2806
|
* `fx.modified_time`, `config.system` naming which), so nobody types into them and every reader
|
|
2733
2807
|
* that serves a worked-out value serves them. `custom.field_kinds()` does not publish them,
|
|
2734
|
-
* because each is a formula, not a
|
|
2808
|
+
* because each is a formula, not a behavior of its own. So they are named here, sent as their
|
|
2735
2809
|
* word through the `{ type }` arm, and a new autonumber column numbers the records already in
|
|
2736
2810
|
* the table through `custom.autonumber_backfill`.
|
|
2737
2811
|
*/
|
|
@@ -2753,7 +2827,7 @@ declare const FIELD_TYPE_CATALOGUE: FieldTypeChoice[];
|
|
|
2753
2827
|
declare const FIELD_TYPE_CHOICES: FieldTypeChoice[];
|
|
2754
2828
|
declare const FIELD_TYPE_GROUPS: FieldTypeChoice["group"][];
|
|
2755
2829
|
declare function fieldTypeChoice(id: string): FieldTypeChoice | undefined;
|
|
2756
|
-
/** The three that are a plain
|
|
2830
|
+
/** The three that are a plain behavior rather than one of the fourteen. */
|
|
2757
2831
|
declare function isPlainFieldType(id: string): id is PlainFieldType;
|
|
2758
2832
|
/**
|
|
2759
2833
|
* The one that is a relation a person aims themselves. It is neither plain nor
|
|
@@ -2781,7 +2855,7 @@ declare function isParityFieldType(id: string): id is ParityFieldType;
|
|
|
2781
2855
|
*
|
|
2782
2856
|
* `relation` is deliberately NOT one of the thirteen and therefore never
|
|
2783
2857
|
* appears in this answer: `PARITY_FIELD_TYPES` is the store's own generated
|
|
2784
|
-
* list and a
|
|
2858
|
+
* list and a behavior that carries no parity type is not in it.
|
|
2785
2859
|
*/
|
|
2786
2860
|
declare function parityTypesWithNoExplanation(): string[];
|
|
2787
2861
|
/**
|
|
@@ -2978,7 +3052,7 @@ type FieldEditorProps = FieldEditorCommon & ({
|
|
|
2978
3052
|
field?: Field | undefined;
|
|
2979
3053
|
/**
|
|
2980
3054
|
* DUPLICATE PROPERTY (Notion N5): a NEW column that starts as a copy of this one — its kind,
|
|
2981
|
-
* choices and
|
|
3055
|
+
* choices and colors, unit, link, formula and rules — named "<name> (1)". Ignored when
|
|
2982
3056
|
* `field` is given.
|
|
2983
3057
|
*/
|
|
2984
3058
|
copyOf?: Field | undefined;
|
|
@@ -3037,7 +3111,7 @@ declare const CONDITION_OPS: Array<{
|
|
|
3037
3111
|
* that they can.
|
|
3038
3112
|
*
|
|
3039
3113
|
* `field` is OPTIONAL and everything still works without it: a caller that passes only the
|
|
3040
|
-
* three strings gets exactly the old
|
|
3114
|
+
* three strings gets exactly the old behavior. Both callers in this package already hold
|
|
3041
3115
|
* the whole `Field` and were throwing it away one line before handing it over.
|
|
3042
3116
|
*/
|
|
3043
3117
|
interface ConditionField {
|
|
@@ -3351,7 +3425,7 @@ interface PickOrAddItem {
|
|
|
3351
3425
|
/** The tooltip; defaults to the label. */
|
|
3352
3426
|
title?: string | undefined;
|
|
3353
3427
|
/**
|
|
3354
|
-
* The item drawn AS A CHIP in these classes — a choice in the
|
|
3428
|
+
* The item drawn AS A CHIP in these classes — a choice in the color its column keeps for it
|
|
3355
3429
|
* (`choiceChipLookOf`), so the list reads the way the cell does. Absent: plain words.
|
|
3356
3430
|
*/
|
|
3357
3431
|
chip?: string | undefined;
|
|
@@ -3366,7 +3440,7 @@ interface PickOrAddItem {
|
|
|
3366
3440
|
interface PickOrAddChip {
|
|
3367
3441
|
id: string;
|
|
3368
3442
|
label: string;
|
|
3369
|
-
/** The chip's
|
|
3443
|
+
/** The chip's color classes (`choiceChipLookOf`); absent: the plain record chip. */
|
|
3370
3444
|
chip?: string | undefined;
|
|
3371
3445
|
/** Takes it off. Absent: the chip is shown and cannot be taken off here. */
|
|
3372
3446
|
onRemove?: (() => void) | undefined;
|
|
@@ -3520,7 +3594,7 @@ interface FieldEditorControlProps {
|
|
|
3520
3594
|
/**
|
|
3521
3595
|
* A GRID CELL'S PICKER OPENS AT ONCE (merged-grid review 2026-09-26, A2). One click on a selected
|
|
3522
3596
|
* choice, multi-choice or person cell opens its list directly — no inline Save/Cancel form that
|
|
3523
|
-
* grows the row.
|
|
3597
|
+
* grows the row. Honored by the choice and person pickers; every other control ignores it.
|
|
3524
3598
|
*/
|
|
3525
3599
|
autoOpen?: boolean | undefined;
|
|
3526
3600
|
/** The picker's list closed (a pick, Enter, Tab, a click away): the cell commits what is chosen. Escape is `onCancel`. */
|
|
@@ -3528,7 +3602,7 @@ interface FieldEditorControlProps {
|
|
|
3528
3602
|
/**
|
|
3529
3603
|
* WHAT THE PERSON TYPED TO OPEN A GRID CELL'S PICKER (merged-grid review 2, A2 — Airtable): a
|
|
3530
3604
|
* letter typed on a selected choice, multi-choice or person cell opens its list with that text
|
|
3531
|
-
* already in the search box.
|
|
3605
|
+
* already in the search box. Honored by the choice and person pickers.
|
|
3532
3606
|
*/
|
|
3533
3607
|
initialSearch?: string | undefined;
|
|
3534
3608
|
/** The control's own answer is final (a choice cell's Add / Keep as typed): commit it now. */
|
|
@@ -3573,10 +3647,10 @@ interface ChoiceListRow {
|
|
|
3573
3647
|
words: string;
|
|
3574
3648
|
/** A stable React key for a row that has no id yet. */
|
|
3575
3649
|
row: string;
|
|
3576
|
-
/** The
|
|
3650
|
+
/** The color it wears (`display_format.options.choices`); null or absent: none. */
|
|
3577
3651
|
color?: StyleColor | null | undefined;
|
|
3578
3652
|
}
|
|
3579
|
-
/** The rows a column's live options start as, in the store's order, each in the
|
|
3653
|
+
/** The rows a column's live options start as, in the store's order, each in the color its Field keeps. */
|
|
3580
3654
|
declare function choiceRowsFrom(options: readonly StoredRecord[], field?: Field): ChoiceListRow[];
|
|
3581
3655
|
/**
|
|
3582
3656
|
* WHAT A SAVE SENDS as `options`, or `undefined` when the list is what the store already holds
|
|
@@ -3755,7 +3829,7 @@ declare const PARITY_LABEL: Record<ParityFieldType, string>;
|
|
|
3755
3829
|
/** The "made of" sentence the store itself publishes, for the field editor's help text. */
|
|
3756
3830
|
declare const PARITY_MADE_OF: Record<string, string>;
|
|
3757
3831
|
/**
|
|
3758
|
-
* Plain text and plain number are
|
|
3832
|
+
* Plain text and plain number are behaviors with no parity type of their own.
|
|
3759
3833
|
*
|
|
3760
3834
|
* 🚨 THIS IS NOW AN ALIAS, AND THAT IS THE POINT (TAILS-3, 2026-09-21). The
|
|
3761
3835
|
* classifier moved into `@ai-matrx/records` as `FieldKind` so that the editor a
|
|
@@ -3767,7 +3841,7 @@ declare const PARITY_MADE_OF: Record<string, string>;
|
|
|
3767
3841
|
type EditorKind = FieldKind;
|
|
3768
3842
|
/**
|
|
3769
3843
|
* Which editor one Field wants. Reads the Field's own declaration only — the
|
|
3770
|
-
*
|
|
3844
|
+
* behavior, the modifiers, the format, the relation target and the config —
|
|
3771
3845
|
* because those are what the store stores, and a screen that guessed from a
|
|
3772
3846
|
* value would draw a different editor for an empty record.
|
|
3773
3847
|
*
|
|
@@ -3925,14 +3999,14 @@ declare function ShowListsToggle({ count, on, onChange, className, }: {
|
|
|
3925
3999
|
interface PlatformFieldSpec {
|
|
3926
4000
|
key: string;
|
|
3927
4001
|
label: string;
|
|
3928
|
-
/** FLD-1: one of the five
|
|
4002
|
+
/** FLD-1: one of the five behaviors. `text` covers the json-ish ones too. */
|
|
3929
4003
|
type: "text" | "range" | "list" | "relation" | "formula";
|
|
3930
4004
|
sort: number;
|
|
3931
4005
|
required?: boolean;
|
|
3932
4006
|
multi?: boolean;
|
|
3933
4007
|
config?: Record<string, unknown>;
|
|
3934
4008
|
/**
|
|
3935
|
-
* WHAT THE
|
|
4009
|
+
* WHAT THE BEHAVIOR ALONE CANNOT SAY, and what the declaring door refuses a
|
|
3936
4010
|
* column without. A `list` has to name its choices (FLD-5/FLD-6) and a
|
|
3937
4011
|
* `relation` has to name the Table it points at (FLD-11) — a package table
|
|
3938
4012
|
* that grew one of those without saying so here would be refused by name on
|
|
@@ -4199,7 +4273,7 @@ interface CalendarViewProps {
|
|
|
4199
4273
|
rows: readonly ReadRow$1[];
|
|
4200
4274
|
/** The column a record's day (and, when it carries one, its time) is read from and written to. */
|
|
4201
4275
|
dateField: Field$1;
|
|
4202
|
-
/** The table's columns, for the End and
|
|
4276
|
+
/** The table's columns, for the End and Color by pickers and the default color. */
|
|
4203
4277
|
fields?: readonly Field$1[] | undefined;
|
|
4204
4278
|
/** The fields each card shows after its title (the view's Card fields, v7 item 4). */
|
|
4205
4279
|
cardFields?: readonly Field$1[] | undefined;
|
|
@@ -4219,13 +4293,13 @@ interface CalendarViewProps {
|
|
|
4219
4293
|
onOpenRecord?: ((recordId: Uuid$1) => void) | undefined;
|
|
4220
4294
|
/** A move landed (or was undone, or refused): the host re-reads the rows it owns. */
|
|
4221
4295
|
onMoved?: (() => void) | undefined;
|
|
4222
|
-
/** The person picked a
|
|
4296
|
+
/** The person picked a Color by column: the host keeps it on the view (`presentation.style.colorBy`). */
|
|
4223
4297
|
onColorFieldChange?: ((key: string | null) => void) | undefined;
|
|
4224
4298
|
/** May this person make records here? Without it the calendar offers no way to add one. */
|
|
4225
4299
|
canCreate?: boolean | undefined;
|
|
4226
4300
|
/** The view's membership sentence (`useViewRecords().membership`). */
|
|
4227
4301
|
note?: string | undefined;
|
|
4228
|
-
/** The table's and the view's
|
|
4302
|
+
/** The table's and the view's colors (`resolveTableStyle`); its `colorBy` is the Color by column. */
|
|
4229
4303
|
style?: TableStyle | undefined;
|
|
4230
4304
|
/** How long a record with no End lasts in the week grid, in minutes. A knob; starts at an hour. */
|
|
4231
4305
|
defaultMinutes?: number | undefined;
|
|
@@ -4303,7 +4377,7 @@ interface OrgBox {
|
|
|
4303
4377
|
}
|
|
4304
4378
|
interface OrgLayout {
|
|
4305
4379
|
boxes: OrgBox[];
|
|
4306
|
-
/** Elbow lines: from a parent's bottom
|
|
4380
|
+
/** Elbow lines: from a parent's bottom center to a child's top center. */
|
|
4307
4381
|
edges: {
|
|
4308
4382
|
from: string;
|
|
4309
4383
|
to: string;
|
|
@@ -4315,7 +4389,7 @@ interface OrgLayout {
|
|
|
4315
4389
|
declare const ORG_CARD_W = 208;
|
|
4316
4390
|
declare const ORG_CARD_H = 76;
|
|
4317
4391
|
/**
|
|
4318
|
-
* Tidy tree: leaves take the next slot left to right, a parent sits
|
|
4392
|
+
* Tidy tree: leaves take the next slot left to right, a parent sits centerd over its children, roots
|
|
4319
4393
|
* sit side by side. A collapsed node's subtree is not laid out. Deterministic, no measuring.
|
|
4320
4394
|
*/
|
|
4321
4395
|
declare function layoutOrg(roots: readonly OrgNode[], collapsed: ReadonlySet<string>): OrgLayout;
|
|
@@ -4360,7 +4434,7 @@ interface TimelineViewProps {
|
|
|
4360
4434
|
/** The table the records live in — the undo history's table. */
|
|
4361
4435
|
tableId: Uuid$1;
|
|
4362
4436
|
rows: readonly ReadRow$1[];
|
|
4363
|
-
/** The table's columns: the pickers, the lanes and the
|
|
4437
|
+
/** The table's columns: the pickers, the lanes and the colors read them. */
|
|
4364
4438
|
fields: readonly Field$1[];
|
|
4365
4439
|
/** The far tables' columns, so a lookup of one date is offered as a Start or End (`useFarFields`). */
|
|
4366
4440
|
farFields?: FarFields | undefined;
|
|
@@ -4372,7 +4446,7 @@ interface TimelineViewProps {
|
|
|
4372
4446
|
endKey?: string | null | undefined;
|
|
4373
4447
|
/** The Group by column (`group_field`). Left out: no lanes. */
|
|
4374
4448
|
groupKey?: string | null | undefined;
|
|
4375
|
-
/** The
|
|
4449
|
+
/** The Color by column. Left out: the view's `style.colorBy`, else the table's one choice column. */
|
|
4376
4450
|
colorKey?: string | null | undefined;
|
|
4377
4451
|
/** A setting changed: the host keeps what it can on the view. */
|
|
4378
4452
|
onSettingsChange?: ((patch: Partial<TimelineSettings>) => void) | undefined;
|
|
@@ -4383,7 +4457,7 @@ interface TimelineViewProps {
|
|
|
4383
4457
|
onMoved?: (() => void) | undefined;
|
|
4384
4458
|
/** The view's membership sentence (`useViewRecords().membership`). */
|
|
4385
4459
|
note?: string | undefined;
|
|
4386
|
-
/** The table's and the view's
|
|
4460
|
+
/** The table's and the view's colors (`resolveTableStyle`). */
|
|
4387
4461
|
style?: TableStyle | undefined;
|
|
4388
4462
|
initialZoom?: TimelineZoom | undefined;
|
|
4389
4463
|
/** The day the timeline opens on; today when left out. `YYYY-MM-DD`. */
|
|
@@ -4400,7 +4474,7 @@ declare function onlyCandidate(candidates: readonly Field$1[]): string | null;
|
|
|
4400
4474
|
declare function groupableFields(all: readonly Field$1[]): Field$1[];
|
|
4401
4475
|
declare function TimelineView({ cardFields, tableId, rows, fields, farFields, titleField, startKey, endKey, groupKey, colorKey, onSettingsChange, layoutKept, onOpenRecord, onMoved, note, style, initialZoom, initialDate, className, gantt, onGanttChange, }: TimelineViewProps): react.JSX.Element;
|
|
4402
4476
|
|
|
4403
|
-
/** The
|
|
4477
|
+
/** The color of each record's card under `colorKey` (null: the table's own decorations only). */
|
|
4404
4478
|
declare function useRowColorBy(all: readonly Field$1[], colorKey: string | null, style?: TableStyle | undefined): (row: ReadRow$1) => StyleColor | null;
|
|
4405
4479
|
|
|
4406
4480
|
/** One cell a change touched: its value before and after, by Field key. */
|
|
@@ -4893,7 +4967,7 @@ declare function PortalLookEditor({ card, onSaved, className }: PortalLookEditor
|
|
|
4893
4967
|
interface AccentSwatchesProps {
|
|
4894
4968
|
value: PortalAccent | "";
|
|
4895
4969
|
onChange: (accent: PortalAccent | "") => void;
|
|
4896
|
-
/** The
|
|
4970
|
+
/** The colors the store accepts. Defaults to the shared seven. */
|
|
4897
4971
|
options?: readonly PortalAccent[] | undefined;
|
|
4898
4972
|
/** The words on the empty choice. */
|
|
4899
4973
|
noneLabel?: string | undefined;
|
|
@@ -4928,7 +5002,7 @@ interface FormLookView {
|
|
|
4928
5002
|
}>;
|
|
4929
5003
|
}
|
|
4930
5004
|
declare function formLookView(style: Partial<PortalStyle> | null | undefined, fallbackName: string): FormLookView;
|
|
4931
|
-
/** The logo tile: the business's picture, or its first letter on its
|
|
5005
|
+
/** The logo tile: the business's picture, or its first letter on its color. */
|
|
4932
5006
|
declare function FormLookLogo({ view, size }: {
|
|
4933
5007
|
view: FormLookView;
|
|
4934
5008
|
size?: "sm" | "md";
|
|
@@ -5846,7 +5920,7 @@ interface InterfaceScreenProps {
|
|
|
5846
5920
|
renderIcon?: ((name: string) => ReactNode) | undefined;
|
|
5847
5921
|
className?: string | undefined;
|
|
5848
5922
|
}
|
|
5849
|
-
/** The interface
|
|
5923
|
+
/** The interface colors as the design system's tokens (chip background). */
|
|
5850
5924
|
declare const INTERFACE_COLOR_CLASS: Record<string, string>;
|
|
5851
5925
|
declare function InterfaceScreen({ interfaceId, newOnTable, pageId, onPage, viewerUserId, onCreated, onArchived, notShared, header, renderIcon, className, }: InterfaceScreenProps): react.JSX.Element;
|
|
5852
5926
|
|
|
@@ -5878,7 +5952,7 @@ interface InterfaceShape {
|
|
|
5878
5952
|
published: InterfacePublished | null;
|
|
5879
5953
|
versions: InterfaceVersion[];
|
|
5880
5954
|
}
|
|
5881
|
-
/** The interface
|
|
5955
|
+
/** The interface colors, by token name (`INTERFACE_COLOR_CLASS` paints them). */
|
|
5882
5956
|
declare const INTERFACE_COLORS: readonly ["blue", "green", "amber", "rose", "violet", "slate"];
|
|
5883
5957
|
declare const INTERFACE_ICONS: readonly ["layout-dashboard", "kanban", "calendar", "users", "briefcase", "megaphone", "clipboard-check", "star"];
|
|
5884
5958
|
declare function isInterface(row: Pick<DashboardSummary, "presentation"> | {
|
|
@@ -6880,69 +6954,6 @@ declare function openingView(activeView: string | null | undefined, activeDashbo
|
|
|
6880
6954
|
unknown: string | null;
|
|
6881
6955
|
};
|
|
6882
6956
|
|
|
6883
|
-
/** The entity engine's scope: the host's when it mounted one, else one bound from the records client. */
|
|
6884
|
-
declare function EntityDataScope({ children }: {
|
|
6885
|
-
children?: ReactNode;
|
|
6886
|
-
}): react.JSX.Element;
|
|
6887
|
-
/** The columns a table shows: everything the door answers but the store's own bookkeeping. */
|
|
6888
|
-
declare function entityShownColumns(columns: readonly Column[]): Column[];
|
|
6889
|
-
/** One cell's value: a platform column from the row, a custom field from `_custom`. */
|
|
6890
|
-
declare function entityCellValue(row: Row, column: Column): unknown;
|
|
6891
|
-
/**
|
|
6892
|
-
* THE TEXT OF ONE CELL OR CARD LINE. A link (`EntityRef[]`, a choice included) reads as its words; a
|
|
6893
|
-
* date or a date-and-time through the ONE date formatter every grid cell uses (`dateText`).
|
|
6894
|
-
*/
|
|
6895
|
-
declare function entityValueText(column: Pick<Column, "type">, v: unknown): string;
|
|
6896
|
-
/** The column that names a row: the first of name / display_name / title / subject, else its first plain text column. */
|
|
6897
|
-
declare function entityNameColumn(columns: readonly Column[]): Column | null;
|
|
6898
|
-
/** The choice columns a board can be grouped by (a deal's Stage, a task's Status). */
|
|
6899
|
-
declare function entityChoiceColumns(columns: readonly Column[]): Column[];
|
|
6900
|
-
interface EntityTable {
|
|
6901
|
-
token: string;
|
|
6902
|
-
label: string | null;
|
|
6903
|
-
columns: Column[];
|
|
6904
|
-
rows: Row[];
|
|
6905
|
-
/** Null while unknown, or when the store's count stopped at its cap. */
|
|
6906
|
-
total: number | null;
|
|
6907
|
-
loading: boolean;
|
|
6908
|
-
/** The store's sentence when a read was refused. */
|
|
6909
|
-
error: string | null;
|
|
6910
|
-
/** The person may add rows here (the door's own answer) and the row's name column is one she writes. */
|
|
6911
|
-
creatable: boolean;
|
|
6912
|
-
/** The person may change rows here (the door's own answer). */
|
|
6913
|
-
canUpdate: boolean;
|
|
6914
|
-
hasMore: boolean;
|
|
6915
|
-
loadingMore: boolean;
|
|
6916
|
-
/** Read the page after the last row (keyset). */
|
|
6917
|
-
loadMore: () => void;
|
|
6918
|
-
/** Rows others wrote that belong in this deep list; `refresh` reads them in. */
|
|
6919
|
-
newer: number;
|
|
6920
|
-
refresh: () => void;
|
|
6921
|
-
/** Change one column of one row — drawn at once, rolled back on refusal. Null, or the store's sentence. */
|
|
6922
|
-
update: (rowId: string, column: Column, value: unknown) => Promise<string | null>;
|
|
6923
|
-
/** Add one row in the active organization. Its id, or the store's sentence. */
|
|
6924
|
-
create: (values: Values) => Promise<{
|
|
6925
|
-
id: string;
|
|
6926
|
-
} | {
|
|
6927
|
-
refused: string;
|
|
6928
|
-
}>;
|
|
6929
|
-
}
|
|
6930
|
-
/** A standard source's columns, keyset pages and writes, through the one engine. Mount inside `EntityDataScope`. */
|
|
6931
|
-
declare function useEntitySourceTable(token: string, options?: {
|
|
6932
|
-
pageSize?: number;
|
|
6933
|
-
search?: string | null;
|
|
6934
|
-
}): EntityTable;
|
|
6935
|
-
/** The columns of the one table. */
|
|
6936
|
-
declare function entityTableColumns(columns: readonly Column[], editable: boolean): MatrxColumnDef$1<Row>[];
|
|
6937
|
-
/** A standard source in the one table; cells the person may change edit in place, saved at once. */
|
|
6938
|
-
declare function EntityGrid({ entity, pageSize, drill, embedded, editable, }: {
|
|
6939
|
-
entity: EntityTable;
|
|
6940
|
-
pageSize?: number;
|
|
6941
|
-
drill?: MatrxDataTableDrillConfig;
|
|
6942
|
-
embedded?: boolean;
|
|
6943
|
-
editable?: boolean;
|
|
6944
|
-
}): react.JSX.Element;
|
|
6945
|
-
|
|
6946
6957
|
/** A standard source, by its registry token. */
|
|
6947
6958
|
type EntitySource = {
|
|
6948
6959
|
kind: "entity";
|
|
@@ -7059,7 +7070,7 @@ declare function actorWords(actor: HistoryActor, resolve?: ResolveName | undefin
|
|
|
7059
7070
|
declare function whenWords(at: string, now?: Date): string;
|
|
7060
7071
|
declare function lastChangeSentence(fieldLabel: string, entry: FieldHistoryEntry | null, resolve?: ResolveName | undefined): string;
|
|
7061
7072
|
/**
|
|
7062
|
-
* The SHORT form the badge wears once it knows: a name a person
|
|
7073
|
+
* The SHORT form the badge wears once it knows: a name a person recognizes at a
|
|
7063
7074
|
* glance, in the width of a cell corner. Never a uuid, never an email's domain.
|
|
7064
7075
|
*/
|
|
7065
7076
|
declare function actorBadge(actor: HistoryActor, resolve?: ResolveName | undefined): string;
|
|
@@ -7732,7 +7743,7 @@ interface FieldLookCheck {
|
|
|
7732
7743
|
};
|
|
7733
7744
|
}
|
|
7734
7745
|
/**
|
|
7735
|
-
* WHAT A HOST KNOWS THAT ONE VALUE DOES NOT: the ground a
|
|
7746
|
+
* WHAT A HOST KNOWS THAT ONE VALUE DOES NOT: the ground a color is read on, from another row of
|
|
7736
7747
|
* the same table (`contrastWith.readsOnField`). Absent: the look uses the column's own options.
|
|
7737
7748
|
*/
|
|
7738
7749
|
interface LookContext {
|
|
@@ -7791,7 +7802,7 @@ declare function Swatch({ color, className }: {
|
|
|
7791
7802
|
className?: string;
|
|
7792
7803
|
}): react.JSX.Element;
|
|
7793
7804
|
/**
|
|
7794
|
-
* The ground a
|
|
7805
|
+
* The ground a color pair is read on: the host's per-row ground (`context.ground`, from the row
|
|
7795
7806
|
* named in `contrastWith.readsOnField`) when the column reads per row, else the column's fixed
|
|
7796
7807
|
* ground. A per-row column whose row names no ground has none — and is not checked.
|
|
7797
7808
|
*/
|
|
@@ -7809,7 +7820,7 @@ declare function colorPairContrast(pair: ColorPair, format: FieldFormatConfig, c
|
|
|
7809
7820
|
declare function ContrastMark({ ratio }: {
|
|
7810
7821
|
ratio: number;
|
|
7811
7822
|
}): react.JSX.Element;
|
|
7812
|
-
/** One side of a pair: a
|
|
7823
|
+
/** One side of a pair: a color well and its hex, typed or picked. */
|
|
7813
7824
|
declare function ColorWell({ id, label, value, placeholder, onChange, disabled, }: {
|
|
7814
7825
|
id: string;
|
|
7815
7826
|
label: string;
|
|
@@ -7818,7 +7829,7 @@ declare function ColorWell({ id, label, value, placeholder, onChange, disabled,
|
|
|
7818
7829
|
onChange: (next: string | undefined) => void;
|
|
7819
7830
|
disabled?: boolean | undefined;
|
|
7820
7831
|
}): react.JSX.Element;
|
|
7821
|
-
/** The grounds a shadow is previewed on, per theme — data
|
|
7832
|
+
/** The grounds a shadow is previewed on, per theme — data colors (a preview of a theme), not UI chrome. */
|
|
7822
7833
|
declare const THEME_GROUNDS: {
|
|
7823
7834
|
readonly light: {
|
|
7824
7835
|
readonly ground: "#f4f4f5";
|
|
@@ -7835,7 +7846,7 @@ declare function ShadowSwatch({ layers, theme, size }: {
|
|
|
7835
7846
|
theme: "light" | "dark";
|
|
7836
7847
|
size?: "sm" | "lg";
|
|
7837
7848
|
}): react.JSX.Element;
|
|
7838
|
-
/** The layers of ONE shadow: x, y, blur, spread and
|
|
7849
|
+
/** The layers of ONE shadow: x, y, blur, spread and color per layer; add or remove a layer. */
|
|
7839
7850
|
declare function ShadowLayersEditor({ layers, onChange, disabled, id, label, }: {
|
|
7840
7851
|
layers: readonly ShadowLayer[];
|
|
7841
7852
|
onChange: (next: ShadowLayer[]) => void;
|
|
@@ -7866,8 +7877,22 @@ declare function TableTokensProvider({ tableIds, children }: {
|
|
|
7866
7877
|
children: ReactNode;
|
|
7867
7878
|
}): react.JSX.Element;
|
|
7868
7879
|
|
|
7880
|
+
/**
|
|
7881
|
+
* What a section shows — the platform's one way to address a table, the same union `RecordsTableCard` takes:
|
|
7882
|
+
* a custom Table (`{ kind: "table", id }`) or a standard source made with `platform.create_entity_table`
|
|
7883
|
+
* (`{ kind: "entity", token }` — "web_brand_choice"), read and written through the entity engine
|
|
7884
|
+
* (`entityTable.tsx`). `filter` shows one parent's rows (a component table's `{ brand_id }`).
|
|
7885
|
+
*/
|
|
7886
|
+
type SectionSource = {
|
|
7887
|
+
kind: "table";
|
|
7888
|
+
id: Uuid$1;
|
|
7889
|
+
} | {
|
|
7890
|
+
kind: "entity";
|
|
7891
|
+
token: string;
|
|
7892
|
+
filter?: EntityFilter | undefined;
|
|
7893
|
+
};
|
|
7869
7894
|
interface SectionCardProps {
|
|
7870
|
-
|
|
7895
|
+
source: SectionSource;
|
|
7871
7896
|
/** The section's heading. Default: the table's name. */
|
|
7872
7897
|
title?: string | undefined;
|
|
7873
7898
|
/** One line under the heading. */
|
|
@@ -7905,7 +7930,29 @@ declare function sectionGroups(rows: readonly ReadRow$1[], groupKey: string | un
|
|
|
7905
7930
|
key: string;
|
|
7906
7931
|
rows: ReadRow$1[];
|
|
7907
7932
|
}[];
|
|
7908
|
-
/** One table as a titled, grouped, edit-in-place section. */
|
|
7933
|
+
/** One table as a titled, grouped, edit-in-place section — a custom Table or a standard source. */
|
|
7909
7934
|
declare function SectionCard(props: SectionCardProps): ReactNode;
|
|
7910
7935
|
|
|
7911
|
-
export { ABSENCE_WORD_LABEL, ABSENCE_WORD_VALUES, ACTION_KINDS, ADD_CHOICES, ARCHIVE_MEANS, ASK_EXAMPLE, type AbsenceWord, AccentSwatches, type AccentSwatchesProps, ActionInbox, type ActionInboxProps, type ActionKind, type AddChoice, type AgentBuildAsk, type AnnounceTableArchived, type AppletPageBlock, ArchiveDeliberatelyDialog, type ArchiveDeliberatelyDialogProps, ArchivedPortals, type ArchivedPortalsProps, ArchivedView, type ArchivedViewProps, type AskRead, BODY_COLUMN_NAME, BODY_SAVE_PAUSE_MS, BOOKING_NOT_HERE_LINE, BOOKING_PAGE_STATE_LABEL, BOOKING_PAGE_STATE_VALUES, BookingBuilder, type BookingBuilderProps, type BookingPageState, BookingSlots, type BookingSlotsProps, BuildOrAsk, type BuildOrAskProps, type BuildableKind, type ButtonPageBlock, CAPTURE_MODES, CHART_KINDS, CHART_KIND_LABEL, CHART_NEEDS, CHECKLIST_REQUIREMENT_KINDS, CHECKLIST_REQUIREMENT_LABEL, CONDITION_OPS, CONTEXT_POLICY_LABEL, ADDABLE_TYPES as CUSTOM_FIELD_ADDABLE_TYPES, type CalendarFeedMade, type CalendarFeedPort, type CalendarFeedRow, CalendarLinkOnce, CalendarLinks, type CalendarMode, CalendarSubscribeDialog, CalendarView, type CalendarViewProps, type CaptureMode, type CaptureQueuePort, CaptureRun, type CaptureRunProps, CaptureSheet, type CaptureSheetProps, type CellAddress, type CellRefusal, type CellState, ChartBlock, type ChartBlockProps, type ChartConfig, ChartFrame, type ChartKind, ChartLayout, type ChartLayoutProps, ChartLegendContent, type ChartPageBlock, type ChartSpec, ChartTooltipContent, ChecklistRunner, type ChecklistRunnerProps, ChecklistTemplateEditor, ChecklistsPanel, type ChecklistsPanelProps, type ChoiceAddition, type ChoiceAsk, ChoiceAskButtons, ChoiceListEditor, type ChoiceListRow, ColorWell, type CombinedRows, CommentThread, type CommentThreadProps, type ConditionField, ConditionGroup, type ConditionGroupProps, ConditionRow, type ConditionRowProps, ContrastMark, type CustomFieldAddRequest, type CustomFieldAddResult, type CustomFieldSetResult, type CustomFieldValuesRequest, type CustomFieldsAgentDoor, type CustomFieldsAgentState, CustomFieldsSection, type CustomFieldsSectionProps, DEFAULT_FOOTER, DEFAULT_VIEW_NAME, DESIGN_LOOK_IDS, DUE_STATE_LABEL, DashboardCanvas, type DashboardCanvasProps, DigestScheduler, type DigestSchedulerProps, DocRender, type DocRenderProps, DocTemplate, type DocTemplateProps, type DocTemplateSpec, type DrillBase, ELEMENT_LAYOUTS, ELEMENT_LAYOUT_LABEL, EMPTY_PRESENTATION, ENGINEER_TEXT, ENTITY_REFERENCE_KINDS_MISSING, type EditorKind, type ElementLayout, EmbedFrame, type EmbedFrameProps, type EmbedPageBlock, type EnrichAsk, EnrichBadge, type EnrichBadgeProps, type EnrichOutcome, EnrichPanel, type EnrichPanelProps, EntityBoard, type EntityBoardProps, EntityChartBlock, type EntityChartBlockProps, type EntityColumn, EntityDataScope, EntityGrid, type EntityLayout, EntityReferenceKindPicker, type EntityReferenceKindPickerProps, type EntityRow, type EntitySource, type EntityTable, EntityTablePage, type EntityTablePageProps, ExportMenu, type ExportMenuProps, FIELD_RULE_KIND_LABEL, FIELD_RULE_KIND_VALUES, FIELD_SENSITIVITY_LABEL, FIELD_TYPE_CATALOGUE, FIELD_TYPE_CHOICES, FIELD_TYPE_GROUPS, FOOTER_WORDS, FORMULA_OP_JOINS, FORMULA_OP_LABEL, FORMULA_OP_VALUES, FORM_NOT_HERE_LINE, FROZEN_COLUMN_WIDTH, FieldControl, FieldEditor, type FieldEditorControlProps, type FieldEditorProps, type FieldGroup, FieldHistoryPanel, type FieldHistoryPanelProps, FieldLabel, type FieldLook, type FieldLookCheck, type FieldLookEditorProps, type FieldLookViewProps, type FieldProposalRow, type FieldRuleKindValue, type FieldTypeChoice, FilePicker, type FilePickerProps, type FilterPageBlock, type FooterPlacement, type FormAsked, FormBuilder, type FormBuilderProps, FormLookFrame, type FormLookFrameProps, FormLookLogo, type FormLookView, type FormPageBlock, FormResultsPanel, type FormResultsPanelProps, FormRunner, type FormRunnerProps, type FormSubmitOutcome, FormsPanel, type FormsPanelProps, type FormulaHelpAsk, type FormulaOp, Grid, GridCell, type GridContextRecord, type GridContextSnapshot, type GridEditing, type GridGrouping, type GridPresentation, type GridProps, GuessedFieldType, HTML_SAMPLE_LOOK_ID, type HeadingPageBlock, HistoryPanel, type HistoryPanelProps, INBOX_GROUPINGS, INBOX_VIEWS, INTERFACE_COLORS, INTERFACE_COLOR_CLASS, INTERFACE_ICONS, INTERFACE_KIND, INTERFACE_VERSIONS_KEPT, IN_MEMORY_QUEUE_REASON, type ImagePageBlock, ImportNotice, type ImportNoticeProps, type ImportSource, ImportWizard, type ImportWizardProps, InTableToolbar, type InboxGroup, type InboxGrouping, type InterfaceDoor, InterfaceDoorProvider, type InterfacePage, type InterfacePublished, InterfaceScreen, type InterfaceScreenProps, type InterfaceShape, type InterfaceVersion, JSON_LOOK_ID, LANE_EMPTY, LANE_TITLE, LOOK_WORDS, type LabelLookup, type LayoutPage, type LayoutPageBlock, type LinkRail, type ListPageBlock, type LookContext, MACHINE_IDENTITY, MANUAL_SORT, MAX_ROW_HEIGHT, MIN_ROW_HEIGHT, MOST_NEW_COLUMNS, type MainView, type MapCanvasProps, type MapCluster, MapLayout, type MapLayoutProps, type MapPin, type MatrxDrillDimensionOptions, MigrationLog, type MigrationLogProps, type MoveWritten, MyChecklistSteps, NEEDS_A_SENTENCE, NEW_COLUMN_TYPES, NOT_DRAWN_HERE, NO_AGENT_PORT, NO_CHAT_REASON, NO_COLUMNS_YET, NO_ENRICH_REASON, NO_MEMBERS_REASON, NO_OPEN_RECORDS_REASON, NO_REASK_REASON, NO_RIGHTS, NO_RULES_YET, NO_SAVED_VIEWS_REASON, NO_SHARE_REASON, NO_UPLOAD_REASON, type NewColumn, type NewColumnType, NotifyRuleEditor, type NotifyRuleEditorProps, type NotifyRuleSpec, type NumberPageBlock, ORG_CARD_H, ORG_CARD_W, ObjectAction, ObjectActionContextMenuItems, ObjectActionGlyph, ObjectActionIcon, ObjectActionMenuItems, type ObjectActionMenuItemsProps, type OpenRecordsAsk, OrgChartLayout, type OrgChartLayoutProps, type OrgForest, type OrgLayout, type OrgNode, type OrganizationMember, PAGE_BLOCK_KINDS, PAGE_BLOCK_LABEL, PAGE_KIND, PARITY_LABEL, PARITY_MADE_OF, PERSON_KERNEL_TABLE, PIVOT_OPS, PIVOT_OP_LABEL, PORTAL_NOT_HERE_LINE, PROPOSED_CHANGE_ACT_LABEL, PROPOSED_CHANGE_ACT_VALUES, type PageBlock, type PageBlockKind, PageCanvas, type PageCanvasProps, PageScreen, type PageScreenProps, Peek, type PeekProps, type PendingCapture, PersonPicker, type PersonPickerProps, PickOrAdd, type PickOrAddItem, type PickOrAddProps, type PickableFieldType, type PickerTable, PipelineBoard, type PipelineBoardProps, PivotLayout, type PivotLayoutProps, type PivotOp, type PivotQuestion, type PivotTable, type PlainFieldType, type PlainRefusal, type PlatformFieldSpec, type PlatformTableSpec, type PortalAnswer, PortalBuilder, type PortalBuilderProps, PortalCardView, type PortalCardViewProps, PortalLookEditor, type PortalLookEditorProps, PortalShell, type PortalShellProps, PortalsPanel, type PortalsPanelProps, type PresenceCell, PrintWithLayoutDialog, type PrintWithLayoutDialogProps, type ProposalOutcome, ProposalRow, type ProposalRowProps, type ProposedChange, type ProposedChangeAct, ProvenanceBadge, PublicPicturePicker, type PublicPicturePickerProps, PublicViewPage, type PublicViewPageProps, QuestionAnswerView, QuestionPanel, type QuestionPanelProps, ROLLUP_AGG_LABEL, ROLLUP_AGG_VALUES, ROW_ELEMENT_KINDS, RULE_NOT_HERE_LINE, type ReaskContext, type ReasonGroup, type RecordActionHost, RecordActionMenu, type RecordActionMenuProps, type RecordActionSubject, type RecordActionsInput, RecordBody, RecordChat, type RecordChatContext, type RecordChatEntry, type RecordChatProps, type RecordChatWithheld, RecordChip, RecordForm, type RecordFormProps, RecordLabelProvider, type RecordMoves, type RecordPageBlock, RecordPanel, type RecordPanelProps, RecordValue, RecordsMount, type RecordsMountProps, type RecordsPresencePort, RecordsTableCard, type RecordsTableCardProps, type RecordsUiHost, RecordsUiProvider, ReferenceBuilder, type ReferenceBuilderProps, type ReferenceChoice, RefusalLine, RefusalNotice, type RefusedRow, type RelationFieldType, RelationPicker, type RelationPickerProps, type RenderTextSlot, type ResolveName, type ReviewPageBlock, type RichTextEditProps, type RollupAgg, SAVED_VIEWS_UNAVAILABLE, SAVE_TO_TABLE_TYPES, SAY_WHAT_YOU_ARE_WAITING_FOR_AFTER_MS, SECTIONS_UNKNOWN, SERIES_COLORS, SHARE_NOT_YOURS_LINE, SIGNED_WORD, SOMEBODY, STAGE_RULE_ON_FAIL_LABEL, STORE_ANSWERS_THESE, STORE_DECIDES_REASON, STRUCTURE_LOCKED, SUBSCRIBE_ACTION_ID, SUBSCRIPTION_CADENCES, SUBSCRIPTION_CADENCE_LABEL, SUBSCRIPTION_CHANNEL_LABEL, SUBSCRIPTION_CHANNEL_VALUES, SampleTokenSet, SaveToTable, type SaveToTableProps, type SaveToTableSource, type SavedDashboard, type SavedView, type SavedViewSpec, SectionCard, type SectionCardProps, ShadowLayersEditor, ShadowSwatch, ShareControl, type ShareControlProps, type ShareSubject, ShowListsToggle, type ShownViewReport, SignBlock, type SignBlockProps, SignaturePad, SignatureValue, type SnoozeChoice, type SortStateAction, SortStateControl, type SortStateControlProps, StageRulesSection, type StageRulesSectionProps, type StandardColumn, StandardRecordForm, type StandardRecordFormProps, StepRow, StructureLocked, type SubscriptionChannel, SubscriptionsPanel, type SubscriptionsPanelProps, type Surface, type SurfacePress, Swatch, type SyncedCellOutcome, TABLE_LANES, TABLE_NAME_MAX, TABLE_NOT_REACHABLE, THEME_GROUNDS, THE_SYSTEM, TIMELINE_ZOOMS, TYPE_SAMPLE, TableAccessLevel, TableActionHost, TableAsk, type TableAskAgentAnswer, type TableAskOutcome, type TableAskProps, type TableAskRequest, TableDetails, TableDuplicateDialog, type TableDuplicateDialogProps, TableFoundationSwitch, type TableLane, TablePage, type TablePageActionHost, type TablePageHeaderChrome, type TablePageProps, type TablePageSource, type TablePickerEntries, type TablePickerEntry, TablePresence, type TablePresencePerson, type TablePresenceSession, TableReferenceDialog, TableRenameDialog, TableRestoreRefused, type TableRights, TableSettings, type TableSettingsAgent, type TableSettingsProps, type TableSettingsSnapshot, TableShape, TableTokensProvider, TableToolbarSlotContext, TablesHome, type TablesHomeProps, TemplatePreview, type TemplatePreviewProps, type TextPageBlock, type TimelineSettings, TimelineView, type TimelineViewProps, type TimelineZoom, type TitleRepeats, type TrackedVersion, UNREAD_RECORD_LABEL, type UsePlatformTableState, VIEW_ADDRESS_KEYS, VIEW_NOT_SAVED_YET, VISIBILITY_LANES, VISIBILITY_LANE_TITLE, type ViewAddressSort, type ViewAddressState, ViewBar, type ViewBarProps, type ViewLinkSubject, type ViewLook, ViewNeeds, type ViewNeedsProps, type ViewSettings, type ViewSettingsPatch, ViewSwitcher, type ViewSwitcherProps, type VisibilityLane, WITHHELD_RECORD_LABEL, WITHHELD_WORD, WORK_APPROVAL_STATES, WORK_APPROVAL_STATE_LABEL, WORK_DUE_STATES, WORK_INBOX_KINDS, WORK_INBOX_KIND_GROUP_LABEL, WORK_INBOX_KIND_LABEL, WhatYouMayDo, WhereItLives, type WhereItLivesProps, type WhoChanged, WhoChangedSource, WithheldValue, actionForAgent, actorBadge, actorWords, addDays, announceTableArchived, archiveConfirmSentence, archivedRowLine, askExampleFor, askableFields, blockFromSpec, bodyFieldOf, bodyForReading, bodyFromKeys, buildOrgForest, calendarDayLabel, calendarDayOf, cameFromLine, cardTitleField, cardWords, carriesTimeOfDay, cellState, chartQuestion, choiceAddition, choiceAskSentence, choiceListPatch, choiceNudgeOf, choiceRowsFrom, chooseSurface, clearUnpublished, clusterPins, codeDependsRefusal, colorFromTheValue, colorPairContrast, colorPairGround, columnDeclarationFor, columnForField, columnFromName, columnNamesFrom, columnsFrom, combineFilter, combineRows, conditionInWords, conditionIsDrawable, conditionIsSimple, conditionValue, controlFor, coordinateColumns, copyNameFor, costInPoints, currencyCodeFor, customFieldRequestProblems, dashboardDeclareArgs, dashboardFromSummary, dateFormatFor, dateText, dayAt, dayKeyOf, daysBetween, declareView, defaultMapField, defaultPivotRows, descriptionPatch, drawnBelowOnPage, drawnSignatureOf, drillDimensionsOf, drillFactWords, drillLevelAsks, drillMeasuresOf, drillPathsOf, drillWhere, duplicateProgressWords, editorKindFor, ensurePlatformTable, entityCellValue, entityChoiceColumns, entityNameColumn, entityReferenceSpec, entityShownColumns, entityTableColumns, entityTitleColumn, entityValueText, envelopeFor, fieldIsEditable, fieldLookFor, fieldLookIds, fieldName, fieldToken, fieldTypeChoice, fieldTypeLabel, fieldsForNewColumns, filterTargets, fitTransform, footerOf, formLookView, formatForField, freshFormName, getPersonTimeZone, googleCalendarUrl, gridContextKey, gridContextSnapshot, groupInbox, groupLabel, groupReasons, groupableFields, handOrderLine, handOrderSortState, hasTimePart, hasUnpublishedChanges, hintForAPerson, hintIsMachineIdentity, idsOf, interfaceCharts, interfaceOf, interfacePresentation, isChoiceAddition, isDateField, isEngineerText, isFoundationTable, isId, isInterface, isKeptTable, isMachineIdentity, isPage, isParityFieldType, isPivotOp, isPlainFieldType, isRelationFieldType, isSignatureField, isValueSet, isViewAddressEmpty, jsonCollapsed, keepLook, keyFor, kindsWithNoChoice, laneFor, lastChangeSentence, layoutOrg, layoutPagesDocument, liveRecordMakers, lookChecks, lookDocument, lookFromDocument, looksLikeId, machineIdentityIn, mapFieldChoices, mayHideStructure, mayNotRestoreLine, memberName, mergeTokenSets, migrationWords, moveRecordValue, newElement, newInterfacePage, newInterfaceShape, nextInWords, nextSummaryAt, notAChoiceSentence, onlyCandidate, openingRail, openingView, orgCardFields, orgNotes, packOverlaps, pageBlocksOf, pagePresentation, parityTypesWithNoExplanation, parseGridPresentation, personActor, personColumns, personRecordForMember, personWallNow, pickableTypeOf, pivotQuestion, pivotTable, placeRows, placedSentence, platformOwned, pointsAtRecords, presenceOutlineCss, presentationDocument, presentationIsEmpty, previewLine, previewWords, printRecordsPage, projectPx, publiclyAnswerable, publish as publishInterface, questionFromWords, railFromParam, readLooks, recordActions, recordLink, recordName, recordNameIn, recordsDataSource, refusalForAPerson, refusalLineForAPerson, refusedFileName, refusedRowsCsv, registerFieldLook, registeredLook, renderValue, rescheduledValue, resolveTableStyle, restoreInterfaceVersion, revokeConsequence, rowActionFromAgent, rowLabelChoices, rowName, rowNameIn, runToNotice, sameRecordLikely, sameViewAddress, saveTableDescription, saveViewPatch, scalarText, sectionColumns, sectionGroups, seedIsSatisfied, selfLinkFields, setPersonTimeZone, shapesOfSource, shareUnavailableReason, signatureFileIn, signatureFileOf, signatureWords, singularNoun, snoozeChoices, specFromBlock, standardTokenOf, starterPageBlocks, stepFromAgent, storeDecidesRights, storePublishesKind, styleFromDecorations, subscribeCalendarAction, subscribePersonTimeZone, surfaceChosen, tableName, tableNameProblem, tablePickerEntries, tableReferenceChoices, tableRightsAt, titleRepeats, tokenName, tokensFromRows, unknownRailLine, useAddressDrill, useCanShare, useChoiceNudge, useDrill, useDrillAnswers, useDrillDefinition, useDrillLevelReads, useEmbedHandshake, useEnrichCells, useEntitySourceTable, useGridEditing, useLabelWait, useMeasuredWidth, useMigrationLog, useMyChecklistSteps, usePickerTables, usePlatformTable, useRecordActionHost, useRecordLabels, useRecordMoves, useRecordRights, useRecordsUi, useRowColorBy, useRowRights, useStructureHidden, useTablePresence, useTableRights, useTableToolbarSlot, useTemplatePreview, useViewRecords, useWhoChanged, viewActions, viewAddressFromParams, viewAddressToParams, viewDocument, viewFromRow, viewNeedFor, viewPatchDocument, viewSettings, viewSettingsPatch, visibilityLaneFor, webcalUrl, whatIsMissing, whatIsMissingForEntityReference, whatTheChoiceListIsMissing, whenWords, whyNotAskable, withDraftChart, withheldNoticeOf, withheldSentence, withoutAddition };
|
|
7936
|
+
type EntitySectionSource = {
|
|
7937
|
+
kind: "entity";
|
|
7938
|
+
token: string;
|
|
7939
|
+
filter?: EntityFilter | undefined;
|
|
7940
|
+
};
|
|
7941
|
+
/** The columns an entity section draws: what the host named, else the door's columns by their usual names. */
|
|
7942
|
+
declare function entitySectionColumns(columns: readonly Column[], props: Pick<SectionCardProps, "groupBy" | "nameField" | "valueFields" | "noteField">, filter?: EntityFilter | null): {
|
|
7943
|
+
name: Column | undefined;
|
|
7944
|
+
group: Column | undefined;
|
|
7945
|
+
note: Column | undefined;
|
|
7946
|
+
values: Column[];
|
|
7947
|
+
};
|
|
7948
|
+
/** Rows in name order (numbers read as numbers), a nameless row last; then cut into groups, ungrouped first. */
|
|
7949
|
+
declare function entitySectionGroups(rows: readonly Row[], name: Column | undefined, group: Column | undefined): {
|
|
7950
|
+
key: string;
|
|
7951
|
+
rows: Row[];
|
|
7952
|
+
}[];
|
|
7953
|
+
/** A standard source as a titled, grouped, edit-in-place section. */
|
|
7954
|
+
declare function EntitySectionCard(props: SectionCardProps & {
|
|
7955
|
+
source: EntitySectionSource;
|
|
7956
|
+
}): ReactNode;
|
|
7957
|
+
|
|
7958
|
+
export { ABSENCE_WORD_LABEL, ABSENCE_WORD_VALUES, ACTION_KINDS, ADD_CHOICES, ARCHIVE_MEANS, ASK_EXAMPLE, type AbsenceWord, AccentSwatches, type AccentSwatchesProps, ActionInbox, type ActionInboxProps, type ActionKind, type AddChoice, type AgentBuildAsk, type AnnounceTableArchived, type AppletPageBlock, ArchiveDeliberatelyDialog, type ArchiveDeliberatelyDialogProps, ArchivedPortals, type ArchivedPortalsProps, ArchivedView, type ArchivedViewProps, type AskRead, BODY_COLUMN_NAME, BODY_SAVE_PAUSE_MS, BOOKING_NOT_HERE_LINE, BOOKING_PAGE_STATE_LABEL, BOOKING_PAGE_STATE_VALUES, BookingBuilder, type BookingBuilderProps, type BookingPageState, BookingSlots, type BookingSlotsProps, BuildOrAsk, type BuildOrAskProps, type BuildableKind, type ButtonPageBlock, CAPTURE_MODES, CHART_KINDS, CHART_KIND_LABEL, CHART_NEEDS, CHECKLIST_REQUIREMENT_KINDS, CHECKLIST_REQUIREMENT_LABEL, CONDITION_OPS, CONTEXT_POLICY_LABEL, ADDABLE_TYPES as CUSTOM_FIELD_ADDABLE_TYPES, type CalendarFeedMade, type CalendarFeedPort, type CalendarFeedRow, CalendarLinkOnce, CalendarLinks, type CalendarMode, CalendarSubscribeDialog, CalendarView, type CalendarViewProps, type CaptureMode, type CaptureQueuePort, CaptureRun, type CaptureRunProps, CaptureSheet, type CaptureSheetProps, type CellAddress, type CellRefusal, type CellState, ChartBlock, type ChartBlockProps, type ChartConfig, ChartFrame, type ChartKind, ChartLayout, type ChartLayoutProps, ChartLegendContent, type ChartPageBlock, type ChartSpec, ChartTooltipContent, ChecklistRunner, type ChecklistRunnerProps, ChecklistTemplateEditor, ChecklistsPanel, type ChecklistsPanelProps, type ChoiceAddition, type ChoiceAsk, ChoiceAskButtons, ChoiceListEditor, type ChoiceListRow, ColorWell, type CombinedRows, CommentThread, type CommentThreadProps, type ConditionField, ConditionGroup, type ConditionGroupProps, ConditionRow, type ConditionRowProps, ContrastMark, type CustomFieldAddRequest, type CustomFieldAddResult, type CustomFieldSetResult, type CustomFieldValuesRequest, type CustomFieldsAgentDoor, type CustomFieldsAgentState, CustomFieldsSection, type CustomFieldsSectionProps, DEFAULT_FOOTER, DEFAULT_VIEW_NAME, DESIGN_LOOK_IDS, DUE_STATE_LABEL, DashboardCanvas, type DashboardCanvasProps, DigestScheduler, type DigestSchedulerProps, DocRender, type DocRenderProps, DocTemplate, type DocTemplateProps, type DocTemplateSpec, type DrillBase, ELEMENT_LAYOUTS, ELEMENT_LAYOUT_LABEL, EMPTY_PRESENTATION, ENGINEER_TEXT, ENTITY_REFERENCE_KINDS_MISSING, type EditorKind, type ElementLayout, EmbedFrame, type EmbedFrameProps, type EmbedPageBlock, type EnrichAsk, EnrichBadge, type EnrichBadgeProps, type EnrichOutcome, EnrichPanel, type EnrichPanelProps, EntityBoard, type EntityBoardProps, EntityChartBlock, type EntityChartBlockProps, type EntityColumn, EntityDataScope, type EntityFilter, EntityGrid, type EntityLayout, EntityReferenceKindPicker, type EntityReferenceKindPickerProps, type EntityRow, EntitySectionCard, type EntitySectionSource, type EntitySource, type EntityTable, EntityTablePage, type EntityTablePageProps, ExportMenu, type ExportMenuProps, FIELD_RULE_KIND_LABEL, FIELD_RULE_KIND_VALUES, FIELD_SENSITIVITY_LABEL, FIELD_TYPE_CATALOGUE, FIELD_TYPE_CHOICES, FIELD_TYPE_GROUPS, FOOTER_WORDS, FORMULA_OP_JOINS, FORMULA_OP_LABEL, FORMULA_OP_VALUES, FORM_NOT_HERE_LINE, FROZEN_COLUMN_WIDTH, FieldControl, FieldEditor, type FieldEditorControlProps, type FieldEditorProps, type FieldGroup, FieldHistoryPanel, type FieldHistoryPanelProps, FieldLabel, type FieldLook, type FieldLookCheck, type FieldLookEditorProps, type FieldLookViewProps, type FieldProposalRow, type FieldRuleKindValue, type FieldTypeChoice, FilePicker, type FilePickerProps, type FilterPageBlock, type FooterPlacement, type FormAsked, FormBuilder, type FormBuilderProps, FormLookFrame, type FormLookFrameProps, FormLookLogo, type FormLookView, type FormPageBlock, FormResultsPanel, type FormResultsPanelProps, FormRunner, type FormRunnerProps, type FormSubmitOutcome, FormsPanel, type FormsPanelProps, type FormulaHelpAsk, type FormulaOp, Grid, GridCell, type GridContextRecord, type GridContextSnapshot, type GridEditing, type GridGrouping, type GridPresentation, type GridProps, GuessedFieldType, HTML_SAMPLE_LOOK_ID, type HeadingPageBlock, HistoryPanel, type HistoryPanelProps, INBOX_GROUPINGS, INBOX_VIEWS, INTERFACE_COLORS, INTERFACE_COLOR_CLASS, INTERFACE_ICONS, INTERFACE_KIND, INTERFACE_VERSIONS_KEPT, IN_MEMORY_QUEUE_REASON, type ImagePageBlock, ImportNotice, type ImportNoticeProps, type ImportSource, ImportWizard, type ImportWizardProps, InTableToolbar, type InboxGroup, type InboxGrouping, type InterfaceDoor, InterfaceDoorProvider, type InterfacePage, type InterfacePublished, InterfaceScreen, type InterfaceScreenProps, type InterfaceShape, type InterfaceVersion, JSON_LOOK_ID, LANE_EMPTY, LANE_TITLE, LOOK_WORDS, type LabelLookup, type LayoutPage, type LayoutPageBlock, type LinkRail, type ListPageBlock, type LookContext, MACHINE_IDENTITY, MANUAL_SORT, MAX_ROW_HEIGHT, MIN_ROW_HEIGHT, MOST_NEW_COLUMNS, type MainView, type MapCanvasProps, type MapCluster, MapLayout, type MapLayoutProps, type MapPin, type MatrxDrillDimensionOptions, MigrationLog, type MigrationLogProps, type MoveWritten, MyChecklistSteps, NEEDS_A_SENTENCE, NEW_COLUMN_TYPES, NOT_DRAWN_HERE, NO_AGENT_PORT, NO_CHAT_REASON, NO_COLUMNS_YET, NO_ENRICH_REASON, NO_MEMBERS_REASON, NO_OPEN_RECORDS_REASON, NO_REASK_REASON, NO_RIGHTS, NO_RULES_YET, NO_SAVED_VIEWS_REASON, NO_SHARE_REASON, NO_UPLOAD_REASON, type NewColumn, type NewColumnType, NotifyRuleEditor, type NotifyRuleEditorProps, type NotifyRuleSpec, type NumberPageBlock, ORG_CARD_H, ORG_CARD_W, ObjectAction, ObjectActionContextMenuItems, ObjectActionGlyph, ObjectActionIcon, ObjectActionMenuItems, type ObjectActionMenuItemsProps, type OpenRecordsAsk, OrgChartLayout, type OrgChartLayoutProps, type OrgForest, type OrgLayout, type OrgNode, type OrganizationMember, PAGE_BLOCK_KINDS, PAGE_BLOCK_LABEL, PAGE_KIND, PARITY_LABEL, PARITY_MADE_OF, PERSON_KERNEL_TABLE, PIVOT_OPS, PIVOT_OP_LABEL, PORTAL_NOT_HERE_LINE, PROPOSED_CHANGE_ACT_LABEL, PROPOSED_CHANGE_ACT_VALUES, type PageBlock, type PageBlockKind, PageCanvas, type PageCanvasProps, PageScreen, type PageScreenProps, Peek, type PeekProps, type PendingCapture, PersonPicker, type PersonPickerProps, PickOrAdd, type PickOrAddItem, type PickOrAddProps, type PickableFieldType, type PickerTable, PipelineBoard, type PipelineBoardProps, PivotLayout, type PivotLayoutProps, type PivotOp, type PivotQuestion, type PivotTable, type PlainFieldType, type PlainRefusal, type PlatformFieldSpec, type PlatformTableSpec, type PortalAnswer, PortalBuilder, type PortalBuilderProps, PortalCardView, type PortalCardViewProps, PortalLookEditor, type PortalLookEditorProps, PortalShell, type PortalShellProps, PortalsPanel, type PortalsPanelProps, type PresenceCell, PrintWithLayoutDialog, type PrintWithLayoutDialogProps, type ProposalOutcome, ProposalRow, type ProposalRowProps, type ProposedChange, type ProposedChangeAct, ProvenanceBadge, PublicPicturePicker, type PublicPicturePickerProps, PublicViewPage, type PublicViewPageProps, QuestionAnswerView, QuestionPanel, type QuestionPanelProps, ROLLUP_AGG_LABEL, ROLLUP_AGG_VALUES, ROW_ELEMENT_KINDS, RULE_NOT_HERE_LINE, type ReaskContext, type ReasonGroup, type RecordActionHost, RecordActionMenu, type RecordActionMenuProps, type RecordActionSubject, type RecordActionsInput, RecordBody, RecordChat, type RecordChatContext, type RecordChatEntry, type RecordChatProps, type RecordChatWithheld, RecordChip, RecordForm, type RecordFormProps, RecordLabelProvider, type RecordMoves, type RecordPageBlock, RecordPanel, type RecordPanelProps, RecordValue, RecordsMount, type RecordsMountProps, type RecordsPresencePort, RecordsTableCard, type RecordsTableCardProps, type RecordsUiHost, RecordsUiProvider, ReferenceBuilder, type ReferenceBuilderProps, type ReferenceChoice, RefusalLine, RefusalNotice, type RefusedRow, type RelationFieldType, RelationPicker, type RelationPickerProps, type RenderTextSlot, type ResolveName, type ReviewPageBlock, type RichTextEditProps, type RollupAgg, SAVED_VIEWS_UNAVAILABLE, SAVE_TO_TABLE_TYPES, SAY_WHAT_YOU_ARE_WAITING_FOR_AFTER_MS, SECTIONS_UNKNOWN, SERIES_COLORS, SHARE_NOT_YOURS_LINE, SIGNED_WORD, SOMEBODY, STAGE_RULE_ON_FAIL_LABEL, STORE_ANSWERS_THESE, STORE_DECIDES_REASON, STRUCTURE_LOCKED, SUBSCRIBE_ACTION_ID, SUBSCRIPTION_CADENCES, SUBSCRIPTION_CADENCE_LABEL, SUBSCRIPTION_CHANNEL_LABEL, SUBSCRIPTION_CHANNEL_VALUES, SampleTokenSet, SaveToTable, type SaveToTableProps, type SaveToTableSource, type SavedDashboard, type SavedView, type SavedViewSpec, SectionCard, type SectionCardProps, type SectionSource, ShadowLayersEditor, ShadowSwatch, ShareControl, type ShareControlProps, type ShareSubject, ShowListsToggle, type ShownViewReport, SignBlock, type SignBlockProps, SignaturePad, SignatureValue, type SnoozeChoice, type SortStateAction, SortStateControl, type SortStateControlProps, StageRulesSection, type StageRulesSectionProps, type StandardColumn, StandardRecordForm, type StandardRecordFormProps, StepRow, StructureLocked, type SubscriptionChannel, SubscriptionsPanel, type SubscriptionsPanelProps, type Surface, type SurfacePress, Swatch, type SyncedCellOutcome, TABLE_LANES, TABLE_NAME_MAX, TABLE_NOT_REACHABLE, THEME_GROUNDS, THE_SYSTEM, TIMELINE_ZOOMS, TYPE_SAMPLE, TableAccessLevel, TableActionHost, TableAsk, type TableAskAgentAnswer, type TableAskOutcome, type TableAskProps, type TableAskRequest, TableDetails, TableDuplicateDialog, type TableDuplicateDialogProps, TableFoundationSwitch, type TableLane, TablePage, type TablePageActionHost, type TablePageHeaderChrome, type TablePageProps, type TablePageSource, type TablePickerEntries, type TablePickerEntry, TablePresence, type TablePresencePerson, type TablePresenceSession, TableReferenceDialog, TableRenameDialog, TableRestoreRefused, type TableRights, TableSettings, type TableSettingsAgent, type TableSettingsProps, type TableSettingsSnapshot, TableShape, TableTokensProvider, TableToolbarSlotContext, TablesHome, type TablesHomeProps, TemplatePreview, type TemplatePreviewProps, type TextPageBlock, type TimelineSettings, TimelineView, type TimelineViewProps, type TimelineZoom, type TitleRepeats, type TrackedVersion, UNREAD_RECORD_LABEL, type UsePlatformTableState, VIEW_ADDRESS_KEYS, VIEW_NOT_SAVED_YET, VISIBILITY_LANES, VISIBILITY_LANE_TITLE, type ViewAddressSort, type ViewAddressState, ViewBar, type ViewBarProps, type ViewLinkSubject, type ViewLook, ViewNeeds, type ViewNeedsProps, type ViewSettings, type ViewSettingsPatch, ViewSwitcher, type ViewSwitcherProps, type VisibilityLane, WITHHELD_RECORD_LABEL, WITHHELD_WORD, WORK_APPROVAL_STATES, WORK_APPROVAL_STATE_LABEL, WORK_DUE_STATES, WORK_INBOX_KINDS, WORK_INBOX_KIND_GROUP_LABEL, WORK_INBOX_KIND_LABEL, WhatYouMayDo, WhereItLives, type WhereItLivesProps, type WhoChanged, WhoChangedSource, WithheldValue, actionForAgent, actorBadge, actorWords, addDays, announceTableArchived, archiveConfirmSentence, archivedRowLine, askExampleFor, askableFields, blockFromSpec, bodyFieldOf, bodyForReading, bodyFromKeys, buildOrgForest, calendarDayLabel, calendarDayOf, cameFromLine, cardTitleField, cardWords, carriesTimeOfDay, cellState, chartQuestion, choiceAddition, choiceAskSentence, choiceListPatch, choiceNudgeOf, choiceRowsFrom, chooseSurface, clearUnpublished, clusterPins, codeDependsRefusal, colorFromTheValue, colorPairContrast, colorPairGround, columnDeclarationFor, columnForField, columnFromName, columnNamesFrom, columnsFrom, combineFilter, combineRows, conditionInWords, conditionIsDrawable, conditionIsSimple, conditionValue, controlFor, coordinateColumns, copyNameFor, costInPoints, currencyCodeFor, customFieldRequestProblems, dashboardDeclareArgs, dashboardFromSummary, dateFormatFor, dateText, dayAt, dayKeyOf, daysBetween, declareView, defaultMapField, defaultPivotRows, descriptionPatch, drawnBelowOnPage, drawnSignatureOf, drillDimensionsOf, drillFactWords, drillLevelAsks, drillMeasuresOf, drillPathsOf, drillWhere, duplicateProgressWords, editorKindFor, ensurePlatformTable, entityCellValue, entityChoiceColumns, entityFilterWhere, entityNameColumn, entityReferenceSpec, entitySectionColumns, entitySectionGroups, entityShownColumns, entityTableColumns, entityTitleColumn, entityValueText, envelopeFor, fieldIsEditable, fieldLookFor, fieldLookIds, fieldName, fieldToken, fieldTypeChoice, fieldTypeLabel, fieldsForNewColumns, filterTargets, fitTransform, footerOf, formLookView, formatForField, freshFormName, getPersonTimeZone, googleCalendarUrl, gridContextKey, gridContextSnapshot, groupInbox, groupLabel, groupReasons, groupableFields, handOrderLine, handOrderSortState, hasTimePart, hasUnpublishedChanges, hintForAPerson, hintIsMachineIdentity, idsOf, interfaceCharts, interfaceOf, interfacePresentation, isChoiceAddition, isDateField, isEngineerText, isFoundationTable, isId, isInterface, isKeptTable, isMachineIdentity, isPage, isParityFieldType, isPivotOp, isPlainFieldType, isRelationFieldType, isSignatureField, isValueSet, isViewAddressEmpty, jsonCollapsed, keepLook, keyFor, kindsWithNoChoice, laneFor, lastChangeSentence, layoutOrg, layoutPagesDocument, liveRecordMakers, lookChecks, lookDocument, lookFromDocument, looksLikeId, machineIdentityIn, mapFieldChoices, mayHideStructure, mayNotRestoreLine, memberName, mergeTokenSets, migrationWords, moveRecordValue, newElement, newInterfacePage, newInterfaceShape, nextInWords, nextSummaryAt, notAChoiceSentence, onlyCandidate, openingRail, openingView, orgCardFields, orgNotes, packOverlaps, pageBlocksOf, pagePresentation, parityTypesWithNoExplanation, parseGridPresentation, personActor, personColumns, personRecordForMember, personWallNow, pickableTypeOf, pivotQuestion, pivotTable, placeRows, placedSentence, platformOwned, pointsAtRecords, presenceOutlineCss, presentationDocument, presentationIsEmpty, previewLine, previewWords, printRecordsPage, projectPx, publiclyAnswerable, publish as publishInterface, questionFromWords, railFromParam, readLooks, recordActions, recordLink, recordName, recordNameIn, recordsDataSource, refusalForAPerson, refusalLineForAPerson, refusedFileName, refusedRowsCsv, registerFieldLook, registeredLook, renderValue, rescheduledValue, resolveTableStyle, restoreInterfaceVersion, revokeConsequence, rowActionFromAgent, rowLabelChoices, rowName, rowNameIn, runToNotice, sameRecordLikely, sameViewAddress, saveTableDescription, saveViewPatch, scalarText, sectionColumns, sectionGroups, seedIsSatisfied, selfLinkFields, setPersonTimeZone, shapesOfSource, shareUnavailableReason, signatureFileIn, signatureFileOf, signatureWords, singularNoun, snoozeChoices, specFromBlock, standardTokenOf, starterPageBlocks, stepFromAgent, storeDecidesRights, storePublishesKind, styleFromDecorations, subscribeCalendarAction, subscribePersonTimeZone, surfaceChosen, tableName, tableNameProblem, tablePickerEntries, tableReferenceChoices, tableRightsAt, titleRepeats, tokenName, tokensFromRows, unknownRailLine, useAddressDrill, useCanShare, useChoiceNudge, useDrill, useDrillAnswers, useDrillDefinition, useDrillLevelReads, useEmbedHandshake, useEnrichCells, useEntitySourceTable, useGridEditing, useLabelWait, useMeasuredWidth, useMigrationLog, useMyChecklistSteps, usePickerTables, usePlatformTable, useRecordActionHost, useRecordLabels, useRecordMoves, useRecordRights, useRecordsUi, useRowColorBy, useRowRights, useStructureHidden, useTablePresence, useTableRights, useTableToolbarSlot, useTemplatePreview, useViewRecords, useWhoChanged, viewActions, viewAddressFromParams, viewAddressToParams, viewDocument, viewFromRow, viewNeedFor, viewPatchDocument, viewSettings, viewSettingsPatch, visibilityLaneFor, webcalUrl, whatIsMissing, whatIsMissingForEntityReference, whatTheChoiceListIsMissing, whenWords, whyNotAskable, withDraftChart, withheldNoticeOf, withheldSentence, withoutAddition };
|