baldav/frontend/js
4aiman 0e44dc07e2 ЧЗ scanner: zoom + torch, looser ROI, CSP wasm-unsafe-eval (wasm verified on device)
- The tight guide box forced the phone closer than it can focus. Drop it: decode
  the whole visible center square (WYSIWYG under object-fit:cover) at up to 768px;
  zxing-wasm locates the code anywhere in it.
- Add a zoom slider and a torch toggle driven by MediaStreamTrack capabilities
  (getCapabilities/applyConstraints), plus continuous focus and a 1920x1080 request
  — the user enlarges a small code optically instead of moving too close.
- CSP: add "script-src ... 'wasm-unsafe-eval'". Tauri's generated hash-based
  script-src dropped unsafe-eval, so WebAssembly.instantiate was blocked
  ("violates CSP") — verified fixed on-device via CDP (zxReady ok, code_33 decodes).
2026-08-27 11:28:00 +03:00
..
bmr.js Sensors, walk limits, GPS fixes, water UI, manual routes, Gridnev products, OTA router 2026-06-18 22:54:45 +03:00
chzn.js ЧЗ scanner: switch decoder to zxing-wasm (ZXing-C++) for reliable DataMatrix 2026-08-27 09:42:05 +03:00
db.js Product catalog cleanup (no-badge unused) + order-independent search 2026-08-25 18:23:51 +03:00
gps.js Route editor mid-insert (tap line), track color setting, app dialogs, debug-only orient overlay 2026-08-22 22:08:58 +03:00
main.js ЧЗ scanner: zoom + torch, looser ROI, CSP wasm-unsafe-eval (wasm verified on device) 2026-08-27 11:28:00 +03:00
tilecache.js Tile import, road map, orientation lock, CSP fix, tile error handling 2026-06-26 16:41:14 +03:00