inspector/elisions#

Interfaces#

AlsoElided#

Defined in: editor/src/inspector/elisions.ts:258

One other timeline a group elision elides, with its elided coordinates; “—” without a value.

Properties#

stretch#

readonly stretch: string

Defined in: editor/src/inspector/elisions.ts:260

timeline#

readonly timeline: string

Defined in: editor/src/inspector/elisions.ts:259


ArrangedGap#

Defined in: editor/src/inspector/elisions.ts:182

A gap a root drawn once behind a row cuts between two groups hanging on it (section 8.8, Drawn once): read-only, no card elision.

Properties#

between#

readonly between: string

Defined in: editor/src/inspector/elisions.ts:186

between "G1" and "G2", the groups by name, else by ID, left to right.

key#

readonly key: string

Defined in: editor/src/inspector/elisions.ts:184

The two groups’ IDs, joined: the pair is one per root.

stretch#

readonly stretch: string

Defined in: editor/src/inspector/elisions.ts:188

Its elided stretch, start–end with the unit.


DepthRow#

Defined in: editor/src/inspector/elisions.ts:192

One depth of the root’s Rows: the timelines at that depth, and whether it is chosen.

Properties#

chosen#

readonly chosen: boolean

Defined in: editor/src/inspector/elisions.ts:196

depth#

readonly depth: number

Defined in: editor/src/inspector/elisions.ts:193

names#

readonly names: string

Defined in: editor/src/inspector/elisions.ts:195

The names of the timelines at that depth, joined.


ElisionBlock#

Defined in: editor/src/inspector/elisions.ts:1333

One block as its collapsed line shows it, and the open state it reads.

Properties#

keeps#

readonly keeps: string

Defined in: editor/src/inspector/elisions.ts:1347

The key an action taken in it opens, so that it stays open once the selection leaves it: its own, which a timeline’s or a group’s disclosure button writes too, so that a close holds there as well; the form’s, that of the block holding its elision, since the form goes with the selection.

key#

readonly key: string

Defined in: editor/src/inspector/elisions.ts:1339

The key its open state is kept under: its own, or its own with the selected elision it holds.

kind#

readonly kind: BlockKind

Defined in: editor/src/inspector/elisions.ts:1334

opened#

readonly opened: boolean

Defined in: editor/src/inspector/elisions.ts:1349

Whether it is open before any click: only where it holds the selected elision.

summary#

readonly summary: string

Defined in: editor/src/inspector/elisions.ts:1337

The essentials after the title: the mode and the number of elisions, or the stretch.

title#

readonly title: string

Defined in: editor/src/inspector/elisions.ts:1335


ElisionBlocks#

Defined in: editor/src/inspector/elisions.ts:1353

The three blocks of the tab, each null where its part is.

Properties#

form#

readonly form: ElisionBlock | null

Defined in: editor/src/inspector/elisions.ts:1356

group#

readonly group: ElisionBlock | null

Defined in: editor/src/inspector/elisions.ts:1355

root#

readonly root: ElisionBlock | null

Defined in: editor/src/inspector/elisions.ts:1354


ElisionForm#

Defined in: editor/src/inspector/elisions.ts:264

One selected elision as the form shows and edits it.

Properties#

address#

readonly address: Address

Defined in: editor/src/inspector/elisions.ts:266

also#

readonly also: readonly AlsoElided[] | null

Defined in: editor/src/inspector/elisions.ts:282

Across a frame, the other timelines it elides; null for a card elision.

block#

readonly block: Block

Defined in: editor/src/inspector/elisions.ts:265

display#

readonly display: readonly ("id" | "name" | "ellipsis" | "coordinate" | "continuation")[]

Defined in: editor/src/inspector/elisions.ts:280

end#

readonly end: string

Defined in: editor/src/inspector/elisions.ts:276

form#

readonly form: WidthForm

Defined in: editor/src/inspector/elisions.ts:277

gap#

readonly gap: { gap: ExposedGap; L: number; lambda: Real; } | null

Defined in: editor/src/inspector/elisions.ts:284

The gap it is drawn as and what its width is read with; null where it is not drawn.

manifest#

readonly manifest: Manifest

Defined in: editor/src/inspector/elisions.ts:267

start#

readonly start: string

Defined in: editor/src/inspector/elisions.ts:275

stored#

readonly stored: { } | null

Defined in: editor/src/inspector/elisions.ts:274

The stored elision; null for a default one, which the form shows read-only.

timeline#

readonly timeline: object

Defined in: editor/src/inspector/elisions.ts:270

title#

readonly title: string

Defined in: editor/src/inspector/elisions.ts:269

Elision on "T".

unit#

readonly unit: string

Defined in: editor/src/inspector/elisions.ts:272

The unit’s pretty word after From, To and As wide as.

widths#

readonly widths: object

