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,25 @@
import SVGGeometryElement from '../svg-geometry-element/SVGGeometryElement.js';
import * as PropertySymbol from '../../PropertySymbol.js';
import SVGPointList from '../../svg/SVGPointList.js';
/**
* SVG Polygon Element.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement
*/
export default class SVGPolygonElement extends SVGGeometryElement {
[PropertySymbol.animatedPoints]: SVGPointList | null;
[PropertySymbol.points]: SVGPointList | null;
/**
* Returns animated points.
*
* @returns Animated points.
*/
get animatedPoints(): SVGPointList;
/**
* Returns points.
*
* @returns Points.
*/
get points(): SVGPointList;
}
//# sourceMappingURL=SVGPolygonElement.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"SVGPolygonElement.d.ts","sourceRoot":"","sources":["../../../src/nodes/svg-polygon-element/SVGPolygonElement.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,+CAA+C,CAAC;AAC/E,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAErD;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,kBAAkB;IAEzD,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,YAAY,GAAG,IAAI,CAAQ;IAC5D,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CAAQ;IAE3D;;;;OAIG;IACH,IAAW,cAAc,IAAI,YAAY,CAaxC;IAED;;;;OAIG;IACH,IAAW,MAAM,IAAI,YAAY,CAYhC;CACD"}

View File

@@ -0,0 +1,43 @@
import SVGGeometryElement from '../svg-geometry-element/SVGGeometryElement.js';
import * as PropertySymbol from '../../PropertySymbol.js';
import SVGPointList from '../../svg/SVGPointList.js';
/**
* SVG Polygon Element.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement
*/
export default class SVGPolygonElement extends SVGGeometryElement {
// Internal properties
[PropertySymbol.animatedPoints] = null;
[PropertySymbol.points] = null;
/**
* Returns animated points.
*
* @returns Animated points.
*/
get animatedPoints() {
if (!this[PropertySymbol.animatedPoints]) {
this[PropertySymbol.animatedPoints] = new SVGPointList(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
readOnly: true,
getAttribute: () => this.getAttribute('points'),
setAttribute: () => { }
});
}
return this[PropertySymbol.animatedPoints];
}
/**
* Returns points.
*
* @returns Points.
*/
get points() {
if (!this[PropertySymbol.points]) {
this[PropertySymbol.points] = new SVGPointList(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('points'),
setAttribute: (value) => this.setAttribute('points', value)
});
}
return this[PropertySymbol.points];
}
}
//# sourceMappingURL=SVGPolygonElement.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"SVGPolygonElement.js","sourceRoot":"","sources":["../../../src/nodes/svg-polygon-element/SVGPolygonElement.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,+CAA+C,CAAC;AAC/E,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAErD;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,kBAAkB;IAChE,sBAAsB;IACf,CAAC,cAAc,CAAC,cAAc,CAAC,GAAwB,IAAI,CAAC;IAC5D,CAAC,cAAc,CAAC,MAAM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