valtech-components 2.0.927 → 2.0.929
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/title-block/title-block.component.mjs +4 -16
- package/esm2022/lib/components/organisms/no-content/no-content.component.mjs +6 -16
- package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +12 -7
- package/esm2022/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.mjs +6 -12
- package/esm2022/lib/components/templates/page-content/page-content.component.mjs +18 -5
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +40 -50
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +2 -2
- 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/features-list/features-list.component.d.ts +1 -1
- package/lib/components/molecules/title-block/title-block.component.d.ts +2 -5
- package/lib/components/organisms/article/article.component.d.ts +3 -3
- package/lib/components/organisms/landing-steps/landing-steps.component.d.ts +1 -1
- package/lib/components/organisms/no-content/no-content.component.d.ts +2 -5
- package/lib/components/organisms/toolbar/toolbar.component.d.ts +4 -24
- package/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.d.ts +2 -5
- package/lib/components/templates/page-content/page-content.component.d.ts +5 -30
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -39,11 +39,11 @@ export declare class RightsFooterComponent {
|
|
|
39
39
|
/**
|
|
40
40
|
* Computed helper for align prop in template.
|
|
41
41
|
*/
|
|
42
|
-
propsAlign: import("@angular/core").Signal<"left" | "
|
|
42
|
+
propsAlign: import("@angular/core").Signal<"left" | "right" | "center">;
|
|
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>;
|
|
@@ -48,7 +48,7 @@ export declare class FeaturesListComponent {
|
|
|
48
48
|
iconColor: string;
|
|
49
49
|
iconSize: number;
|
|
50
50
|
mode: "horizontal" | "vertical";
|
|
51
|
-
gap: "
|
|
51
|
+
gap: "medium" | "small" | "large";
|
|
52
52
|
alignment: "center" | "start";
|
|
53
53
|
}>;
|
|
54
54
|
/** Resolved icon color (handles Ionic colors and CSS colors) */
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { TitleBlockMetada } from './types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TitleBlockComponent implements OnInit
|
|
5
|
-
private cdr;
|
|
4
|
+
export declare class TitleBlockComponent implements OnInit {
|
|
6
5
|
props: TitleBlockMetada;
|
|
7
|
-
constructor(cdr: ChangeDetectorRef);
|
|
8
6
|
ngOnInit(): void;
|
|
9
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
10
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TitleBlockComponent, never>;
|
|
11
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<TitleBlockComponent, "val-title-block", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
9
|
}
|
|
@@ -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;
|
|
@@ -57,11 +57,11 @@ export declare class ArticleComponent implements OnInit {
|
|
|
57
57
|
linkConfig?: import("valtech-components").LinkProcessorConfig;
|
|
58
58
|
allowPartialBold?: boolean;
|
|
59
59
|
authorColor?: import("@ionic/core").Color;
|
|
60
|
-
alignment?: "left" | "
|
|
60
|
+
alignment?: "left" | "right" | "center";
|
|
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;
|
|
@@ -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>;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { NoContentMetadata } from './types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NoContentComponent implements OnInit
|
|
5
|
-
private cdr;
|
|
4
|
+
export declare class NoContentComponent implements OnInit {
|
|
6
5
|
props: NoContentMetadata;
|
|
7
6
|
onClick: EventEmitter<string>;
|
|
8
|
-
constructor(cdr: ChangeDetectorRef);
|
|
9
7
|
ngOnInit(): void;
|
|
10
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
11
8
|
onClickHandler(token: string): void;
|
|
12
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoContentComponent, never>;
|
|
13
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<NoContentComponent, "val-no-content", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
|
|
@@ -20,6 +20,8 @@ export declare class ToolbarComponent implements OnInit {
|
|
|
20
20
|
* Metadatos de la barra de herramientas.
|
|
21
21
|
*/
|
|
22
22
|
props: ToolbarMetadata;
|
|
23
|
+
private _lspInput;
|
|
24
|
+
private _lspCache;
|
|
23
25
|
/**
|
|
24
26
|
* Evento emitido al hacer click en una acción o botón de la barra.
|
|
25
27
|
*/
|
|
@@ -51,31 +53,9 @@ export declare class ToolbarComponent implements OnInit {
|
|
|
51
53
|
*/
|
|
52
54
|
leftActions(): ToolbarAction[];
|
|
53
55
|
/**
|
|
54
|
-
* Language selector props
|
|
56
|
+
* Language selector props — memoized to avoid new object reference on every CD cycle.
|
|
55
57
|
*/
|
|
56
|
-
get languageSelectorProps():
|
|
57
|
-
mode: import("valtech-components").LanguageSelectorMode;
|
|
58
|
-
icon?: string;
|
|
59
|
-
currentLanguage?: string;
|
|
60
|
-
availableLanguages?: string[];
|
|
61
|
-
showLabel?: boolean;
|
|
62
|
-
label?: string;
|
|
63
|
-
labelConfig?: {
|
|
64
|
-
className?: string;
|
|
65
|
-
key: string;
|
|
66
|
-
fallback?: string;
|
|
67
|
-
interpolation?: Record<string, any>;
|
|
68
|
-
};
|
|
69
|
-
showFlags?: boolean;
|
|
70
|
-
color: import("@ionic/core").Color;
|
|
71
|
-
size?: "default" | "small" | "large";
|
|
72
|
-
fill?: "default" | "clear" | "outline" | "solid";
|
|
73
|
-
shape?: "round";
|
|
74
|
-
expand?: "full" | "block";
|
|
75
|
-
disabled?: boolean;
|
|
76
|
-
customLanguageNames?: Record<string, string>;
|
|
77
|
-
forceReload?: boolean;
|
|
78
|
-
};
|
|
58
|
+
get languageSelectorProps(): any;
|
|
79
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
|
|
80
60
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "val-toolbar", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, ["[toolbar-bottom]"], true, never>;
|
|
81
61
|
}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ButtonMetadata } from '../../../types';
|
|
3
3
|
import { MOTION, Step, WizardMetadata } from '../types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class WizardFooterComponent implements OnInit
|
|
6
|
-
private cdr;
|
|
5
|
+
export declare class WizardFooterComponent implements OnInit {
|
|
7
6
|
props: WizardMetadata;
|
|
8
7
|
onClick: EventEmitter<{
|
|
9
8
|
current: number;
|
|
10
9
|
motion: MOTION;
|
|
11
10
|
}>;
|
|
12
11
|
wrapperId: string;
|
|
13
|
-
constructor(cdr: ChangeDetectorRef);
|
|
14
12
|
ngOnInit(): void;
|
|
15
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
16
13
|
clickHandler(token?: string): void;
|
|
17
14
|
get Current(): Step;
|
|
18
15
|
get Progress(): number;
|
|
@@ -47,43 +47,18 @@ export declare class PageContentComponent {
|
|
|
47
47
|
* Emits when a header action is clicked.
|
|
48
48
|
*/
|
|
49
49
|
onHeaderClick: EventEmitter<string>;
|
|
50
|
+
private _hpInputs;
|
|
51
|
+
private _hpCache;
|
|
50
52
|
/**
|
|
51
53
|
* Default header configuration (cached to avoid infinite change detection).
|
|
52
54
|
*/
|
|
53
55
|
private readonly defaultHeader;
|
|
54
56
|
/**
|
|
55
57
|
* Gets header props, using cached default if not provided.
|
|
56
|
-
*
|
|
58
|
+
* Memoized to return a stable object reference when inputs haven't changed,
|
|
59
|
+
* preventing cascading change detection cycles in child components.
|
|
57
60
|
*/
|
|
58
|
-
get headerProps():
|
|
59
|
-
bordered: boolean;
|
|
60
|
-
translucent: boolean;
|
|
61
|
-
toolbar: {
|
|
62
|
-
withBack: boolean;
|
|
63
|
-
withActions: boolean;
|
|
64
|
-
textColor: "dark";
|
|
65
|
-
withMenu: boolean;
|
|
66
|
-
title: string;
|
|
67
|
-
languageSelector: undefined;
|
|
68
|
-
actions: {
|
|
69
|
-
token: string;
|
|
70
|
-
description: string;
|
|
71
|
-
position: "left";
|
|
72
|
-
type: "IMAGE";
|
|
73
|
-
image: {
|
|
74
|
-
width: number;
|
|
75
|
-
src: string;
|
|
76
|
-
alt: string;
|
|
77
|
-
mode: "box";
|
|
78
|
-
shaded: boolean;
|
|
79
|
-
bordered: boolean;
|
|
80
|
-
size: "small";
|
|
81
|
-
limited: boolean;
|
|
82
|
-
flex: boolean;
|
|
83
|
-
};
|
|
84
|
-
}[];
|
|
85
|
-
};
|
|
86
|
-
};
|
|
61
|
+
get headerProps(): any;
|
|
87
62
|
/**
|
|
88
63
|
* Gets the background color based on theme.
|
|
89
64
|
*/
|
package/lib/version.d.ts
CHANGED