structra-ui 0.1.93 → 0.1.95

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "structra-ui",
3
- "version": "0.1.93",
3
+ "version": "0.1.95",
4
4
  "description": "Biblioteca de componentes Angular da StructraLab (UI reutilizável).",
5
5
  "homepage": "https://structralab.com/",
6
6
  "license": "MIT",
@@ -1434,6 +1434,8 @@ declare class ImagePreviewPanelComponent implements OnChanges, OnDestroy {
1434
1434
  /** Só `image` local ou `imageUrl` remota. */
1435
1435
  displaySrc: string | null;
1436
1436
  imageLoadError: boolean;
1437
+ /** Remote URL só entra como "imagem visível" após evento de load. */
1438
+ imageLoaded: boolean;
1437
1439
  /** PDF a partir de `File` (URL sanitizada). */
1438
1440
  safePdfUrl: SafeResourceUrl | null;
1439
1441
  pdfLoadError: boolean;
@@ -1447,6 +1449,11 @@ declare class ImagePreviewPanelComponent implements OnChanges, OnDestroy {
1447
1449
  onTrocar(): void;
1448
1450
  onRemover(): void;
1449
1451
  get showImage(): boolean;
1452
+ /**
1453
+ * Mantém o `<img>` montado (para disparar load/error) mesmo quando remoto ainda não terminou de carregar.
1454
+ * Evita flick de ações e permite cair no fallback amarelo quando a URL falha.
1455
+ */
1456
+ get shouldRenderImage(): boolean;
1450
1457
  get showPdf(): boolean;
1451
1458
  get showPreviewFallback(): boolean;
1452
1459
  get showEmpty(): boolean;