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,135 @@
declare const _default: {
default: string;
A: string;
ABBR: string;
ADDRESS: string;
AREA: string;
ARTICLE: string;
ASIDE: string;
AUDIO: string;
B: string;
BASE: string;
BDI: string;
BDO: string;
BLOCKQUAOTE: string;
BODY: string;
TEMPLATE: string;
FORM: string;
INPUT: string;
TEXTAREA: string;
SCRIPT: string;
IMG: string;
LINK: string;
STYLE: string;
LABEL: string;
SLOT: string;
SVG: string;
CIRCLE: string;
ELLIPSE: string;
LINE: string;
PATH: string;
POLYGON: string;
POLYLINE: string;
RECT: string;
STOP: string;
USE: string;
META: string;
BLOCKQUOTE: string;
BR: string;
BUTTON: string;
CANVAS: string;
CAPTION: string;
CITE: string;
CODE: string;
COL: string;
COLGROUP: string;
DATA: string;
DATALIST: string;
DD: string;
DEL: string;
DETAILS: string;
DFN: string;
DIALOG: {
default: string;
open: string;
};
DIV: string;
DL: string;
DT: string;
EM: string;
EMBED: string;
FIELDSET: string;
FIGCAPTION: string;
FIGURE: string;
FOOTER: string;
H1: string;
H2: string;
H3: string;
H4: string;
H5: string;
H6: string;
HEAD: string;
HEADER: string;
HGROUP: string;
HR: string;
HTML: string;
I: string;
IFRAME: string;
INS: string;
KBD: string;
LEGEND: string;
LI: string;
MAIN: string;
MAP: string;
MARK: string;
MATH: string;
MENU: string;
MENUITEM: string;
METER: string;
NAV: string;
NOSCRIPT: string;
OBJECT: string;
OL: string;
OPTGROUP: string;
OPTION: string;
OUTPUT: string;
P: string;
PARAM: string;
PICTURE: string;
PRE: string;
PROGRESS: string;
Q: string;
RB: string;
RP: string;
RT: string;
RTC: string;
RUBY: string;
S: string;
SAMP: string;
SECTION: string;
SELECT: string;
SMALL: string;
SOURCE: string;
SPAN: string;
STRONG: string;
SUB: string;
SUMMARY: string;
SUP: string;
TABLE: string;
TBODY: string;
TD: string;
TFOOT: string;
TH: string;
THEAD: string;
TIME: string;
TITLE: string;
TR: string;
TRACK: string;
U: string;
UL: string;
VAR: string;
VIDEO: string;
WBR: string;
};
export default _default;
//# sourceMappingURL=CSSStyleDeclarationElementDefaultCSS.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CSSStyleDeclarationElementDefaultCSS.d.ts","sourceRoot":"","sources":["../../../../../src/css/declaration/computed-style/config/CSSStyleDeclarationElementDefaultCSS.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAoIE"}

View File

