Files
headroom/frontend/node_modules/happy-dom/cjs/dom/DOMRectReadOnly.d.ts
Santhosh Janardhanan de2d83092e 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
2026-02-17 16:19:59 -05:00

84 lines
1.8 KiB
TypeScript

import * as PropertySymbol from '../PropertySymbol.cjs';
import IDOMRectInit from './IDOMRectInit.cjs';
/**
* DOM Rect Readonly.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly
*/
export default class DOMRectReadOnly implements IDOMRectInit {
protected [PropertySymbol.x]: number;
protected [PropertySymbol.y]: number;
protected [PropertySymbol.width]: number;
protected [PropertySymbol.height]: number;
/**
* Constructor.
*
* @param [x] X position.
* @param [y] Y position.
* @param [width] Width.
* @param [height] Height.
*/
constructor(x?: number | null, y?: number | null, width?: number | null, height?: number | null);
/**
* Returns x.
*
* @returns X.
*/
get x(): number;
/**
* Returns y.
*
* @returns Y.
*/
get y(): number;
/**
* Returns width.
*
* @returns Width.
*/
get width(): number;
/**
* Returns height.
*
* @returns Height.
*/
get height(): number;
/**
* Returns top.
*
* @returns Top.
*/
get top(): number;
/**
* Returns right.
*
* @returns Right.
*/
get right(): number;
/**
* Returns bottom.
*
* @returns Bottom.
*/
get bottom(): number;
/**
* Returns left.
*
* @returns Left.
*/
get left(): number;
/**
* Returns the JSON representation of the object.
*
* @returns JSON representation.
*/
toJSON(): object;
/**
* Returns a new DOMRectReadOnly object.
*
* @param other
* @returns Cloned object.
*/
static fromRect(other: IDOMRectInit): DOMRectReadOnly;
}
//# sourceMappingURL=DOMRectReadOnly.d.ts.map