- ✅ 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
157 lines
3.4 KiB
TypeScript
157 lines
3.4 KiB
TypeScript
import Event from '../../event/Event.js';
|
|
import * as PropertySymbol from '../../PropertySymbol.js';
|
|
import BrowserWindow from '../../window/BrowserWindow.js';
|
|
import Document from '../document/Document.js';
|
|
import HTMLElement from '../html-element/HTMLElement.js';
|
|
import CrossOriginBrowserWindow from '../../window/CrossOriginBrowserWindow.js';
|
|
import DOMTokenList from '../../dom/DOMTokenList.js';
|
|
import Attr from '../attr/Attr.js';
|
|
/**
|
|
* HTML Iframe Element.
|
|
*
|
|
* Reference:
|
|
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement.
|
|
*/
|
|
export default class HTMLIFrameElement extends HTMLElement {
|
|
#private;
|
|
cloneNode: (deep?: boolean) => HTMLIFrameElement;
|
|
[PropertySymbol.sandbox]: DOMTokenList | null;
|
|
get onload(): ((event: Event) => void) | null;
|
|
set onload(value: ((event: Event) => void) | null);
|
|
get onerror(): ((event: Event) => void) | null;
|
|
set onerror(value: ((event: Event) => void) | null);
|
|
/**
|
|
* Returns source.
|
|
*
|
|
* @returns Source.
|
|
*/
|
|
get src(): string;
|
|
/**
|
|
* Sets source.
|
|
*
|
|
* @param src Source.
|
|
*/
|
|
set src(src: string);
|
|
/**
|
|
* Returns allow.
|
|
*
|
|
* @returns Allow.
|
|
*/
|
|
get allow(): string;
|
|
/**
|
|
* Sets allow.
|
|
*
|
|
* @param allow Allow.
|
|
*/
|
|
set allow(allow: string);
|
|
/**
|
|
* Returns height.
|
|
*
|
|
* @returns Height.
|
|
*/
|
|
get height(): string;
|
|
/**
|
|
* Sets height.
|
|
*
|
|
* @param height Height.
|
|
*/
|
|
set height(height: string);
|
|
/**
|
|
* Returns width.
|
|
*
|
|
* @returns Width.
|
|
*/
|
|
get width(): string;
|
|
/**
|
|
* Sets width.
|
|
*
|
|
* @param width Width.
|
|
*/
|
|
set width(width: string);
|
|
/**
|
|
* Returns name.
|
|
*
|
|
* @returns Name.
|
|
*/
|
|
get name(): string;
|
|
/**
|
|
* Sets name.
|
|
*
|
|
* @param name Name.
|
|
*/
|
|
set name(name: string);
|
|
/**
|
|
* Returns sandbox.
|
|
*
|
|
* @returns Sandbox.
|
|
*/
|
|
get sandbox(): DOMTokenList;
|
|
/**
|
|
* Sets sandbox.
|
|
*/
|
|
set sandbox(sandbox: string);
|
|
/**
|
|
* Returns srcdoc.
|
|
*
|
|
* @returns Srcdoc.
|
|
*/
|
|
get srcdoc(): string;
|
|
/**
|
|
* Sets srcdoc.
|
|
*
|
|
* @param srcdoc Srcdoc.
|
|
*/
|
|
set srcdoc(srcdoc: string);
|
|
/**
|
|
* Returns referrer policy.
|
|
*/
|
|
get referrerPolicy(): string;
|
|
/**
|
|
* Sets referrer policy.
|
|
*
|
|
* @param referrerPolicy Referrer policy.
|
|
*/
|
|
set referrerPolicy(referrerPolicy: string);
|
|
/**
|
|
* Returns content document.
|
|
*
|
|
* @returns Content document.
|
|
*/
|
|
get contentDocument(): Document | null;
|
|
/**
|
|
* Returns content window.
|
|
*
|
|
* @returns Content window.
|
|
*/
|
|
get contentWindow(): BrowserWindow | CrossOriginBrowserWindow | null;
|
|
/**
|
|
* @override
|
|
*/
|
|
get tabIndex(): number;
|
|
/**
|
|
* @override
|
|
*/
|
|
set tabIndex(tabIndex: number);
|
|
/**
|
|
* @override
|
|
*/
|
|
[PropertySymbol.connectedToDocument](): void;
|
|
/**
|
|
* Called when disconnected from document.
|
|
* @param e
|
|
*/
|
|
[PropertySymbol.disconnectedFromDocument](): void;
|
|
/**
|
|
* @override
|
|
*/
|
|
[PropertySymbol.cloneNode](deep?: boolean): HTMLIFrameElement;
|
|
/**
|
|
* @override
|
|
*/
|
|
[PropertySymbol.onSetAttribute](attribute: Attr, replacedAttribute: Attr | null): void;
|
|
/**
|
|
* @override
|
|
*/
|
|
[PropertySymbol.onRemoveAttribute](removedAttribute: Attr): void;
|
|
}
|
|
//# sourceMappingURL=HTMLIFrameElement.d.ts.map
|