Files
headroom/frontend/node_modules/happy-dom/cjs/nodes/html-object-element/HTMLObjectElement.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

139 lines
2.9 KiB
TypeScript

import BrowserWindow from '../../window/BrowserWindow.cjs';
import Document from '../document/Document.cjs';
import HTMLElement from '../html-element/HTMLElement.cjs';
import * as PropertySymbol from '../../PropertySymbol.cjs';
import HTMLFormElement from '../html-form-element/HTMLFormElement.cjs';
import ValidityState from '../../validity-state/ValidityState.cjs';
/**
* HTMLObjectElement
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement
*/
export default class HTMLObjectElement extends HTMLElement {
[PropertySymbol.formNode]: HTMLFormElement | null;
[PropertySymbol.validationMessage]: string;
[PropertySymbol.validity]: ValidityState;
/**
* Returns the content document.
*
* @returns Document
*/
get contentDocument(): Document | null;
/**
* Returns the content window.
*
* @returns Window
*/
get contentWindow(): BrowserWindow | null;
/**
* Returns source.
*
* @returns Source.
*/
get data(): string;
/**
* Sets source.
*
* @param data Source.
*/
set data(data: string);
/**
* Returns the parent form element.
*
* @returns Form.
*/
get form(): HTMLFormElement;
/**
* Returns height.
*
* @returns Height.
*/
get height(): string;
/**
* Sets height.
*
* @param height Height.
*/
set height(height: string);
/**
* Returns width.
*
* @returns Width.
*/
get width(): string;
/**
* Sets width.
*
* @param width Width.
*/
set width(width: string);
/**
* Returns name.
*
* @returns Name.
*/
get name(): string;
/**
* Sets name.
*
* @param name Name.
*/
set name(name: string);
/**
* Returns type.
*
* @returns Type.
*/
get type(): string;
/**
* Sets type.
*
* @param type Type.
*/
set type(type: string);
/**
* Returns validation message.
*
* @returns Validation message.
*/
get validationMessage(): string;
/**
* Returns validity.
*
* @returns Validity.
*/
get validity(): ValidityState;
/**
* Returns "true" if it will validate.
*
* @returns "true" if it will validate.
*/
get willValidate(): boolean;
/**
* @override
*/
get tabIndex(): number;
/**
* @override
*/
set tabIndex(tabIndex: number);
/**
* Checks validity.
*
* @returns "true" if the field is valid.
*/
checkValidity(): boolean;
/**
* Reports validity.
*
* @returns Validity.
*/
reportValidity(): boolean;
/**
* Sets validation message.
*
* @param message Message.
*/
setCustomValidity(message: string): void;
}
//# sourceMappingURL=HTMLObjectElement.d.ts.map