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,19 @@
import HTMLElement from '../html-element/HTMLElement.js';
import * as PropertySymbol from '../../PropertySymbol.js';
import HTMLCollection from '../element/HTMLCollection.js';
import HTMLOptionElement from '../html-option-element/HTMLOptionElement.js';
/**
* HTMLDataListElement
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement
*/
export default class HTMLDataListElement extends HTMLElement {
[PropertySymbol.options]: HTMLCollection<HTMLOptionElement> | null;
/**
* Returns options.
*
* @returns Options.
*/
get options(): HTMLCollection<HTMLOptionElement>;
}
//# sourceMappingURL=HTMLDataListElement.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"HTMLDataListElement.d.ts","sourceRoot":"","sources":["../../../src/nodes/html-data-list-element/HTMLDataListElement.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gCAAgC,CAAC;AACzD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,cAAc,MAAM,8BAA8B,CAAC;AAC1D,OAAO,iBAAiB,MAAM,6CAA6C,CAAC;AAG5E;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,WAAW;IACpD,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAQ;IAEjF;;;;OAIG;IACH,IAAW,OAAO,IAAI,cAAc,CAAC,iBAAiB,CAAC,CAOtD;CACD"}

View File

@@ -0,0 +1,23 @@
import HTMLElement from '../html-element/HTMLElement.js';
import * as PropertySymbol from '../../PropertySymbol.js';
import ParentNodeUtility from '../parent-node/ParentNodeUtility.js';
/**
* HTMLDataListElement
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement
*/
export default class HTMLDataListElement extends HTMLElement {
[PropertySymbol.options] = null;
/**
* Returns options.
*
* @returns Options.
*/
get options() {
if (!this[PropertySymbol.options]) {
this[PropertySymbol.options] = (ParentNodeUtility.getElementsByTagName(this, 'OPTION'));
}
return this[PropertySymbol.options];
}
}
//# sourceMappingURL=HTMLDataListElement.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"HTMLDataListElement.js","sourceRoot":"","sources":["../../../src/nodes/html-data-list-element/HTMLDataListElement.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gCAAgC,CAAC;AACzD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAG1D,OAAO,iBAAiB,MAAM,qCAAqC,CAAC;AAEpE;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,WAAW;IACpD,CAAC,cAAc,CAAC,OAAO,CAAC,GAA6C,IAAI,CAAC;IAEjF;;;;OAIG;IACH,IAAW,OAAO;QACjB,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;YACnC,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,GAAsC,CACjE,iBAAiB,CAAC,oBAAoB,CAAC,IAAI,EAAE,QAAQ,CAAC,CACtD,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;CACD"}