Defined in: editor/src/inspector/elisions.ts:279

The text of each width field: the stored value of its form, else the drawn width converted.

canvas#

canvas: string

ratio#

ratio: string

span#

span: string


ElisionRow#

Defined in: editor/src/inspector/elisions.ts:164

One stored elision in a list: its address, its name, its timeline’s name and its stretch.

Properties#

address#

readonly address: Address

Defined in: editor/src/inspector/elisions.ts:165

name#

readonly name: string

Defined in: editor/src/inspector/elisions.ts:167

Its name, else “—“.

note#

readonly note: string | null

Defined in: editor/src/inspector/elisions.ts:173

Why the card does not draw it (NOT_DRAWN_ARRANGED); null where it is drawn or not listed for it.

remove#

readonly remove: RemoveCommand

Defined in: editor/src/inspector/elisions.ts:175

Its [×]: one remove.

stretch#

readonly stretch: string

Defined in: editor/src/inspector/elisions.ts:171

Its elided coordinates on that timeline’s axis, start–end with the unit; pieces joined.

timeline#

readonly timeline: string

Defined in: editor/src/inspector/elisions.ts:169

The name of the timeline it lies on, else that timeline’s ID.


GroupElisions#

Defined in: editor/src/inspector/elisions.ts:240

The group’s block, Elisions in group "G".

Properties#

add#

readonly add: AddCommand | null

Defined in: editor/src/inspector/elisions.ts:250

block#

readonly block: string

Defined in: editor/src/inspector/elisions.ts:241

count#

readonly count: string

Defined in: editor/src/inspector/elisions.ts:247

“0 elisions”, “1 elision”, “2 elisions”.

group#

readonly group: string

Defined in: editor/src/inspector/elisions.ts:242

mode#

readonly mode: FrameMode

Defined in: editor/src/inspector/elisions.ts:244

options#

readonly options: readonly ModeOption<FrameMode>[]

Defined in: editor/src/inspector/elisions.ts:245

removeAll#

readonly removeAll: RemoveCommand | null

Defined in: editor/src/inspector/elisions.ts:251

rows#

readonly rows: readonly ElisionRow[]

Defined in: editor/src/inspector/elisions.ts:249

Every stored elision of the group, drawn or not.

title#

readonly title: string

Defined in: editor/src/inspector/elisions.ts:243


ModeOption#

Defined in: editor/src/inspector/elisions.ts:155

One option of a mode’s radio group.

Type Parameters#

Mode#

Mode extends string

Properties#

commands#

readonly commands: readonly Command[]

Defined in: editor/src/inspector/elisions.ts:158

The commands choosing it, sent in order: none for the mode shown.

mode#

readonly mode: Mode

Defined in: editor/src/inspector/elisions.ts:156

reason#

readonly reason: string | null

Defined in: editor/src/inspector/elisions.ts:160

Why it cannot be chosen; null where it can.


RootElisions#

Defined in: editor/src/inspector/elisions.ts:200

The root’s block, Parent timeline "R" or Elisions of "R".

Properties#

address#

readonly address: Address

Defined in: editor/src/inspector/elisions.ts:205

The address of the root’s rule, which the drafts of its Proportion belong to.

arranged#

readonly arranged: readonly ArrangedGap[]

Defined in: editor/src/inspector/elisions.ts:211

The gaps between the groups of a row it is drawn behind once, left to right; none elsewhere.

block#

readonly block: string

Defined in: editor/src/inspector/elisions.ts:201

custom#

readonly custom: { add: AddCommand | null; removeAll: Command | null; rows: readonly ElisionRow[]; } | null

Defined in: editor/src/inspector/elisions.ts:230

What Custom shows: the stored card elisions the card draws, then, drawn once behind a row, those lying between its first and last group, which it keeps undrawn (note); null in any other mode.

Union Members#
Type Literal#

{ add: AddCommand | null; removeAll: Command | null; rows: readonly ElisionRow[]; }

add#

readonly add: AddCommand | null

One add of an elision at the middle of the subject’s timeline; null where none fits.

removeAll#

readonly removeAll: Command | null

One remove of every card elision of R; null without one.

rows#

readonly rows: readonly ElisionRow[]


null

manifest#

readonly manifest: Manifest

Defined in: editor/src/inspector/elisions.ts:206

mode#

readonly mode: RootMode

Defined in: editor/src/inspector/elisions.ts:207

options#

readonly options: readonly ModeOption<RootMode>[]

Defined in: editor/src/inspector/elisions.ts:209

Hidden, Full, Proportional, Custom for an ancestor card; Full and Custom for an ungrouped root.

proportional#

readonly proportional: { automatic: boolean; depths: readonly DepthRow[]; depthsAutomatic: boolean; display: readonly ("id" | "name" | "ellipsis" | "coordinate" | "continuation")[]; proportion: string; value: number; } | null