@@ -0,0 +1,134 @@
export default {
default: 'display: inline;',
A: '',
ABBR: '',
ADDRESS: 'display: block;',
AREA: '',
ARTICLE: 'display: block;',
ASIDE: 'display: block;',
AUDIO: 'display: none;',
B: '',
BASE: 'display: none;',
BDI: '',
BDO: '',
BLOCKQUAOTE: '',
BODY: 'display: block;',
TEMPLATE: 'display: none;',
FORM: 'display: block;',
INPUT: 'display: inline-block;',
TEXTAREA: 'display: inline-block;',
SCRIPT: 'display: none;',
IMG: '',
LINK: 'display: none;',
STYLE: 'display: none;',
LABEL: '',
SLOT: 'display: contents;',
SVG: '',
CIRCLE: '',
ELLIPSE: '',
LINE: '',
PATH: '',
POLYGON: '',
POLYLINE: '',
RECT: '',
STOP: '',
USE: '',
META: 'display: none;',
BLOCKQUOTE: 'display: block;',
BR: '',
BUTTON: 'display: inline-block;',
CANVAS: '',
CAPTION: 'display: table-caption;',
CITE: '',
CODE: '',
COL: 'display: table-column;',
COLGROUP: 'display: table-column-group;',
DATA: '',
DATALIST: 'display: none;',
DD: 'display: block;',
DEL: '',
DETAILS: 'display: block;',
DFN: '',
DIALOG: {
default: 'display: none;',
open: 'display: block;'
},
DIV: 'display: block;',
DL: 'display: block;',
DT: 'display: block;',
EM: '',
EMBED: '',
FIELDSET: 'display: block;',
FIGCAPTION: 'display: block;',
FIGURE: 'display: block;',
FOOTER: 'display: block;',
H1: 'display: block;',
H2: 'display: block;',
H3: 'display: block;',
H4: 'display: block;',
H5: 'display: block;',
H6: 'display: block;',
HEAD: 'display: none;',
HEADER: 'display: block;',
HGROUP: 'display: block;',
HR: 'display: block;',
HTML: 'display: block;direction: ltr;font: 16px "Times New Roman";',
I: '',
IFRAME: '',
INS: '',
KBD: '',
LEGEND: 'display: block;',
LI: 'display: list-item;',
MAIN: 'display: block;',
MAP: '',
MARK: '',
MATH: '',
MENU: 'display: block;',
MENUITEM: '',
METER: 'display: inline-block;',
NAV: 'display: block;',
NOSCRIPT: '',
OBJECT: '',
OL: 'display: block;',
OPTGROUP: 'display: block;',
OPTION: 'display: block;',
OUTPUT: 'unicode-bidi: isolate;',
P: 'display: block;',
PARAM: 'display: none;',
PICTURE: '',
PRE: 'display: block;',
PROGRESS: 'display: inline-block;',
Q: '',
RB: '',
RP: 'display: none;',
RT: '',
RTC: '',
RUBY: '',
S: '',
SAMP: '',
SECTION: 'display: block;',
SELECT: 'display: inline-block;',
SMALL: '',
SOURCE: '',
SPAN: '',
STRONG: '',
SUB: '',
SUMMARY: 'display: block;',
SUP: '',
TABLE: 'display: table;',
TBODY: 'display: table-row-group;',
TD: 'display: table-cell;',
TFOOT: 'display: table-footer-group;',
TH: 'display: table-cell;',
THEAD: 'display: table-header-group;',
TIME: '',
TITLE: 'display: none;',
TR: 'display: table-row;',
TRACK: '',
U: '',
UL: 'display: block;',
VAR: '',
VIDEO: '',
WBR: ''
};
//# sourceMappingURL=CSSStyleDeclarationElementDefaultCSS.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CSSStyleDeclarationElementDefaultCSS.js","sourceRoot":"","sources":["../../../../../src/css/declaration/computed-style/config/CSSStyleDeclarationElementDefaultCSS.ts"],"names":[],"mappings":"AAAA,eAAe;IACd,OAAO,EAAE,kBAAkB;IAC3B,CAAC,EAAE,EAAE;IACL,IAAI,EAAE,EAAE;IACR,OAAO,EAAE,iBAAiB;IAC1B,IAAI,EAAE,EAAE;IACR,OAAO,EAAE,iBAAiB;IAC1B,KAAK,EAAE,iBAAiB;IACxB,KAAK,EAAE,gBAAgB;IACvB,CAAC,EAAE,EAAE;IACL,IAAI,EAAE,gBAAgB;IACtB,GAAG,EAAE,EAAE;IACP,GAAG,EAAE,EAAE;IACP,WAAW,EAAE,EAAE;IACf,IAAI,EAAE,iBAAiB;IACvB,QAAQ,EAAE,gBAAgB;IAC1B,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,wBAAwB;IAC/B,QAAQ,EAAE,wBAAwB;IAClC,MAAM,EAAE,gBAAgB;IACxB,GAAG,EAAE,EAAE;IACP,IAAI,EAAE,gBAAgB;IACtB,KAAK,EAAE,gBAAgB;IACvB,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,oBAAoB;IAC1B,GAAG,EAAE,EAAE;IACP,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE,EAAE;IACZ,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,GAAG,EAAE,EAAE;IACP,IAAI,EAAE,gBAAgB;IACtB,UAAU,EAAE,iBAAiB;IAC7B,EAAE,EAAE,EAAE;IACN,MAAM,EAAE,wBAAwB;IAChC,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,yBA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,MAAM,EAAE,EAAE;IACV,EAAE,EAAE,iBAAiB;IACrB,QAAQ,EAAE,iBAAiB;IAC3B,MAAM,EAAE,iBAAiB;IACzB,MAAM,EAAE,wBAAwB;IAChC,CAAC,EAAE,iBAAiB;IACpB,KAAK,EAAE,gBAAgB;IACvB,OAAO,EAAE,EAAE;IACX,GAAG,EAAE,iBAAiB;IACtB,QAAQ,EAAE,wBAAwB;IAClC,CAAC,EAAE,EAAE;IACL,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,gBAAgB;IACpB,EAAE,EAAE,EAAE;IACN,GAAG,EAAE,EAAE;IACP,IAAI,EAAE,EAAE;IACR,CAAC,EAAE,EAAE;IACL,IAAI,EAAE,EAAE;IACR,OAAO,EAAE,iBAAiB;IAC1B,MAAM,EAAE,wBAAwB;IAChC,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,EAAE;IACV,GAAG,EAAE,EAAE;IACP,OAAO,EAAE,iBAAiB;IAC1B,GAAG,EAAE,EAAE;IACP,KAAK,EAAE,iBAAiB;IACxB,KAAK,EAAE,2BAA2B;IAClC,EAAE,EAAE,sBAAsB;IAC1B,KAAK,EAAE,8BAA8B;IACrC,EAAE,EAAE,sBAAsB;IAC1B,KAAK,EAAE,8BAA8B;IACrC,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,gBAAgB;IACvB,EAAE,EAAE,qBAAqB;IACzB,KAAK,EAAE,EAAE;IACT,CAAC,EAAE,EAAE;IACL,EAAE,EAAE,iBAAiB;IACrB,GAAG,EAAE,EAAE;IACP,KAAK,EAAE,EAAE;IACT,GAAG,EAAE,EAAE;CACP,CAAC"}

