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};
23#[cfg(any(debug_assertions, test))]
24use euv_automation::{AiAppHooks, AiSchemaProtocol, Value};
25#[cfg(target_arch = "wasm32")]
26use std::cell::RefMut;
27use std::{
28 cell::{Cell, RefCell},
29 f32::consts::PI,
30 rc::Rc,
31};
32#[cfg(not(target_arch = "wasm32"))]
33use std::{
34 fs,
35 io::{Error, Read, Write},
36 net::{SocketAddr, TcpListener},
37 path::{Path, PathBuf},
38 thread::spawn,
39 time::Instant,
40};
41use {
42 euv::{PointerEvent, *},
43 euv_automation::DevAutomationBridge,
44 euv_ui::*,
45 lombok_macros::{Data, Getter},
46};
47#[cfg(target_arch = "wasm32")]
48use {
49 js_sys::{Function, Reflect},
50 wasm_bindgen::{JsCast, JsValue, closure::Closure, prelude::wasm_bindgen},
51 web_sys::{
52 Document, DomRect, Element, Event, EventTarget, HtmlCanvasElement, HtmlElement,
53 KeyboardEvent, MediaQueryList, Performance, WheelEvent, Window, window,
54 },
55};