use super::*;
#[derive(Clone, CustomDebug, Data, New, Props)]
pub struct EuvAppShell {
pub(crate) brand: String,
#[get(type(copy))]
pub(crate) sidebar: NodeId,
#[get(type(copy))]
pub(crate) main_content: NodeId,
#[get(type(copy))]
pub(crate) tokens: ThemeTokens,
#[new(skip)]
#[get(skip)]
pub(crate) route_signal: Option<Signal<String>>,
#[new(skip)]
#[get(skip)]
#[prop(custom)]
pub(crate) top_bar_actions: Option<NodeId>,
#[new(skip)]
#[get(skip)]
#[prop(custom)]
pub(crate) mobile_header_actions: Option<NodeId>,
#[new(skip)]
#[get(skip)]
#[prop(custom)]
pub(crate) sidebar_footer: Option<NodeId>,
#[new(skip)]
#[get(skip)]
#[prop(custom)]
pub(crate) breadcrumb: Option<Signal<String>>,
#[new(skip)]
#[get(skip)]
#[prop(custom)]
pub(crate) bottom_nav: Option<NodeId>,
#[new(skip)]
#[prop(custom)]
pub(crate) swipe_routes: Vec<String>,
#[new(skip)]
#[get(skip)]
#[prop(custom)]
pub(crate) swipe_routes_enabled: Option<Signal<bool>>,
#[new(skip)]
#[get(type(copy))]
#[prop(custom)]
pub(crate) show_fps: bool,
#[new(skip)]
#[get(skip)]
#[prop(custom)]
pub(crate) show_fps_signal: Option<Signal<bool>>,
#[new(skip)]
#[get(skip)]
#[prop(custom)]
pub(crate) theme: Option<UiThemeState>,
#[new(skip)]
#[get(skip)]
#[prop(custom)]
pub(crate) page_padding: Option<Signal<Edges>>,
#[new(skip)]
#[get(type(copy))]
#[prop(custom)]
pub(crate) auto_hide_chrome_on_scroll: bool,
#[new(skip)]
#[get(skip)]
#[prop(custom)]
pub(crate) auto_hide_chrome_signal: Option<Signal<bool>>,
#[new(skip)]
#[get(skip)]
#[prop(custom)]
pub(crate) brand_url: Option<String>,
#[new(skip)]
#[debug(skip)]
#[get(skip)]
#[prop(custom)]
pub(crate) on_brand_click: Option<ShellBrandClickHandler>,
}
#[derive(Clone, Copy, Data, Debug, Default)]
pub(crate) struct ChromeScrollAutoHideState {
#[get(type(copy))]
pub(crate) active_scroll_node: NodeId,
#[get(type(copy))]
pub(crate) has_sample: bool,
#[get(type(copy))]
pub(crate) last_scroll_y: f32,
#[get(type(copy))]
pub(crate) accum_delta_y: f32,
#[get(type(copy))]
pub(crate) suppress_hide_ticks: u8,
}
#[derive(Clone, Getter, New)]
pub(crate) struct ChromeScrollObserver {
#[get(type(copy))]
pub(crate) enabled: bool,
#[get(type(copy))]
pub(crate) auto_hide_signal: Option<Signal<bool>>,
pub(crate) scene: SceneHandle,
pub(crate) state: Rc<Cell<ChromeScrollAutoHideState>>,
#[get(type(copy))]
pub(crate) ctx_fs: Signal<bool>,
#[get(type(copy))]
pub(crate) menu_open: Signal<bool>,
#[get(type(copy))]
pub(crate) chrome_hidden: Signal<bool>,
}
#[derive(Clone, Copy, Data, Debug, New, Props)]
pub struct EuvDivider {
#[get(type(copy))]
#[prop(custom)]
pub(crate) vertical: bool,
#[get(type(copy))]
pub(crate) tokens: ThemeTokens,
}
#[derive(Clone, Data, Debug, New, Props)]
pub struct EuvPage {
pub(crate) title: String,
pub(crate) subtitle: String,
#[get(type(copy))]
pub(crate) tokens: ThemeTokens,
#[new(skip)]
#[get(type(copy))]
#[prop(custom)]
pub(crate) max_width: Option<Length>,
#[new(skip)]
pub(crate) sections: Vec<NodeId>,
}
#[derive(Clone, Data, Debug, Default, New, Props)]
pub struct EuvActionRow {
#[new(skip)]
pub(crate) children: Vec<NodeId>,
}
#[derive(Clone, Data, Debug, Default, New, Props)]
pub struct EuvStatGrid {
#[new(skip)]
pub(crate) cards: Vec<NodeId>,
}