valtech-components 4.0.127 → 4.0.130
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/action-card/action-card.component.mjs +3 -1
- package/esm2022/lib/components/molecules/action-card/types.mjs +1 -1
- package/esm2022/lib/components/molecules/feedback-form/feedback-form.component.mjs +26 -2
- 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/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +30 -3
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +1 -1
- package/lib/components/atoms/text/text.component.d.ts +1 -1
- package/lib/components/atoms/user-avatar/user-avatar.component.d.ts +1 -1
- package/lib/components/molecules/action-card/action-card.component.d.ts +1 -0
- package/lib/components/molecules/action-card/types.d.ts +2 -0
- package/lib/components/molecules/features-list/features-list.component.d.ts +1 -1
- package/lib/components/molecules/feedback-form/feedback-form.component.d.ts +5 -0
- package/lib/components/organisms/article/article.component.d.ts +3 -3
- package/lib/components/organisms/bottom-nav/bottom-nav.component.d.ts +1 -1
- package/lib/components/organisms/bottom-nav/types.d.ts +9 -0
- package/lib/components/organisms/landing-steps/landing-steps.component.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -43,7 +43,7 @@ export declare class RightsFooterComponent {
|
|
|
43
43
|
/**
|
|
44
44
|
* Computed helper for color prop in template.
|
|
45
45
|
*/
|
|
46
|
-
propsColor: import("@angular/core").Signal<"
|
|
46
|
+
propsColor: import("@angular/core").Signal<"primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | "light" | "medium" | "dark">;
|
|
47
47
|
/**
|
|
48
48
|
* Computed helper for withMargin prop in template.
|
|
49
49
|
*/
|
|
@@ -11,7 +11,7 @@ export declare class TextComponent {
|
|
|
11
11
|
*/
|
|
12
12
|
displayContent: import("@angular/core").Signal<string>;
|
|
13
13
|
propsColor: import("@angular/core").Signal<import("@ionic/core").Color>;
|
|
14
|
-
propsSize: import("@angular/core").Signal<"
|
|
14
|
+
propsSize: import("@angular/core").Signal<"medium" | "small" | "large" | "xlarge">;
|
|
15
15
|
propsBold: import("@angular/core").Signal<boolean>;
|
|
16
16
|
propsProcessLinks: import("@angular/core").Signal<boolean>;
|
|
17
17
|
propsAllowPartialBold: import("@angular/core").Signal<boolean>;
|
|
@@ -38,7 +38,7 @@ export declare class UserAvatarComponent {
|
|
|
38
38
|
readonly imageUrl: import("@angular/core").Signal<string>;
|
|
39
39
|
/** Iniciales — 1-2 chars derivados de name (preferred) o email prefix. */
|
|
40
40
|
readonly initials: import("@angular/core").Signal<string>;
|
|
41
|
-
readonly sizeClass: import("@angular/core").Signal<"
|
|
41
|
+
readonly sizeClass: import("@angular/core").Signal<"medium" | "small" | "large" | "xlarge" | "xsmall">;
|
|
42
42
|
readonly shapeClass: import("@angular/core").Signal<"circle" | "square">;
|
|
43
43
|
/** Background — explicito o derivado deterministicamente del user. */
|
|
44
44
|
readonly bgColor: import("@angular/core").Signal<string>;
|
|
@@ -67,6 +67,7 @@ export declare class ActionCardComponent {
|
|
|
67
67
|
shadowed: boolean;
|
|
68
68
|
disabled: boolean;
|
|
69
69
|
routerLink?: string | any[];
|
|
70
|
+
queryParams?: Record<string, string | number | boolean>;
|
|
70
71
|
href?: string;
|
|
71
72
|
badge?: import("./types").ActionCardBadge;
|
|
72
73
|
showChevron: boolean;
|
|
@@ -70,6 +70,8 @@ export interface ActionCardMetadata {
|
|
|
70
70
|
disabled?: boolean;
|
|
71
71
|
/** Router link for navigation */
|
|
72
72
|
routerLink?: string | any[];
|
|
73
|
+
/** Query params to pass with routerLink */
|
|
74
|
+
queryParams?: Record<string, string | number | boolean | null>;
|
|
73
75
|
/** External URL (opens in new tab/browser) */
|
|
74
76
|
href?: string;
|
|
75
77
|
/** Badge configuration */
|
|
@@ -41,7 +41,7 @@ export declare class FeaturesListComponent {
|
|
|
41
41
|
iconColor: string;
|
|
42
42
|
iconSize: number;
|
|
43
43
|
mode: "horizontal" | "vertical";
|
|
44
|
-
gap: "
|
|
44
|
+
gap: "medium" | "small" | "large";
|
|
45
45
|
alignment: "center" | "start";
|
|
46
46
|
imageShape: "circle" | "square";
|
|
47
47
|
maxVisible: number;
|
|
@@ -21,6 +21,11 @@ export declare class FeedbackFormComponent implements OnInit {
|
|
|
21
21
|
handleFormSubmit(submitted: FormSubmit): Promise<void>;
|
|
22
22
|
onCancelClick(): void;
|
|
23
23
|
tt(key: string): string;
|
|
24
|
+
/**
|
|
25
|
+
* Label del tipo de feedback. Para los tipos por defecto usa i18n (reactivo al
|
|
26
|
+
* idioma); para opciones custom con value desconocido, usa el label provisto.
|
|
27
|
+
*/
|
|
28
|
+
private typeLabel;
|
|
24
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackFormComponent, never>;
|
|
25
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeedbackFormComponent, "val-feedback-form", never, { "props": { "alias": "props"; "required": false; }; }, { "onSubmit": "onSubmit"; "onCancel": "onCancel"; "onError": "onError"; }, never, never, true, never>;
|
|
26
31
|
}
|
|
@@ -45,7 +45,7 @@ export declare class ArticleComponent implements OnInit {
|
|
|
45
45
|
getVideoElement(element: ArticleElement): ArticleVideoElement;
|
|
46
46
|
getCustomElement(element: ArticleElement): ArticleCustomElement;
|
|
47
47
|
getQuoteTextProps(element: ArticleElement): {
|
|
48
|
-
size: "
|
|
48
|
+
size: "medium" | "small" | "large" | "xlarge";
|
|
49
49
|
color: import("@ionic/core").Color;
|
|
50
50
|
content?: string;
|
|
51
51
|
bold: boolean;
|
|
@@ -61,7 +61,7 @@ export declare class ArticleComponent implements OnInit {
|
|
|
61
61
|
showQuoteMark?: boolean;
|
|
62
62
|
};
|
|
63
63
|
getHighlightTextProps(element: ArticleElement): {
|
|
64
|
-
size: "
|
|
64
|
+
size: "medium" | "small" | "large" | "xlarge";
|
|
65
65
|
color: import("@ionic/core").Color;
|
|
66
66
|
content?: string;
|
|
67
67
|
bold: boolean;
|
|
@@ -91,7 +91,7 @@ export declare class ArticleComponent implements OnInit {
|
|
|
91
91
|
contentInterpolation?: Record<string, string | number>;
|
|
92
92
|
icon?: import("valtech-components").IconMetada;
|
|
93
93
|
shape?: "round";
|
|
94
|
-
size?: "
|
|
94
|
+
size?: "small" | "default" | "large";
|
|
95
95
|
fill?: "default" | "clear" | "outline" | "solid";
|
|
96
96
|
type: "reset" | "submit" | "button";
|
|
97
97
|
token?: string;
|
|
@@ -63,7 +63,7 @@ export declare class BottomNavComponent implements OnInit, OnDestroy {
|
|
|
63
63
|
i18nNamespace?: string;
|
|
64
64
|
hideLabels: boolean;
|
|
65
65
|
safeArea: boolean;
|
|
66
|
-
animation: "
|
|
66
|
+
animation: "fade" | "scale" | "slide" | "none";
|
|
67
67
|
maxWidth: string;
|
|
68
68
|
}>;
|
|
69
69
|
/** Computed tabs with FAB inserted if present */
|
|
@@ -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)
|
|
@@ -4,7 +4,7 @@ export declare class LandingStepsComponent {
|
|
|
4
4
|
private readonly props_;
|
|
5
5
|
set props(v: LandingStepsMetadata);
|
|
6
6
|
readonly p: import("@angular/core").Signal<LandingStepsMetadata>;
|
|
7
|
-
readonly cols: import("@angular/core").Signal<
|
|
7
|
+
readonly cols: import("@angular/core").Signal<3 | 2 | 4>;
|
|
8
8
|
readonly accentColor: import("@angular/core").Signal<string>;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<LandingStepsComponent, never>;
|
|
10
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<LandingStepsComponent, "val-landing-steps", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
|
package/lib/version.d.ts
CHANGED