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,65 @@
"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 NamespaceURI_js_1 = __importDefault(require("../../config/NamespaceURI.cjs"));
const HTMLAudioElement_js_1 = __importDefault(require("./HTMLAudioElement.cjs"));
const PropertySymbol = __importStar(require("../../PropertySymbol.cjs"));
/**
* Image as constructor.
*
* Reference:
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/Audio.
*/
class Audio extends HTMLAudioElement_js_1.default {
[PropertySymbol.tagName] = 'AUDIO';
[PropertySymbol.localName] = 'audio';
[PropertySymbol.namespaceURI] = NamespaceURI_js_1.default.html;
/**
* Constructor.
*
* @param [url] source URL.
*/
constructor(url = null) {
super();
if (url !== null) {
this.src = url;
}
}
}
exports.default = Audio;
//# sourceMappingURL=Audio.cjs.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Audio.cjs","sourceRoot":"","sources":["../../../src/nodes/html-audio-element/Audio.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mFAAwD;AACxD,gFAAqD;AACrD,wEAA0D;AAE1D;;;;;GAKG;AACH,MAAqB,KAAM,SAAQ,6BAAgB;IAC3C,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IACnC,CAAC,cAAc,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;IACrC,CAAC,cAAc,CAAC,YAAY,CAAC,GAAG,yBAAY,CAAC,IAAI,CAAC;IAEzD;;;;OAIG;IACH,YAAY,MAAc,IAAI;QAC7B,KAAK,EAAE,CAAC;QAER,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YAClB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QAChB,CAAC;IACF,CAAC;CACD;AAjBD,wBAiBC"}

View File

@@ -0,0 +1,20 @@
import HTMLAudioElement from './HTMLAudioElement.cjs';
import * as PropertySymbol from '../../PropertySymbol.cjs';
/**
* Image as constructor.
*
* Reference:
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/Audio.
*/
export default class Audio extends HTMLAudioElement {
[PropertySymbol.tagName]: string;
[PropertySymbol.localName]: string;
[PropertySymbol.namespaceURI]: string;
/**
* Constructor.
*
* @param [url] source URL.
*/
constructor(url?: string);
}
//# sourceMappingURL=Audio.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../../src/nodes/html-audio-element/Audio.ts"],"names":[],"mappings":"AACA,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAE1D;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,gBAAgB;IAC3C,CAAC,cAAc,CAAC,OAAO,CAAC,SAAW;IACnC,CAAC,cAAc,CAAC,SAAS,CAAC,SAAW;IACrC,CAAC,cAAc,CAAC,YAAY,CAAC,SAAqB;IAEzD;;;;OAIG;gBACS,GAAG,GAAE,MAAa;CAO9B"}

View File

@@ -0,0 +1,17 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const HTMLMediaElement_js_1 = __importDefault(require("../html-media-element/HTMLMediaElement.cjs"));
/**
* HTML Audio Element.
*
* Reference:
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement.
*
*/
class HTMLAudioElement extends HTMLMediaElement_js_1.default {
}
exports.default = HTMLAudioElement;
//# sourceMappingURL=HTMLAudioElement.cjs.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"HTMLAudioElement.cjs","sourceRoot":"","sources":["../../../src/nodes/html-audio-element/HTMLAudioElement.ts"],"names":[],"mappings":";;;;;AAAA,oGAAyE;AAEzE;;;;;;GAMG;AACH,MAAqB,gBAAiB,SAAQ,6BAAgB;CAAG;AAAjE,mCAAiE"}

View File

@@ -0,0 +1,11 @@
import HTMLMediaElement from '../html-media-element/HTMLMediaElement.cjs';
/**
* HTML Audio Element.
*
* Reference:
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement.
*
*/
export default class HTMLAudioElement extends HTMLMediaElement {
}
//# sourceMappingURL=HTMLAudioElement.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"HTMLAudioElement.d.ts","sourceRoot":"","sources":["../../../src/nodes/html-audio-element/HTMLAudioElement.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,2CAA2C,CAAC;AAEzE;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,gBAAgB;CAAG"}