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,98 @@
import SVGElement from '../svg-element/SVGElement.js';
import * as PropertySymbol from '../../PropertySymbol.js';
import SVGAnimatedLength from '../../svg/SVGAnimatedLength.js';
import SVGAnimatedString from '../../svg/SVGAnimatedString.js';
import SVGAnimatedNumber from '../../svg/SVGAnimatedNumber.js';
import SVGAnimatedInteger from '../../svg/SVGAnimatedInteger.js';
import SVGAnimatedEnumeration from '../../svg/SVGAnimatedEnumeration.js';
/**
* SVGFETurbulenceElement.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement
*/
export default class SVGFETurbulenceElement extends SVGElement {
static readonly SVG_TURBULENCE_TYPE_UNKNOWN = 0;
static readonly SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
static readonly SVG_TURBULENCE_TYPE_TURBULENCE = 2;
static readonly SVG_STITCHTYPE_UNKNOWN = 0;
static readonly SVG_STITCHTYPE_STITCH = 1;
static readonly SVG_STITCHTYPE_NOSTITCH = 2;
[PropertySymbol.baseFrequencyX]: SVGAnimatedNumber | null;
[PropertySymbol.baseFrequencyY]: SVGAnimatedNumber | null;
[PropertySymbol.height]: SVGAnimatedLength | null;
[PropertySymbol.numOctaves]: SVGAnimatedInteger | null;
[PropertySymbol.result]: SVGAnimatedString | null;
[PropertySymbol.seed]: SVGAnimatedNumber | null;
[PropertySymbol.stitchTiles]: SVGAnimatedEnumeration | null;
[PropertySymbol.type]: SVGAnimatedEnumeration | null;
[PropertySymbol.width]: SVGAnimatedLength | null;
[PropertySymbol.x]: SVGAnimatedLength | null;
[PropertySymbol.y]: SVGAnimatedLength | null;
/**
* Returns baseFrequencyX.
*
* @returns Base frequency x.
*/
get baseFrequencyX(): SVGAnimatedNumber;
/**
* Returns baseFrequencyY.
*
* @returns Base frequency y.
*/
get baseFrequencyY(): SVGAnimatedNumber;
/**
* Returns height.
*
* @returns Height.
*/
get height(): SVGAnimatedLength;
/**
* Returns numOctaves.
*
* @returns Num octaves.
*/
get numOctaves(): SVGAnimatedInteger;
/**
* Returns result.
*
* @returns Result.
*/
get result(): SVGAnimatedString;
/**
* Returns seed.
*
* @returns Seed.
*/
get seed(): SVGAnimatedNumber;
/**
* Returns stitchTiles.
*
* @returns Stitch tiles.
*/
get stitchTiles(): SVGAnimatedEnumeration;
/**
* Returns type.
*
* @returns Type.
*/
get type(): SVGAnimatedEnumeration;
/**
* Returns width.
*
* @returns Width.
*/
get width(): SVGAnimatedLength;
/**
* Returns x.
*
* @returns X.
*/
get x(): SVGAnimatedLength;
/**
* Returns y.
*
* @returns Y.
*/
get y(): SVGAnimatedLength;
}
//# sourceMappingURL=SVGFETurbulenceElement.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"SVGFETurbulenceElement.d.ts","sourceRoot":"","sources":["../../../src/nodes/svg-fe-turbulence-element/SVGFETurbulenceElement.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,8BAA8B,CAAC;AACtD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,iBAAiB,MAAM,gCAAgC,CAAC;AAC/D,OAAO,iBAAiB,MAAM,gCAAgC,CAAC;AAC/D,OAAO,iBAAiB,MAAM,gCAAgC,CAAC;AAC/D,OAAO,kBAAkB,MAAM,iCAAiC,CAAC;AACjE,OAAO,sBAAsB,MAAM,qCAAqC,CAAC;AAEzE;;;;GAIG;AACH,MAAM,CAAC,OA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BAAiB,CAYrC;IAED;;;;OAIG;IACH,IAAW,IAAI,IAAI,iBAAiB,CAYnC;IAED;;;;OAIG;IACH,IAAW,WAAW,IAAI,sBAAsB,CAc/C;IAED;;;;OAIG;IACH,IAAW,IAAI,IAAI,sBAAsB,CAcxC;IAED;;;;OAIG;IACH,IAAW,KAAK,IAAI,iBAAiB,CAYpC;IAED;;;;OAIG;IACH,IAAW,CAAC,IAAI,iBAAiB,CAYhC;IAED;;;;OAIG;IACH,IAAW,CAAC,IAAI,iBAAiB,CAYhC;CACD"}

View File

