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,31 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const HTMLElement_js_1 = __importDefault(require("../html-element/HTMLElement.cjs"));
const HTMLFieldSetElement_js_1 = __importDefault(require("../html-field-set-element/HTMLFieldSetElement.cjs"));
/**
* HTMLLegendElement
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement
*/
class HTMLLegendElement extends HTMLElement_js_1.default {
/**
* Returns the parent form element.
*
* @returns Form.
*/
get form() {
let parent = this;
while (parent) {
if (parent instanceof HTMLFieldSetElement_js_1.default) {
return parent.form;
}
parent = parent.parentNode;
}
return null;
}
}
exports.default = HTMLLegendElement;
//# sourceMappingURL=HTMLLegendElement.cjs.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"HTMLLegendElement.cjs","sourceRoot":"","sources":["../../../src/nodes/html-legend-element/HTMLLegendElement.ts"],"names":[],"mappings":";;;;;AAAA,oFAAyD;AAEzD,8GAAmF;AAGnF;;;;GAIG;AACH,MAAqB,iBAAkB,SAAQ,wBAAW;IACzD;;;;OAIG;IACH,IAAW,IAAI;QACd,IAAI,MAAM,GAAgB,IAAI,CAAC;QAC/B,OAAO,MAAM,EAAE,CAAC;YACf,IAAI,MAAM,YAAY,gCAAmB,EAAE,CAAC;gBAC3C,OAAO,MAAM,CAAC,IAAI,CAAC;YACpB,CAAC;YACD,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC;QAC5B,CAAC;QACD,OAAO,IAAI,CAAC;IACb,CAAC;CACD;AAhBD,oCAgBC"}

View File

@@ -0,0 +1,16 @@
import HTMLElement from '../html-element/HTMLElement.cjs';
import HTMLFormElement from '../html-form-element/HTMLFormElement.cjs';
/**
* HTMLLegendElement
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement
*/
export default class HTMLLegendElement extends HTMLElement {
/**
* Returns the parent form element.
*
* @returns Form.
*/
get form(): HTMLFormElement;
}
//# sourceMappingURL=HTMLLegendElement.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"HTMLLegendElement.d.ts","sourceRoot":"","sources":["../../../src/nodes/html-legend-element/HTMLLegendElement.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gCAAgC,CAAC;AACzD,OAAO,eAAe,MAAM,yCAAyC,CAAC;AAItE;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,WAAW;IACzD;;;;OAIG;IACH,IAAW,IAAI,IAAI,eAAe,CASjC;CACD"}