Composition / foldkit-builder

EditWords

interface · packages/builder/src/words.ts:8

interface EditWords {
  readonly at: string
  readonly thePage: string
  readonly inRegion: string
  readonly moved: string
  readonly added: string
  readonly duplicated: string
  readonly removed: string
  readonly editedPage: string
  readonly undone: string
  readonly redone: string
  readonly notMoved: string
  readonly notAdded: string
  readonly copied: string
  readonly cut: string
  readonly nothingCopied: string
  readonly notAPage: string
  readonly noStartingProps: string
  readonly startingPropsFail: string
  readonly notANode: string
  readonly copyChanged: string
  readonly unknownPattern: string
  readonly noPlace: string
  readonly refusal: string
  readonly moveUp: string
  readonly moveDown: string
  readonly moveOut: string
  readonly moveIn: string
  readonly duplicate: string
  readonly copy: string
  readonly cutCommand: string
  readonly delete: string
  readonly undo: string
  readonly redo: string
  readonly paste: string
  readonly editText: string
  readonly deselect: string
}

The Builder's own words: what it says to assistive technology of each edit, its commands' labels, and the refusals it makes itself. Words are text; a word that takes a value names it as a blank ('Moved {label}{at}'), as a form's and a view's words do, so one object can hold them all. A Block is named by its label (Block.words), the Catalog's word.

In the guides

Members

EditWords.at

property · packages/builder/src/words.ts:10

readonly at: string

Where a node is after an edit, after its name: ", 2 of 3 in Section body". Blanks {position}, {count}, {container}.

EditWords.thePage

property · packages/builder/src/words.ts:12

readonly thePage: string

The container of a root.

EditWords.inRegion

property · packages/builder/src/words.ts:14

readonly inRegion: string

The container of a node in a Region: the holder's {label} and the {region}.

EditWords.moved

property · packages/builder/src/words.ts:16

readonly moved: string

An edit, said: its node's {label} and where it is now, {at}.

EditWords.added

property · packages/builder/src/words.ts:17

readonly added: string

EditWords.duplicated

property · packages/builder/src/words.ts:18

readonly duplicated: string

EditWords.removed

property · packages/builder/src/words.ts:20

readonly removed: string

A removal, said: the node's {label}.

EditWords.editedPage

property · packages/builder/src/words.ts:21

readonly editedPage: string

EditWords.undone

property · packages/builder/src/words.ts:22

readonly undone: string

EditWords.redone

property · packages/builder/src/words.ts:23

readonly redone: string

EditWords.notMoved

property · packages/builder/src/words.ts:25

readonly notMoved: string

A drag that ended with nothing done: a node, or a new one from the palette.

EditWords.notAdded

property · packages/builder/src/words.ts:26

readonly notAdded: string

EditWords.copied

property · packages/builder/src/words.ts:28

readonly copied: string

A copy and a cut, said: the node's {label}.

EditWords.cut

property · packages/builder/src/words.ts:29

readonly cut: string

EditWords.nothingCopied

property · packages/builder/src/words.ts:32

readonly nothingCopied: string

The refusals the Builder makes itself: nothing to paste, as nothing copied or not a page.

EditWords.notAPage

property · packages/builder/src/words.ts:33

readonly notAPage: string

EditWords.noStartingProps

property · packages/builder/src/words.ts:35

readonly noStartingProps: string

A Block that cannot be inserted: {block}.

EditWords.startingPropsFail

property · packages/builder/src/words.ts:36

readonly startingPropsFail: string

EditWords.notANode

property · packages/builder/src/words.ts:38

readonly notANode: string

A node the page does not hold, or one changed while its copy was made: {id}.

EditWords.copyChanged

property · packages/builder/src/words.ts:39

readonly copyChanged: string

EditWords.unknownPattern

property · packages/builder/src/words.ts:41

readonly unknownPattern: string

A pattern the Catalog lacks: {name}.

EditWords.noPlace

property · packages/builder/src/words.ts:43

readonly noPlace: string

A paste the page has no place for: its root's Block, {label}.

EditWords.refusal

property · packages/builder/src/words.ts:45

readonly refusal: string

A refusal apply made: blanks {code} and {message}, by default its own message.

EditWords.moveUp

property · packages/builder/src/words.ts:48

readonly moveUp: string

The commands' labels.

EditWords.moveDown

property · packages/builder/src/words.ts:49

readonly moveDown: string

EditWords.moveOut

property · packages/builder/src/words.ts:50

readonly moveOut: string

EditWords.moveIn

property · packages/builder/src/words.ts:51

readonly moveIn: string

EditWords.duplicate

property · packages/builder/src/words.ts:52

readonly duplicate: string

EditWords.copy

property · packages/builder/src/words.ts:53

readonly copy: string

EditWords.cutCommand

property · packages/builder/src/words.ts:54

readonly cutCommand: string

EditWords.delete

property · packages/builder/src/words.ts:55

readonly delete: string

EditWords.undo

property · packages/builder/src/words.ts:56

readonly undo: string

EditWords.redo

property · packages/builder/src/words.ts:57

readonly redo: string

EditWords.paste

property · packages/builder/src/words.ts:58

readonly paste: string

EditWords.editText

property · packages/builder/src/words.ts:59

readonly editText: string

EditWords.deselect

property · packages/builder/src/words.ts:60

readonly deselect: string