- 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
55 lines
1.5 KiB
TypeScript
55 lines
1.5 KiB
TypeScript
import * as PropertySymbol from '../../PropertySymbol.cjs';
|
|
import CharacterData from '../character-data/CharacterData.cjs';
|
|
import HTMLTextAreaElement from '../html-text-area-element/HTMLTextAreaElement.cjs';
|
|
import NodeTypeEnum from '../node/NodeTypeEnum.cjs';
|
|
import HTMLStyleElement from '../html-style-element/HTMLStyleElement.cjs';
|
|
/**
|
|
* Text node.
|
|
*/
|
|
export default class Text extends CharacterData {
|
|
cloneNode: (deep?: boolean) => Text;
|
|
[PropertySymbol.nodeType]: NodeTypeEnum;
|
|
[PropertySymbol.textAreaNode]: HTMLTextAreaElement | null;
|
|
[PropertySymbol.styleNode]: HTMLStyleElement | null;
|
|
/**
|
|
* Node name.
|
|
*
|
|
* @returns Node name.
|
|
*/
|
|
get nodeName(): string;
|
|
/**
|
|
* @override
|
|
*/
|
|
get data(): string;
|
|
/**
|
|
* @override
|
|
*/
|
|
set data(data: string);
|
|
/**
|
|
* Breaks the Text node into two nodes at the specified offset, keeping both nodes in the tree as siblings.
|
|
*
|
|
* @see https://dom.spec.whatwg.org/#dom-text-splittext
|
|
* @param offset Offset.
|
|
* @returns New text node.
|
|
*/
|
|
splitText(offset: number): Text;
|
|
/**
|
|
* Converts to string.
|
|
*
|
|
* @returns String.
|
|
*/
|
|
toString(): string;
|
|
/**
|
|
* @override
|
|
*/
|
|
[PropertySymbol.cloneNode](deep?: boolean): Text;
|
|
/**
|
|
* @override
|
|
*/
|
|
[PropertySymbol.connectedToNode](): void;
|
|
/**
|
|
* @override
|
|
*/
|
|
[PropertySymbol.disconnectedFromNode](): void;
|
|
}
|
|
//# sourceMappingURL=Text.d.ts.map
|