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,18 @@
import SVGAnimatedString from '../../svg/SVGAnimatedString.js';
import SVGElement from '../svg-element/SVGElement.js';
import * as PropertySymbol from '../../PropertySymbol.js';
/**
* SVG MPath Element.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGMPathElement
*/
export default class SVGMPathElement extends SVGElement {
[PropertySymbol.href]: SVGAnimatedString | null;
/**
* Returns href.
*
* @returns Href.
*/
get href(): SVGAnimatedString;
}
//# sourceMappingURL=SVGMPathElement.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"SVGMPathElement.d.ts","sourceRoot":"","sources":["../../../src/nodes/svg-m-path-element/SVGMPathElement.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,gCAAgC,CAAC;AAC/D,OAAO,UAAU,MAAM,8BAA8B,CAAC;AACtD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU;IAE/C,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAQ;IAE9D;;;;OAIG;IACH,IAAW,IAAI,IAAI,iBAAiB,CAYnC;CACD"}

View File

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

View File

@@ -0,0 +1 @@
{"version":3,"file":"SVGMPathElement.js","sourceRoot":"","sources":["../../../src/nodes/svg-m-path-element/SVGMPathElement.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,gCAAgC,CAAC;AAC/D,OAAO,UAAU,MAAM,8BAA8B,CAAC;AACtD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU;IACtD,sBAAsB;IACf,CAAC,cAAc,CAAC,IAAI,CAAC,GAA6B,IAAI,CAAC;IAE9D;;;;OAIG;IACH,IAAW,IAAI;QACd,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;YAChC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI,iBAAiB,CAChD,cAAc,CAAC,kBAAkB,EACjC,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAC3B;gBACC,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC;gBAC7C,YAAY,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC;aACzD,CACD,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;CACD"}