valtech-components 4.0.170 → 4.0.172

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.
@@ -5,14 +5,15 @@ import * as i0 from "@angular/core";
5
5
  * Se abre como sheet a pantalla completa en móviles.
6
6
  *
7
7
  * Renderiza HTML embebido en un iframe (los estilos deben estar inline o
8
- * embebidos en el HTML). Botones de Imprimir (print via iframe) y Descargar
9
- * (blob export). Toolbar con botón Cerrar.
8
+ * embebidos en el HTML). Botón Imprimir (print via iframe) + Cerrar. El diálogo
9
+ * de impresión del SO ya ofrece "Guardar como PDF" y compartir nativo, así que
10
+ * NO exponemos un "descargar HTML" (un .html suelto no le sirve al usuario).
10
11
  *
11
- * Uso: ModalService.openSheet({ component: HtmlViewerModalComponent, componentProps: { html: "...", title: "..." } })
12
+ * Uso: ModalService.open({ component: HtmlViewerModalComponent, componentProps: { html: "...", title: "..." }, size: "full" })
12
13
  *
13
14
  * Props:
14
15
  * - html: string — HTML completo con estilos embebidos (requerido)
15
- * - title: string — Nombre del archivo a descargar (default: "documento")
16
+ * - title: string — Título del documento (default: "documento")
16
17
  *
17
18
  * El componente recibe `_modalRef` inyectado por ModalService para cerrar.
18
19
  */
@@ -26,7 +27,6 @@ export declare class HtmlViewerModalComponent {
26
27
  get safeHtml(): SafeHtml;
27
28
  dismiss(): void;
28
29
  printContent(): void;
29
- downloadContent(): void;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<HtmlViewerModalComponent, never>;
31
31
  static ɵcmp: i0.ɵɵComponentDeclaration<HtmlViewerModalComponent, "val-html-viewer-modal", never, { "html": { "alias": "html"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
32
32
  }
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.170";
5
+ export declare const VERSION = "4.0.172";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.170",
3
+ "version": "4.0.172",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"