valtech-components 4.0.72 → 4.0.73
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/chip-group/chip-group.component.mjs +2 -4
- package/esm2022/lib/components/molecules/command-display/command-display.component.mjs +2 -4
- package/esm2022/lib/components/molecules/comment/comment.component.mjs +2 -4
- package/esm2022/lib/components/molecules/content-reaction/content-reaction.component.mjs +2 -4
- package/esm2022/lib/components/molecules/date-input/date-input.component.mjs +2 -4
- package/esm2022/lib/components/molecules/date-picker/date-picker.component.mjs +2 -4
- package/esm2022/lib/components/molecules/features-list/features-list.component.mjs +2 -4
- package/esm2022/lib/components/molecules/font-size-selector/font-size-selector.component.mjs +2 -4
- package/esm2022/lib/components/molecules/pagination/pagination.component.mjs +2 -4
- package/esm2022/lib/components/molecules/password-input/password-input.component.mjs +2 -4
- package/esm2022/lib/components/molecules/permission-selector/permission-selector.component.mjs +2 -4
- package/esm2022/lib/components/molecules/rating/rating.component.mjs +2 -4
- package/esm2022/lib/components/molecules/ticket-card/ticket-card.component.mjs +2 -4
- package/esm2022/lib/components/organisms/about-view/about-view.component.mjs +2 -4
- package/esm2022/lib/components/organisms/account-view/account-view.component.mjs +2 -4
- package/esm2022/lib/components/organisms/api-key-create-modal/api-key-create-modal.component.mjs +3 -7
- package/esm2022/lib/components/organisms/api-keys-modal/api-keys-modal.component.mjs +3 -7
- package/esm2022/lib/components/organisms/api-keys-view/api-keys-view.component.mjs +2 -4
- package/esm2022/lib/components/organisms/auth-cta/auth-cta.component.mjs +2 -4
- package/esm2022/lib/components/organisms/create-org-modal/create-org-modal.component.mjs +2 -4
- package/esm2022/lib/components/organisms/delete-account-modal/delete-account-modal.component.mjs +2 -4
- package/esm2022/lib/components/organisms/edit-org-modal/edit-org-modal.component.mjs +2 -4
- package/esm2022/lib/components/organisms/field-list/field-list.component.mjs +2 -4
- package/esm2022/lib/components/organisms/invite-member-modal/invite-member-modal.component.mjs +2 -4
- package/esm2022/lib/components/organisms/member-detail-modal/member-detail-modal.component.mjs +3 -7
- package/esm2022/lib/components/organisms/member-import-modal/member-import-modal.component.mjs +3 -7
- package/esm2022/lib/components/organisms/notification-preferences-view/notification-preferences-view.component.mjs +2 -4
- package/esm2022/lib/components/organisms/notifications-view/notifications-view.component.mjs +2 -4
- package/esm2022/lib/components/organisms/org-info-sheet/org-info-sheet.component.mjs +2 -4
- package/esm2022/lib/components/organisms/organization-view/organization-view.component.mjs +2 -4
- package/esm2022/lib/components/organisms/permissions-view/permissions-view.component.mjs +2 -4
- package/esm2022/lib/components/organisms/preferences-view/preferences-view.component.mjs +2 -4
- package/esm2022/lib/components/organisms/profile-view/profile-view.component.mjs +2 -4
- package/esm2022/lib/components/organisms/qr-scanner/qr-scanner.component.mjs +2 -4
- package/esm2022/lib/components/organisms/security-view/security-view.component.mjs +2 -4
- package/esm2022/lib/components/organisms/settings-hub/settings-hub.component.mjs +3 -7
- package/esm2022/lib/components/organisms/share-profile-modal/share-profile-modal.component.mjs +2 -4
- package/esm2022/lib/components/organisms/switch-org-modal/switch-org-modal.component.mjs +2 -4
- package/esm2022/lib/components/organisms/transfer-ownership-modal/transfer-ownership-modal.component.mjs +3 -7
- package/esm2022/lib/services/i18n/i18n.service.mjs +21 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +66 -136
- 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/cta-card/cta-card.component.d.ts +1 -1
- package/lib/components/molecules/metric-card/metric-card.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/landing-steps/landing-steps.component.d.ts +1 -1
- package/lib/services/i18n/i18n.service.d.ts +7 -0
- 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<"
|
|
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<"
|
|
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
|
*/
|
|
@@ -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>;
|
|
@@ -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, "
|
|
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
|
}
|
|
@@ -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): {
|
|
@@ -76,7 +76,7 @@ export declare class ArticleComponent implements OnInit {
|
|
|
76
76
|
getHighlightColor(element: ArticleElement): string;
|
|
77
77
|
getButtonProps(element: ArticleElement): {
|
|
78
78
|
actionType?: import("valtech-components").ActionType;
|
|
79
|
-
expand?: "
|
|
79
|
+
expand?: "full" | "block";
|
|
80
80
|
link?: string;
|
|
81
81
|
href?: string;
|
|
82
82
|
routerLink?: string | any[];
|
|
@@ -91,9 +91,9 @@ 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?: "
|
|
95
|
-
fill?: "
|
|
96
|
-
type: "
|
|
94
|
+
size?: "default" | "small" | "large";
|
|
95
|
+
fill?: "default" | "clear" | "outline" | "solid";
|
|
96
|
+
type: "reset" | "submit" | "button";
|
|
97
97
|
token?: string;
|
|
98
98
|
ref?: any;
|
|
99
99
|
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<{
|
|
@@ -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<2 | 3 | 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>;
|
|
@@ -102,6 +102,13 @@ export declare class I18nService {
|
|
|
102
102
|
* });
|
|
103
103
|
*/
|
|
104
104
|
registerContent(namespace: string, content: LanguagesContent): void;
|
|
105
|
+
/**
|
|
106
|
+
* Registra defaults para un namespace, mezclando solo las keys ausentes por idioma.
|
|
107
|
+
* A diferencia de `registerContent`, no sobreescribe keys que el consumer ya registró.
|
|
108
|
+
* Úsalo en componentes de la lib para que sus defaults funcionen incluso cuando el
|
|
109
|
+
* consumer registró el namespace de forma parcial.
|
|
110
|
+
*/
|
|
111
|
+
registerDefaults(namespace: string, defaults: LanguagesContent): void;
|
|
105
112
|
/**
|
|
106
113
|
* Registra múltiples namespaces de una vez
|
|
107
114
|
*
|
package/lib/version.d.ts
CHANGED