View File

@@ -0,0 +1,41 @@
declare const _default: {
'border-collapse': boolean;
'border-spacing': boolean;
'caption-side': boolean;
color: boolean;
cursor: boolean;
direction: boolean;
'empty-cells': boolean;
'font-family': boolean;
'font-size': boolean;
'font-style': boolean;
'font-variant': boolean;
'font-weight': boolean;
'font-size-adjust': boolean;
'font-stretch': boolean;
font: boolean;
'letter-spacing': boolean;
'line-height': boolean;
'list-style-image': boolean;
'list-style-position': boolean;
'list-style-type': boolean;
'list-style': boolean;
orphans: boolean;
quotes: boolean;
'tab-size': boolean;
'text-align': boolean;
'text-align-last': boolean;
'text-decoration-color': boolean;
'text-indent': boolean;
'text-justify': boolean;
'text-shadow': boolean;
'text-transform': boolean;
visibility: boolean;
'white-space': boolean;
widows: boolean;
'word-break': boolean;
'word-spacing': boolean;
'word-wrap': boolean;
};
export default _default;
//# sourceMappingURL=CSSStyleDeclarationElementInheritedProperties.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CSSStyleDeclarationElementInheritedProperties.d.ts","sourceRoot":"","sources":["../../../../../src/css/declaration/computed-style/config/CSSStyleDeclarationElementInheritedProperties.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAsCE"}

View File

