@elurjs/universal 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/check-doc-sync.mjs +19 -6
- package/cli/create-app.mjs +24 -10
- package/cli/dev.mjs +45 -16
- package/cli/doctor.mjs +79 -2
- package/docs/AUDITORIA-STATE-OF-THE-ART-2026-11.md +2 -2
- package/docs/ESTADO.md +4 -3
- package/docs/INSTALACION-Y-DEV.md +12 -8
- package/docs/PENDIENTES.md +22 -17
- package/docs/adr/0172-conformidad-de-host-por-terceros.md +2 -2
- package/docs/adr/0173-licencias-espec-y-codigo.md +7 -7
- package/docs/adr/README.md +1 -1
- package/docs/doc-data.json +38 -20
- package/docs/propuestas/skia-renderer-arbol.md +5 -5
- package/package.json +1 -1
- package/src/ir/schema.ts +2 -2
- package/src/ir/semantics.ts +20 -0
package/cli/check-doc-sync.mjs
CHANGED
|
@@ -36,11 +36,18 @@ const D = data.divergences;
|
|
|
36
36
|
const PLATS = data.capabilities?.platforms ?? ["web", "android"];
|
|
37
37
|
const PLAT_LABELS = PLATS.map((p) =>
|
|
38
38
|
({ web: "Web", android: "Android", linux: "Linux (GTK4)" })[p] ?? p);
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
const missingCells = [];
|
|
40
|
+
const tableOf = (head, rows) => {
|
|
41
|
+
for (const r of rows)
|
|
42
|
+
for (const c of r)
|
|
43
|
+
if (c === undefined || c === null)
|
|
44
|
+
missingCells.push(`tabla '${head[0]}': fila \`${r[0]}\` sin dato`);
|
|
45
|
+
return [
|
|
46
|
+
`| ${head.join(" | ")} |`,
|
|
47
|
+
`| ${head.map(() => "---").join(" | ")} |`,
|
|
48
|
+
...rows.map((r) => `| ${r.map((c) => cell(c ?? "⚠ sin dato")).join(" | ")} |`),
|
|
49
|
+
].join("\n");
|
|
50
|
+
};
|
|
44
51
|
const level = (l) => (l === "no" ? "**no**" : l);
|
|
45
52
|
|
|
46
53
|
// Ficha editorial por contrato: el número lo pone el gate, la decisión
|
|
@@ -51,7 +58,7 @@ const CONTRACT_META = [
|
|
|
51
58
|
["Módulos nativos ABI", "NATIVE_ABI_VERSION", "src/native/manifest.ts", "ADR-0113 (CESM `cas`/`wait`/`notify`/`buffer`/struct)"],
|
|
52
59
|
["Estado de navegación", "NAV_STATE_VERSION", "src/router/types.ts", "ADR-0012"],
|
|
53
60
|
["Snapshot de estado app", "STATE_SNAPSHOT_VERSION", "src/app/state.ts", "Restauración de proceso"],
|
|
54
|
-
["Envelope de eventos", "EVENT_CONTRACT_VERSION", "src/events.ts", "ADR-
|
|
61
|
+
["Envelope de eventos", "EVENT_CONTRACT_VERSION", "src/events.ts", "ADR-0179 (gestos desktop: hover/longPress/pan/submit/shortcut)"],
|
|
55
62
|
["Vocabulario semántico", "SEMANTICS_VERSION", "src/ir/semantics.ts", "ADR-0152 (expanded/invalid/required/valueMin-Max-Now-Text/actions/mixed)"],
|
|
56
63
|
["Bytecode Hermes", "HBC", "hermesc pin `latest-v1`; runtime `hermes-android@260318099.0.2`", "ADR-0016"],
|
|
57
64
|
["Bridge host ABI", "BRIDGE_ABI_VERSION", "src/backends/native/index.ts", "ADR-0158"],
|
|
@@ -75,6 +82,9 @@ const BLOCKS = {
|
|
|
75
82
|
/** Línea de divergencias con desglose por clase. */
|
|
76
83
|
divergences: () =>
|
|
77
84
|
`${D.total} divergencias: ${D.normativa} normativas, ${D.aproximacion} aproximaciones, ${D["bug-aceptado"]} bugs aceptados (fuentes: ${D.geo} geométricas + ${D.capability} capability + ${D.structural} structural)`,
|
|
85
|
+
/** Presupuesto del manifiesto de divergencias — §9.2. */
|
|
86
|
+
"divergence-budget": () =>
|
|
87
|
+
`aproximacion: ${(D.budget || {}).aproximacion} congelado, bug-aceptado: ${(D.budget || {})["bug-aceptado"] ?? 0}, normativa sin tope`,
|
|
78
88
|
/** Celda de conteo unit (tests/unit) — formato "N archivos, M tests". */
|
|
79
89
|
"test-counts": () =>
|
|
80
90
|
`**${C.unitFiles} archivos${C.unitTests ? `, ${C.unitTests} tests` : ""}**`,
|
|
@@ -273,6 +283,9 @@ for (const file of targets) {
|
|
|
273
283
|
}
|
|
274
284
|
}
|
|
275
285
|
|
|
286
|
+
for (const m of missingCells)
|
|
287
|
+
errors.push(`docgen: ${m} — completa la fuente (catalog/semantics/schema)`);
|
|
288
|
+
|
|
276
289
|
if (errors.length) {
|
|
277
290
|
for (const e of errors) console.error(` ✗ ${e}`);
|
|
278
291
|
console.error(`[doc-sync] ${errors.length} drift(s)`);
|
package/cli/create-app.mjs
CHANGED
|
@@ -67,10 +67,12 @@ const baseScripts = {
|
|
|
67
67
|
dev: "elur dev --target web --app src/entry.ts --dev-fast",
|
|
68
68
|
"dev:android": "elur dev --target android --app src/entry.ts",
|
|
69
69
|
"dev:linux": "elur dev --target linux --app src/entry.ts --dev-fast",
|
|
70
|
+
"dev:windows": "elur dev --target windows --app src/entry.ts --dev-fast",
|
|
70
71
|
"build:web": "elur build --target web --app src/entry.ts",
|
|
71
72
|
"build:android":
|
|
72
73
|
"elur build --target android --apk --app src/entry.ts",
|
|
73
74
|
"build:linux": "elur build --target linux --app src/entry.ts",
|
|
75
|
+
"build:windows": "elur build --target windows --app src/entry.ts",
|
|
74
76
|
"gen:routes": "elur gen-routes --app src/app",
|
|
75
77
|
"sdui:catalog": "elur sdui catalog",
|
|
76
78
|
};
|
|
@@ -83,14 +85,14 @@ if (template === "sdui") {
|
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
// Contexto de entorno/dev/build embebido en el AGENTS.md de todo
|
|
86
|
-
// scaffold — condensa docs/INSTALACION-Y-DEV.md (
|
|
87
|
-
//
|
|
88
|
+
// scaffold — condensa docs/INSTALACION-Y-DEV.md (la doc completa vive
|
|
89
|
+
// en el paquete instalado; no se copia al proyecto).
|
|
88
90
|
const agentsDev = `## Entorno, desarrollo y build
|
|
89
91
|
|
|
90
92
|
Toolchain: el paquete instala el binario \`elur\`
|
|
91
93
|
(\`node_modules/.bin\`); los scripts de \`package.json\` ya lo invocan.
|
|
92
|
-
\`bun run doctor\` valida el entorno
|
|
93
|
-
|
|
94
|
+
\`bun run doctor\` valida el entorno de los cuatro targets
|
|
95
|
+
(web/android/linux/windows — \`--target <p>\` acota).
|
|
94
96
|
|
|
95
97
|
Prerequisitos por plataforma:
|
|
96
98
|
- web — bun + navegador.
|
|
@@ -103,9 +105,12 @@ Prerequisitos por plataforma:
|
|
|
103
105
|
compila aparte: \`cmake -B targets/linux/build && cmake --build
|
|
104
106
|
targets/linux/build\` (el scaffold no copia \`targets/linux\` — el
|
|
105
107
|
source está en \`node_modules/@elurjs/universal/targets/linux\`).
|
|
106
|
-
- windows —
|
|
107
|
-
|
|
108
|
-
/
|
|
108
|
+
- windows — nativo: VS Build Tools 2022 (VCTools + MSBuild + Windows
|
|
109
|
+
11 SDK); NuGet resuelve WindowsAppSDK/CppWinRT con \`msbuild
|
|
110
|
+
targets/windows/elur-windows.vcxproj /restore\`. El loop dev es
|
|
111
|
+
local — \`dev:windows\` relanza \`elur-windows.exe\`. Desde
|
|
112
|
+
Linux/macOS hacia un host remoto: \`ELUR_WIN_SSH=user@host[:port]\`
|
|
113
|
+
habilita scp + relanzado por \`schtasks\` (ADR-0220).
|
|
109
114
|
|
|
110
115
|
Qué hace cada script:
|
|
111
116
|
- \`bun run dev\` — web: \`targets/web/dist\` + servidor en
|
|
@@ -120,6 +125,11 @@ Qué hace cada script:
|
|
|
120
125
|
- \`bun run dev:linux\` — \`generated/elurApp.js\` + relanza
|
|
121
126
|
\`targets/linux/build/elur-linux\` si hay binario + display;
|
|
122
127
|
\`--full\` además corre \`cmake --build\` del host.
|
|
128
|
+
- \`bun run dev:windows\` — en Windows relanza
|
|
129
|
+
\`elur-windows.exe\` compilado (loop local nativo); desde
|
|
130
|
+
Linux/macOS con \`ELUR_WIN_SSH\` hace scp a \`ELUR_WIN_DIR\` y
|
|
131
|
+
relanza remoto por \`schtasks\` (ADR-0220); sin host disponible
|
|
132
|
+
solo deja el bundle en \`generated/\`.
|
|
123
133
|
- \`bun run gen:routes\` — regenera \`src/routes.gen.ts\` cuando hay
|
|
124
134
|
\`app/\` con \`page.ts\` (\`elur dev\` lo corre solo al detectarlo).
|
|
125
135
|
- Builds — \`build:web\` → \`targets/web/dist\` (app.js IIFE +
|
|
@@ -128,7 +138,9 @@ Qué hace cada script:
|
|
|
128
138
|
\`--splits\`/\`--minify\`; release exige \`--engine\`);
|
|
129
139
|
\`build:linux\` → \`generated/\` + registrar de módulos; packaging
|
|
130
140
|
linux: \`bun node_modules/@elurjs/universal/cli/package-linux.mjs
|
|
131
|
-
--format appimage|deb|rpm|flatpak\` (ADR-0186)
|
|
141
|
+
--format appimage|deb|rpm|flatpak\` (ADR-0186);
|
|
142
|
+
\`build:windows\` → \`generated/elurApp.{js,es5.qjsc}\` (el host
|
|
143
|
+
WinUI 3 se compila aparte en la máquina Windows, ADR-0220).
|
|
132
144
|
- \`elur dev --target <p>\` watch-reconstruye \`src/\`, \`packages/\` y
|
|
133
145
|
el entry (debounce 400 ms); flags: \`--dev-fast\`, \`--no-serve\`,
|
|
134
146
|
\`--full\`, \`--json\` (NDJSON).
|
|
@@ -434,8 +446,10 @@ ${agentsDev}
|
|
|
434
446
|
- Cada proyecto firma con sus llaves: documentos de otro proyecto se
|
|
435
447
|
rechazan (\`Ed25519 FAIL\`).
|
|
436
448
|
- Prerequisitos: \`bun run gateway\` corriendo + un cliente abierto
|
|
437
|
-
(\`bun run dev\`, \`dev:android\` con APK instalado,
|
|
438
|
-
con el binario en \`targets/linux/build/elur-linux
|
|
449
|
+
(\`bun run dev\`, \`dev:android\` con APK instalado, \`dev:linux\`
|
|
450
|
+
con el binario en \`targets/linux/build/elur-linux\`, o
|
|
451
|
+
\`dev:windows\` con el host compilado en Windows o remoto por
|
|
452
|
+
\`ELUR_WIN_SSH\`).
|
|
439
453
|
- Guía detallada del flujo y anti-patrones:
|
|
440
454
|
\`docs/skills/elur-sdui-mcp/SKILL.md\`
|
|
441
455
|
- Arquitectura código+superficie y modelo responsive:
|
package/cli/dev.mjs
CHANGED
|
@@ -93,11 +93,23 @@ function restartLinuxHost() {
|
|
|
93
93
|
linuxProc.on("exit", () => { /* el próximo rebuild relanza */ });
|
|
94
94
|
return true;
|
|
95
95
|
}
|
|
96
|
-
// ADR-0220: el
|
|
97
|
-
//
|
|
98
|
-
//
|
|
99
|
-
//
|
|
100
|
-
//
|
|
96
|
+
// ADR-0220: en Windows nativo el loop es local (rebuild → relaunch de
|
|
97
|
+
// elur-windows.exe, igual que Linux). Desde Linux/macOS el host corre
|
|
98
|
+
// remoto (VM/otra máquina) alcanzado por SSH — ELUR_WIN_SSH=user@host
|
|
99
|
+
// [:port] habilita scp a ELUR_WIN_DIR + relanzado por la scheduled task
|
|
100
|
+
// ELUR_WIN_TASK (debe existir y ejecutar elur-windows.exe sin --shot).
|
|
101
|
+
let winProc = null;
|
|
102
|
+
function findWindowsHostBin() {
|
|
103
|
+
for (const p of [
|
|
104
|
+
join(process.cwd(), "targets/windows/x64/Release/elur-windows.exe"),
|
|
105
|
+
join(process.cwd(), "targets/windows/x64/Debug/elur-windows.exe"),
|
|
106
|
+
join(root, "targets/windows/x64/Release/elur-windows.exe"),
|
|
107
|
+
join(root, "targets/windows/x64/Debug/elur-windows.exe"),
|
|
108
|
+
]) {
|
|
109
|
+
if (existsSync(p)) return p;
|
|
110
|
+
}
|
|
111
|
+
return null;
|
|
112
|
+
}
|
|
101
113
|
function winSshTarget() {
|
|
102
114
|
const raw = process.env.ELUR_WIN_SSH;
|
|
103
115
|
if (!raw) return null;
|
|
@@ -108,14 +120,26 @@ function winSshTarget() {
|
|
|
108
120
|
return { dest: raw, port: "22" };
|
|
109
121
|
}
|
|
110
122
|
function restartWindowsHost() {
|
|
111
|
-
|
|
112
|
-
if (!sshT || noServe) return false;
|
|
113
|
-
const winDir = process.env.ELUR_WIN_DIR ?? "C:/elur/generated";
|
|
114
|
-
const task = process.env.ELUR_WIN_TASK ?? "elur-app-dev";
|
|
123
|
+
if (noServe) return false;
|
|
115
124
|
const genDir = join(process.cwd(), "generated");
|
|
116
125
|
const appName = !devFast && existsSync(join(genDir, "elurApp.es5.qjsc"))
|
|
117
126
|
? "elurApp.es5.qjsc"
|
|
118
127
|
: "elurApp.js";
|
|
128
|
+
if (process.platform === "win32") {
|
|
129
|
+
const bin = findWindowsHostBin();
|
|
130
|
+
if (!bin) return false;
|
|
131
|
+
try { winProc?.kill(); } catch { }
|
|
132
|
+
winProc = spawn(bin, ["--dir", genDir, "--app", appName], {
|
|
133
|
+
cwd: process.cwd(),
|
|
134
|
+
stdio: jsonLogs ? ["ignore", 2, 2] : "inherit",
|
|
135
|
+
});
|
|
136
|
+
winProc.on("exit", () => { /* el próximo rebuild relanza */ });
|
|
137
|
+
return "local";
|
|
138
|
+
}
|
|
139
|
+
const sshT = winSshTarget();
|
|
140
|
+
if (!sshT) return false;
|
|
141
|
+
const winDir = process.env.ELUR_WIN_DIR ?? "C:/elur/generated";
|
|
142
|
+
const task = process.env.ELUR_WIN_TASK ?? "elur-app-dev";
|
|
119
143
|
const scpArgs = ["-P", sshT.port];
|
|
120
144
|
try {
|
|
121
145
|
run("scp", ...scpArgs, join(genDir, "elurSignals.js"),
|
|
@@ -124,22 +148,23 @@ function restartWindowsHost() {
|
|
|
124
148
|
`${sshT.dest}:${winDir}/`);
|
|
125
149
|
run("ssh", "-p", sshT.port, sshT.dest,
|
|
126
150
|
`taskkill /f /im elur-windows.exe 2>nul & schtasks /run /tn ${task}`);
|
|
127
|
-
return
|
|
151
|
+
return "ssh";
|
|
128
152
|
} catch {
|
|
129
153
|
return false;
|
|
130
154
|
}
|
|
131
155
|
}
|
|
132
156
|
const killSsr = () => { try { ssrProc?.kill("SIGKILL"); } catch { } };
|
|
133
157
|
const killLinux = () => { try { linuxProc?.kill("SIGTERM"); } catch { } };
|
|
158
|
+
const killWin = () => { try { winProc?.kill(); } catch { } };
|
|
134
159
|
const stopWeb = () => {
|
|
135
160
|
for (const c of webClients) c.close();
|
|
136
161
|
webClients.clear();
|
|
137
162
|
try { webServer?.stop(true); } catch { }
|
|
138
163
|
webServer = null;
|
|
139
164
|
};
|
|
140
|
-
process.on("exit", () => { killSsr(); killLinux(); stopWeb(); });
|
|
141
|
-
process.on("SIGINT", () => { killSsr(); killLinux(); stopWeb(); process.exit(130); });
|
|
142
|
-
process.on("SIGTERM", () => { killSsr(); killLinux(); stopWeb(); process.exit(143); });
|
|
165
|
+
process.on("exit", () => { killSsr(); killLinux(); killWin(); stopWeb(); });
|
|
166
|
+
process.on("SIGINT", () => { killSsr(); killLinux(); killWin(); stopWeb(); process.exit(130); });
|
|
167
|
+
process.on("SIGTERM", () => { killSsr(); killLinux(); killWin(); stopWeb(); process.exit(143); });
|
|
143
168
|
|
|
144
169
|
const WEB_DIST = () => join(process.cwd(), "targets/web/dist");
|
|
145
170
|
const WEB_MIME = {
|
|
@@ -410,9 +435,13 @@ function rebuild() {
|
|
|
410
435
|
log("dev.build.end", {
|
|
411
436
|
ok: true, ms: Date.now() - t0,
|
|
412
437
|
launch: launched,
|
|
413
|
-
msg: launched
|
|
414
|
-
? "bundle Windows
|
|
415
|
-
:
|
|
438
|
+
msg: launched === "local"
|
|
439
|
+
? "bundle Windows + elur-windows.exe relanzado"
|
|
440
|
+
: launched === "ssh"
|
|
441
|
+
? "bundle Windows copiado + app relanzada (SSH)"
|
|
442
|
+
: process.platform === "win32"
|
|
443
|
+
? "bundle Windows en generated/ (host sin compilar: msbuild elur-windows.vcxproj /restore)"
|
|
444
|
+
: "bundle Windows en generated/ (ELUR_WIN_SSH no definido)",
|
|
416
445
|
});
|
|
417
446
|
return;
|
|
418
447
|
}
|
package/cli/doctor.mjs
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
// entorno de desarrollo y reporta ok/falta por pieza. Exit ≠ 0 si
|
|
4
4
|
// falta algo requerido para el target indicado.
|
|
5
5
|
//
|
|
6
|
-
// bun cli/elur.mjs doctor [--target android|
|
|
6
|
+
// bun cli/elur.mjs doctor [--target web|android|linux|windows]
|
|
7
7
|
|
|
8
8
|
import { existsSync, readdirSync, readFileSync, statSync } from "node:fs";
|
|
9
9
|
import { join, relative } from "node:path";
|
|
10
|
-
import { execFileSync } from "node:child_process";
|
|
10
|
+
import { execFileSync, spawnSync } from "node:child_process";
|
|
11
11
|
|
|
12
12
|
const args = process.argv.slice(2);
|
|
13
13
|
const target = args.includes("--target")
|
|
@@ -25,6 +25,18 @@ function cmdVersion(cmd, argv = ["--version"]) {
|
|
|
25
25
|
} catch { return null; }
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
// Binarios cuya versión sale por stderr (ssh -V, scp -V) o cuyo éxito es
|
|
29
|
+
// simplemente resolver — devuelve la primera línea de cualquier stream.
|
|
30
|
+
function cmdProbe(cmd, argv) {
|
|
31
|
+
try {
|
|
32
|
+
const r = spawnSync(cmd, argv, { stdio: ["ignore", "pipe", "pipe"] });
|
|
33
|
+
if (r.error) return null;
|
|
34
|
+
const out = (r.stdout?.toString() || r.stderr?.toString() || "")
|
|
35
|
+
.split("\n")[0].trim();
|
|
36
|
+
return out || "presente";
|
|
37
|
+
} catch { return null; }
|
|
38
|
+
}
|
|
39
|
+
|
|
28
40
|
// T-6 — Google Play exige alineación 16KB en .so (nov 2025). Se leen
|
|
29
41
|
// los program headers ELF sin depender de readelf: PT_LOAD debe tener
|
|
30
42
|
// p_align ≥ 0x4000. Devuelve { align } o null si no es ELF válido.
|
|
@@ -164,6 +176,71 @@ if (target === "android" || !target) {
|
|
|
164
176
|
}
|
|
165
177
|
}
|
|
166
178
|
|
|
179
|
+
if (target === "linux" || !target) {
|
|
180
|
+
console.log("[doctor] linux");
|
|
181
|
+
const pkgConfig = cmdVersion("pkg-config");
|
|
182
|
+
if (!pkgConfig) {
|
|
183
|
+
fail("pkg-config no encontrado — el host GTK4 lo requiere");
|
|
184
|
+
} else {
|
|
185
|
+
ok(`pkg-config ${pkgConfig}`);
|
|
186
|
+
const pkgHas = (name) => {
|
|
187
|
+
try {
|
|
188
|
+
execFileSync("pkg-config", ["--exists", name],
|
|
189
|
+
{ stdio: "ignore" });
|
|
190
|
+
return cmdVersion("pkg-config", ["--modversion", name]);
|
|
191
|
+
} catch { return null; }
|
|
192
|
+
};
|
|
193
|
+
const gtk4 = pkgHas("gtk4");
|
|
194
|
+
gtk4 ? ok(`gtk4 ${gtk4}`)
|
|
195
|
+
: fail("libgtk-4-dev ausente (pkg-config --exists gtk4)");
|
|
196
|
+
const soup = pkgHas("libsoup-3.0");
|
|
197
|
+
soup ? ok(`libsoup-3.0 ${soup}`)
|
|
198
|
+
: warn("libsoup-3.0 dev ausente — ImageService no compila");
|
|
199
|
+
const fc = pkgHas("fontconfig");
|
|
200
|
+
fc ? ok(`fontconfig ${fc}`) : warn("fontconfig dev ausente");
|
|
201
|
+
}
|
|
202
|
+
const cmake = cmdVersion("cmake");
|
|
203
|
+
cmake ? ok(`${cmake}`) : fail("cmake requerido (build del host GTK4)");
|
|
204
|
+
const cxx = cmdVersion("c++") ?? cmdVersion("g++")
|
|
205
|
+
?? cmdVersion("clang++");
|
|
206
|
+
cxx ? ok(`compilador C++ ${cxx}`)
|
|
207
|
+
: fail("compilador C++20 ausente (c++/g++/clang++)");
|
|
208
|
+
(process.env.DISPLAY || process.env.WAYLAND_DISPLAY)
|
|
209
|
+
? ok(`display ${process.env.WAYLAND_DISPLAY ? "wayland" : "x11"}`)
|
|
210
|
+
: warn("sin DISPLAY/WAYLAND_DISPLAY — dev:linux construye pero no lanza");
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
if (target === "windows" || !target) {
|
|
214
|
+
console.log("[doctor] windows");
|
|
215
|
+
if (process.platform === "win32") {
|
|
216
|
+
// Desarrollo nativo (ADR-0220): VS Build Tools 2022 —
|
|
217
|
+
// VCTools + MSBuild + Windows 11 SDK; NuGet resuelve
|
|
218
|
+
// WindowsAppSDK/CppWinRT con msbuild /restore.
|
|
219
|
+
const msbuild = cmdVersion("msbuild", ["-version"])
|
|
220
|
+
?? cmdVersion("vswhere", ["-latest", "-property", "installationVersion"]);
|
|
221
|
+
msbuild ? ok(`msbuild/vswhere ${msbuild}`)
|
|
222
|
+
: fail("VS Build Tools 2022 ausente — msbuild no resoluble en PATH");
|
|
223
|
+
const cmakeW = cmdVersion("cmake");
|
|
224
|
+
cmakeW ? ok(`${cmakeW}`)
|
|
225
|
+
: warn("cmake ausente — solo se usa para quickjs.lib (prebuilt ya enlazado)");
|
|
226
|
+
const exe = existsSync("targets/windows/x64/Release/elur-windows.exe")
|
|
227
|
+
|| existsSync("targets/windows/x64/Debug/elur-windows.exe");
|
|
228
|
+
exe ? ok("elur-windows.exe compilado — dev:windows lo relanza")
|
|
229
|
+
: warn("host sin compilar: msbuild targets/windows/elur-windows.vcxproj /restore");
|
|
230
|
+
} else {
|
|
231
|
+
// Desarrollo hacia un host remoto (VM/otra máquina): el loop por
|
|
232
|
+
// SSH es opción, no requisito — en Windows el loop es local.
|
|
233
|
+
process.env.ELUR_WIN_SSH
|
|
234
|
+
? ok(`ELUR_WIN_SSH=${process.env.ELUR_WIN_SSH} — push+relaunch remoto`)
|
|
235
|
+
: warn("ELUR_WIN_SSH sin definir — dev:windows solo emite el bundle (loop remoto opcional)");
|
|
236
|
+
const ssh = cmdProbe("ssh", ["-V"]);
|
|
237
|
+
ssh ? ok(`ssh presente (${ssh})`)
|
|
238
|
+
: warn("ssh ausente — scp/relaunch remoto no disponible");
|
|
239
|
+
const scp = cmdProbe("scp", ["-V"]);
|
|
240
|
+
scp ? ok("scp presente") : warn("scp ausente — el bundle no viaja");
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
167
244
|
// ── Firma de release (T-6/3.4): qué fuente resuelve el signingConfig
|
|
168
245
|
// — keystore/release.properties (gitignored) o env ELUR_*; sin
|
|
169
246
|
// credenciales release firma debug (medible, no publicable). ──────
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
| DX y tooling | **B−** | Build/doctor/visual parity muy buenos; dev loop, templates, assets y testing harness faltan |
|
|
71
71
|
| Ecosistema / plugins | **D** | Solo i18n/kv/location; el resto es trabajo de paquetes |
|
|
72
72
|
| Seguridad | **B** | Firma/anti-replay/grants sólidos; CSPRNG host-backed ya implementado (ADR-0198); CRL/OCSP pendientes |
|
|
73
|
-
| Gobernanza / conformidad | **C** | Licencia y TCK listos;
|
|
73
|
+
| Gobernanza / conformidad | **C** | Licencia y TCK listos; npm publicado + repo público; cero terceros aún |
|
|
74
74
|
|
|
75
75
|
### 0.4 Recomendación estratégica
|
|
76
76
|
|
|
@@ -559,7 +559,7 @@ Lo que ya está es el mayor diferenciador del proyecto. Lo que falta:
|
|
|
559
559
|
- Sin PWA/service worker/offline.
|
|
560
560
|
- Sin OTA firmada con rollback (Zipline/Expo Updates como referencia).
|
|
561
561
|
- Sin brownfield (`ElurView`/`ElurFragment`).
|
|
562
|
-
- npm
|
|
562
|
+
- npm publicado; repo público; sin RFC; sin reportes de terceros.
|
|
563
563
|
|
|
564
564
|
**Recomendación:** `elur assets` + PWA es un fin de semana y desbloquea apps web completas; OTA/brownfield son P2; publicación/gobernanza es decisión del autor, no técnica.
|
|
565
565
|
|
package/docs/ESTADO.md
CHANGED
|
@@ -344,7 +344,7 @@ release ADR-0104 (elur.app.json, signing/AAB/splits, keep-rules,
|
|
|
344
344
|
| Módulos nativos ABI | 7 | `src/native/manifest.ts` | ADR-0113 (CESM `cas`/`wait`/`notify`/`buffer`/struct) |
|
|
345
345
|
| Estado de navegación | 1 | `src/router/types.ts` | ADR-0012 |
|
|
346
346
|
| Snapshot de estado app | 1 | `src/app/state.ts` | Restauración de proceso |
|
|
347
|
-
| Envelope de eventos | 5 | `src/events.ts` | ADR-
|
|
347
|
+
| Envelope de eventos | 5 | `src/events.ts` | ADR-0179 (gestos desktop: hover/longPress/pan/submit/shortcut) |
|
|
348
348
|
| Vocabulario semántico | 3 | `src/ir/semantics.ts` | ADR-0152 (expanded/invalid/required/valueMin-Max-Now-Text/actions/mixed) |
|
|
349
349
|
| Bytecode Hermes | HBC 99 | `cli/gen-hbc.mjs` | ADR-0016 |
|
|
350
350
|
| Bridge host ABI | 1 | `src/backends/native/index.ts` | ADR-0158 |
|
|
@@ -576,8 +576,9 @@ release ADR-0104 (elur.app.json, signing/AAB/splits, keep-rules,
|
|
|
576
576
|
backends (ADR-0109).
|
|
577
577
|
Detalle completo en `docs/IMPLEMENTACION-NATIVA-v5.md`.
|
|
578
578
|
- **Residuales no bloqueantes**: firma de publicación real (del
|
|
579
|
-
publisher, R7.1); publicación externa de paquetes
|
|
580
|
-
|
|
579
|
+
publisher, R7.1); ~~publicación externa de paquetes npm~~ (resuelto
|
|
580
|
+
2026-11 — `@elurjs/universal` público en registry.npmjs.org;
|
|
581
|
+
queda AAR/Maven — `deuda/i18n-libreria-separada.md` §residual);
|
|
581
582
|
aceptación final de la matriz R7.8.
|
|
582
583
|
(R7.3 cerrado 2026-09-30: el host loguea `dlAbi`/`moduleAbi`/
|
|
583
584
|
engine/fp del manifiesto al init — `MainActivity.kt`).
|
|
@@ -25,8 +25,8 @@ bun add @elurjs/universal
|
|
|
25
25
|
|
|
26
26
|
- `package.json` — dep `@elurjs/universal` (semver publicado; `--local`
|
|
27
27
|
enlaza el checkout del framework) + scripts `doctor`, `dev`,
|
|
28
|
-
`dev:android`, `dev:linux`, `
|
|
29
|
-
`build:linux`, `gen:routes`.
|
|
28
|
+
`dev:android`, `dev:linux`, `dev:windows`, `build:web`,
|
|
29
|
+
`build:android`, `build:linux`, `build:windows`, `gen:routes`.
|
|
30
30
|
- `elur.app.json` — identidad T-2: `name`, `applicationId`, `bundleId`,
|
|
31
31
|
`scheme`, `engine` (`hermes` por defecto), `versionName`/`versionCode`.
|
|
32
32
|
- `src/entry.ts` — composition root único (`mountApp`, ADR-0101) y
|
|
@@ -111,12 +111,16 @@ Scripts del scaffold (`create-app.mjs`):
|
|
|
111
111
|
`generated/` sin lanzar. `--full` además corre `cmake --build
|
|
112
112
|
targets/linux/build -j4`. Sin dev-fast el host carga
|
|
113
113
|
`elurApp.es5.qjsc` (bytecode) si existe.
|
|
114
|
-
- `elur dev --target windows` (ADR-0220):
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
114
|
+
- `bun run dev:windows` → `elur dev --target windows` (ADR-0220): en
|
|
115
|
+
Windows el loop es **nativo local** — relanza `elur-windows.exe`
|
|
116
|
+
(`targets/windows/x64/{Release,Debug}/` o el del paquete) igual que
|
|
117
|
+
el loop GTK en Linux. Toolchain: VS Build Tools 2022 (VCTools +
|
|
118
|
+
MSBuild + Windows 11 SDK); `msbuild elur-windows.vcxproj /restore`
|
|
119
|
+
resuelve los NuGet (WindowsAppSDK 1.6+, CppWinRT 2.0+). Desde
|
|
120
|
+
Linux/macOS el host corre remoto: `ELUR_WIN_SSH=user@host[:port]`
|
|
121
|
+
habilita `scp` de `elurSignals.js`+bundle a `ELUR_WIN_DIR` (default
|
|
122
|
+
`C:/elur/generated`) + `schtasks /run /tn ELUR_WIN_TASK` (default
|
|
123
|
+
`elur-app-dev`; la tarea debe existir y lanzar `elur-windows.exe`).
|
|
120
124
|
|
|
121
125
|
## 4. Build y distribución
|
|
122
126
|
|
package/docs/PENDIENTES.md
CHANGED
|
@@ -30,7 +30,7 @@ también el documento afectado en el mismo commit.
|
|
|
30
30
|
|
|
31
31
|
- [ ] **Spike iOS** — plan fase 0 acordado (2026-10-07): QuickJS-ng
|
|
32
32
|
vendoreado, ObjC++ thin bridge, UIKit. Ejecutable sin Mac hasta
|
|
33
|
-
T1–T5 vía runner `macos-*` de CI (
|
|
33
|
+
T1–T5 vía runner `macos-*` de CI (los minutos macOS facturan ×10).
|
|
34
34
|
Detalle: §5, item «Spike iOS».
|
|
35
35
|
- [ ] **Windows nativo** — siguiente target (ADR-0180). El más caro:
|
|
36
36
|
WinUI 3 no cross-compila con mingw, necesita Windows real o runner
|
|
@@ -60,11 +60,12 @@ también el documento afectado en el mismo commit.
|
|
|
60
60
|
|
|
61
61
|
### Bloqueado por el autor (gobernanza, no técnico)
|
|
62
62
|
|
|
63
|
-
- [
|
|
64
|
-
|
|
65
|
-
- [ ] **Firma OWFa +
|
|
66
|
-
|
|
67
|
-
|
|
63
|
+
- [x] **Repositorio público** — resuelto. La fuente del documento
|
|
64
|
+
(`v6-src/`) sigue interna por decisión (ADR-0178). Detalle: §12.
|
|
65
|
+
- [ ] **Firma OWFa + proceso RFC + registro de reportes `run-tck`**
|
|
66
|
+
de terceros. Detalle: §12. *(npm resuelto 2026-11:
|
|
67
|
+
`@elurjs/universal` público en registry.npmjs.org — el scaffold
|
|
68
|
+
`elur create` funciona desde el tarball.)*
|
|
68
69
|
- [ ] **Un tercero real** implementando un host desde el documento —
|
|
69
70
|
el estándar de conformidad está listo (TCK gate de versiones +
|
|
70
71
|
reporte JSON), falta el tercero. Detalle: §12.
|
|
@@ -397,9 +398,12 @@ reporte nuevo:
|
|
|
397
398
|
|
|
398
399
|
- iOS completo (ADR-0010, requiere Mac; spec lista en
|
|
399
400
|
`toolchain-y-distribucion.md` §9/T-7).
|
|
400
|
-
- Desktop nativo — Linux
|
|
401
|
-
macOS y ChromeOS pendientes (ADR-0180 — Tauri
|
|
402
|
-
|
|
401
|
+
- Desktop nativo — Linux (GTK4) y Windows (WinUI 3, ADR-0220)
|
|
402
|
+
implementados; macOS y ChromeOS pendientes (ADR-0180 — Tauri
|
|
403
|
+
descartado).
|
|
404
|
+
- ~~Publicación npm pública de `@elurjs/*`~~ — resuelto 2026-11
|
|
405
|
+
(`@elurjs/universal` público, `elur create` verificado desde el
|
|
406
|
+
tarball).
|
|
403
407
|
- SPM/xcframework (depende de iOS).
|
|
404
408
|
- Firma real de release (plumbing implementado, keystore del publisher).
|
|
405
409
|
- Maven Central/Sonatype real (repo remoto por env ya soportado).
|
|
@@ -741,8 +745,8 @@ sigue abierto:
|
|
|
741
745
|
`StateListDrawable`, `layoutParams` y `lineHeight` están calibrados
|
|
742
746
|
contra TextView. No hace falta hardware propio: runner macOS de CI
|
|
743
747
|
(GitHub `macos-*` — Apple Silicon con Xcode+Simulator) basta para
|
|
744
|
-
T1–T5 y la paridad geométrica en simulador; caveat:
|
|
745
|
-
|
|
748
|
+
T1–T5 y la paridad geométrica en simulador; caveat: los minutos
|
|
749
|
+
macOS facturan ×10 y el ciclo push→CI es lento. Linux ya llegó
|
|
746
750
|
primero con `native/Yoga` extraído y el ABI `ElurBridge`
|
|
747
751
|
especificado y ejercido por dos hosts.
|
|
748
752
|
|
|
@@ -1229,23 +1233,24 @@ regresión.»* Adoptado como estándar propio (ADR-0172).
|
|
|
1229
1233
|
especificación bajo CC-BY-4.0 + OWFa 1.0 (`LICENSE-SPEC.md`,
|
|
1230
1234
|
`OWFA-1.0-Elur-Universal.md`); `TRADEMARKS.md`; DCO 1.1 en
|
|
1231
1235
|
`CONTRIBUTING.md`; OWFa 1.0 suscrito por el titular
|
|
1232
|
-
(`OWFA-1.0-Elur-Universal.md`, `/s/` + 2026-10-12). **
|
|
1233
|
-
publicación del repo —
|
|
1234
|
-
|
|
1236
|
+
(`OWFA-1.0-Elur-Universal.md`, `/s/` + 2026-10-12). **Resuelto:**
|
|
1237
|
+
publicación del repo — el repositorio es público y la licencia es
|
|
1238
|
+
visible para terceros.
|
|
1235
1239
|
- [x] **Avisos OSS dentro del APK** (2026-10-13): `THIRD_PARTY_NOTICES.md`
|
|
1236
1240
|
→ `assets/oss-notices.txt` (gen-host-integration, cubierto por el gate
|
|
1237
1241
|
`--check`) + `ElurLicensesActivity` nativa. Deep link reservado
|
|
1238
1242
|
`scheme://app/_licenses` — MainActivity lo intercepta antes del router
|
|
1239
1243
|
JS (nativa, sin sesión). Verificado en Xiaomi: `am start -a VIEW -d
|
|
1240
1244
|
"mareas://app/_licenses"` → pantalla con el texto completo.
|
|
1241
|
-
- [
|
|
1245
|
+
- [x] **Repositorio público** (resuelto). La fuente del documento
|
|
1242
1246
|
maestro (`v6-src/`) es interna y vive fuera del repo por decisión —
|
|
1243
1247
|
el gate `check:doc-sync` corre local y en CI sobre `docs/*.md`;
|
|
1244
1248
|
el build reproducible es `bun run build:spec` (ADR-0178).
|
|
1245
1249
|
- [ ] **Gobernanza**: proceso de RFC para cambios de contrato, política
|
|
1246
1250
|
de versiones publicada, registro de reportes de conformidad.
|
|
1247
|
-
- [ ] **Publicación y firma**: npm `@elurjs
|
|
1248
|
-
exports a `.ts`), AAR en Maven,
|
|
1251
|
+
- [ ] **Publicación y firma**: ~~npm `@elurjs/*`~~ (resuelto
|
|
1252
|
+
2026-11 — público en registry, exports a `.ts`), AAR en Maven,
|
|
1253
|
+
provenance; **device farm** para T6.
|
|
1249
1254
|
- [x] **Mapeo estilo→Yoga en `native/layout`** (ADR-0174,
|
|
1250
1255
|
2026-10-13): tabla única en `native/layout/elur_layout_style.{h,cpp}`
|
|
1251
1256
|
— Android, Linux y el oráculo la compilan y llaman (corpus 31/31,
|
|
@@ -123,8 +123,8 @@ Fuera del repo — decisiones del autor:
|
|
|
123
123
|
- **Un tercero real** que escriba un host desde el documento.
|
|
124
124
|
- **Licencia** — resuelta en ADR-0173 (código Apache-2.0; documento
|
|
125
125
|
CC-BY-4.0 + OWFa 1.0; pendiente la firma del OWFa y la publicación) y
|
|
126
|
-
**repositorio público** (
|
|
127
|
-
|
|
126
|
+
**repositorio público** (resuelto — la fuente `v6-src/` del
|
|
127
|
+
documento sigue interna por decisión, no va al repo).
|
|
128
128
|
- **Gobernanza**: proceso de RFC para cambios de contrato, política de
|
|
129
129
|
versiones publicada y registro de reportes de conformidad.
|
|
130
130
|
- **Publicación** (npm `@elurjs/*` con provenance, AAR en Maven) y
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Estado: implementado (2026-10-12). OWFa 1.0 suscrito por el titular
|
|
4
4
|
(`/s/` + fecha en `OWFA-1.0-Elur-Universal.md`, versionado en este
|
|
5
|
-
repo).
|
|
5
|
+
repo). El repositorio es público.
|
|
6
6
|
|
|
7
7
|
## Contexto
|
|
8
8
|
|
|
@@ -83,12 +83,12 @@ dependencias (2026-10-12) verificó que ninguna fuerza la elección:
|
|
|
83
83
|
|
|
84
84
|
## Pendiente
|
|
85
85
|
|
|
86
|
-
- **Publicación**: el OWFa está suscrito (`/s/` + 2026-10-12)
|
|
87
|
-
promesa de patentes
|
|
88
|
-
repositorio
|
|
89
|
-
- **Repositorio público** —
|
|
90
|
-
|
|
91
|
-
|
|
86
|
+
- **Publicación**: el OWFa está suscrito (`/s/` + 2026-10-12) y la
|
|
87
|
+
promesa de patentes es visible para terceros ahora que el
|
|
88
|
+
repositorio es público.
|
|
89
|
+
- **Repositorio público** — resuelto: la licencia es visible para
|
|
90
|
+
cualquiera. (La fuente del documento `v6-src/` sigue interna por
|
|
91
|
+
decisión; lo que se publica es el PDF.)
|
|
92
92
|
- **npm/Maven con provenance y firma** (sigue en PENDIENTES §12).
|
|
93
93
|
- **Avisos OSS en el APK**: las dependencias Android tienen licencias
|
|
94
94
|
visibles en `THIRD_PARTY_NOTICES.md`, pero el paquete no muestra una
|
package/docs/adr/README.md
CHANGED
|
@@ -180,7 +180,7 @@ maestro §A.3.1.
|
|
|
180
180
|
| ADR-0170 | ImageService ADR-0071 en Linux: libsoup-3 async (finish en main context, single-thread intacto) + `gdk_texture_new_from_bytes` (PNG/JPEG/WebP); identidad src+bucket, waiters dedup por nodo, entrega solo si `imgSrc` vigente, cache LRU 16MB, presión live 64MB, cota 16MB/fetch, `data:` con estimación previa, local directo por `set_filename` | Implementado |
|
|
181
181
|
| ADR-0171 | `update-semantics` en Linux: vocabulario a11y por instancia GtkAccessible — `accessible-role` + update/reset de estados y propiedades; `accessible=false`→ROLE_NONE (STATE_HIDDEN no excluye del árbol); tristate `checked` real; `live`→`gtk_accessible_announce` con gate de frame de montaje (paridad ARIA) y limitación GTK de contexto AT perezoso; `actions` gap declarado | Implementado |
|
|
182
182
|
| ADR-0172 | Conformidad de host por terceros: ABI de host como dato normativo (`hostAbi.ts` → Apéndice I generado + test de deriva contra backend y hosts), `ElurBridge.bridgeAbi` declarado con fail-loud, carril de host en el TCK de sesión (identidad, frame, timers, ack), eco hostil y cero payloads inválidos en el de módulos, `run-tck --host` con gate de versiones y reporte JSON; estándar declarado: regresión hasta que un tercero pase | Implementado (parte técnica); tercero, publicación y gobernanza pendientes — licencia resuelta en ADR-0173 |
|
|
183
|
-
| ADR-0173 | Licencias: código bajo Apache-2.0 (`LICENSE`, `NOTICE`, `THIRD_PARTY_NOTICES.md`, `license` en los `package.json`); especificación bajo CC-BY-4.0 + OWFa 1.0 (cesión de copyright y non-assert de patentes para implementadores); `TRADEMARKS.md` («compatible con Elur» exige reporte `run-tck` en verde); DCO 1.1 en `CONTRIBUTING.md`; el build copia la licencia de cada fuente declarada junto a los `.ttf` en cada artefacto; textos MIT restaurados junto a Yoga vendorizado y `libhermesvm.so` | Implementado — pendiente firma material del OWFa
|
|
183
|
+
| ADR-0173 | Licencias: código bajo Apache-2.0 (`LICENSE`, `NOTICE`, `THIRD_PARTY_NOTICES.md`, `license` en los `package.json`); especificación bajo CC-BY-4.0 + OWFa 1.0 (cesión de copyright y non-assert de patentes para implementadores); `TRADEMARKS.md` («compatible con Elur» exige reporte `run-tck` en verde); DCO 1.1 en `CONTRIBUTING.md`; el build copia la licencia de cada fuente declarada junto a los `.ttf` en cada artefacto; textos MIT restaurados junto a Yoga vendorizado y `libhermesvm.so` | Implementado — pendiente firma material del OWFa; repo público |
|
|
184
184
|
| ADR-0174 | Tabla estilo→Yoga compartida en `native/layout` (`elur::layout::applyStyleProp`): una sola copia normativa que compilan Android, Linux y el oráculo — el oráculo valida la tabla que shipean los hosts; convergencia: `flex` numérico aplica en hosts, gap-% inaplicable, alignSelf/alignContent del oráculo corregidos | Implementado |
|
|
185
185
|
| ADR-0175 | Easings con nombre normativos: cada nombre → cubic-bezier exacta de CSS Easing L1 (+ `spring` ADR-0165) en los cuatro evaluadores — `easing.ts` (solver Newton-Raphson+bisección), `animEase` Linux, `navInterpolator` Android vía PathInterpolator; default documentado `ease-out` | Implementado |
|
|
186
186
|
| ADR-0176 | Harness de plataforma Linux (T6): `tck-platform-linux.mjs` + probe AT-SPI — 17/17 sobre X real; bug corregido: `snprintf("%.4f")` rompía JSON en locale es_ES (scroll/pointer → `g_ascii_dtostr`); gaps declarados `label`@text, `dir`, `as`, XY_SCREEN | Implementado |
|
package/docs/doc-data.json
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"eventsCapability": 22,
|
|
34
34
|
"universalEvents": 21,
|
|
35
35
|
"unitFiles": 138,
|
|
36
|
-
"unitTests":
|
|
36
|
+
"unitTests": 1494,
|
|
37
37
|
"parityLanes": 58,
|
|
38
38
|
"stressLanes": 1,
|
|
39
39
|
"wireCorpusCases": 12,
|
|
@@ -1250,92 +1250,110 @@
|
|
|
1250
1250
|
"label": {
|
|
1251
1251
|
"web": "img → alt; resto → aria-label",
|
|
1252
1252
|
"android": "View.contentDescription",
|
|
1253
|
-
"linux": "GTK_ACCESSIBLE_PROPERTY_LABEL (en `text`, GtkLabel usa su propio texto — aprox)"
|
|
1253
|
+
"linux": "GTK_ACCESSIBLE_PROPERTY_LABEL (en `text`, GtkLabel usa su propio texto — aprox)",
|
|
1254
|
+
"windows": "AutomationProperties.SetName (UIA Name — verificado UIA Win10 22H2 + Win11 empaquetado)"
|
|
1254
1255
|
},
|
|
1255
1256
|
"accessible": {
|
|
1256
1257
|
"web": "false → aria-hidden=\"true\"",
|
|
1257
1258
|
"android": "IMPORTANT_FOR_ACCESSIBILITY_NO / YES",
|
|
1258
|
-
"linux": "false → accessible-role NONE (fuera del árbol AT); true restaura el rol"
|
|
1259
|
+
"linux": "false → accessible-role NONE (fuera del árbol AT); true restaura el rol",
|
|
1260
|
+
"windows": "AutomationProperties.SetAccessibilityView (false → Raw, fuera del árbol UIA; true → Control)"
|
|
1259
1261
|
},
|
|
1260
1262
|
"role": {
|
|
1261
1263
|
"web": "atributo role",
|
|
1262
1264
|
"android": "AccessibilityNodeInfoCompat.roleDescription",
|
|
1263
|
-
"linux": "accessible-role por instancia + ROLE_DESCRIPTION con el nombre ARIA"
|
|
1265
|
+
"linux": "accessible-role por instancia + ROLE_DESCRIPTION con el nombre ARIA",
|
|
1266
|
+
"windows": "AutomationProperties.SetLocalizedControlType + HeadingLevel en text h1-h6"
|
|
1264
1267
|
},
|
|
1265
1268
|
"live": {
|
|
1266
1269
|
"web": "aria-live",
|
|
1267
1270
|
"android": "View.accessibilityLiveRegion (1=polite, 2=assertive)",
|
|
1268
|
-
"linux": "gtk_accessible_announce al cambiar el texto (polite/assertive)"
|
|
1271
|
+
"linux": "gtk_accessible_announce al cambiar el texto (polite/assertive)",
|
|
1272
|
+
"windows": "AutomationProperties.SetLiveSetting (polite/assertive → evento UIA LiveRegionChanged)"
|
|
1269
1273
|
},
|
|
1270
1274
|
"checked": {
|
|
1271
1275
|
"web": "input → .checked (a11y nativa; \"mixed\" → indeterminate); resto → aria-checked",
|
|
1272
1276
|
"android": "CompoundButton.isChecked + nodeInfo.checkable/checked; \"mixed\" → stateDescription",
|
|
1273
|
-
"linux": "GtkSwitch.active + GTK_ACCESSIBLE_STATE_CHECKED (\"mixed\" → tristate nativo)"
|
|
1277
|
+
"linux": "GtkSwitch.active + GTK_ACCESSIBLE_STATE_CHECKED (\"mixed\" → tristate nativo)",
|
|
1278
|
+
"windows": "IsOn/IsChecked del control → patrón Toggle UIA (\"mixed\" → indeterminate)"
|
|
1274
1279
|
},
|
|
1275
1280
|
"selected": {
|
|
1276
1281
|
"web": "aria-selected",
|
|
1277
1282
|
"android": "View.isSelected",
|
|
1278
|
-
"linux": "GTK_ACCESSIBLE_STATE_SELECTED"
|
|
1283
|
+
"linux": "GTK_ACCESSIBLE_STATE_SELECTED",
|
|
1284
|
+
"windows": "peer ElurA11y → patrón SelectionItem"
|
|
1279
1285
|
},
|
|
1280
1286
|
"disabled": {
|
|
1281
1287
|
"web": "aria-disabled + atributo disabled en form elements",
|
|
1282
1288
|
"android": "View.isEnabled = !v",
|
|
1283
|
-
"linux": "gtk_widget_set_sensitive + GTK_ACCESSIBLE_STATE_DISABLED"
|
|
1289
|
+
"linux": "gtk_widget_set_sensitive + GTK_ACCESSIBLE_STATE_DISABLED",
|
|
1290
|
+
"windows": "Control.IsEnabled = !v + IsHitTestVisible (UIA lo hereda del control)"
|
|
1284
1291
|
},
|
|
1285
1292
|
"hint": {
|
|
1286
1293
|
"web": "input/textarea → aria-placeholder; resto → aria-description",
|
|
1287
1294
|
"android": "nodeInfo.hintText",
|
|
1288
|
-
"linux": "GTK_ACCESSIBLE_PROPERTY_DESCRIPTION"
|
|
1295
|
+
"linux": "GTK_ACCESSIBLE_PROPERTY_DESCRIPTION",
|
|
1296
|
+
"windows": "AutomationProperties.SetHelpText (UIA HelpText)"
|
|
1289
1297
|
},
|
|
1290
1298
|
"focused": {
|
|
1291
1299
|
"web": "el.focus() / el.blur()",
|
|
1292
1300
|
"android": "requestFocus() / clearFocus()",
|
|
1293
|
-
"linux": "gtk_widget_grab_focus / gtk_root_set_focus(NULL)"
|
|
1301
|
+
"linux": "gtk_widget_grab_focus / gtk_root_set_focus(NULL)",
|
|
1302
|
+
"windows": "Focus(Programmatic) del control interno (difere a Loaded si el nodo aún no está en el árbol)"
|
|
1294
1303
|
},
|
|
1295
1304
|
"focusable": {
|
|
1296
1305
|
"web": "tabindex=0 | -1; null retira",
|
|
1297
1306
|
"android": "View.isFocusable",
|
|
1298
|
-
"linux": "gtk_widget_set_focusable; null → default del widget"
|
|
1307
|
+
"linux": "gtk_widget_set_focusable; null → default del widget",
|
|
1308
|
+
"windows": "IsTabStop del control interno"
|
|
1299
1309
|
},
|
|
1300
1310
|
"expanded": {
|
|
1301
1311
|
"web": "aria-expanded",
|
|
1302
1312
|
"android": "nodeInfo.addAction(ACTION_EXPAND|ACTION_COLLAPSE) → evento `action`",
|
|
1303
|
-
"linux": "GTK_ACCESSIBLE_STATE_EXPANDED"
|
|
1313
|
+
"linux": "GTK_ACCESSIBLE_STATE_EXPANDED",
|
|
1314
|
+
"windows": "peer ElurA11y → patrón ExpandCollapse"
|
|
1304
1315
|
},
|
|
1305
1316
|
"invalid": {
|
|
1306
1317
|
"web": "aria-invalid",
|
|
1307
1318
|
"android": "nodeInfo.setContentInvalid(on)",
|
|
1308
|
-
"linux": "GTK_ACCESSIBLE_STATE_INVALID (true/grammar/spelling)"
|
|
1319
|
+
"linux": "GTK_ACCESSIBLE_STATE_INVALID (true/grammar/spelling)",
|
|
1320
|
+
"windows": "AutomationProperties.SetIsDataValidForForm(!v) (≡ aria-invalid)"
|
|
1309
1321
|
},
|
|
1310
1322
|
"required": {
|
|
1311
1323
|
"web": "aria-required + atributo required en input/textarea/select",
|
|
1312
1324
|
"android": "nodeInfo.stateDescription (aprox — sin flag nativo)",
|
|
1313
|
-
"linux": "GTK_ACCESSIBLE_PROPERTY_REQUIRED"
|
|
1325
|
+
"linux": "GTK_ACCESSIBLE_PROPERTY_REQUIRED",
|
|
1326
|
+
"windows": "AutomationProperties.SetIsRequiredForForm"
|
|
1314
1327
|
},
|
|
1315
1328
|
"valueMin": {
|
|
1316
1329
|
"web": "aria-valuemin",
|
|
1317
1330
|
"android": "nodeInfo.rangeInfo.min (RangeInfoCompat — requiere min+max+now)",
|
|
1318
|
-
"linux": "GTK_ACCESSIBLE_PROPERTY_VALUE_MIN"
|
|
1331
|
+
"linux": "GTK_ACCESSIBLE_PROPERTY_VALUE_MIN",
|
|
1332
|
+
"windows": "peer ElurA11y → patrón RangeValue (min)"
|
|
1319
1333
|
},
|
|
1320
1334
|
"valueMax": {
|
|
1321
1335
|
"web": "aria-valuemax",
|
|
1322
1336
|
"android": "nodeInfo.rangeInfo.max (RangeInfoCompat — requiere min+max+now)",
|
|
1323
|
-
"linux": "GTK_ACCESSIBLE_PROPERTY_VALUE_MAX"
|
|
1337
|
+
"linux": "GTK_ACCESSIBLE_PROPERTY_VALUE_MAX",
|
|
1338
|
+
"windows": "peer ElurA11y → patrón RangeValue (max)"
|
|
1324
1339
|
},
|
|
1325
1340
|
"valueNow": {
|
|
1326
1341
|
"web": "aria-valuenow",
|
|
1327
1342
|
"android": "nodeInfo.rangeInfo.current (RangeInfoCompat — requiere min+max+now)",
|
|
1328
|
-
"linux": "GTK_ACCESSIBLE_PROPERTY_VALUE_NOW"
|
|
1343
|
+
"linux": "GTK_ACCESSIBLE_PROPERTY_VALUE_NOW",
|
|
1344
|
+
"windows": "peer ElurA11y → patrón RangeValue (current)"
|
|
1329
1345
|
},
|
|
1330
1346
|
"valueText": {
|
|
1331
1347
|
"web": "aria-valuetext",
|
|
1332
1348
|
"android": "nodeInfo.stateDescription (aprox — TalkBack lo lee como estado)",
|
|
1333
|
-
"linux": "GTK_ACCESSIBLE_PROPERTY_VALUE_TEXT"
|
|
1349
|
+
"linux": "GTK_ACCESSIBLE_PROPERTY_VALUE_TEXT",
|
|
1350
|
+
"windows": "peer ElurA11y → patrón Value (texto del valor)"
|
|
1334
1351
|
},
|
|
1335
1352
|
"actions": {
|
|
1336
1353
|
"web": "sin equivalente DOM (evento `elur:action` sí enlaza)",
|
|
1337
1354
|
"android": "nodeInfo.addAction(AccessibilityActionCompat) → performAccessibilityAction → `action`",
|
|
1338
|
-
"linux": "GAction por instancia (muxer del widget, grupo 'elur') → AT-SPI Action.DoAction → `action` — AT anuncia 'elur.<id>', sin canal para la etiqueta (ADR-0190)"
|
|
1355
|
+
"linux": "GAction por instancia (muxer del widget, grupo 'elur') → AT-SPI Action.DoAction → `action` — AT anuncia 'elur.<id>', sin canal para la etiqueta (ADR-0190)",
|
|
1356
|
+
"windows": "sin canal UIA por instancia — gap declarado (acciones custom por peer pendiente)"
|
|
1339
1357
|
}
|
|
1340
1358
|
},
|
|
1341
1359
|
"elements": {
|
|
@@ -2967,5 +2985,5 @@
|
|
|
2967
2985
|
"bug-aceptado": 0
|
|
2968
2986
|
}
|
|
2969
2987
|
},
|
|
2970
|
-
"unitTestsMeasured": "2026-11-
|
|
2988
|
+
"unitTestsMeasured": "2026-11-20"
|
|
2971
2989
|
}
|
|
@@ -80,7 +80,7 @@ Estado real de las piezas compartidas:
|
|
|
80
80
|
|
|
81
81
|
## 3. Arquitectura propuesta — dónde vive cada pieza
|
|
82
82
|
|
|
83
|
-
```
|
|
83
|
+
```text
|
|
84
84
|
JS (backends/native) ──ops DL──► ElurBridge.flush/flushBinary/flushOps
|
|
85
85
|
│
|
|
86
86
|
┌───────────────────────┴───────────────────────┐
|
|
@@ -144,7 +144,7 @@ props ya serializadas, sin ops nuevas:
|
|
|
144
144
|
| `list`/`native-list` | ventana virtual propia | §4.5 |
|
|
145
145
|
| `scroll` | transform de subárbol + clip | §4.4 |
|
|
146
146
|
| `canvas` | el path ADR-0123 existente se funde aquí | draw-list in-line en el frame |
|
|
147
|
-
| `platform-view` | **no pinta Skia** → overlay real (§5) |
|
|
147
|
+
| `platform-view` | **no pinta Skia** → overlay real (§5) | — |
|
|
148
148
|
|
|
149
149
|
Retained mode: la tanda de ops muta el árbol; `requestFrame`/`Choreographer`
|
|
150
150
|
dispara un solo render por vsync — el walk dibuja solo la sub-región
|
|
@@ -273,7 +273,7 @@ El gate exige Graphite→Ganesh automático. La lib tiene ambos backends
|
|
|
273
273
|
compilados; la selección es runtime y el orden depende de la
|
|
274
274
|
plataforma:
|
|
275
275
|
|
|
276
|
-
```
|
|
276
|
+
```text
|
|
277
277
|
Android: Graphite/Vulkan (API 26+ cobertura) → Ganesh GL → raster CPU
|
|
278
278
|
iOS: Graphite/Metal (CAMetalLayer) → raster CPU (Ganesh GL
|
|
279
279
|
solo vía ANGLE/GL interop — no nativo en iOS moderno)
|
|
@@ -293,7 +293,7 @@ citén qué backend midieron — el PoC midió Ganesh 0.5 % jank vs
|
|
|
293
293
|
### 4.11 El mismo diseño por plataforma — la costura del vtable
|
|
294
294
|
|
|
295
295
|
Todo lo de §4.x vive en `native/` y corre igual en cualquier target;
|
|
296
|
-
lo que cambia por SO es **el glue de targets/<p
|
|
296
|
+
lo que cambia por SO es **el glue de `targets/<p>/`** (la misma
|
|
297
297
|
partición que ya gobierna `targets-nativos-nuevos.md` — por eso el
|
|
298
298
|
diseño sirve igual para iOS el día que exista):
|
|
299
299
|
|
|
@@ -424,7 +424,7 @@ moverse con el scrollOffset del nativo — listener por frame barato).
|
|
|
424
424
|
`password` en el painter (stepper UTF-8 en el árbol — sin glib).
|
|
425
425
|
- [x] IME delegado al nodo (2026-10-18): `GtkIMMulticontext` propio
|
|
426
426
|
del applicator — commit → muta `props["value"]` del nodo enfocado
|
|
427
|
-
|
|
427
|
+
→ remide, repinta y eventos `input`/composition (la interfaz
|
|
428
428
|
`org.a11y.atspi.EditableText` queda restringida a
|
|
429
429
|
`GTK_IS_EDITABLE` → gap declarado de plataforma para accs
|
|
430
430
|
virtuales: la escritura por AT pasa por el IMContext real; la
|
package/package.json
CHANGED
package/src/ir/schema.ts
CHANGED
|
@@ -718,13 +718,13 @@ export const PROPS_CAPABILITY: Readonly<Record<string, CapabilityEntry>> = {
|
|
|
718
718
|
min: {
|
|
719
719
|
web: "approx", android: "exact", linux: "exact",
|
|
720
720
|
windows: "approx",
|
|
721
|
-
note: "web: propiedad DOM genérica (input range); windows: Slider.Minimum cableado; slider interactivo verificado en
|
|
721
|
+
note: "web: propiedad DOM genérica (input range); windows: Slider.Minimum cableado; slider interactivo verificado en Win11 empaquetado (2026-11-19)",
|
|
722
722
|
divergence: { class: "aproximacion", adr: "doc:v4.1 §6.2.2" },
|
|
723
723
|
},
|
|
724
724
|
max: {
|
|
725
725
|
web: "approx", android: "exact", linux: "exact",
|
|
726
726
|
windows: "approx",
|
|
727
|
-
note: "web: propiedad DOM genérica (input range); windows: Slider.Maximum cableado; slider interactivo verificado en
|
|
727
|
+
note: "web: propiedad DOM genérica (input range); windows: Slider.Maximum cableado; slider interactivo verificado en Win11 empaquetado (2026-11-19)",
|
|
728
728
|
divergence: { class: "aproximacion", adr: "doc:v4.1 §6.2.2" },
|
|
729
729
|
},
|
|
730
730
|
src: { web: "exact", android: "exact", linux: "exact",
|
package/src/ir/semantics.ts
CHANGED
|
@@ -43,6 +43,8 @@ export const SEMANTIC_PROPS: Readonly<Record<SemanticKey, {
|
|
|
43
43
|
android: string;
|
|
44
44
|
/** Host GTK4 → GtkAccessible / AT-SPI (ADR-0171). */
|
|
45
45
|
linux: string;
|
|
46
|
+
/** Host WinUI 3 → AutomationProperties / peer ElurA11y (ADR-0220). */
|
|
47
|
+
windows: string;
|
|
46
48
|
}>> = {
|
|
47
49
|
// Nombre accesible del nodo — TalkBack/VoiceOver/screen reader lo
|
|
48
50
|
// leen en lugar del contenido.
|
|
@@ -50,12 +52,14 @@ export const SEMANTIC_PROPS: Readonly<Record<SemanticKey, {
|
|
|
50
52
|
web: "img → alt; resto → aria-label",
|
|
51
53
|
android: "View.contentDescription",
|
|
52
54
|
linux: "GTK_ACCESSIBLE_PROPERTY_LABEL (en `text`, GtkLabel usa su propio texto — aprox)",
|
|
55
|
+
windows: "AutomationProperties.SetName (UIA Name — verificado UIA Win10 22H2 + Win11 empaquetado)",
|
|
53
56
|
},
|
|
54
57
|
// false saca al nodo del árbol de a11y (decorativo); default = true.
|
|
55
58
|
accessible: {
|
|
56
59
|
web: "false → aria-hidden=\"true\"",
|
|
57
60
|
android: "IMPORTANT_FOR_ACCESSIBILITY_NO / YES",
|
|
58
61
|
linux: "false → accessible-role NONE (fuera del árbol AT); true restaura el rol",
|
|
62
|
+
windows: "AutomationProperties.SetAccessibilityView (false → Raw, fuera del árbol UIA; true → Control)",
|
|
59
63
|
},
|
|
60
64
|
// Rol a11y declarado (button, header, img, link…) — distinto del
|
|
61
65
|
// tipo visual del nodo: un <row> con role="button" se anuncia como
|
|
@@ -64,6 +68,7 @@ export const SEMANTIC_PROPS: Readonly<Record<SemanticKey, {
|
|
|
64
68
|
web: "atributo role",
|
|
65
69
|
android: "AccessibilityNodeInfoCompat.roleDescription",
|
|
66
70
|
linux: "accessible-role por instancia + ROLE_DESCRIPTION con el nombre ARIA",
|
|
71
|
+
windows: "AutomationProperties.SetLocalizedControlType + HeadingLevel en text h1-h6",
|
|
67
72
|
},
|
|
68
73
|
// Región viva: los cambios de texto se anuncian solos.
|
|
69
74
|
// "polite" (espera silencio) | "assertive" (interrumpe).
|
|
@@ -71,6 +76,7 @@ export const SEMANTIC_PROPS: Readonly<Record<SemanticKey, {
|
|
|
71
76
|
web: "aria-live",
|
|
72
77
|
android: "View.accessibilityLiveRegion (1=polite, 2=assertive)",
|
|
73
78
|
linux: "gtk_accessible_announce al cambiar el texto (polite/assertive)",
|
|
79
|
+
windows: "AutomationProperties.SetLiveSetting (polite/assertive → evento UIA LiveRegionChanged)",
|
|
74
80
|
},
|
|
75
81
|
// Estado marcado — materializa widget Y a11y (ADR-0117): un
|
|
76
82
|
// CompoundButton marcado se anuncia "checked" sin trabajo extra.
|
|
@@ -81,11 +87,13 @@ export const SEMANTIC_PROPS: Readonly<Record<SemanticKey, {
|
|
|
81
87
|
web: "input → .checked (a11y nativa; \"mixed\" → indeterminate); resto → aria-checked",
|
|
82
88
|
android: "CompoundButton.isChecked + nodeInfo.checkable/checked; \"mixed\" → stateDescription",
|
|
83
89
|
linux: "GtkSwitch.active + GTK_ACCESSIBLE_STATE_CHECKED (\"mixed\" → tristate nativo)",
|
|
90
|
+
windows: "IsOn/IsChecked del control → patrón Toggle UIA (\"mixed\" → indeterminate)",
|
|
84
91
|
},
|
|
85
92
|
selected: {
|
|
86
93
|
web: "aria-selected",
|
|
87
94
|
android: "View.isSelected",
|
|
88
95
|
linux: "GTK_ACCESSIBLE_STATE_SELECTED",
|
|
96
|
+
windows: "peer ElurA11y → patrón SelectionItem",
|
|
89
97
|
},
|
|
90
98
|
// disabled=true también bloquea interacción — es la semántica a11y
|
|
91
99
|
// correcta (un nodo deshabilitado no recibe foco ni eventos).
|
|
@@ -93,12 +101,14 @@ export const SEMANTIC_PROPS: Readonly<Record<SemanticKey, {
|
|
|
93
101
|
web: "aria-disabled + atributo disabled en form elements",
|
|
94
102
|
android: "View.isEnabled = !v",
|
|
95
103
|
linux: "gtk_widget_set_sensitive + GTK_ACCESSIBLE_STATE_DISABLED",
|
|
104
|
+
windows: "Control.IsEnabled = !v + IsHitTestVisible (UIA lo hereda del control)",
|
|
96
105
|
},
|
|
97
106
|
// Descripción auxiliar anunciada tras el label (placeholder-like).
|
|
98
107
|
hint: {
|
|
99
108
|
web: "input/textarea → aria-placeholder; resto → aria-description",
|
|
100
109
|
android: "nodeInfo.hintText",
|
|
101
110
|
linux: "GTK_ACCESSIBLE_PROPERTY_DESCRIPTION",
|
|
111
|
+
windows: "AutomationProperties.SetHelpText (UIA HelpText)",
|
|
102
112
|
},
|
|
103
113
|
// Foco programático: true toma foco (también a11y en android), false
|
|
104
114
|
// lo libera; null no-op.
|
|
@@ -106,11 +116,13 @@ export const SEMANTIC_PROPS: Readonly<Record<SemanticKey, {
|
|
|
106
116
|
web: "el.focus() / el.blur()",
|
|
107
117
|
android: "requestFocus() / clearFocus()",
|
|
108
118
|
linux: "gtk_widget_grab_focus / gtk_root_set_focus(NULL)",
|
|
119
|
+
windows: "Focus(Programmatic) del control interno (difere a Loaded si el nodo aún no está en el árbol)",
|
|
109
120
|
},
|
|
110
121
|
focusable: {
|
|
111
122
|
web: "tabindex=0 | -1; null retira",
|
|
112
123
|
android: "View.isFocusable",
|
|
113
124
|
linux: "gtk_widget_set_focusable; null → default del widget",
|
|
125
|
+
windows: "IsTabStop del control interno",
|
|
114
126
|
},
|
|
115
127
|
// ADR-0152 — estado expandido/colapsado (acordeón, disclosure).
|
|
116
128
|
// Android no tiene flag de expanded en nodeInfo <API36: el
|
|
@@ -121,6 +133,7 @@ export const SEMANTIC_PROPS: Readonly<Record<SemanticKey, {
|
|
|
121
133
|
web: "aria-expanded",
|
|
122
134
|
android: "nodeInfo.addAction(ACTION_EXPAND|ACTION_COLLAPSE) → evento `action`",
|
|
123
135
|
linux: "GTK_ACCESSIBLE_STATE_EXPANDED",
|
|
136
|
+
windows: "peer ElurA11y → patrón ExpandCollapse",
|
|
124
137
|
},
|
|
125
138
|
// Estado de validación. Android materializa el flag nativo
|
|
126
139
|
// (TalkBack anuncia "invalid"); el texto del error es contenido
|
|
@@ -129,6 +142,7 @@ export const SEMANTIC_PROPS: Readonly<Record<SemanticKey, {
|
|
|
129
142
|
web: "aria-invalid",
|
|
130
143
|
android: "nodeInfo.setContentInvalid(on)",
|
|
131
144
|
linux: "GTK_ACCESSIBLE_STATE_INVALID (true/grammar/spelling)",
|
|
145
|
+
windows: "AutomationProperties.SetIsDataValidForForm(!v) (≡ aria-invalid)",
|
|
132
146
|
},
|
|
133
147
|
// Campo obligatorio. Android no tiene flag → aproximación por
|
|
134
148
|
// stateDescription localizada (elur_a11y_required).
|
|
@@ -136,6 +150,7 @@ export const SEMANTIC_PROPS: Readonly<Record<SemanticKey, {
|
|
|
136
150
|
web: "aria-required + atributo required en input/textarea/select",
|
|
137
151
|
android: "nodeInfo.stateDescription (aprox — sin flag nativo)",
|
|
138
152
|
linux: "GTK_ACCESSIBLE_PROPERTY_REQUIRED",
|
|
153
|
+
windows: "AutomationProperties.SetIsRequiredForForm",
|
|
139
154
|
},
|
|
140
155
|
// Rango accesible para widgets CUSTOM (slider de estrellas, etc.) —
|
|
141
156
|
// los nativos (SeekBar/input range) ya lo exponen solos. Android
|
|
@@ -145,16 +160,19 @@ export const SEMANTIC_PROPS: Readonly<Record<SemanticKey, {
|
|
|
145
160
|
web: "aria-valuemin",
|
|
146
161
|
android: "nodeInfo.rangeInfo.min (RangeInfoCompat — requiere min+max+now)",
|
|
147
162
|
linux: "GTK_ACCESSIBLE_PROPERTY_VALUE_MIN",
|
|
163
|
+
windows: "peer ElurA11y → patrón RangeValue (min)",
|
|
148
164
|
},
|
|
149
165
|
valueMax: {
|
|
150
166
|
web: "aria-valuemax",
|
|
151
167
|
android: "nodeInfo.rangeInfo.max (RangeInfoCompat — requiere min+max+now)",
|
|
152
168
|
linux: "GTK_ACCESSIBLE_PROPERTY_VALUE_MAX",
|
|
169
|
+
windows: "peer ElurA11y → patrón RangeValue (max)",
|
|
153
170
|
},
|
|
154
171
|
valueNow: {
|
|
155
172
|
web: "aria-valuenow",
|
|
156
173
|
android: "nodeInfo.rangeInfo.current (RangeInfoCompat — requiere min+max+now)",
|
|
157
174
|
linux: "GTK_ACCESSIBLE_PROPERTY_VALUE_NOW",
|
|
175
|
+
windows: "peer ElurA11y → patrón RangeValue (current)",
|
|
158
176
|
},
|
|
159
177
|
// Texto del valor ("3 de 5 estrellas") — para rangos cuyo número
|
|
160
178
|
// crudo no se explica solo. Android lo compone en stateDescription.
|
|
@@ -162,6 +180,7 @@ export const SEMANTIC_PROPS: Readonly<Record<SemanticKey, {
|
|
|
162
180
|
web: "aria-valuetext",
|
|
163
181
|
android: "nodeInfo.stateDescription (aprox — TalkBack lo lee como estado)",
|
|
164
182
|
linux: "GTK_ACCESSIBLE_PROPERTY_VALUE_TEXT",
|
|
183
|
+
windows: "peer ElurA11y → patrón Value (texto del valor)",
|
|
165
184
|
},
|
|
166
185
|
// Acciones a11y personalizadas: CSV "id|Etiqueta" (label opcional —
|
|
167
186
|
// sin `|` la etiqueta es el id). La app enlaza el handler con el
|
|
@@ -173,6 +192,7 @@ export const SEMANTIC_PROPS: Readonly<Record<SemanticKey, {
|
|
|
173
192
|
web: "sin equivalente DOM (evento `elur:action` sí enlaza)",
|
|
174
193
|
android: "nodeInfo.addAction(AccessibilityActionCompat) → performAccessibilityAction → `action`",
|
|
175
194
|
linux: "GAction por instancia (muxer del widget, grupo 'elur') → AT-SPI Action.DoAction → `action` — AT anuncia 'elur.<id>', sin canal para la etiqueta (ADR-0190)",
|
|
195
|
+
windows: "sin canal UIA por instancia — gap declarado (acciones custom por peer pendiente)",
|
|
176
196
|
},
|
|
177
197
|
};
|
|
178
198
|
|