- ✅ 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
66 lines
1.5 KiB
TypeScript
66 lines
1.5 KiB
TypeScript
import ICSSStyleDeclarationPropertyValue from './ICSSStyleDeclarationPropertyValue.js';
|
|
/**
|
|
* Computed this.properties property parser.
|
|
*/
|
|
export default class CSSStyleDeclarationPropertyManager {
|
|
properties: {
|
|
[k: string]: ICSSStyleDeclarationPropertyValue;
|
|
};
|
|
private definedPropertyNames;
|
|
/**
|
|
* Class construtor.
|
|
*
|
|
* @param [options] Options.
|
|
* @param [options.cssText] CSS string.
|
|
*/
|
|
constructor(options?: {
|
|
cssText?: string;
|
|
});
|
|
/**
|
|
* Returns property value.
|
|
*
|
|
* @param name Property name.
|
|
* @returns Property value.
|
|
*/
|
|
get(name: string): ICSSStyleDeclarationPropertyValue | null;
|
|
/**
|
|
* Removes a property.
|
|
*
|
|
* @param name Property name.
|
|
*/
|
|
remove(name: string): void;
|
|
/**
|
|
* Sets a property
|
|
*
|
|
* @param name Name.
|
|
* @param value Value.
|
|
* @param important Important.
|
|
*/
|
|
set(name: string, value: string, important: boolean): void;
|
|
/**
|
|
* Returns a clone.
|
|
*
|
|
* @returns Clone.
|
|
*/
|
|
clone(): CSSStyleDeclarationPropertyManager;
|
|
/**
|
|
* Returns size.
|
|
*
|
|
* @returns Size.
|
|
*/
|
|
size(): number;
|
|
/**
|
|
* Returns property name.
|
|
*
|
|
* @param index Index.
|
|
* @returns Property name.
|
|
*/
|
|
item(index: number): string;
|
|
/**
|
|
* Converts properties to string.
|
|
*
|
|
* @returns String.
|
|
*/
|
|
toString(): string;
|
|
}
|
|
//# sourceMappingURL=CSSStyleDeclarationPropertyManager.d.ts.map
|