- ✅ 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
53 lines
2 KiB
TypeScript
53 lines
2 KiB
TypeScript
import HTMLElement from '../html-element/HTMLElement.js';
|
|
import * as PropertySymbol from '../../PropertySymbol.js';
|
|
import HTMLFormElement from '../html-form-element/HTMLFormElement.js';
|
|
import Event from '../../event/Event.js';
|
|
import HTMLInputElement from '../html-input-element/HTMLInputElement.js';
|
|
import HTMLButtonElement from '../html-button-element/HTMLButtonElement.js';
|
|
import HTMLMeterElement from '../html-meter-element/HTMLMeterElement.js';
|
|
import HTMLOutputElement from '../html-output-element/HTMLOutputElement.js';
|
|
import HTMLProgressElement from '../html-progress-element/HTMLProgressElement.js';
|
|
import HTMLSelectElement from '../html-select-element/HTMLSelectElement.js';
|
|
import HTMLTextAreaElement from '../html-text-area-element/HTMLTextAreaElement.js';
|
|
/**
|
|
* HTML Label Element.
|
|
*
|
|
* Reference:
|
|
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement.
|
|
*/
|
|
export default class HTMLLabelElement extends HTMLElement {
|
|
cloneNode: (deep?: boolean) => HTMLLabelElement;
|
|
/**
|
|
* Returns a string containing the ID of the labeled control. This reflects the "for" attribute.
|
|
*
|
|
* @returns ID of the labeled control.
|
|
*/
|
|
get htmlFor(): string;
|
|
/**
|
|
* Sets a string containing the ID of the labeled control. This reflects the "for" attribute.
|
|
*
|
|
* @param htmlFor ID of the labeled control.
|
|
*/
|
|
set htmlFor(htmlFor: string);
|
|
/**
|
|
* Returns an HTML element representing the control with which the label is associated.
|
|
*
|
|
* @returns Control element.
|
|
*/
|
|
get control(): HTMLInputElement | HTMLButtonElement | HTMLMeterElement | HTMLOutputElement | HTMLProgressElement | HTMLSelectElement | HTMLTextAreaElement | null;
|
|
/**
|
|
* Returns the parent form element.
|
|
*
|
|
* @returns Form.
|
|
*/
|
|
get form(): HTMLFormElement | null;
|
|
/**
|
|
* @override
|
|
*/
|
|
[PropertySymbol.cloneNode](deep?: boolean): HTMLLabelElement;
|
|
/**
|
|
* @override
|
|
*/
|
|
dispatchEvent(event: Event): boolean;
|
|
}
|
|
//# sourceMappingURL=HTMLLabelElement.d.ts.map
|