- ✅ Ticket 1.1: Estructura Clean Architecture en backend - ✅ Ticket 1.2: Schemas Zod compartidos - ✅ Ticket 1.3: Refactorización drugs.ts (1362 → 8 archivos modulares) - ✅ Ticket 1.4: Refactorización procedures.ts (3583 → 6 archivos modulares) - ✅ Ticket 1.5: Eliminación de duplicidades (~50 líneas) Cambios principales: - Creada estructura Clean Architecture en backend/src/ - Schemas Zod compartidos en backend/src/shared/schemas/ - Refactorización modular de drugs y procedures - Utilidades genéricas en src/utils/ (filter, validation) - Eliminados scripts obsoletos y documentación antigua - Corregidos errores: QueryClient, import test-error-handling - Build verificado y funcionando correctamente
42 lines
1.5 KiB
JavaScript
42 lines
1.5 KiB
JavaScript
import SVGElement from '../svg-element/SVGElement.js';
|
|
import * as PropertySymbol from '../../PropertySymbol.js';
|
|
import SVGAnimatedNumber from '../../svg/SVGAnimatedNumber.js';
|
|
/**
|
|
* SVGFEDistantLightElement.
|
|
*
|
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement
|
|
*/
|
|
export default class SVGFEDistantLightElement extends SVGElement {
|
|
// Internal properties
|
|
[PropertySymbol.azimuth] = null;
|
|
[PropertySymbol.elevation] = null;
|
|
/**
|
|
* Returns azimuth.
|
|
*
|
|
* @returns Azimuth.
|
|
*/
|
|
get azimuth() {
|
|
if (!this[PropertySymbol.azimuth]) {
|
|
this[PropertySymbol.azimuth] = new SVGAnimatedNumber(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
|
|
getAttribute: () => this.getAttribute('azimuth'),
|
|
setAttribute: (value) => this.setAttribute('azimuth', value)
|
|
});
|
|
}
|
|
return this[PropertySymbol.azimuth];
|
|
}
|
|
/**
|
|
* Returns elevation.
|
|
*
|
|
* @returns Elevation.
|
|
*/
|
|
get elevation() {
|
|
if (!this[PropertySymbol.elevation]) {
|
|
this[PropertySymbol.elevation] = new SVGAnimatedNumber(PropertySymbol.illegalConstructor, this[PropertySymbol.window], {
|
|
getAttribute: () => this.getAttribute('elevation'),
|
|
setAttribute: (value) => this.setAttribute('elevation', value)
|
|
});
|
|
}
|
|
return this[PropertySymbol.elevation];
|
|
}
|
|
}
|
|
//# sourceMappingURL=SVGFEDistantLightElement.js.map
|