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

View File

@@ -0,0 +1 @@
{"version":3,"file":"SVGClipPathElement.d.ts","sourceRoot":"","sources":["../../../src/nodes/svg-clip-path-element/SVGClipPathElement.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,8BAA8B,CAAC;AACtD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,sBAAsB,MAAM,qCAAqC,CAAC;AAEzE;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU;IAElD,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAQ;IAE5E;;;;OAIG;IACH,IAAW,aAAa,IAAI,sBAAsB,CAcjD;CACD"}

View File

@@ -0,0 +1,29 @@
import SVGElement from '../svg-element/SVGElement.js';
import * as PropertySymbol from '../../PropertySymbol.js';
import SVGAnimatedEnumeration from '../../svg/SVGAnimatedEnumeration.js';
/**
* SVG ClipPath Element.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement
*/
export default class SVGClipPathElement extends SVGElement {
// Internal properties
[PropertySymbol.clipPathUnits] = null;
/**
* Returns clipPathUnits.
*
* @returns ClipPathUnits.
*/
get clipPathUnits() {
if (!this[PropertySymbol.clipPathUnits]) {
this[PropertySymbol.clipPathUnits] = new SVGAnimatedEnumeration(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('clipPathUnits'),
setAttribute: (value) => this.setAttribute('clipPathUnits', value),
values: ['userSpaceOnUse', 'objectBoundingBox'],
defaultValue: 'userSpaceOnUse'
});
}
return this[PropertySymbol.clipPathUnits];
}
}
//# sourceMappingURL=SVGClipPathElement.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"SVGClipPathElement.js","sourceRoot":"","sources":["../../../src/nodes/svg-clip-path-element/SVGClipPathElement.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,8BAA8B,CAAC;AACtD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,sBAAsB,MAAM,qCAAqC,CAAC;AAEzE;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU;IACzD,sBAAsB;IACf,CAAC,cAAc,CAAC,aAAa,CAAC,GAAkC,IAAI,CAAC;IAE5E;;;;OAIG;IACH,IAAW,aAAa;QACvB,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,CAAC;YACzC,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,sBAAsB,CAC9D,cAAc,CAAC,kBAAkB,EACjC,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAC3B;gBACC,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC;gBACtD,YAAY,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,eAAe,EAAE,KAAK,CAAC;gBAClE,MAAM,EAAE,CAAC,gBAAgB,EAAE,mBAAmB,CAAC;gBAC/C,YAAY,EAAE,gBAAgB;aAC9B,CACD,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;IAC3C,CAAC;CACD"}