valtech-components 4.0.975 → 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.
- package/esm2022/lib/components/molecules/profile-card/profile-card.component.mjs +86 -12
- package/esm2022/lib/components/organisms/attachment-uploader/attachment-uploader.component.mjs +3 -3
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +88 -14
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +2 -2
- package/lib/components/molecules/load-more/load-more.component.d.ts +1 -1
- package/lib/components/molecules/profile-card/profile-card.component.d.ts +12 -0
- package/lib/components/organisms/article/article.component.d.ts +2 -2
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -53,11 +53,11 @@ export declare class RightsFooterComponent {
|
|
|
53
53
|
/**
|
|
54
54
|
* Computed helper for align prop in template.
|
|
55
55
|
*/
|
|
56
|
-
propsAlign: import("@angular/core").Signal<"
|
|
56
|
+
propsAlign: import("@angular/core").Signal<"left" | "center" | "right">;
|
|
57
57
|
/**
|
|
58
58
|
* Computed helper for color prop in template.
|
|
59
59
|
*/
|
|
60
|
-
propsColor: import("@angular/core").Signal<"
|
|
60
|
+
propsColor: import("@angular/core").Signal<"success" | "medium" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light" | "dark">;
|
|
61
61
|
/**
|
|
62
62
|
* Computed helper for withMargin prop in template.
|
|
63
63
|
*/
|
|
@@ -26,7 +26,7 @@ export declare class LoadMoreComponent {
|
|
|
26
26
|
readonly color: import("@angular/core").Signal<string>;
|
|
27
27
|
readonly fill: import("@angular/core").Signal<string>;
|
|
28
28
|
readonly shape: import("@angular/core").Signal<string>;
|
|
29
|
-
readonly size: import("@angular/core").Signal<"small" | "
|
|
29
|
+
readonly size: import("@angular/core").Signal<"small" | "default" | "large">;
|
|
30
30
|
readonly threshold: import("@angular/core").Signal<string>;
|
|
31
31
|
readonly label: import("@angular/core").Signal<string>;
|
|
32
32
|
private readonly _pendingComplete;
|
|
@@ -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
|
}
|
|
@@ -69,7 +69,7 @@ export declare class ArticleComponent implements OnInit, AfterViewInit {
|
|
|
69
69
|
linkConfig?: import("valtech-components").LinkProcessorConfig;
|
|
70
70
|
allowPartialBold?: boolean;
|
|
71
71
|
authorColor?: import("@ionic/core").Color;
|
|
72
|
-
alignment?: "
|
|
72
|
+
alignment?: "left" | "center" | "right";
|
|
73
73
|
showQuoteMark?: boolean;
|
|
74
74
|
};
|
|
75
75
|
getHighlightTextProps(element: ArticleElement): {
|
|
@@ -103,7 +103,7 @@ export declare class ArticleComponent implements OnInit, AfterViewInit {
|
|
|
103
103
|
contentInterpolation?: Record<string, string | number>;
|
|
104
104
|
icon?: import("valtech-components").IconMetada;
|
|
105
105
|
shape?: "round";
|
|
106
|
-
size?: "small" | "
|
|
106
|
+
size?: "small" | "default" | "large";
|
|
107
107
|
fill?: "default" | "clear" | "outline" | "solid" | "tint";
|
|
108
108
|
type: "reset" | "submit" | "button";
|
|
109
109
|
token?: string;
|
package/lib/version.d.ts
CHANGED