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,66 @@
"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 PropertySymbol = __importStar(require("../../PropertySymbol.cjs"));
const SVGAnimatedNumber_js_1 = __importDefault(require("../../svg/SVGAnimatedNumber.cjs"));
const SVGElement_js_1 = __importDefault(require("../svg-element/SVGElement.cjs"));
/**
* SVG Stop Element.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement
*/
class SVGStopElement extends SVGElement_js_1.default {
// Internal properties
[PropertySymbol.offset] = null;
/**
* Returns offset.
*
* @returns Offset.
*/
get offset() {
if (!this[PropertySymbol.offset]) {
this[PropertySymbol.offset] = new SVGAnimatedNumber_js_1.default(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
getAttribute: () => this.getAttribute('offset'),
setAttribute: (value) => this.setAttribute('offset', value)
});
}
return this[PropertySymbol.offset];
}
}
exports.default = SVGStopElement;
//# sourceMappingURL=SVGStopElement.cjs.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"SVGStopElement.cjs","sourceRoot":"","sources":["../../../src/nodes/svg-stop-element/SVGStopElement.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wEAA0D;AAC1D,0FAA+D;AAC/D,iFAAsD;AAEtD;;;;GAIG;AACH,MAAqB,cAAe,SAAQ,uBAAU;IACrD,sBAAsB;IACf,CAAC,cAAc,CAAC,MAAM,CAAC,GAA6B,IAAI,CAAC;IAEhE;;;;OAIG;IACH,IAAW,MAAM;QAChB,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC;YAClC,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,8BAAiB,CAClD,cAAc,CAAC,kBAAkB,EACjC,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAC3B;gBACC,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC;gBAC/C,YAAY,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC;aAC3D,CACD,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IACpC,CAAC;CACD;AAtBD,iCAsBC"}

View File

@@ -0,0 +1,18 @@
import * as PropertySymbol from '../../PropertySymbol.cjs';
import SVGAnimatedNumber from '../../svg/SVGAnimatedNumber.cjs';
import SVGElement from '../svg-element/SVGElement.cjs';
/**
* SVG Stop Element.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement
*/
export default class SVGStopElement extends SVGElement {
[PropertySymbol.offset]: SVGAnimatedNumber | null;
/**
* Returns offset.
*
* @returns Offset.
*/
get offset(): SVGAnimatedNumber;
}
//# sourceMappingURL=SVGStopElement.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"SVGStopElement.d.ts","sourceRoot":"","sources":["../../../src/nodes/svg-stop-element/SVGStopElement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,iBAAiB,MAAM,gCAAgC,CAAC;AAC/D,OAAO,UAAU,MAAM,8BAA8B,CAAC;AAEtD;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;IAE9C,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAQ;IAEhE;;;;OAIG;IACH,IAAW,MAAM,IAAI,iBAAiB,CAYrC;CACD"}