- 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
53 lines
2.0 KiB
TypeScript
53 lines
2.0 KiB
TypeScript
import HTMLElement from '../html-element/HTMLElement.cjs';
|
|
import * as PropertySymbol from '../../PropertySymbol.cjs';
|
|
import HTMLFormElement from '../html-form-element/HTMLFormElement.cjs';
|
|
import Event from '../../event/Event.cjs';
|
|
import HTMLInputElement from '../html-input-element/HTMLInputElement.cjs';
|
|
import HTMLButtonElement from '../html-button-element/HTMLButtonElement.cjs';
|
|
import HTMLMeterElement from '../html-meter-element/HTMLMeterElement.cjs';
|
|
import HTMLOutputElement from '../html-output-element/HTMLOutputElement.cjs';
|
|
import HTMLProgressElement from '../html-progress-element/HTMLProgressElement.cjs';
|
|
import HTMLSelectElement from '../html-select-element/HTMLSelectElement.cjs';
|
|
import HTMLTextAreaElement from '../html-text-area-element/HTMLTextAreaElement.cjs';
|
|
/**
|
|
* HTML Label Element.
|
|
*
|
|
* Reference:
|
|
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement.
|
|
*/
|
|
export default class HTMLLabelElement extends HTMLElement {
|
|
cloneNode: (deep?: boolean) => HTMLLabelElement;
|
|
/**
|
|
* Returns a string containing the ID of the labeled control. This reflects the "for" attribute.
|
|
*
|
|
* @returns ID of the labeled control.
|
|
*/
|
|
get htmlFor(): string;
|
|
/**
|
|
* Sets a string containing the ID of the labeled control. This reflects the "for" attribute.
|
|
*
|
|
* @param htmlFor ID of the labeled control.
|
|
*/
|
|
set htmlFor(htmlFor: string);
|
|
/**
|
|
* Returns an HTML element representing the control with which the label is associated.
|
|
*
|
|
* @returns Control element.
|
|
*/
|
|
get control(): HTMLInputElement | HTMLButtonElement | HTMLMeterElement | HTMLOutputElement | HTMLProgressElement | HTMLSelectElement | HTMLTextAreaElement | null;
|
|
/**
|
|
* Returns the parent form element.
|
|
*
|
|
* @returns Form.
|
|
*/
|
|
get form(): HTMLFormElement | null;
|
|
/**
|
|
* @override
|
|
*/
|
|
[PropertySymbol.cloneNode](deep?: boolean): HTMLLabelElement;
|
|
/**
|
|
* @override
|
|
*/
|
|
dispatchEvent(event: Event): boolean;
|
|
}
|
|
//# sourceMappingURL=HTMLLabelElement.d.ts.map
|