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#
readonlystretch:string
Defined in: editor/src/inspector/elisions.ts:260
timeline#
readonlytimeline: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#
readonlybetween:string
Defined in: editor/src/inspector/elisions.ts:186
between "G1" and "G2", the groups by name, else by ID, left to right.
key#
readonlykey:string
Defined in: editor/src/inspector/elisions.ts:184
The two groups’ IDs, joined: the pair is one per root.
stretch#
readonlystretch: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#
readonlychosen:boolean
Defined in: editor/src/inspector/elisions.ts:196
depth#
readonlydepth:number
Defined in: editor/src/inspector/elisions.ts:193
names#
readonlynames: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#
readonlykeeps: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#
readonlykey: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#
readonlykind:BlockKind
Defined in: editor/src/inspector/elisions.ts:1334
opened#
readonlyopened:boolean
Defined in: editor/src/inspector/elisions.ts:1349
Whether it is open before any click: only where it holds the selected elision.
summary#
readonlysummary: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#
readonlytitle: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#
readonlyform:ElisionBlock|null
Defined in: editor/src/inspector/elisions.ts:1356
group#
readonlygroup:ElisionBlock|null
Defined in: editor/src/inspector/elisions.ts:1355
root#
readonlyroot: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#
readonlyaddress:Address
Defined in: editor/src/inspector/elisions.ts:266
also#
readonlyalso: readonlyAlsoElided[] |null
Defined in: editor/src/inspector/elisions.ts:282
Across a frame, the other timelines it elides; null for a card elision.
block#
readonlyblock:Block
Defined in: editor/src/inspector/elisions.ts:265
display#
readonlydisplay: readonly ("id"|"name"|"ellipsis"|"coordinate"|"continuation")[]
Defined in: editor/src/inspector/elisions.ts:280
end#
readonlyend:string
Defined in: editor/src/inspector/elisions.ts:276
form#
readonlyform:WidthForm
Defined in: editor/src/inspector/elisions.ts:277
gap#
readonlygap: {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#
readonlymanifest:Manifest
Defined in: editor/src/inspector/elisions.ts:267
start#
readonlystart:string
Defined in: editor/src/inspector/elisions.ts:275
stored#
readonlystored: { } |null
Defined in: editor/src/inspector/elisions.ts:274
The stored elision; null for a default one, which the form shows read-only.
timeline#
readonlytimeline:object
Defined in: editor/src/inspector/elisions.ts:270
title#
readonlytitle:string
Defined in: editor/src/inspector/elisions.ts:269
Elision on "T".
unit#
readonlyunit:string
Defined in: editor/src/inspector/elisions.ts:272
The unit’s pretty word after From, To and As wide as.
widths#
readonlywidths: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#
readonlyaddress:Address
Defined in: editor/src/inspector/elisions.ts:165
name#
readonlyname:string
Defined in: editor/src/inspector/elisions.ts:167
Its name, else “—“.
note#
readonlynote: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#
readonlyremove:RemoveCommand
Defined in: editor/src/inspector/elisions.ts:175
Its [×]: one remove.
stretch#
readonlystretch: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#
readonlytimeline: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#
readonlyadd:AddCommand|null
Defined in: editor/src/inspector/elisions.ts:250
block#
readonlyblock:string
Defined in: editor/src/inspector/elisions.ts:241
count#
readonlycount:string
Defined in: editor/src/inspector/elisions.ts:247
“0 elisions”, “1 elision”, “2 elisions”.
group#
readonlygroup:string
Defined in: editor/src/inspector/elisions.ts:242
mode#
readonlymode:FrameMode
Defined in: editor/src/inspector/elisions.ts:244
options#
readonlyoptions: readonlyModeOption<FrameMode>[]
Defined in: editor/src/inspector/elisions.ts:245
removeAll#
readonlyremoveAll:RemoveCommand|null
Defined in: editor/src/inspector/elisions.ts:251
rows#
readonlyrows: readonlyElisionRow[]
Defined in: editor/src/inspector/elisions.ts:249
Every stored elision of the group, drawn or not.
title#
readonlytitle: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#
readonlycommands: readonlyCommand[]
Defined in: editor/src/inspector/elisions.ts:158
The commands choosing it, sent in order: none for the mode shown.
mode#
readonlymode:Mode
Defined in: editor/src/inspector/elisions.ts:156
reason#
readonlyreason: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#
readonlyaddress: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#
readonlyarranged: readonlyArrangedGap[]
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#
readonlyblock:string
Defined in: editor/src/inspector/elisions.ts:201
custom#
readonlycustom: {add:AddCommand|null;removeAll:Command|null;rows: readonlyElisionRow[]; } |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#
readonlyadd:AddCommand|null
One add of an elision at the middle of the subject’s timeline; null where none fits.
removeAll#
readonlyremoveAll:Command|null
One remove of every card elision of R; null without one.
rows#
readonlyrows: readonlyElisionRow[]
null
manifest#
readonlymanifest:Manifest
Defined in: editor/src/inspector/elisions.ts:206
mode#
readonlymode:RootMode
Defined in: editor/src/inspector/elisions.ts:207
options#
readonlyoptions: readonlyModeOption<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#
readonlyproportional: {automatic:boolean;depths: readonlyDepthRow[];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#
readonlyautomatic:boolean
Whether elision-proportion is auto.
depths#
readonlydepths: readonlyDepthRow[]
Deepest first, as the rows lie in the card.
depthsAutomatic#
readonlydepthsAutomatic:boolean
display#
readonlydisplay: readonly ("id"|"name"|"ellipsis"|"coordinate"|"continuation")[]
proportion#
readonlyproportion:string
The proportion its default elisions take, as the field shows it: at most six decimals.
value#
readonlyvalue:number
That proportion exactly as the drawing takes it, which unticking Automatic states.
null
root#
readonlyroot:string
Defined in: editor/src/inspector/elisions.ts:202
title#
readonlytitle: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#
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#
constDEFAULT_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#
constDEFAULT_WORDS: readonlyobject[]
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#
constDISPLAY_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#
constELISIONS_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#
constFORM_WORDS:{ readonly [form in WidthForm]: string }
Defined in: editor/src/inspector/elisions.ts:136
The words of a gap’s width forms.
KIND_WORDS#
constKIND_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#
constMODE_WORDS:{ readonly [mode in RootMode]: string }
Defined in: editor/src/inspector/elisions.ts:108
The label of each mode.
NOT_DRAWN_ARRANGED#
constNOT_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#
constSTORED_WORDS: readonlyobject[]
Defined in: editor/src/inspector/elisions.ts:128
The Show toggles of a stored elision: every word.
WIDTH_FORMS#
constWIDTH_FORMS: readonlyWidthForm[]
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#
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#
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#
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#
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#
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#
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#
subjects#
readonly Subject[]
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#
field#
text#
string
Returns#
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#
next#
Returns#
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#
subjects#
readonly Subject[]
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#
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#
text#
string
Returns#
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#
block#
subjects#
readonly Subject[]
drawing#
Returns#
RootElisions | null