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,21 @@
import HTMLElement from '../html-element/HTMLElement.js';
/**
* HTMLQuoteElement
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement
*/
export default class HTMLQuoteElement extends HTMLElement {
/**
* Returns source.
*
* @returns Source.
*/
get cite(): string;
/**
* Sets source.
*
* @param cite Source.
*/
set cite(cite: string);
}
//# sourceMappingURL=HTMLQuoteElement.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"HTMLQuoteElement.d.ts","sourceRoot":"","sources":["../../../src/nodes/html-quote-element/HTMLQuoteElement.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gCAAgC,CAAC;AAGzD;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,WAAW;IACxD;;;;OAIG;IACH,IAAW,IAAI,IAAI,MAAM,CAWxB;IAED;;;;OAIG;IACH,IAAW,IAAI,CAAC,IAAI,EAAE,MAAM,EAE3B;CACD"}

View File

@@ -0,0 +1,35 @@
import HTMLElement from '../html-element/HTMLElement.js';
import * as PropertySymbol from '../../PropertySymbol.js';
/**
* HTMLQuoteElement
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement
*/
export default class HTMLQuoteElement extends HTMLElement {
/**
* Returns source.
*
* @returns Source.
*/
get cite() {
if (!this.hasAttribute('cite')) {
return '';
}
try {
return new URL(this.getAttribute('cite'), this[PropertySymbol.ownerDocument].location.href)
.href;
}
catch (e) {
return this.getAttribute('cite');
}
}
/**
* Sets source.
*
* @param cite Source.
*/
set cite(cite) {
this.setAttribute('cite', cite);
}
}
//# sourceMappingURL=HTMLQuoteElement.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"HTMLQuoteElement.js","sourceRoot":"","sources":["../../../src/nodes/html-quote-element/HTMLQuoteElement.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gCAAgC,CAAC;AACzD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,WAAW;IACxD;;;;OAIG;IACH,IAAW,IAAI;QACd,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;YAChC,OAAO,EAAE,CAAC;QACX,CAAC;QAED,IAAI,CAAC;YACJ,OAAO,IAAI,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;iBACzF,IAAI,CAAC;QACR,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACZ,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;QAClC,CAAC;IACF,CAAC;IAED;;;;OAIG;IACH,IAAW,IAAI,CAAC,IAAY;QAC3B,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACjC,CAAC;CACD"}