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,319 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const SVGElement_js_1 = __importDefault(require("../svg-element/SVGElement.cjs"));
const PropertySymbol = __importStar(require("../../PropertySymbol.cjs"));
const SVGAnimatedLength_js_1 = __importDefault(require("../../svg/SVGAnimatedLength.cjs"));
const SVGAnimatedEnumeration_js_1 = __importDefault(require("../../svg/SVGAnimatedEnumeration.cjs"));
const SVGAnimatedString_js_1 = __importDefault(require("../../svg/SVGAnimatedString.cjs"));
const SVGAnimatedNumberList_js_1 = __importDefault(require("../../svg/SVGAnimatedNumberList.cjs"));
const SVGAnimatedNumber_js_1 = __importDefault(require("../../svg/SVGAnimatedNumber.cjs"));
const SVGAnimatedBoolean_js_1 = __importDefault(require("../../svg/SVGAnimatedBoolean.cjs"));
const SVGAnimatedInteger_js_1 = __importDefault(require("../../svg/SVGAnimatedInteger.cjs"));
/**
* SVGFEConvolveMatrixElement.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement
*/
class SVGFEConvolveMatrixElement extends SVGElement_js_1.default {
// Static properties
static SVG_EDGEMODE_UNKNOWN = 0;
static SVG_EDGEMODE_DUPLICATE = 1;
static SVG_EDGEMODE_WRAP = 2;
static SVG_EDGEMODE_NONE = 3;
// Internal properties
[PropertySymbol.bias] = null;
[PropertySymbol.divisor] = null;
[PropertySymbol.edgeMode] = null;
[PropertySymbol.height] = null;
[PropertySymbol.in1] = null;
[PropertySymbol.kernelMatrix] = null;
[PropertySymbol.kernelUnitLengthX] = null;
[PropertySymbol.kernelUnitLengthY] = null;
[PropertySymbol.orderX] = null;
[PropertySymbol.orderY] = null;
[PropertySymbol.preserveAlpha] = null;
[PropertySymbol.result] = null;
[PropertySymbol.targetX] = null;
[PropertySymbol.targetY] = null;
[PropertySymbol.width] = null;
[PropertySymbol.x] = null;
[PropertySymbol.y] = null;
/**
* Returns bias.
*
* @returns Bias.
*/
get bias() {
if (!this[PropertySymbol.bias]) {
this[PropertySymbol.bias] = new SVGAnimatedNumber_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('bias'),
setAttribute: (value) => this.setAttribute('bias', value)
});
}
return this[PropertySymbol.bias];
}
/**
* Returns divisor.
*
* @returns Divisor.
*/
get divisor() {
if (!this[PropertySymbol.divisor]) {
this[PropertySymbol.divisor] = new SVGAnimatedNumber_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('divisor'),
setAttribute: (value) => this.setAttribute('divisor', value)
});
}
return this[PropertySymbol.divisor];
}
/**
* Returns edge mode.
*
* @returns Edge mode.
*/
get edgeMode() {
if (!this[PropertySymbol.edgeMode]) {
this[PropertySymbol.edgeMode] = new SVGAnimatedEnumeration_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('edgeMode'),
setAttribute: (value) => this.setAttribute('edgeMode', value),
values: ['duplicate', 'wrap', 'none'],
defaultValue: 'duplicate'
});
}
return this[PropertySymbol.edgeMode];
}
/**
* Returns height.
*
* @returns Height.
*/
get height() {
if (!this[PropertySymbol.height]) {
this[PropertySymbol.height] = new SVGAnimatedLength_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('height'),
setAttribute: (value) => this.setAttribute('height', value)
});
}
return this[PropertySymbol.height];
}
/**
* Returns in1.
*
* @returns In1.
*/
get in1() {
if (!this[PropertySymbol.in1]) {
this[PropertySymbol.in1] = new SVGAnimatedString_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('in'),
setAttribute: (value) => this.setAttribute('in', value)
});
}
return this[PropertySymbol.in1];
}
/**
* Returns kernel matrix.
*
* @returns Kernel matrix.
*/
get kernelMatrix() {
if (!this[PropertySymbol.kernelMatrix]) {
this[PropertySymbol.kernelMatrix] = new SVGAnimatedNumberList_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('kernelMatrix'),
setAttribute: (value) => this.setAttribute('kernelMatrix', value)
});
}
return this[PropertySymbol.kernelMatrix];
}
/**
* Returns kernel unit length x.
*
* @returns Kernel unit length x.
*/
get kernelUnitLengthX() {
if (!this[PropertySymbol.kernelUnitLengthX]) {
this[PropertySymbol.kernelUnitLengthX] = new SVGAnimatedNumber_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('kernelUnitLengthX'),
setAttribute: (value) => this.setAttribute('kernelUnitLengthX', value)
});
}
return this[PropertySymbol.kernelUnitLengthX];
}
/**
* Returns kernel unit length y.
*
* @returns Kernel unit length y.
*/
get kernelUnitLengthY() {
if (!this[PropertySymbol.kernelUnitLengthY]) {
this[PropertySymbol.kernelUnitLengthY] = new SVGAnimatedNumber_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('kernelUnitLengthY'),
setAttribute: (value) => this.setAttribute('kernelUnitLengthY', value)
});
}
return this[PropertySymbol.kernelUnitLengthY];
}
/**
* Returns order x.
*
* @returns Order x.
*/
get orderX() {
if (!this[PropertySymbol.orderX]) {
this[PropertySymbol.orderX] = new SVGAnimatedInteger_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('orderX'),
setAttribute: (value) => this.setAttribute('orderX', value)
});
}
return this[PropertySymbol.orderX];
}
/**
* Returns order y.
*
* @returns Order y.
*/
get orderY() {
if (!this[PropertySymbol.orderY]) {
this[PropertySymbol.orderY] = new SVGAnimatedInteger_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('orderY'),
setAttribute: (value) => this.setAttribute('orderY', value)
});
}
return this[PropertySymbol.orderY];
}
/**
* Returns preserve alpha.
*
* @returns Preserve alpha.
*/
get preserveAlpha() {
if (!this[PropertySymbol.preserveAlpha]) {
this[PropertySymbol.preserveAlpha] = new SVGAnimatedBoolean_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('preserveAlpha'),
setAttribute: (value) => this.setAttribute('preserveAlpha', value)
});
}
return this[PropertySymbol.preserveAlpha];
}
/**
* Returns result.
*
* @returns Result.
*/
get result() {
if (!this[PropertySymbol.result]) {
this[PropertySymbol.result] = new SVGAnimatedString_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('result'),
setAttribute: (value) => this.setAttribute('result', value)
});
}
return this[PropertySymbol.result];
}
/**
* Returns target x.
*
* @returns Target x.
*/
get targetX() {
if (!this[PropertySymbol.targetX]) {
this[PropertySymbol.targetX] = new SVGAnimatedInteger_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('targetX'),
setAttribute: (value) => this.setAttribute('targetX', value)
});
}
return this[PropertySymbol.targetX];
}
/**
* Returns target y.
*
* @returns Target y.
*/
get targetY() {
if (!this[PropertySymbol.targetY]) {
this[PropertySymbol.targetY] = new SVGAnimatedInteger_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('targetY'),
setAttribute: (value) => this.setAttribute('targetY', value)
});
}
return this[PropertySymbol.targetY];
}
/**
* Returns width.
*
* @returns Width.
*/
get width() {
if (!this[PropertySymbol.width]) {
this[PropertySymbol.width] = new SVGAnimatedLength_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('width'),
setAttribute: (value) => this.setAttribute('width', value)
});
}
return this[PropertySymbol.width];
}
/**
* Returns x position.
*
* @returns X position.
*/
get x() {
if (!this[PropertySymbol.x]) {
this[PropertySymbol.x] = new SVGAnimatedLength_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('x'),
setAttribute: (value) => this.setAttribute('x', value)
});
}
return this[PropertySymbol.x];
}
/**
* Returns y position.
*
* @returns Y position.
*/
get y() {
if (!this[PropertySymbol.y]) {
this[PropertySymbol.y] = new SVGAnimatedLength_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('y'),
setAttribute: (value) => this.setAttribute('y', value)
});
}
return this[PropertySymbol.y];
}
}
exports.default = SVGFEConvolveMatrixElement;
//# sourceMappingURL=SVGFEConvolveMatrixElement.cjs.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,140 @@
import SVGElement from '../svg-element/SVGElement.cjs';
import * as PropertySymbol from '../../PropertySymbol.cjs';
import SVGAnimatedLength from '../../svg/SVGAnimatedLength.cjs';
import SVGAnimatedEnumeration from '../../svg/SVGAnimatedEnumeration.cjs';
import SVGAnimatedString from '../../svg/SVGAnimatedString.cjs';
import SVGAnimatedNumberList from '../../svg/SVGAnimatedNumberList.cjs';
import SVGAnimatedNumber from '../../svg/SVGAnimatedNumber.cjs';
import SVGAnimatedBoolean from '../../svg/SVGAnimatedBoolean.cjs';
import SVGAnimatedInteger from '../../svg/SVGAnimatedInteger.cjs';
/**
* SVGFEConvolveMatrixElement.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement
*/
export default class SVGFEConvolveMatrixElement extends SVGElement {
static SVG_EDGEMODE_UNKNOWN: number;
static SVG_EDGEMODE_DUPLICATE: number;
static SVG_EDGEMODE_WRAP: number;
static SVG_EDGEMODE_NONE: number;
[PropertySymbol.bias]: SVGAnimatedNumber | null;
[PropertySymbol.divisor]: SVGAnimatedNumber | null;
[PropertySymbol.edgeMode]: SVGAnimatedEnumeration | null;
[PropertySymbol.height]: SVGAnimatedLength | null;
[PropertySymbol.in1]: SVGAnimatedString | null;
[PropertySymbol.kernelMatrix]: SVGAnimatedNumberList | null;
[PropertySymbol.kernelUnitLengthX]: SVGAnimatedNumber | null;
[PropertySymbol.kernelUnitLengthY]: SVGAnimatedNumber | null;
[PropertySymbol.orderX]: SVGAnimatedInteger | null;
[PropertySymbol.orderY]: SVGAnimatedInteger | null;
[PropertySymbol.preserveAlpha]: SVGAnimatedBoolean | null;
[PropertySymbol.result]: SVGAnimatedString | null;
[PropertySymbol.targetX]: SVGAnimatedInteger | null;
[PropertySymbol.targetY]: SVGAnimatedInteger | null;
[PropertySymbol.width]: SVGAnimatedLength | null;
[PropertySymbol.x]: SVGAnimatedLength | null;
[PropertySymbol.y]: SVGAnimatedLength | null;
/**
* Returns bias.
*
* @returns Bias.
*/
get bias(): SVGAnimatedNumber;
/**
* Returns divisor.
*
* @returns Divisor.
*/
get divisor(): SVGAnimatedNumber;
/**
* Returns edge mode.
*
* @returns Edge mode.
*/
get edgeMode(): SVGAnimatedEnumeration;
/**
* Returns height.
*
* @returns Height.
*/
get height(): SVGAnimatedLength;
/**
* Returns in1.
*
* @returns In1.
*/
get in1(): SVGAnimatedString;
/**
* Returns kernel matrix.
*
* @returns Kernel matrix.
*/
get kernelMatrix(): SVGAnimatedNumberList;
/**
* Returns kernel unit length x.
*
* @returns Kernel unit length x.
*/
get kernelUnitLengthX(): SVGAnimatedNumber;
/**
* Returns kernel unit length y.
*
* @returns Kernel unit length y.
*/
get kernelUnitLengthY(): SVGAnimatedNumber;
/**
* Returns order x.
*
* @returns Order x.
*/
get orderX(): SVGAnimatedInteger;
/**
* Returns order y.
*
* @returns Order y.
*/
get orderY(): SVGAnimatedInteger;
/**
* Returns preserve alpha.
*
* @returns Preserve alpha.
*/
get preserveAlpha(): SVGAnimatedBoolean;
/**
* Returns result.
*
* @returns Result.
*/
get result(): SVGAnimatedString;
/**
* Returns target x.
*
* @returns Target x.
*/
get targetX(): SVGAnimatedInteger;
/**
* Returns target y.
*
* @returns Target y.
*/
get targetY(): SVGAnimatedInteger;
/**
* Returns width.
*
* @returns Width.
*/
get width(): SVGAnimatedLength;
/**
* Returns x position.
*
* @returns X position.
*/
get x(): SVGAnimatedLength;
/**
* Returns y position.
*
* @returns Y position.
*/
get y(): SVGAnimatedLength;
}
//# sourceMappingURL=SVGFEConvolveMatrixElement.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"SVGFEConvolveMatrixElement.d.ts","sourceRoot":"","sources":["../../../src/nodes/svg-fe-convolve-matrix-element/SVGFE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