morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
engine Directory Reference

Directories

 
detail

Files

 
collection.hpp
 Collections, headless: a v-* view document as a reactive list of rows, the table source the table engine sorts and filters, row and collection actions, the confirm step and the row editor.
 
collection_view.hpp
 collectionView: a CollectionSession rendered as a view tree (ui::Node): the title and collection actions, a table of the rows with their actions, the confirm dialog and the row editor, as a dialog or beside the table.
 
field_layout.hpp
 morph::forms::FieldLayout: where a form's cell puts a field's caption. The forms engine and the authoring API share it. Specified in docs/spec/forms/engine.md, "Rendering".
 
field_model.hpp
 FormModel: the immutable runtime model of one action's form, read from the schema JSON schemaJson<A>() emits (or any document in that vocabulary).
 
form_session.hpp
 FormSession: the reactive state of one form over a FormModel — drafts, encoded values, readiness, presentation rules, Choice options and submission. A controller in the sense of docs/spec/reactive/control.md: no toolkit, testable headless.
 
form_view.hpp
 formView: a FormSession rendered as a view tree (ui::Node), so one form draws on every frontend.
 
handler_submitter.hpp
 Submitters and choice fetchers bound to an application's own BridgeHandlers.
 
overrides.hpp
 Overrides: an application's replacements for the control formView draws for a field, chosen by field path, widget hint, unit or kind; FieldView, what a replacement is handed.
 
rules.hpp
 x-rules read into RuleExpr trees, translated into the UI document's expression language (expr/1) and evaluated by its one evaluator, three-valued and exactly.
 
typed_form.hpp
 Form<A>: a FormSession over schemaJson<A>(), with typed access at the edges.
 
values.hpp
 The forms engine's encoders and decoders: a field's draft text to its exact wire literal, a wire value back to the draft a control shows, exact unit conversion, and Choice option rows.
 
wizard.hpp
 Wizards, headless: a w-* document as one FormSession per step, sequenced by successful submissions, with each step's prefill taken from what earlier steps resolved.
 
wizard_view.hpp
 wizardView: a WizardSession rendered as a view tree (ui::Node): the title and step indicator, the current step's form, and Back and Next.