feat: Reinitialize frontend with SvelteKit and TypeScript

- Delete old Vite+Svelte frontend
- Initialize new SvelteKit project with TypeScript
- Configure Tailwind CSS v4 + DaisyUI
- Implement JWT authentication with auto-refresh
- Create login page with form validation (Zod)
- Add protected route guards
- Update Docker configuration for single-stage build
- Add E2E tests with Playwright (6/11 passing)
- Fix Svelte 5 reactivity with $state() runes

Known issues:
- 5 E2E tests failing (timing/async issues)
- Token refresh implementation needs debugging
- Validation error display timing
This commit is contained in:
2026-02-17 16:19:59 -05:00
parent 54df6018f5
commit de2d83092e
28274 changed files with 3816354 additions and 90 deletions

View File

@@ -0,0 +1,20 @@
import HTMLAudioElement from './HTMLAudioElement.js';
import * as PropertySymbol from '../../PropertySymbol.js';
/**
* Image as constructor.
*
* Reference:
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/Audio.
*/
export default class Audio extends HTMLAudioElement {
[PropertySymbol.tagName]: string;
[PropertySymbol.localName]: string;
[PropertySymbol.namespaceURI]: string;
/**
* Constructor.
*
* @param [url] source URL.
*/
constructor(url?: string);
}
//# sourceMappingURL=Audio.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../../src/nodes/html-audio-element/Audio.ts"],"names":[],"mappings":"AACA,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAE1D;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,gBAAgB;IAC3C,CAAC,cAAc,CAAC,OAAO,CAAC,SAAW;IACnC,CAAC,cAAc,CAAC,SAAS,CAAC,SAAW;IACrC,CAAC,cAAc,CAAC,YAAY,CAAC,SAAqB;IAEzD;;;;OAIG;gBACS,GAAG,GAAE,MAAa;CAO9B"}

View File

@@ -0,0 +1,26 @@
import NamespaceURI from '../../config/NamespaceURI.js';
import HTMLAudioElement from './HTMLAudioElement.js';
import * as PropertySymbol from '../../PropertySymbol.js';
/**
* Image as constructor.
*
* Reference:
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/Audio.
*/
export default class Audio extends HTMLAudioElement {
[PropertySymbol.tagName] = 'AUDIO';
[PropertySymbol.localName] = 'audio';
[PropertySymbol.namespaceURI] = NamespaceURI.html;
/**
* Constructor.
*
* @param [url] source URL.
*/
constructor(url = null) {
super();
if (url !== null) {
this.src = url;
}
}
}
//# sourceMappingURL=Audio.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Audio.js","sourceRoot":"","sources":["../../../src/nodes/html-audio-element/Audio.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,8BAA8B,CAAC;AACxD,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAE1D;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,gBAAgB;IAC3C,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IACnC,CAAC,cAAc,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;IACrC,CAAC,cAAc,CAAC,YAAY,CAAC,GAAG,YAAY,CAAC,IAAI,CAAC;IAEzD;;;;OAIG;IACH,YAAY,MAAc,IAAI;QAC7B,KAAK,EAAE,CAAC;QAER,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YAClB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QAChB,CAAC;IACF,CAAC;CACD"}

View File

@@ -0,0 +1,11 @@
import HTMLMediaElement from '../html-media-element/HTMLMediaElement.js';
/**
* HTML Audio Element.
*
* Reference:
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement.
*
*/
export default class HTMLAudioElement extends HTMLMediaElement {
}
//# sourceMappingURL=HTMLAudioElement.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"HTMLAudioElement.d.ts","sourceRoot":"","sources":["../../../src/nodes/html-audio-element/HTMLAudioElement.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,2CAA2C,CAAC;AAEzE;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,gBAAgB;CAAG"}

View File

@@ -0,0 +1,11 @@
import HTMLMediaElement from '../html-media-element/HTMLMediaElement.js';
/**
* HTML Audio Element.
*
* Reference:
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement.
*
*/
export default class HTMLAudioElement extends HTMLMediaElement {
}
//# sourceMappingURL=HTMLAudioElement.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"HTMLAudioElement.js","sourceRoot":"","sources":["../../../src/nodes/html-audio-element/HTMLAudioElement.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,2CAA2C,CAAC;AAEzE;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,gBAAgB;CAAG"}