Skip to main content

Crate adam_web_ui

Crate adam_web_ui 

Source
Expand description

Reusable Dioxus UI for browsing and editing a live adam_rs::Sheet, built on Spectrum Web Components. Named for the web rendering stack it targets — Dioxus + Spectrum Web Components render as DOM whether hosted in a real browser or an embedded webview — not tied to any one Dioxus renderer feature, so it’s usable from a desktop app (begin), a dioxus/web app, or a plain wasm-bindgen embed with no full app shell around it.

Re-exports§

pub use build::BuildOutcome;
pub use build::build_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::SheetInspector;
pub use inspector::SheetInspector;
pub use labels::CellMeta;
pub use labels::Labels;
pub use labels::WriteStrFn;
pub use labels::format_adam_error;
pub use labels::format_rounded;
pub use labels::labels_from_cell_names;

Modules§

build
Parses adam-lang source into a live adam_lang::ParsedSheet, formatting any failure as a diagnostic instead of a bare error.
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.
labels
Cell display/write metadata and diagnostic formatting for a live adam_rs::Sheet.
spectrum
Dioxus element bindings and component wrappers for Spectrum Web Components.

Structs§

Renderer
The Renderer for a [Report]

Functions§

SheetInspector
Sidebar panel showing all cells with labels and inputs for writing — a checkbox for bool-typed cells, a single editable slider (its label built in) for a numeric cell with a range filter, a plain number field for any other numeric cell, and a text field for everything else.