valtech-components 4.0.129 → 4.0.131

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.
@@ -43,6 +43,15 @@ export interface BottomNavTab {
43
43
  disabled?: boolean;
44
44
  /** Aria label for accessibility */
45
45
  ariaLabel?: string;
46
+ /**
47
+ * Optional visibility gate. When provided, the tab is hidden if the function
48
+ * returns false. Evaluated inside a computed() in the component, so signal
49
+ * reads inside (e.g. auth.hasPermission) trigger reactive updates.
50
+ *
51
+ * @example
52
+ * canShow: () => this.auth.hasPermission('bingo:checkin')
53
+ */
54
+ canShow?: () => boolean;
46
55
  }
47
56
  /**
48
57
  * Configuration for the central FAB button (optional)
@@ -3,6 +3,7 @@ import * as i0 from "@angular/core";
3
3
  export declare class MetaService {
4
4
  private meta;
5
5
  private titleService;
6
+ private document;
6
7
  private baseUrl;
7
8
  private defaultImage;
8
9
  private siteName;
@@ -14,6 +15,10 @@ export declare class MetaService {
14
15
  * Actualizar meta tags de la página
15
16
  */
16
17
  updatePageMeta(metadata: PageMetadata, path?: string): void;
18
+ /**
19
+ * Setea (o actualiza) el <link rel="canonical"> del head. SSR-safe vía DOCUMENT.
20
+ */
21
+ private setCanonical;
17
22
  /**
18
23
  * Resetear a valores por defecto
19
24
  */
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.129";
5
+ export declare const VERSION = "4.0.131";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.129",
3
+ "version": "4.0.131",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"