Defined in: editor/src/inspector/elisions.ts:213

What Proportional shows; null in any other mode.

Union Members#
Type Literal#

{ automatic: boolean; depths: readonly DepthRow[]; depthsAutomatic: boolean; display: readonly ("id" | "name" | "ellipsis" | "coordinate" | "continuation")[]; proportion: string; value: number; }

automatic#

readonly automatic: boolean

Whether elision-proportion is auto.

depths#

readonly depths: readonly DepthRow[]

Deepest first, as the rows lie in the card.

depthsAutomatic#

readonly depthsAutomatic: boolean

display#

readonly display: readonly ("id" | "name" | "ellipsis" | "coordinate" | "continuation")[]

proportion#

readonly proportion: string

The proportion its default elisions take, as the field shows it: at most six decimals.

value#

readonly value: number

That proportion exactly as the drawing takes it, which unticking Automatic states.


null

root#

readonly root: string

Defined in: editor/src/inspector/elisions.ts:202

title#

readonly title: string

Defined in: editor/src/inspector/elisions.ts:203

Type Aliases#

BlockKind#

BlockKind = "timeline" | "group" | "elision"

Defined in: editor/src/inspector/elisions.ts:1320

What a block of the Elisions tab configures: a timeline (the root’s block), a group, one elision.


ElisionEdit#

ElisionEdit = Result<Command | null>

Defined in: editor/src/inspector/elisions.ts:292

What a typed field or a chosen form gives: the command, null where it changes nothing, or a refusal.


ElisionField#

ElisionField = "start" | "end" | "ratio" | "span" | "canvas"

Defined in: editor/src/inspector/elisions.ts:255

The fields of a selected elision the form types into.


ElisionWord#

ElisionWord = typeof ELISION_DISPLAY[number]

Defined in: editor/src/inspector/elisions.ts:116

A word of an elision’s display.


FrameMode#

FrameMode = "full" | "custom"

Defined in: editor/src/inspector/elisions.ts:105

How a frame draws the elisions of its group: none, or the stored ones.


RootMode#

RootMode = "hidden" | "full" | "proportional" | "custom"

Defined in: editor/src/inspector/elisions.ts:102

How a root’s cards are drawn (drawing.md section 8.9, Modes), Hidden its card rule’s display: none.

Variables#

DEFAULT_HINT#

const DEFAULT_HINT: "Choose Custom to edit" = "Choose Custom to edit"

Defined in: editor/src/inspector/elisions.ts:147

The hint of a default elision’s form.


DEFAULT_WORDS#

const DEFAULT_WORDS: readonly object[]

Defined in: editor/src/inspector/elisions.ts:132

The Show toggles of a root’s default elisions: every word but id, which a default has not.


DISPLAY_LABELS#

const DISPLAY_LABELS: { readonly [word in ElisionWord]: string }

Defined in: editor/src/inspector/elisions.ts:119

The words of the Show toggles, each with its label.


ELISIONS_HINT#

const ELISIONS_HINT: "Select one timeline, card or group frame to edit its elisions." = "Select one timeline, card or group frame to edit its elisions."

Defined in: editor/src/inspector/elisions.ts:1330

What the Elisions tab says with nothing to show.


FORM_WORDS#

const FORM_WORDS: { readonly [form in WidthForm]: string }

Defined in: editor/src/inspector/elisions.ts:136

The words of a gap’s width forms.


KIND_WORDS#

const KIND_WORDS: { readonly [kind in BlockKind]: string }

Defined in: editor/src/inspector/elisions.ts:1323

The kind word heading each block, which tells a timeline’s block from a group’s.


MODE_WORDS#

const MODE_WORDS: { readonly [mode in RootMode]: string }

Defined in: editor/src/inspector/elisions.ts:108

The label of each mode.


NOT_DRAWN_ARRANGED#

const NOT_DRAWN_ARRANGED: "not drawn while arranged side by side" = "not drawn while arranged side by side"

Defined in: editor/src/inspector/elisions.ts:150

The note of a stored elision lying between two groups of a row, which the root’s card does not draw (section 8.8).


STORED_WORDS#

const STORED_WORDS: readonly object[]

Defined in: editor/src/inspector/elisions.ts:128

The Show toggles of a stored elision: every word.


WIDTH_FORMS#

const WIDTH_FORMS: readonly WidthForm[]

Defined in: editor/src/inspector/elisions.ts:144

The width forms in the order the form lists them.

Functions#

blocksOf()#

blocksOf(root, group, form): ElisionBlocks

Defined in: editor/src/inspector/elisions.ts:1384

The blocks of root, group and form as the tab shows them. The selected elision of form is held by the group’s block where the group lists it, else by the root’s (a card elision of the root, or a default one); the block holding it and the form’s own block are open without a click, every other block is collapsed. An action taken in a block opens it under its own key (keeps), so that it stays open once the selection leaves it.

