@medicaresoft/dicom-viewer 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,16 @@
1
+ interface ImageUnavailableProps {
2
+ /** Título principal. */
3
+ title?: string;
4
+ /** Texto secundario. */
5
+ description?: string;
6
+ /** Variante para miniaturas de series. */
7
+ compact?: boolean;
8
+ className?: string;
9
+ }
10
+ /**
11
+ * Placeholder visual para imágenes DICOM que no pudieron cargarse.
12
+ * Es un SVG/HTML temático (no un DICOM falso): no altera mediciones ni
13
+ * overlays y se adapta a los colores del visor.
14
+ */
15
+ export declare function ImageUnavailable({ title, description, compact, className, }: ImageUnavailableProps): import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -0,0 +1,11 @@
1
+ interface SeriesThumbnailProps {
2
+ src?: string;
3
+ alt: string;
4
+ className?: string;
5
+ }
6
+ /**
7
+ * Miniatura de serie con fallback estético cuando la URL falla o no existe.
8
+ * El estado de error es local a cada miniatura.
9
+ */
10
+ export declare function SeriesThumbnail({ src, alt, className }: SeriesThumbnailProps): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -6,6 +6,7 @@ export declare function useCornerstoneViewer(study: DicomStudy, seriesIndex?: nu
6
6
  loadingProgress: number;
7
7
  downloadedCount: number;
8
8
  totalImages: number;
9
+ loadError: boolean;
9
10
  currentImageIndex: number;
10
11
  activeTool: string;
11
12
  toolBindings: Record<number, string>;