valtech-components 4.0.216 → 4.0.218
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/organisms/account-view/account-view.component.mjs +114 -166
- package/fesm2022/valtech-components.mjs +112 -161
- 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 +1 -1
- package/lib/components/molecules/article-card/article-card.component.d.ts +1 -1
- package/lib/components/molecules/cta-card/cta-card.component.d.ts +1 -1
- package/lib/components/molecules/media-object/media-object.component.d.ts +1 -1
- package/lib/components/organisms/account-view/account-view.component.d.ts +2 -8
- package/lib/components/organisms/article/article.component.d.ts +4 -4
- 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/package.json +1 -1
|
@@ -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,7 +39,7 @@ 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<"right" | "center" | "left">;
|
|
43
43
|
/**
|
|
44
44
|
* Computed helper for color prop in template.
|
|
45
45
|
*/
|
|
@@ -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;
|
|
@@ -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, "padding" | "borderRadius" | "
|
|
38
|
+
config: import("@angular/core").Signal<CtaCardMetadata & Required<Pick<CtaCardMetadata, "padding" | "borderRadius" | "bordered" | "shadowed" | "align">>>;
|
|
39
39
|
getBackground(): string;
|
|
40
40
|
getColor(): string | null;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<CtaCardComponent, never>;
|
|
@@ -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>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { EmptyStateMetadata } from '../../molecules/empty-state/types';
|
|
2
1
|
import { ButtonGroupMetadata } from '../../molecules/button-group/types';
|
|
3
2
|
import { ButtonMetadata } from '../../types';
|
|
4
3
|
import { Organization, PendingInvitation } from '../../../services/org/types';
|
|
@@ -35,13 +34,9 @@ export declare class AccountViewComponent {
|
|
|
35
34
|
* mergea con los defaults — `@Input` gana sobre route data.
|
|
36
35
|
*/
|
|
37
36
|
config?: AccountViewConfig;
|
|
38
|
-
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">>;
|
|
39
38
|
/** Namespace i18n resuelto (capturado para llamadas no-reactivas). */
|
|
40
39
|
private get ns();
|
|
41
|
-
readonly orgs: import("@angular/core").WritableSignal<Organization[]>;
|
|
42
|
-
readonly orgsLoading: import("@angular/core").WritableSignal<boolean>;
|
|
43
|
-
private readonly orgsError;
|
|
44
|
-
readonly orgsErrorState: import("@angular/core").Signal<EmptyStateMetadata>;
|
|
45
40
|
readonly createOrgOpen: import("@angular/core").WritableSignal<boolean>;
|
|
46
41
|
readonly deleteAccountOpen: import("@angular/core").WritableSignal<boolean>;
|
|
47
42
|
readonly activeOrgLogoFailed: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -70,7 +65,7 @@ export declare class AccountViewComponent {
|
|
|
70
65
|
readonly dangerDeleteHint: import("@angular/core").Signal<string>;
|
|
71
66
|
readonly activeOrgId: import("@angular/core").Signal<string>;
|
|
72
67
|
readonly activeOrgRole: import("@angular/core").Signal<string>;
|
|
73
|
-
readonly activeOrg: import("@angular/core").
|
|
68
|
+
readonly activeOrg: import("@angular/core").WritableSignal<Organization>;
|
|
74
69
|
readonly logoutButtonProps: import("@angular/core").Signal<Partial<ButtonMetadata>>;
|
|
75
70
|
readonly deleteAccountButtonProps: import("@angular/core").Signal<Partial<ButtonMetadata>>;
|
|
76
71
|
constructor();
|
|
@@ -84,7 +79,6 @@ export declare class AccountViewComponent {
|
|
|
84
79
|
private loadPendingInvites;
|
|
85
80
|
acceptPendingInvite(invite: PendingInvitation): void;
|
|
86
81
|
declinePendingInvite(invite: PendingInvitation): void;
|
|
87
|
-
private loadOrgs;
|
|
88
82
|
protected tt(key: string): string;
|
|
89
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccountViewComponent, never>;
|
|
90
84
|
static ɵcmp: i0.ɵɵComponentDeclaration<AccountViewComponent, "val-account-view", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -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?: "right" | "center" | "left";
|
|
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?: "block" | "full";
|
|
82
82
|
link?: string;
|
|
83
83
|
href?: string;
|
|
84
84
|
routerLink?: string | any[];
|
|
@@ -94,8 +94,8 @@ export declare class ArticleComponent implements OnInit {
|
|
|
94
94
|
icon?: import("valtech-components").IconMetada;
|
|
95
95
|
shape?: "round";
|
|
96
96
|
size?: "default" | "small" | "large";
|
|
97
|
-
fill?: "
|
|
98
|
-
type: "
|
|
97
|
+
fill?: "solid" | "clear" | "outline" | "default";
|
|
98
|
+
type: "button" | "submit" | "reset";
|
|
99
99
|
token?: string;
|
|
100
100
|
ref?: any;
|
|
101
101
|
handler?: (value: any) => any;
|
|
@@ -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>;
|