# alternera_plugin_editor v0.9.0 - API Reference

## Modules

- [Alternera.Plugin.Editor](Alternera.Plugin.Editor.md): What a plugin's step editor builds on: the props the pipeline editor gives
it, the ways back to the pipeline editor (`notify_step_settings_changed/2`,
`request_step_input/3`), the step editor's own chrome (`section_toggle/1`)
and, delegated to `Alternera.UIKit`, the proxy's look (`icon/1`,
`callout/1`, `badge/1`, `copy_button/1`, `disclosure/1`).
- [Alternera.Plugin.Editor.ByMatch](Alternera.Plugin.Editor.ByMatch.md): How a step editor shows a setting a Configuration step may fill
(`Alternera.Plugin.configurable?/2`, "Settings by match" in the
plugin contract): a step that leaves it empty runs with the value of the
last Configuration step before it, so the empty field says so.
- [Alternera.Plugin.Editor.CappedText](Alternera.Plugin.Editor.CappedText.md): A text shown inline after its label, wrapping anywhere. A long one shows
its first `cap` characters with "Show more"; the whole text unfolds under
it in a scrolling box, with "Show less". The execution view's step
summaries and a plugin host editor's Try trace both show long values
with it.
- [Alternera.Plugin.Editor.Conditions](Alternera.Plugin.Editor.Conditions.md): A list of conditions in a step editor: the picker that adds one
(`picker/1`), the rows that edit them (`rows/1`), the types a side offers
(`types/1`) and a new condition of a type (`default_condition/1`).
- [Alternera.Plugin.Editor.DefinitionVersion](Alternera.Plugin.Editor.DefinitionVersion.md): The Version field of a step that reads an API definition, or a schema
namespace of one, as the step editors draw it: what its `<.suggest_input>`
offers (`suggestions/1`), whether a version reads the draft (`draft?/1`)
and the lines under it (`hints/1`).
- [Alternera.Plugin.Editor.HeaderSuggestions](Alternera.Plugin.Editor.HeaderSuggestions.md): Header names and values as a `<.suggest_input>` offers them: the names
recorded in the source exchange first, then `Alternera.Plugin.HeaderCatalogue`'s,
and for a value field the catalogue's typical values of the header its
row names.
- [Alternera.Plugin.Editor.LocationPicker](Alternera.Plugin.Editor.LocationPicker.md): The From and To of a step editor (`TransformEditor`, `Script.Editor`,
`RequestEditor`): a
place of the exchange (`Alternera.Plugin.Location`) picked as a
kind (a select) and, for it, a name or a JSON path (a text field, with
the source exchange's header and query names or body paths as
suggestions, `hints/2`).
- [Alternera.Plugin.Editor.RowErrors](Alternera.Plugin.Editor.RowErrors.md): A step's save errors split by the row of a list they are about, for an
editor that shows each at its row (`Plugin.RowError` reads the row:
`To row 2 (…): …`, `input 3: …`, `Set value 1: …`, after at most one
`<Plugin name>: `). `TargetList` splits its To rows with it, the Set
editor its values and the Call editor its inputs.

- [Alternera.Plugin.Editor.StatusSuggestions](Alternera.Plugin.Editor.StatusSuggestions.md): HTTP statuses as a comma-separated status field's `<.suggest_input
mode="list">` offers them, each with its reason phrase under it.
- [Alternera.Plugin.Editor.SuggestInput](Alternera.Plugin.Editor.SuggestInput.md): A text input that suggests values from a list in a dropdown right under
its left edge: header and query parameter names, JSON paths, store names,
`{{VARIABLE}}` references.
- [Alternera.Plugin.Editor.TargetList](Alternera.Plugin.Editor.TargetList.md): The **To** of a step whose plugin registers several outputs
(`Alternera.Plugin`'s `outputs/0`, read by `Plugin.Targets`): a
list of rows, each one output written to one place. Mounted by the
`RequestEditor`, `Validate.Editor` and the `Script.Editor`.
- [Alternera.Plugin.Editor.TemplateSuggestions](Alternera.Plugin.Editor.TemplateSuggestions.md): The `${…}` references a template field suggests (`SuggestInput` in
`"template"` mode): the references `Plugin.Template` resolves that this
step is known to have, each with a line saying what it reads.

