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