- ✅ 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
54 lines
1.3 KiB
TypeScript
54 lines
1.3 KiB
TypeScript
import Event from '../../event/Event.js';
|
|
import HTMLElement from '../html-element/HTMLElement.js';
|
|
import * as PropertySymbol from '../../PropertySymbol.js';
|
|
/**
|
|
* HTML Dialog Element.
|
|
*
|
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement
|
|
*/
|
|
export default class HTMLDialogElement extends HTMLElement {
|
|
[PropertySymbol.returnValue]: string;
|
|
get oncancel(): ((event: Event) => void) | null;
|
|
set oncancel(value: ((event: Event) => void) | null);
|
|
get onclose(): ((event: Event) => void) | null;
|
|
set onclose(value: ((event: Event) => void) | null);
|
|
/**
|
|
* Returns return value.
|
|
*
|
|
* @returns Return value.
|
|
*/
|
|
get returnValue(): string;
|
|
/**
|
|
* Sets return value.
|
|
*
|
|
* @param value Return value.
|
|
*/
|
|
set returnValue(value: string);
|
|
/**
|
|
* Sets the "open" attribute.
|
|
*
|
|
* @param open Open.
|
|
*/
|
|
set open(open: boolean);
|
|
/**
|
|
* Returns open.
|
|
*
|
|
* @returns Open.
|
|
*/
|
|
get open(): boolean;
|
|
/**
|
|
* Closes the dialog.
|
|
*
|
|
* @param [returnValue] ReturnValue.
|
|
*/
|
|
close(returnValue?: string): void;
|
|
/**
|
|
* Shows the modal.
|
|
*/
|
|
showModal(): void;
|
|
/**
|
|
* Shows the dialog.
|
|
*/
|
|
show(): void;
|
|
}
|
|
//# sourceMappingURL=HTMLDialogElement.d.ts.map
|