feat(frontend): Vue 3 + wa-sqlite + sync engine + auth + layouts

- package.json with Vue 3, Pinia, vue-router, wa-sqlite, Tailwind CSS 4, Vite
- wa-sqlite database layer with IDBBatchAtomicVFS (offline-first)
- Full schema mirroring backend tables (vehicles, orders, invoices, etc.)
- SyncEngine: fullSync, incrementalSync, pushQueue for offline queue
- Auth store with JWT parsing, login/register, plan tier detection
- Router with all routes and auth navigation guards
- AppLayout (sidebar desktop / bottom nav mobile) + AuthLayout
- Login/Register views connected to API contract
- SyncIndicator component (online/offline status)
- Reactive SQL query composable (useSqlQuery)
- Placeholder views for dashboard, orders, vehicles, appointments, catalog, settings

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 17:22:50 +02:00
parent a16d01a669
commit c3482bba8d
27 changed files with 7614 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
<template>
<div>
<h1 class="text-2xl font-bold text-gray-900 mb-6">Comanda noua</h1>
<p class="text-gray-500">Creare comanda - va fi implementat in TASK-006.</p>
</div>
</template>

View File

@@ -0,0 +1,6 @@
<template>
<div>
<h1 class="text-2xl font-bold text-gray-900 mb-6">Detalii comanda</h1>
<p class="text-gray-500">Detalii comanda - va fi implementat in TASK-008.</p>
</div>
</template>

View File

@@ -0,0 +1,6 @@
<template>
<div>
<h1 class="text-2xl font-bold text-gray-900 mb-6">Comenzi</h1>
<p class="text-gray-500">Lista comenzi - va fi implementat in TASK-006.</p>
</div>
</template>