adam_web_ui/binding/mod.rs
1//! Owns event-loop-confined models and publishes accepted cell views.
2//!
3//! Construct a [`SheetOwner`] with a repeatable [`ModelFactory`], submit canonical
4//! [`CellEdit`] groups, and explicitly restore accepted history after rejection.
5//! Enable action capture with [`SheetOwner::start_recording`], persist shared
6//! [`Recording`] values with serde, and replay them on fresh compatible models.
7//! [`HostOutcome::RecordingFailed`] accepts the model transaction but stops the
8//! recorder; do not roll accepted state back in response to that outcome.
9
10mod dioxus;
11mod owner;
12mod recording;
13mod types;
14mod widgets;
15
16pub use dioxus::{CellBinding, SheetEvent, SheetHandle, use_sheet};
17pub use owner::SheetOwner;
18pub use recording::{CaptureError, PlaybackError, Recording};
19pub use types::*;
20pub use widgets::{CheckBox, EditNumber, EditSlider, EditText};
21
22#[cfg(test)]
23mod dioxus_tests;
24#[cfg(test)]
25mod tests;