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 SVGElement from '../svg-element/SVGElement.js';
import * as PropertySymbol from '../../PropertySymbol.js';
import SVGAnimatedNumber from '../../svg/SVGAnimatedNumber.js';
/**
* SVGFEDistantLightElement.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement
*/
export default class SVGFEDistantLightElement extends SVGElement {
[PropertySymbol.azimuth]: SVGAnimatedNumber | null;
[PropertySymbol.elevation]: SVGAnimatedNumber | null;
/**
* Returns azimuth.
*
* @returns Azimuth.
*/
get azimuth(): SVGAnimatedNumber;
/**
* Returns elevation.
*
* @returns Elevation.
*/
get elevation(): SVGAnimatedNumber;
}
//# sourceMappingURL=SVGFEDistantLightElement.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"SVGFEDistantLightElement.d.ts","sourceRoot":"","sources":["../../../src/nodes/svg-fe-distant-light-element/SVGFEDistantLightElement.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,8BAA8B,CAAC;AACtD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,iBAAiB,MAAM,gCAAgC,CAAC;AAE/D;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,UAAU;IAExD,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAQ;IAC1D,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAQ;IAEnE;;;;OAIG;IACH,IAAW,OAAO,IAAI,iBAAiB,CAYtC;IAED;;;;OAIG;IACH,IAAW,SAAS,IAAI,iBAAiB,CAYxC;CACD"}

View File

@@ -0,0 +1,42 @@
import SVGElement from '../svg-element/SVGElement.js';
import * as PropertySymbol from '../../PropertySymbol.js';
import SVGAnimatedNumber from '../../svg/SVGAnimatedNumber.js';
/**
* SVGFEDistantLightElement.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement
*/
export default class SVGFEDistantLightElement extends SVGElement {
// Internal properties
[PropertySymbol.azimuth] = null;
[PropertySymbol.elevation] = null;
/**
* Returns azimuth.
*
* @returns Azimuth.
*/
get azimuth() {
if (!this[PropertySymbol.azimuth]) {
this[PropertySymbol.azimuth] = new SVGAnimatedNumber(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('azimuth'),
setAttribute: (value) => this.setAttribute('azimuth', value)
});
}
return this[PropertySymbol.azimuth];
}
/**
* Returns elevation.
*
* @returns Elevation.
*/
get elevation() {
if (!this[PropertySymbol.elevation]) {
this[PropertySymbol.elevation] = new SVGAnimatedNumber(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('elevation'),
setAttribute: (value) => this.setAttribute('elevation', value)
});
}
return this[PropertySymbol.elevation];
}
}
//# sourceMappingURL=SVGFEDistantLightElement.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"SVGFEDistantLightElement.js","sourceRoot":"","sources":["../../../src/nodes/svg-fe-distant-light-element/SVGFEDistantLightElement.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,8BAA8B,CAAC;AACtD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,iBAAiB,MAAM,gCAAgC,CAAC;AAE/D;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,wBAAyB,SA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