Parameters#

root#

RootElisions | null

group#

GroupElisions | null

form#

ElisionForm | null

Returns#

ElisionBlocks


defaultsDisplayCommand()#

defaultsDisplayCommand(section, word): StyleCommand | null

Defined in: editor/src/inspector/elisions.ts:984

The command toggling word of the root’s elision-display, every default elision at once.

Parameters#

section#

RootElisions

word#

"id" | "name" | "ellipsis" | "coordinate" | "continuation"

Returns#

StyleCommand | null


deleteCommand()#

deleteCommand(form): RemoveCommand | null

Defined in: editor/src/inspector/elisions.ts:1313

The command deleting the selected stored elision; null for a default one.

Parameters#

form#

ElisionForm

Returns#

RemoveCommand | null


depthCommand()#

depthCommand(section, depth): StyleCommand | null

Defined in: editor/src/inspector/elisions.ts:973

The command toggling depth depth of the Rows; null for the last one chosen, which stays.

Parameters#

section#

RootElisions

depth#

number

Returns#

StyleCommand | null


depthsAutomaticCommand()#

depthsAutomaticCommand(section): StyleCommand | null

Defined in: editor/src/inspector/elisions.ts:964

The command of Rows’ Automatic: ticked, elision-depths back to auto; unticked, the depths chosen now.

Parameters#

section#

RootElisions

Returns#

StyleCommand | null


elisionDisplayCommand()#

elisionDisplayCommand(form, word): SetCommand | null

Defined in: editor/src/inspector/elisions.ts:1307

The command showing or hiding one word of the stored elision’s display.

Parameters#

form#

ElisionForm

word#

"id" | "name" | "ellipsis" | "coordinate" | "continuation"

Returns#

SetCommand | null


elisionFormOf()#

elisionFormOf(block, subjects, drawing): ElisionForm | null

Defined in: editor/src/inspector/elisions.ts:1188

The form of the one selected elision: a stored one ({block, id: E}), read from the manifest and from the gap the drawing draws of it; a default one ({block, id: T, part: [elision]}), read-only, from the first of its gaps in the card the root block reads; null for any other selection or a default elision the card does not draw.

Parameters#

block#

Block

subjects#

readonly Subject[]

drawing#

Drawing

Returns#

ElisionForm | null


fieldCommand()#

fieldCommand(form, field, text): ElisionEdit

Defined in: editor/src/inspector/elisions.ts:1263

The command text typed into field gives (one set); null where it changes nothing.

Parameters#

form#

ElisionForm

field#

ElisionField

text#

string

Returns#

ElisionEdit


formCommand()#

formCommand(form, next): ElisionEdit

Defined in: editor/src/inspector/elisions.ts:1291

The command choosing the width form next, converted from the gap as drawn (layout’s widthAs) so that it does not jump: Standard leaves width out. null for the form stored; refused where the gap is not drawn and the form needs its width.

Parameters#

form#

ElisionForm

next#

WidthForm

Returns#

ElisionEdit


groupElisionsOf()#

groupElisionsOf(block, subjects, drawing, edited): GroupElisions | null

Defined in: editor/src/inspector/elisions.ts:1047

The group’s block: offered wherever every subject lies in one group G’s frame (the frame or its title, a member card, a timeline drawn in it, a group elision), and in G’s group editor with nothing selected, where the drawing draws G’s frame; null otherwise.

Parameters#

block#

Block

subjects#

readonly Subject[]

drawing#

Drawing

edited#

string | null

Returns#

GroupElisions | null


proportionAutomaticCommand()#

proportionAutomaticCommand(section): StyleCommand | null

Defined in: editor/src/inspector/elisions.ts:936

The command of Proportion’s Automatic: ticked, elision-proportion back to its initial auto; unticked, the proportion the drawing takes stated exactly (never the field’s rounded text), so no derived gap moves.

Parameters#

section#

RootElisions

Returns#

StyleCommand | null


proportionCommand()#

proportionCommand(section, text): ElisionEdit

Defined in: editor/src/inspector/elisions.ts:948

The command a typed proportion gives: a number in (0, 1]; null where it changes nothing.

Parameters#

section#

RootElisions

text#

string

Returns#

ElisionEdit


rootElisionsOf()#

rootElisionsOf(view, block, subjects, drawing): RootElisions | null

Defined in: editor/src/inspector/elisions.ts:871

The root’s block of the inspected subjects, all in block and drawn as drawing: offered where every subject is a timeline, a card, a part of either or an elision, all under one root R that has an ancestor card or is an ungrouped root, or is a virtual timeline whose card the block places; null otherwise.

Parameters#

view#

View

block#

Block

subjects#

readonly Subject[]

drawing#

Drawing

Returns#

RootElisions | null