shared-lib-angular 2.1.0 → 2.1.2

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/index.d.ts CHANGED
@@ -10,14 +10,14 @@ import { HttpClient } from '@angular/common/http';
10
10
  * Versión actual de la librería @dinafi/frmk
11
11
  * Sincronizada con package.json
12
12
  */
13
- declare const VERSION = "2.1.0";
13
+ declare const VERSION = "2.1.2";
14
14
  /**
15
15
  * Información completa de la versión
16
16
  */
17
17
  declare const VERSION_INFO: {
18
- readonly version: "2.1.0";
18
+ readonly version: "2.1.2";
19
19
  readonly name: "shared-lib-angular";
20
- readonly buildDate: "2026-02-18T20:42:24.863Z";
20
+ readonly buildDate: "2026-02-18T21:46:28.366Z";
21
21
  readonly angular: "^20.0.0";
22
22
  };
23
23
 
@@ -293,7 +293,10 @@ declare class FrmkConfigStore {
293
293
  readonly isConfigured: i0.Signal<boolean>;
294
294
  /** Configuración de la librería (merged con defaults). Lanza si no inicializada. */
295
295
  readonly libraryConfig: i0.Signal<FrmkLibraryConfig>;
296
- /** Configuración del componente Login (defaults + libraryConfig.loginConfig). */
296
+ /** Configuración del componente Login (defaults + libraryConfig.loginConfig).
297
+ * Las URLs de forgot links se resuelven dinámicamente con datos del Config Server.
298
+ * Placeholders soportados: {keycloak}, {realm}, {clientId}, {authServer}, {proto}
299
+ */
297
300
  readonly loginConfig: i0.Signal<LoginConfig>;
298
301
  /** Configuración del componente Dashboard (defaults + libraryConfig.dashboardConfig). */
299
302
  readonly dashboardConfig: i0.Signal<DashboardConfig>;
@@ -322,6 +325,20 @@ declare class FrmkConfigStore {
322
325
  private mapConfigServerResponse;
323
326
  private mergeConfigurations;
324
327
  private buildDynamicUrls;
328
+ /**
329
+ * Resuelve placeholders dinámicos en URLs de forgot links.
330
+ * Placeholders soportados:
331
+ * {keycloak} → hosts.keycloak
332
+ * {realm} → paths.realm
333
+ * {clientId} → auth.clientId
334
+ * {authServer} → hosts.authServer
335
+ * {proto} → 'https' o 'http' según requireHttps
336
+ *
337
+ * @example
338
+ * // Input: '{proto}://{keycloak}/realms/{realm}/login-actions/reset-credentials?client_id={clientId}'
339
+ * // Output: 'https://keycloak.mh.gob.sv/realms/MI_REALM/login-actions/reset-credentials?client_id=mi-app'
340
+ */
341
+ private resolveUrlPlaceholders;
325
342
  static ɵfac: i0.ɵɵFactoryDeclaration<FrmkConfigStore, never>;
326
343
  static ɵprov: i0.ɵɵInjectableDeclaration<FrmkConfigStore>;
327
344
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-lib-angular",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "Angular Librería Framework para autenticación, autorización y componentes de UI",
5
5
  "keywords": [
6
6
  "angular",