Skip to main content

Crate adam_web_ui

Crate adam_web_ui 

Source
Expand description

Reusable Dioxus controls and UI for browsing and editing a live adam_rs::Sheet.

components supplies model-independent official Dioxus controls and numeric editors. Wrap each root in components::Theme. binding::use_sheet owns one reactive model and supplies bindings to controls and SheetInspector.

Components render as DOM in a browser or embedded webview. The library does not select a Dioxus renderer: use it from a desktop app (begin), a dioxus/web app, or a wasm-bindgen embed without a full application shell.

Re-exports§

pub use build::BuildError;
pub use build::BuiltSheet;
pub use build::RuntimeFailure;
pub use build::ValidationIssue;
pub use build::build_sheet;
pub use build::initialize_sheet;
pub use graph::GraphData;
pub use graph::GraphDrive;
pub use graph::GraphView;
pub use graph::GraphView;
pub use graph::LinkData;
pub use graph::LinkKind;
pub use graph::NodeData;
pub use graph::NodeKind;
pub use graph::graph_drive_script;
pub use graph::to_graph_data;
pub use inspector::InspectorPresentation;
pub use inspector::SheetInspector;
pub use inspector::SheetInspector;
pub use labels::CaptureFn;
pub use labels::CellMeta;
pub use labels::ExactRangeFn;
pub use labels::Labels;
pub use labels::PrepareFn;
pub use labels::PreparedWrite;
pub use labels::ScalarCodec;
pub use labels::format_adam_error;
pub use labels::format_module_diagnostic;
pub use labels::format_parse_error;
pub use labels::format_rounded;
pub use labels::labels_from_cell_names;

Modules§

binding
Owns event-loop-confined models and publishes accepted cell views.
build
Parses, initializes, and validates adam-lang sheets before returning them.
components
Model-independent control behavior.
diagnostics
Cross-platform diagnostic reporting.
graph
The property-model constraint graph: D3-ready serialization (GraphData and friends) and the Dioxus component that renders it, and a pure Adam-backed view model.
input
Model-independent numeric types and editor diagnostics.
labels
Cell display/write metadata and diagnostic formatting for a live adam_rs::Sheet.

Structs§

Renderer
The Renderer for a [Report]

Enums§

InspectorPresentation
Selects the chrome wrapping the inspector’s cell rows.

Functions§

SheetInspector
Renders named accepted cells with bound controls and visible capability diagnostics.