- 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
113 lines
2.7 KiB
TypeScript
113 lines
2.7 KiB
TypeScript
import * as PropertySymbol from '../../PropertySymbol.cjs';
|
|
import Attr from '../attr/Attr.cjs';
|
|
import Element from './Element.cjs';
|
|
/**
|
|
* Named Node Map.
|
|
*
|
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap
|
|
*/
|
|
export default class NamedNodeMap {
|
|
[index: number]: Attr;
|
|
[PropertySymbol.itemsByNamespaceURI]: Map<string, Attr>;
|
|
[PropertySymbol.itemsByName]: Map<string, Attr[]>;
|
|
[PropertySymbol.items]: Map<string, Attr>;
|
|
[PropertySymbol.ownerElement]: Element;
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param ownerElement Owner element.
|
|
*/
|
|
constructor(ownerElement: Element);
|
|
/**
|
|
* Returns length.
|
|
*
|
|
* @returns Length.
|
|
*/
|
|
get length(): number;
|
|
/**
|
|
* Returns string.
|
|
*
|
|
* @returns string.
|
|
*/
|
|
get [Symbol.toStringTag](): string;
|
|
/**
|
|
* Returns string.
|
|
*
|
|
* @returns string.
|
|
*/
|
|
toString(): string;
|
|
/**
|
|
* Iterator.
|
|
*
|
|
* @returns Iterator.
|
|
*/
|
|
[Symbol.iterator](): IterableIterator<Attr>;
|
|
/**
|
|
* Returns item by index.
|
|
*
|
|
* @param index Index.
|
|
*/
|
|
item(index: number): Attr | null;
|
|
/**
|
|
* Returns named item.
|
|
*
|
|
* @param name Name.
|
|
* @returns Item.
|
|
*/
|
|
getNamedItem(name: string): Attr | null;
|
|
/**
|
|
* Returns item by name and namespace.
|
|
*
|
|
* @param namespace Namespace.
|
|
* @param localName Local name of the attribute.
|
|
* @returns Item.
|
|
*/
|
|
getNamedItemNS(namespace: string, localName: string): Attr | null;
|
|
/**
|
|
* Sets named item.
|
|
*
|
|
* @param item Item.
|
|
* @returns Replaced item.
|
|
*/
|
|
setNamedItem(item: Attr): Attr | null;
|
|
/**
|
|
* Adds a new namespaced item.
|
|
*
|
|
* @alias setNamedItem()
|
|
* @param item Item.
|
|
* @returns Replaced item.
|
|
*/
|
|
setNamedItemNS(item: Attr): Attr | null;
|
|
/**
|
|
* Removes an item.
|
|
*
|
|
* @throws DOMException
|
|
* @param name Name of item.
|
|
* @returns Removed item.
|
|
*/
|
|
removeNamedItem(name: string): Attr;
|
|
/**
|
|
* Removes a namespaced item.
|
|
*
|
|
* @param namespace Namespace.
|
|
* @param localName Local name of the item.
|
|
* @returns Removed item.
|
|
*/
|
|
removeNamedItemNS(namespace: string, localName: string): Attr | null;
|
|
/**
|
|
* Sets named item.
|
|
*
|
|
* @param item Item.
|
|
* @param [ignoreListeners] Ignore listeners.
|
|
* @returns Replaced item.
|
|
*/
|
|
[PropertySymbol.setNamedItem](item: Attr, ignoreListeners?: boolean): Attr;
|
|
/**
|
|
* Removes named item.
|
|
*
|
|
* @param item Item.
|
|
* @param ignoreListeners
|
|
*/
|
|
[PropertySymbol.removeNamedItem](item: Attr, ignoreListeners?: boolean): void;
|
|
}
|
|
//# sourceMappingURL=NamedNodeMap.d.ts.map
|