valtech-components 4.0.171 → 4.0.173
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/esm2022/lib/components/organisms/html-viewer-modal/html-viewer-modal.component.mjs +8 -22
- package/esm2022/lib/services/auth/auth.service.mjs +28 -4
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +36 -26
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/html-viewer-modal/html-viewer-modal.component.d.ts +5 -5
- package/lib/services/auth/auth.service.d.ts +1 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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).
|
|
9
|
-
*
|
|
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.
|
|
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 —
|
|
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
|
}
|
|
@@ -52,6 +52,7 @@ export declare class AuthService implements OnDestroy {
|
|
|
52
52
|
private refreshTimerId;
|
|
53
53
|
private syncSubscription;
|
|
54
54
|
private firestoreRBACUnsubscribe;
|
|
55
|
+
private inFlightRefresh$;
|
|
55
56
|
constructor(config: ValtechAuthConfig | null, http: HttpClient, router: Router, stateService: AuthStateService, tokenService: TokenService, storageService: AuthStorageService, syncService: AuthSyncService, firebaseService: FirebaseService, oauthService: OAuthService, messagingService: MessagingService | null, i18nService: I18nService | null, confirmationService: ConfirmationDialogService, firestoreInstance: Firestore | null);
|
|
56
57
|
/** Estado completo de autenticación */
|
|
57
58
|
readonly state: import("@angular/core").Signal<import("./types").AuthState>;
|
package/lib/version.d.ts
CHANGED