- 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
77 lines
2.2 KiB
TypeScript
77 lines
2.2 KiB
TypeScript
import SVGAngleTypeEnum from './SVGAngleTypeEnum.cjs';
|
|
import * as PropertySymbol from '../PropertySymbol.cjs';
|
|
import BrowserWindow from '../window/BrowserWindow.cjs';
|
|
/**
|
|
* SVG angle.
|
|
*
|
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle
|
|
*/
|
|
export default class SVGAngle {
|
|
static SVG_ANGLETYPE_UNKNOWN: SVGAngleTypeEnum;
|
|
static SVG_ANGLETYPE_UNSPECIFIED: SVGAngleTypeEnum;
|
|
static SVG_ANGLETYPE_DEG: SVGAngleTypeEnum;
|
|
static SVG_ANGLETYPE_RAD: SVGAngleTypeEnum;
|
|
static SVG_ANGLETYPE_GRAD: SVGAngleTypeEnum;
|
|
[PropertySymbol.window]: BrowserWindow;
|
|
[PropertySymbol.getAttribute]: (() => string | null) | null;
|
|
[PropertySymbol.setAttribute]: ((value: string) => void) | null;
|
|
[PropertySymbol.attributeValue]: string;
|
|
[PropertySymbol.readOnly]: boolean;
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param illegalConstructorSymbol Illegal constructor symbol.
|
|
* @param window Window.
|
|
* @param [options] Options.
|
|
* @param [options.readOnly] Read only.
|
|
* @param [options.getAttribute] Get attribute.
|
|
* @param [options.setAttribute] Set attribute.
|
|
*/
|
|
constructor(illegalConstructorSymbol: symbol, window: BrowserWindow, options?: {
|
|
readOnly?: boolean;
|
|
getAttribute?: () => string | null;
|
|
setAttribute?: (value: string) => void;
|
|
});
|
|
/**
|
|
* Returns unit type.
|
|
*
|
|
* @returns Unit type.
|
|
*/
|
|
get unitType(): SVGAngleTypeEnum;
|
|
/**
|
|
* Returns value.
|
|
*
|
|
* @returns Value.
|
|
*/
|
|
get value(): number;
|
|
/**
|
|
* Sets value.
|
|
*
|
|
* @param value Value in pixels.
|
|
*/
|
|
set value(value: number);
|
|
/**
|
|
* Returns value as string.
|
|
*
|
|
* @returns Value as string.
|
|
*/
|
|
get valueAsString(): string;
|
|
/**
|
|
* Returns value in specified units.
|
|
*
|
|
* @returns Value in specified units.
|
|
*/
|
|
get valueInSpecifiedUnits(): number;
|
|
/**
|
|
* New value specific units.
|
|
* @param unitType
|
|
* @param value
|
|
*/
|
|
newValueSpecifiedUnits(unitType: number, value: number): void;
|
|
/**
|
|
* Convert to specific units.
|
|
* @param unitType
|
|
*/
|
|
convertToSpecifiedUnits(unitType: SVGAngleTypeEnum): void;
|
|
}
|
|
//# sourceMappingURL=SVGAngle.d.ts.map
|