valtech-components 2.0.892 → 2.0.894

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.
@@ -36,6 +36,7 @@ export declare class CompanyFooterComponent {
36
36
  propsBorderless: import("@angular/core").Signal<boolean>;
37
37
  propsTopRadius: import("@angular/core").Signal<string>;
38
38
  propsBackground: import("@angular/core").Signal<string>;
39
+ propsGradientTop: import("@angular/core").Signal<boolean>;
39
40
  static ɵfac: i0.ɵɵFactoryDeclaration<CompanyFooterComponent, never>;
40
41
  static ɵcmp: i0.ɵɵComponentDeclaration<CompanyFooterComponent, "val-company-footer", never, { "props": { "alias": "props"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
41
42
  }
@@ -21,4 +21,6 @@ export interface CompanyFooterMetadata {
21
21
  borderless?: boolean;
22
22
  /** Custom background color (any CSS value). Takes precedence over withBackground. */
23
23
  background?: string;
24
+ /** Add a gradient fade from the page background into the footer background at the top. */
25
+ gradientTop?: boolean;
24
26
  }
@@ -87,6 +87,11 @@ export declare class AuthStateService {
87
87
  * Actualiza el userId y email (después de parsear el token).
88
88
  */
89
89
  updateUserInfo(userId: string, email: string): void;
90
+ /**
91
+ * Actualiza la organización activa del usuario.
92
+ * Invocado tras parsear el JWT (claim "org") o tras switchOrg exitoso.
93
+ */
94
+ updateActiveOrg(activeOrg: string | null): void;
90
95
  /**
91
96
  * Hidrata el state con campos del profile (nombre, handle, avatar, phone).
92
97
  * Invocado tras `getProfile()` o `updateProfile()` para que consumers de
@@ -63,6 +63,8 @@ export interface AuthState {
63
63
  avatarUrl?: string | null;
64
64
  /** Teléfono (poblado tras `getProfile()`) */
65
65
  phone?: string | null;
66
+ /** ID de la organización activa */
67
+ activeOrg?: string | null;
66
68
  /** Roles del usuario */
67
69
  roles: string[];
68
70
  /** Permisos del usuario (formato 'resource:action') */
@@ -86,6 +88,8 @@ export interface AuthUser {
86
88
  phone?: string;
87
89
  /** Username/handle del usuario (ej: @victorv) */
88
90
  handle?: string;
91
+ /** ID de la organización activa */
92
+ activeOrg?: string;
89
93
  /** URL del avatar del usuario */
90
94
  avatarUrl?: string;
91
95
  roles: string[];
@@ -539,6 +543,8 @@ export interface JWTClaims {
539
543
  sid?: string;
540
544
  /** Usuario tiene suscripción premium activa */
541
545
  premium?: boolean;
546
+ /** Active organization ID (JWT claim "org") */
547
+ org?: string;
542
548
  /** Issued at */
543
549
  iat: number;
544
550
  /** Expiration */
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 = "2.0.892";
5
+ export declare const VERSION = "2.0.894";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.892",
3
+ "version": "2.0.894",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"