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.
- package/esm2022/lib/components/organisms/bottom-nav/bottom-nav.component.mjs +3 -2
- package/esm2022/lib/components/organisms/bottom-nav/types.mjs +1 -1
- package/esm2022/lib/services/meta/meta.service.mjs +17 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +18 -2
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/bottom-nav/types.d.ts +9 -0
- package/lib/services/meta/meta.service.d.ts +5 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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