valtech-components 4.0.976 → 4.0.977

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.
@@ -5,11 +5,16 @@ export interface ProfileCardLinks {
5
5
  whatsapp?: string | null;
6
6
  phone?: string | null;
7
7
  email?: string | null;
8
+ facebook?: string | null;
8
9
  }
9
10
  export interface ProfileCardStat {
10
11
  label: string;
11
12
  value: number | string;
12
13
  }
14
+ export interface ProfileCardPlace {
15
+ city?: string;
16
+ region?: string;
17
+ }
13
18
  /**
14
19
  * Datos agnósticos al dominio (ADR-063) — sirve refugio (Chesed), creador de
15
20
  * recetas (Mealplan) o cualquier publisher/entidad con perfil público.
@@ -20,7 +25,10 @@ export interface ProfileCardData {
20
25
  handle?: string | null;
21
26
  verified?: boolean;
22
27
  verifiedLabel?: string;
28
+ description?: string;
29
+ place?: ProfileCardPlace;
23
30
  stat?: ProfileCardStat;
31
+ stats?: Array<ProfileCardStat>;
24
32
  links?: ProfileCardLinks;
25
33
  }
26
34
  /**
@@ -36,7 +44,11 @@ export declare class ProfileCardComponent {
36
44
  readonly safeWhatsapp: import("@angular/core").Signal<string>;
37
45
  readonly safePhone: import("@angular/core").Signal<string>;
38
46
  readonly safeEmail: import("@angular/core").Signal<string>;
47
+ readonly safeFacebook: import("@angular/core").Signal<string>;
39
48
  readonly hasLinks: import("@angular/core").Signal<boolean>;
49
+ readonly statsToShow: import("@angular/core").Signal<ProfileCardStat[]>;
50
+ private facebookUrl;
51
+ formatPlace(place: ProfileCardPlace): string;
40
52
  static ɵfac: i0.ɵɵFactoryDeclaration<ProfileCardComponent, never>;
41
53
  static ɵcmp: i0.ɵɵComponentDeclaration<ProfileCardComponent, "val-profile-card", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
42
54
  }
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.976";
5
+ export declare const VERSION = "4.0.977";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.976",
3
+ "version": "4.0.977",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"