diff --git a/Cargo.lock b/Cargo.lock index 9383dcb..2979fa3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3951,6 +3951,7 @@ dependencies = [ "gioser-canvas-web", "js-sys", "pluma-reader-web", + "vista-web", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -11880,6 +11881,15 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" +[[package]] +name = "vista-web" +version = "0.1.0" +dependencies = [ + "js-sys", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "vswhom" version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index eda49e7..f6610fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -123,6 +123,11 @@ members = [ "crates/modules/pluma/pluma-md", "crates/modules/pluma/pluma-reader-web", + # ============================================================ + # modules/vista/ — deck horizontal swipe estilo Flutter PageView + # ============================================================ + "crates/modules/vista/vista-web", + # ============================================================ # apps/ — apps que consumen el protocolo (yahweh modules+shell) # ============================================================ diff --git a/crates/apps/gioser-web/Cargo.toml b/crates/apps/gioser-web/Cargo.toml index 9235d8e..5ae02ee 100644 --- a/crates/apps/gioser-web/Cargo.toml +++ b/crates/apps/gioser-web/Cargo.toml @@ -12,6 +12,7 @@ crate-type = ["cdylib", "rlib"] [dependencies] gioser-canvas-web = { path = "../../modules/gioser/gioser-canvas-web" } pluma-reader-web = { path = "../../modules/pluma/pluma-reader-web" } +vista-web = { path = "../../modules/vista/vista-web" } wasm-bindgen.workspace = true wasm-bindgen-futures.workspace = true js-sys.workspace = true diff --git a/crates/apps/gioser-web/index.html b/crates/apps/gioser-web/index.html index 884361d..99fe19a 100644 --- a/crates/apps/gioser-web/index.html +++ b/crates/apps/gioser-web/index.html @@ -12,10 +12,6 @@ -
-

Gio·Ser

-
-
- - + + - - - - - - - -