/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ /** * The decoded Sheet value types — one place the renderer names them, so * every module reads the same shapes off `Sheet.Types.*`. * * @packageDocumentation */ import type { ValueTypeOf } from "@elaraai/east"; import type { Sheet } from "@elaraai/e3-ui/internal"; import type { WindowedSourceValue } from "@elaraai/east-ui-components/internal"; /** The decoded Sheet root. */ export type SheetRootValue = ValueTypeOf; /** One decoded wire row — `{ id, owned, cells, lines, band, subRows }`. */ export type SheetRowValue = ValueTypeOf; /** One line of a group row on the wire (#740) — `{ key, cells, subRows }`. */ export type SheetLineValue = ValueTypeOf; /** One read-only sub row under a line (#844) — `{ code, name, chips, facets, id }`. */ export type SheetSubRowValue = ValueTypeOf; /** The word the renderer prints for a group (#844) — `{ singular, plural }`. */ export type SheetNounValue = ValueTypeOf; /** The band a group row draws (#740) — `{ sub, folded }`. */ export type SheetBandValue = ValueTypeOf; /** The group declaration on the wire (#740) — the lines field, the band's cells, the noun and whether loose rows stand between the groups. */ export type SheetGroupValue = ValueTypeOf; /** One decoded cell — a `LiteralValue`-style variant, or a `Link`. */ export type SheetCellValue = ValueTypeOf; /** The typed link value. */ export type SheetLinkValue = ValueTypeOf; /** One link member. */ export type SheetMemberValue = ValueTypeOf; /** One decoded column. */ export type SheetColumnValue = ValueTypeOf; /** The decoded column kind — the arms narrow on `type`. */ export type SheetColumnKindValue = SheetColumnValue["kind"]; /** A custom kind's payload — the compiled parse / print pair. */ export type SheetCustomKindValue = Extract["value"]; /** A link column's applied sides declaration. */ export type SheetSidesDeclValue = ValueTypeOf; /** A link column's arity rule on the wire. */ export type SheetArityValue = ValueTypeOf; /** One member check on the wire. */ export type SheetCheckValue = ValueTypeOf; /** The wire check context. */ export type SheetCheckContextValue = ValueTypeOf; /** The wire fill — a proposed cell with its provenance. */ export type SheetFillValue = ValueTypeOf; /** The wire proposal — the cells a patch set, with its provenance. */ export type SheetProposalValue = ValueTypeOf; /** One register member. */ export type SheetRegisterMemberValue = ValueTypeOf; /** The decoded driver. */ export type SheetDriverValue = ValueTypeOf; /** The wire edit event. */ export type SheetEditValue = ValueTypeOf; /** The selection value. */ export type SheetSelectionValue = ValueTypeOf; /** The wire copilot context. */ export type SheetContextValue = ValueTypeOf; /** The copilot's row-proposal declaration. */ export type SheetSuggestValue = ValueTypeOf; /** One fill provider on the wire — `{ type: "sync" | "async", value }`. */ export type SheetProviderValue = ValueTypeOf; /** One row proposer on the wire. */ export type SheetProposerValue = ValueTypeOf; /** The decoded windowed arm — `paged`, `pinned` with its revision and refresh, or a `rows` source's record (#1349) — the source at the sheet's own row collection. */ export type SheetPagedSourceValue = WindowedSourceValue; /** One window of that source, as it serves it: its rows, and the stored entries they were made from (#1599, east-ui's `CarriedWindowType`). */ export type SheetWindowValue = Extract, { type: "some"; }>["value"]; /** * One saved view (B§8, #1345) — every source's narrowing of the sheet's * `Slice.bindRecords`, by the source's name, with a grouped sheet's folds. */ export type SheetSavedView = ValueTypeOf; /** Every source's narrowing, by the source's name: what a view saves, and what the rail holds now. */ export type SheetNarrowing = SheetSavedView["narrowing"]; //# sourceMappingURL=values.d.ts.map