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, 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,
};
#[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,
},
};