valtech-components 4.0.220 → 4.0.222
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/services/chat/conversation.service.mjs +2 -2
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +2 -2
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/atoms/glow/glow.component.d.ts +1 -1
- package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +2 -2
- package/lib/components/atoms/user-avatar/user-avatar.component.d.ts +1 -1
- package/lib/components/molecules/article-card/article-card.component.d.ts +1 -1
- package/lib/components/molecules/content-reaction/content-reaction.component.d.ts +2 -2
- package/lib/components/molecules/cta-card/cta-card.component.d.ts +1 -1
- package/lib/components/molecules/features-list/features-list.component.d.ts +3 -3
- package/lib/components/molecules/load-more/load-more.component.d.ts +1 -1
- package/lib/components/molecules/media-object/media-object.component.d.ts +1 -1
- package/lib/components/molecules/metric-card/metric-card.component.d.ts +1 -1
- package/lib/components/organisms/account-view/account-view.component.d.ts +1 -1
- package/lib/components/organisms/article/article.component.d.ts +5 -5
- package/lib/components/organisms/auth-cta/auth-cta.component.d.ts +1 -1
- package/lib/components/organisms/bottom-nav/bottom-nav.component.d.ts +1 -1
- package/lib/components/organisms/login/login.component.d.ts +1 -1
- package/lib/components/organisms/member-import-modal/member-import-modal.component.d.ts +1 -1
- package/lib/components/organisms/notification-preferences-view/notification-preferences-view.component.d.ts +1 -1
- package/lib/components/organisms/organization-view/organization-view.component.d.ts +1 -1
- package/lib/components/templates/page-wrapper/page-wrapper.component.d.ts +2 -2
- package/lib/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -30,7 +30,7 @@ export declare class GlowComponent {
|
|
|
30
30
|
protected intensity: import("@angular/core").Signal<GlowIntensity>;
|
|
31
31
|
protected shape: import("@angular/core").Signal<GlowShape>;
|
|
32
32
|
protected animated: import("@angular/core").Signal<boolean>;
|
|
33
|
-
protected blendMode: import("@angular/core").Signal<"
|
|
33
|
+
protected blendMode: import("@angular/core").Signal<"normal" | "multiply" | "screen" | "overlay" | "soft-light" | "hard-light" | "color-dodge">;
|
|
34
34
|
protected colorRgbVar: import("@angular/core").Signal<string>;
|
|
35
35
|
protected secondaryColorRgbVar: import("@angular/core").Signal<string>;
|
|
36
36
|
protected positionCss: import("@angular/core").Signal<string>;
|
|
@@ -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<"
|
|
42
|
+
propsAlign: import("@angular/core").Signal<"left" | "center" | "right">;
|
|
43
43
|
/**
|
|
44
44
|
* Computed helper for color prop in template.
|
|
45
45
|
*/
|
|
46
|
-
propsColor: import("@angular/core").Signal<"success" | "
|
|
46
|
+
propsColor: import("@angular/core").Signal<"success" | "medium" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light" | "dark">;
|
|
47
47
|
/**
|
|
48
48
|
* Computed helper for withMargin prop in template.
|
|
49
49
|
*/
|
|
@@ -39,7 +39,7 @@ export declare class UserAvatarComponent {
|
|
|
39
39
|
/** Iniciales — 1-2 chars derivados de name (preferred) o email prefix. */
|
|
40
40
|
readonly initials: import("@angular/core").Signal<string>;
|
|
41
41
|
readonly sizeClass: import("@angular/core").Signal<"small" | "medium" | "large" | "xlarge" | "xsmall">;
|
|
42
|
-
readonly shapeClass: import("@angular/core").Signal<"
|
|
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>;
|
|
45
45
|
readonly ariaLabel: import("@angular/core").Signal<string>;
|
|
@@ -32,7 +32,7 @@ export declare class ArticleCardComponent {
|
|
|
32
32
|
/** Emitted when the card is clicked */
|
|
33
33
|
onClick: EventEmitter<ArticleCardClickEvent>;
|
|
34
34
|
/** Merged configuration with defaults */
|
|
35
|
-
config: import("@angular/core").Signal<ArticleCardMetadata & Required<Pick<ArticleCardMetadata, "
|
|
35
|
+
config: import("@angular/core").Signal<ArticleCardMetadata & Required<Pick<ArticleCardMetadata, "aspectRatio" | "bordered" | "shadowed" | "excerptLines">>>;
|
|
36
36
|
isClickable: import("@angular/core").Signal<boolean>;
|
|
37
37
|
getTopicColor(): string | null;
|
|
38
38
|
handleClick(event: MouseEvent): void;
|
|
@@ -43,8 +43,8 @@ export declare class ContentReactionComponent implements OnInit, OnChanges {
|
|
|
43
43
|
commentOnValues: ReactionValue[];
|
|
44
44
|
commentPlaceholder: string;
|
|
45
45
|
maxCommentLength: number;
|
|
46
|
-
emojis: [string, string
|
|
47
|
-
emojiLabels: [string, string
|
|
46
|
+
emojis: [string, string] | [string, string, string];
|
|
47
|
+
emojiLabels: [string, string] | [string, string, string];
|
|
48
48
|
showThankYou: boolean;
|
|
49
49
|
thankYouMessage: string;
|
|
50
50
|
disabled: boolean;
|
|
@@ -35,7 +35,7 @@ export declare class CtaCardComponent {
|
|
|
35
35
|
/** Emitted with the token of the clicked action button */
|
|
36
36
|
onAction: EventEmitter<string>;
|
|
37
37
|
/** Merged configuration with defaults */
|
|
38
|
-
config: import("@angular/core").Signal<CtaCardMetadata & Required<Pick<CtaCardMetadata, "
|
|
38
|
+
config: import("@angular/core").Signal<CtaCardMetadata & Required<Pick<CtaCardMetadata, "borderRadius" | "bordered" | "shadowed" | "align" | "padding">>>;
|
|
39
39
|
getBackground(): string;
|
|
40
40
|
getColor(): string | null;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<CtaCardComponent, never>;
|
|
@@ -40,10 +40,10 @@ export declare class FeaturesListComponent {
|
|
|
40
40
|
i18nNamespace?: string;
|
|
41
41
|
iconColor: string;
|
|
42
42
|
iconSize: number;
|
|
43
|
-
mode: "
|
|
43
|
+
mode: "horizontal" | "vertical";
|
|
44
44
|
gap: "small" | "medium" | "large";
|
|
45
|
-
alignment: "
|
|
46
|
-
imageShape: "
|
|
45
|
+
alignment: "center" | "start";
|
|
46
|
+
imageShape: "circle" | "square";
|
|
47
47
|
maxVisible: number;
|
|
48
48
|
showMoreLabel?: string;
|
|
49
49
|
showLessLabel?: string;
|
|
@@ -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;
|
|
@@ -30,7 +30,7 @@ export declare class MediaObjectComponent {
|
|
|
30
30
|
/** Emitted when the inline link is clicked */
|
|
31
31
|
onLinkClick: EventEmitter<string>;
|
|
32
32
|
/** Merged configuration with defaults */
|
|
33
|
-
config: import("@angular/core").Signal<MediaObjectMetadata & Required<Pick<MediaObjectMetadata, "rounded" | "
|
|
33
|
+
config: import("@angular/core").Signal<MediaObjectMetadata & Required<Pick<MediaObjectMetadata, "rounded" | "circle" | "mediaWidth" | "reversed" | "align">>>;
|
|
34
34
|
getColor(): string;
|
|
35
35
|
handleLinkClick(event: MouseEvent): void;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<MediaObjectComponent, never>;
|
|
@@ -28,7 +28,7 @@ export declare class MetricCardComponent {
|
|
|
28
28
|
/** Emitted with the token of the clicked action */
|
|
29
29
|
onAction: EventEmitter<string>;
|
|
30
30
|
/** Merged configuration with defaults */
|
|
31
|
-
config: import("@angular/core").Signal<MetricCardMetadata & Required<Pick<MetricCardMetadata, "borderRadius" | "
|
|
31
|
+
config: import("@angular/core").Signal<MetricCardMetadata & Required<Pick<MetricCardMetadata, "borderRadius" | "bordered" | "shadowed" | "padding">>>;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<MetricCardComponent, never>;
|
|
33
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<MetricCardComponent, "val-metric-card", never, { "props": { "alias": "props"; "required": false; "isSignal": true; }; }, { "onAction": "onAction"; }, never, never, true, never>;
|
|
34
34
|
}
|
|
@@ -34,7 +34,7 @@ export declare class AccountViewComponent {
|
|
|
34
34
|
* mergea con los defaults — `@Input` gana sobre route data.
|
|
35
35
|
*/
|
|
36
36
|
config?: AccountViewConfig;
|
|
37
|
-
readonly resolvedConfig: import("@angular/core").Signal<Required<Omit<AccountViewConfig, "
|
|
37
|
+
readonly resolvedConfig: import("@angular/core").Signal<Required<Omit<AccountViewConfig, "onOrgSwitched" | "onOrgCreated" | "onLoggedOut" | "onAccountDeleted">> & Pick<AccountViewConfig, "onOrgSwitched" | "onOrgCreated" | "onLoggedOut" | "onAccountDeleted">>;
|
|
38
38
|
/** Namespace i18n resuelto (capturado para llamadas no-reactivas). */
|
|
39
39
|
private get ns();
|
|
40
40
|
readonly createOrgOpen: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -57,7 +57,7 @@ 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?: "
|
|
60
|
+
alignment?: "left" | "center" | "right";
|
|
61
61
|
showQuoteMark?: boolean;
|
|
62
62
|
};
|
|
63
63
|
getHighlightTextProps(element: ArticleElement): {
|
|
@@ -78,7 +78,7 @@ export declare class ArticleComponent implements OnInit {
|
|
|
78
78
|
actionType?: import("valtech-components").ActionType; /**
|
|
79
79
|
* Obtiene los estilos de padding para el contenedor article
|
|
80
80
|
*/
|
|
81
|
-
expand?: "
|
|
81
|
+
expand?: "full" | "block";
|
|
82
82
|
link?: string;
|
|
83
83
|
href?: string;
|
|
84
84
|
routerLink?: string | any[];
|
|
@@ -93,9 +93,9 @@ export declare class ArticleComponent implements OnInit {
|
|
|
93
93
|
contentInterpolation?: Record<string, string | number>;
|
|
94
94
|
icon?: import("valtech-components").IconMetada;
|
|
95
95
|
shape?: "round";
|
|
96
|
-
size?: "small" | "
|
|
97
|
-
fill?: "
|
|
98
|
-
type: "
|
|
96
|
+
size?: "small" | "default" | "large";
|
|
97
|
+
fill?: "default" | "clear" | "outline" | "solid";
|
|
98
|
+
type: "reset" | "submit" | "button";
|
|
99
99
|
token?: string;
|
|
100
100
|
ref?: any;
|
|
101
101
|
handler?: (value: any) => any;
|
|
@@ -35,7 +35,7 @@ export declare class AuthCtaComponent {
|
|
|
35
35
|
onRegister: EventEmitter<void>;
|
|
36
36
|
constructor();
|
|
37
37
|
/** Merged configuration with defaults */
|
|
38
|
-
config: import("@angular/core").Signal<AuthCtaMetadata & Required<Pick<AuthCtaMetadata, "
|
|
38
|
+
config: import("@angular/core").Signal<AuthCtaMetadata & Required<Pick<AuthCtaMetadata, "borderRadius" | "align" | "padding">>>;
|
|
39
39
|
loginLabel: import("@angular/core").Signal<string>;
|
|
40
40
|
registerLabel: import("@angular/core").Signal<string>;
|
|
41
41
|
topLogoProps: import("@angular/core").Signal<{
|
|
@@ -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: "none" | "slide" | "fade" | "scale";
|
|
67
67
|
maxWidth: string;
|
|
68
68
|
}>;
|
|
69
69
|
/** Computed tabs with FAB inserted if present */
|
|
@@ -48,7 +48,7 @@ export declare class LoginComponent implements OnInit, OnDestroy {
|
|
|
48
48
|
private _mfaVerifyFormState;
|
|
49
49
|
private _mfaMethod;
|
|
50
50
|
/** Método MFA pendiente — expuesto al template para gatear el link de backup (solo TOTP). */
|
|
51
|
-
readonly mfaMethod: import("@angular/core").Signal<"
|
|
51
|
+
readonly mfaMethod: import("@angular/core").Signal<"EMAIL" | "SMS" | "TOTP">;
|
|
52
52
|
/** A: el user togglea a "código de respaldo" (8 chars alfanuméricos) cuando perdió el 2º factor. */
|
|
53
53
|
readonly mfaUseBackupCode: import("@angular/core").WritableSignal<boolean>;
|
|
54
54
|
isMFAResetModalOpen: boolean;
|
|
@@ -28,7 +28,7 @@ export declare class MemberImportModalComponent implements OnInit {
|
|
|
28
28
|
/** Namespace i18n. */
|
|
29
29
|
i18nNamespace: string;
|
|
30
30
|
csv: string;
|
|
31
|
-
readonly importMode: import("@angular/core").WritableSignal<"
|
|
31
|
+
readonly importMode: import("@angular/core").WritableSignal<"paste" | "file">;
|
|
32
32
|
readonly onConflictControl: FormControl<string>;
|
|
33
33
|
readonly sendActivationControl: FormControl<boolean>;
|
|
34
34
|
readonly conflictSelectProps: import("@angular/core").Signal<Partial<InputMetadata>>;
|
|
@@ -90,7 +90,7 @@ export declare class NotificationPreferencesViewComponent implements OnInit, OnD
|
|
|
90
90
|
readonly busyLabel: import("@angular/core").Signal<string>;
|
|
91
91
|
readonly contextMessage: import("@angular/core").Signal<string>;
|
|
92
92
|
readonly alertVariant: import("@angular/core").Signal<"warning" | "danger" | "info">;
|
|
93
|
-
readonly alertIcon: import("@angular/core").Signal<"
|
|
93
|
+
readonly alertIcon: import("@angular/core").Signal<"alert-circle-outline" | "close-circle-outline">;
|
|
94
94
|
readonly toggleProps: import("@angular/core").Signal<ToggleInputMetadata>;
|
|
95
95
|
readonly retryButtonProps: import("@angular/core").Signal<Partial<ButtonMetadata>>;
|
|
96
96
|
readonly tokenPreview: import("@angular/core").Signal<string>;
|
|
@@ -53,7 +53,7 @@ export declare class OrganizationViewComponent {
|
|
|
53
53
|
* `resolvedConfig` mergea con los defaults — `@Input` gana sobre route data.
|
|
54
54
|
*/
|
|
55
55
|
config?: OrganizationViewConfig;
|
|
56
|
-
readonly resolvedConfig: import("@angular/core").Signal<Required<Omit<OrganizationViewConfig, "onOrgEdited" | "onMemberInvited" | "onOwnershipTransferred" | "onLeftOrg" | "onOrgDeleted"
|
|
56
|
+
readonly resolvedConfig: import("@angular/core").Signal<Required<Omit<OrganizationViewConfig, "onOrgCreated" | "onOrgEdited" | "onMemberInvited" | "onOwnershipTransferred" | "onLeftOrg" | "onOrgDeleted">> & Pick<OrganizationViewConfig, "onOrgCreated" | "onOrgEdited" | "onMemberInvited" | "onOwnershipTransferred" | "onLeftOrg" | "onOrgDeleted">>;
|
|
57
57
|
/** Namespace i18n resuelto (capturado para llamadas no-reactivas). */
|
|
58
58
|
private get ns();
|
|
59
59
|
readonly org: import("@angular/core").WritableSignal<Organization>;
|
|
@@ -50,7 +50,7 @@ export declare class PageWrapperComponent implements ViewWillEnter, ViewWillLeav
|
|
|
50
50
|
* Default header configuration (cached to avoid infinite change detection).
|
|
51
51
|
*/
|
|
52
52
|
private readonly defaultHeader;
|
|
53
|
-
headerProps: import("@angular/core").Signal<{
|
|
53
|
+
headerProps: import("@angular/core").Signal<import("valtech-components").HeaderMetadata | {
|
|
54
54
|
bordered: boolean;
|
|
55
55
|
translucent: boolean;
|
|
56
56
|
toolbar: {
|
|
@@ -77,7 +77,7 @@ export declare class PageWrapperComponent implements ViewWillEnter, ViewWillLeav
|
|
|
77
77
|
};
|
|
78
78
|
}[];
|
|
79
79
|
};
|
|
80
|
-
}
|
|
80
|
+
}>;
|
|
81
81
|
contentId: import("@angular/core").Signal<string>;
|
|
82
82
|
propsFooter: import("@angular/core").Signal<import("valtech-components").CompanyFooterMetadata>;
|
|
83
83
|
contentMaxWidth: import("@angular/core").Signal<ContainerSize>;
|
package/lib/version.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "valtech-components",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.222",
|
|
4
4
|
"private": false,
|
|
5
5
|
"bin": {
|
|
6
6
|
"valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"
|
|
@@ -65,4 +65,4 @@
|
|
|
65
65
|
"default": "./fesm2022/valtech-components.mjs"
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
}
|
|
68
|
+
}
|