euv-example 0.51.0

Cross-platform native showcase application demonstrating euv fine-grained reactivity, multi-mode rendering, window controls, and euv-ui components.
Documentation
//! euv-example
//!
//! Cross-platform native showcase application built with euv and euv-ui,
//! demonstrating fine-grained reactivity, multi-mode rendering, window settings,
//! 17 design schemes, virtualized lists, and overlays.

mod app;
mod pages;
mod state;

#[cfg(test)]
#[path = "../tests/mod.rs"]
mod tests;

pub use {app::*, pages::*, state::*};

#[cfg(debug_assertions)]
use euv_automation::AI_SCHEMA_PROTOCOL_VERSION;
#[cfg(test)]
use euv_automation::{
    AiAction, AiAnomalyKind, AiLayoutAnomaly, AiRuntimeSnapshot, AiSchemaRequest, AiSchemaResponse,
    UiAnomalyAuditConfig, UiAnomalyAuditor, UiAnomalyFinding, UiAnomalyReport, UiAnomalySeverity,
};
#[cfg(any(debug_assertions, test))]
use euv_automation::{AiAppHooks, AiSchemaProtocol, Value};
use std::{
    cell::{Cell, RefCell},
    f32::consts::PI,
    path::{Path, PathBuf},
    rc::Rc,
    sync::Arc,
};
#[cfg(target_arch = "wasm32")]
use std::{
    cell::{Ref, RefMut},
    collections::BTreeMap,
    mem::take,
};
#[cfg(not(target_arch = "wasm32"))]
use std::{
    env, fs,
    io::{Error, Read, Write},
    net::{SocketAddr, TcpListener},
    thread::spawn,
    time::Instant,
};
use {
    euv::{PointerEvent, *},
    euv_automation::DevAutomationBridge,
    euv_ui::*,
    lombok_macros::{Data, Getter},
};
#[cfg(target_arch = "wasm32")]
use {
    js_sys::{Function, Object, Promise, Reflect, Uint8Array, global},
    wasm_bindgen::{JsCast, JsValue, closure::Closure, prelude::wasm_bindgen},
    wasm_bindgen_futures::{JsFuture, spawn_local},
    web_sys::{
        Document, DomRect, Element, Event, EventSource, EventTarget, HtmlCanvasElement,
        HtmlElement, KeyboardEvent, MediaQueryList, MessageEvent, Performance, RequestInit,
        RequestMode, Response, Storage, WheelEvent, Window, window,
    },
};