@@ -0,0 +1,40 @@
export default {
'border-collapse': true,
'border-spacing': true,
'caption-side': true,
color: true,
cursor: true,
direction: true,
'empty-cells': true,
'font-family': true,
'font-size': true,
'font-style': true,
'font-variant': true,
'font-weight': true,
'font-size-adjust': true,
'font-stretch': true,
font: true,
'letter-spacing': true,
'line-height': true,
'list-style-image': true,
'list-style-position': true,
'list-style-type': true,
'list-style': true,
orphans: true,
quotes: true,
'tab-size': true,
'text-align': true,
'text-align-last': true,
'text-decoration-color': true,
'text-indent': true,
'text-justify': true,
'text-shadow': true,
'text-transform': true,
visibility: true,
'white-space': true,
widows: true,
'word-break': true,
'word-spacing': true,
'word-wrap': true
};
//# sourceMappingURL=CSSStyleDeclarationElementInheritedProperties.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CSSStyleDeclarationElementInheritedProperties.js","sourceRoot":"","sources":["../../../../../src/css/declaration/computed-style/config/CSSStyleDeclarationElementInheritedProperties.ts"],"names":[],"mappings":"AAAA,eAAe;IACd,iBAAiB,EAAE,IAAI;IACvB,gBAAgB,EAAE,IAAI;IACtB,cAAc,EAAE,IAAI;IACpB,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;IACZ,SAAS,EAAE,IAAI;IACf,aAAa,EAAE,IAAI;IACnB,aAAa,EAAE,IAAI;IACnB,WAAW,EAAE,IAAI;IACjB,YAAY,EAAE,IAAI;IAClB,cAAc,EAAE,IAAI;IACpB,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,cAAc,EAAE,IAAI;IACpB,IAAI,EAAE,IAAI;IACV,gBAAgB,EAAE,IAAI;IACtB,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,qBAAqB,EAAE,IAAI;IAC3B,iBAAiB,EAAE,IAAI;IACvB,YAAY,EAAE,IAAI;IAClB,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;IACZ,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE,IAAI;IAClB,iBAAiB,EAAE,IAAI;IACvB,uBAAuB,EAAE,IAAI;IAC7B,aAAa,EAAE,IAAI;IACnB,cAAc,EAAE,IAAI;IACpB,aAAa,EAAE,IAAI;IACnB,gBAAgB,EAAE,IAAI;IACtB,UAAU,EAAE,IAAI;IAChB,aAAa,EAAE,IAAI;IACnB,MAAM,EAAE,IAAI;IACZ,YAAY,EAAE,IAAI;IAClB,cAAc,EAAE,IAAI;IACpB,WAAW,EAAE,IAAI;CACjB,CAAC"}

View File

@@ -0,0 +1,3 @@
declare const _default: string[];
export default _default;
//# sourceMappingURL=CSSStyleDeclarationElementMeasurementProperties.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CSSStyleDeclarationElementMeasurementProperties.d.ts","sourceRoot":"","sources":["../../../../../src/css/declaration/computed-style/config/CSSStyleDeclarationElementMeasurementProperties.ts"],"names":[],"mappings":";AAAA,wBAwCE"}

View File

@@ -0,0 +1,42 @@
export default [
'background-position-x',
'background-position-y',
'background-size',
'border-image-outset',
'border-top-width',
'border-right-width',
'border-bottom-width',
'border-left-width',
'border-top-left-radius',
'border-top-right-radius',
'border-bottom-right-radius',
'border-bottom-left-radius',
'border-image-width',
'clip',
'font-size',
'padding-top',
'padding-right',
'padding-bottom',
'padding-left',
'margin-top',
'margin-right',
'margin-bottom',
'margin-left',
'width',
'height',
'min-width',
'min-height',
'max-width',
'max-height',
'top',
'right',
'bottom',
'left',
'outline-width',
'outline-offset',
'letter-spacing',
'word-spacing',
'text-indent',
'line-height'
];
//# sourceMappingURL=CSSStyleDeclarationElementMeasurementProperties.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CSSStyleDeclarationElementMeasurementProperties.js","sourceRoot":"","sources":["../../../../../src/css/declaration/computed-style/config/CSSStyleDeclarationElementMeasurementProperties.ts"],"names":[],"mappings":"AAAA,eAAe;IACd,uBAAuB;IACvB,uBAAuB;IACvB,iBAAiB;IACjB,qBAAqB;IACrB,kBAAkB;IAClB,oBAAoB;IACpB,qBAAqB;IACrB,mBAAmB;IACnB,wBAAwB;IACxB,yBAAyB;IACzB,4BAA4B;IAC5B,2BAA2B;IAC3B,oBAAoB;IACpB,MAAM;IACN,WAAW;IACX,aAAa;IACb,eAAe;IACf,gBAAgB;IAChB,cAAc;IACd,YAAY;IACZ,cAAc;IACd,eAAe;IACf,aAAa;IACb,OAAO;IACP,QAAQ;IACR,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,KAAK;IACL,OAAO;IACP,QAAQ;IACR,MAAM;IACN,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,cAAc;IACd,aAAa;IACb,aAAa;CACb,CAAC"}