- 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
27 lines
665 B
JavaScript
27 lines
665 B
JavaScript
import UIEvent from '../UIEvent.js';
|
|
/**
|
|
*
|
|
*/
|
|
export default class WheelEvent extends UIEvent {
|
|
static DOM_DELTA_PIXEL = 0;
|
|
static DOM_DELTA_LINE = 1;
|
|
static DOM_DELTA_PAGE = 2;
|
|
deltaX;
|
|
deltaY;
|
|
deltaZ;
|
|
deltaMode;
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param type Event type.
|
|
* @param [eventInit] Event init.
|
|
*/
|
|
constructor(type, eventInit = null) {
|
|
super(type, eventInit);
|
|
this.deltaX = eventInit?.deltaX ?? 0;
|
|
this.deltaY = eventInit?.deltaY ?? 0;
|
|
this.deltaZ = eventInit?.deltaZ ?? 0;
|
|
this.deltaMode = eventInit?.deltaMode ?? 0;
|
|
}
|
|
}
|
|
//# sourceMappingURL=WheelEvent.js.map
|