@@ -0,0 +1,192 @@
import SVGElement from '../svg-element/SVGElement.js';
import * as PropertySymbol from '../../PropertySymbol.js';
import SVGAnimatedLength from '../../svg/SVGAnimatedLength.js';
import SVGAnimatedString from '../../svg/SVGAnimatedString.js';
import SVGAnimatedNumber from '../../svg/SVGAnimatedNumber.js';
import SVGAnimatedInteger from '../../svg/SVGAnimatedInteger.js';
import SVGAnimatedEnumeration from '../../svg/SVGAnimatedEnumeration.js';
/**
* SVGFETurbulenceElement.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement
*/
export default class SVGFETurbulenceElement extends SVGElement {
// Static properties
static SVG_TURBULENCE_TYPE_UNKNOWN = 0;
static SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
static SVG_TURBULENCE_TYPE_TURBULENCE = 2;
static SVG_STITCHTYPE_UNKNOWN = 0;
static SVG_STITCHTYPE_STITCH = 1;
static SVG_STITCHTYPE_NOSTITCH = 2;
// Internal properties
[PropertySymbol.baseFrequencyX] = null;
[PropertySymbol.baseFrequencyY] = null;
[PropertySymbol.height] = null;
[PropertySymbol.numOctaves] = null;
[PropertySymbol.result] = null;
[PropertySymbol.seed] = null;
[PropertySymbol.stitchTiles] = null;
[PropertySymbol.type] = null;
[PropertySymbol.width] = null;
[PropertySymbol.x] = null;
[PropertySymbol.y] = null;
/**
* Returns baseFrequencyX.
*
* @returns Base frequency x.
*/
get baseFrequencyX() {
if (!this[PropertySymbol.baseFrequencyX]) {
this[PropertySymbol.baseFrequencyX] = new SVGAnimatedNumber(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('baseFrequencyX'),
setAttribute: (value) => this.setAttribute('baseFrequencyX', value)
});
}
return this[PropertySymbol.baseFrequencyX];
}
/**
* Returns baseFrequencyY.
*
* @returns Base frequency y.
*/
get baseFrequencyY() {
if (!this[PropertySymbol.baseFrequencyY]) {
this[PropertySymbol.baseFrequencyY] = new SVGAnimatedNumber(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('baseFrequencyY'),
setAttribute: (value) => this.setAttribute('baseFrequencyY', value)
});
}
return this[PropertySymbol.baseFrequencyY];
}
/**
* Returns height.
*
* @returns Height.
*/
get height() {
if (!this[PropertySymbol.height]) {
this[PropertySymbol.height] = new SVGAnimatedLength(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('height'),
setAttribute: (value) => this.setAttribute('height', value)
});
}
return this[PropertySymbol.height];
}
/**
* Returns numOctaves.
*
* @returns Num octaves.
*/
get numOctaves() {
if (!this[PropertySymbol.numOctaves]) {
this[PropertySymbol.numOctaves] = new SVGAnimatedInteger(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('numOctaves'),
setAttribute: (value) => this.setAttribute('numOctaves', value)
});
}
return this[PropertySymbol.numOctaves];
}
/**
* Returns result.
*
* @returns Result.
*/
get result() {
if (!this[PropertySymbol.result]) {
this[PropertySymbol.result] = new SVGAnimatedString(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('result'),
setAttribute: (value) => this.setAttribute('result', value)
});
}
return this[PropertySymbol.result];
}
/**
* Returns seed.
*
* @returns Seed.
*/
get seed() {
if (!this[PropertySymbol.seed]) {
this[PropertySymbol.seed] = new SVGAnimatedNumber(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('seed'),
setAttribute: (value) => this.setAttribute('seed', value)
});
}
return this[PropertySymbol.seed];
}
/**
* Returns stitchTiles.
*
* @returns Stitch tiles.
*/
get stitchTiles() {
if (!this[PropertySymbol.stitchTiles]) {
this[PropertySymbol.stitchTiles] = new SVGAnimatedEnumeration(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('stitchTiles'),
setAttribute: (value) => this.setAttribute('stitchTiles', value),
values: ['stitch', 'noStitch'],
defaultValue: 'stitch'
});
}
return this[PropertySymbol.stitchTiles];
}
/**
* Returns type.
*
* @returns Type.
*/
get type() {
if (!this[PropertySymbol.type]) {
this[PropertySymbol.type] = new SVGAnimatedEnumeration(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('type'),
setAttribute: (value) => this.setAttribute('type', value),
values: ['fractalNoise', 'turbulence'],
defaultValue: 'turbulence'
});
}
return this[PropertySymbol.type];
}
/**
* Returns width.
*
* @returns Width.
*/
get width() {
if (!this[PropertySymbol.width]) {
this[PropertySymbol.width] = new SVGAnimatedLength(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('width'),
setAttribute: (value) => this.setAttribute('width', value)
});
}
return this[PropertySymbol.width];
}
/**
* Returns x.
*
* @returns X.
*/
get x() {
if (!this[PropertySymbol.x]) {
this[PropertySymbol.x] = new SVGAnimatedLength(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('x'),
setAttribute: (value) => this.setAttribute('x', value)
});
}
return this[PropertySymbol.x];
}
/**
* Returns y.
*
* @returns Y.
*/
get y() {
if (!this[PropertySymbol.y]) {
this[PropertySymbol.y] = new SVGAnimatedLength(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('y'),
setAttribute: (value) => this.setAttribute('y', value)
});
}
return this[PropertySymbol.y];
}
}
//# sourceMappingURL=SVGFETurbulenceElement.js.map

File diff suppressed because one or more lines are too long