1mod app;
8mod pages;
9mod state;
10
11#[cfg(test)]
12#[path = "../tests/mod.rs"]
13mod tests;
14
15pub use {app::*, pages::*, state::*};
16
17#[cfg(debug_assertions)]
18use euv_automation::AI_SCHEMA_PROTOCOL_VERSION;
19#[cfg(test)]
20use euv_automation::{
21 AiAction, AiAnomalyKind, AiLayoutAnomaly, AiRuntimeSnapshot, AiSchemaRequest, AiSchemaResponse,
22 UiAnomalyAuditConfig, UiAnomalyAuditor, UiAnomalyReport, UiAnomalySeverity,
23};
24#[cfg(any(debug_assertions, test))]
25use euv_automation::{AiAppHooks, AiSchemaProtocol, Value};
26#[cfg(target_arch = "wasm32")]
27use std::cell::RefMut;
28use std::{
29 cell::{Cell, RefCell},
30 f32::consts::PI,
31 rc::Rc,
32};
33#[cfg(not(target_arch = "wasm32"))]
34use std::{
35 fs,
36 io::{Error, Read, Write},
37 net::{SocketAddr, TcpListener},
38 path::{Path, PathBuf},
39 sync::Arc,
40 thread::spawn,
41 time::Instant,
42};
43use {
44 euv::{PointerEvent, *},
45 euv_automation::DevAutomationBridge,
46 euv_ui::*,
47 lombok_macros::{Data, Getter},
48};
49#[cfg(target_arch = "wasm32")]
50use {
51 js_sys::{Function, Object, Reflect},
52 wasm_bindgen::{JsCast, JsValue, closure::Closure, prelude::wasm_bindgen},
53 web_sys::{
54 Document, DomRect, Element, Event, EventTarget, HtmlCanvasElement, HtmlElement,
55 KeyboardEvent, MediaQueryList, Performance, WheelEvent, Window, window,
56 },
57};