valtech-components 4.0.22 → 4.0.23

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.
Files changed (24) hide show
  1. package/esm2022/lib/components/molecules/select-input/select-input.component.mjs +3 -3
  2. package/esm2022/lib/components/organisms/create-org-modal/create-org-modal.component.mjs +14 -9
  3. package/esm2022/lib/components/organisms/edit-org-modal/edit-org-modal.component.mjs +14 -9
  4. package/esm2022/lib/components/organisms/invite-member-modal/invite-member-modal.component.mjs +15 -3
  5. package/esm2022/lib/components/organisms/member-detail-modal/member-detail-modal.component.mjs +15 -3
  6. package/esm2022/lib/components/organisms/member-import-modal/member-import-modal.component.mjs +15 -3
  7. package/esm2022/lib/components/organisms/organization-view/organization-view.component.mjs +19 -1
  8. package/esm2022/lib/components/organisms/transfer-ownership-modal/transfer-ownership-modal.component.mjs +16 -6
  9. package/esm2022/lib/services/org/types.mjs +1 -1
  10. package/esm2022/lib/version.mjs +2 -2
  11. package/fesm2022/valtech-components.mjs +104 -30
  12. package/fesm2022/valtech-components.mjs.map +1 -1
  13. package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +2 -2
  14. package/lib/components/molecules/cta-card/cta-card.component.d.ts +1 -1
  15. package/lib/components/molecules/features-list/features-list.component.d.ts +1 -1
  16. package/lib/components/molecules/metric-card/metric-card.component.d.ts +1 -1
  17. package/lib/components/organisms/article/article.component.d.ts +5 -5
  18. package/lib/components/organisms/auth-cta/auth-cta.component.d.ts +1 -1
  19. package/lib/components/organisms/landing-steps/landing-steps.component.d.ts +1 -1
  20. package/lib/components/organisms/member-import-modal/member-import-modal.component.d.ts +1 -1
  21. package/lib/components/organisms/organization-view/organization-view.component.d.ts +1 -0
  22. package/lib/services/org/types.d.ts +2 -0
  23. package/lib/version.d.ts +1 -1
  24. 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" | "center" | "right">;
42
+ propsAlign: import("@angular/core").Signal<"right" | "center" | "left">;
43
43
  /**
44
44
  * Computed helper for color prop in template.
45
45
  */
46
- propsColor: import("@angular/core").Signal<"success" | "medium" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light" | "dark">;
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
  */
@@ -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, "borderRadius" | "bordered" | "shadowed" | "align" | "padding">>>;
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>;
@@ -42,7 +42,7 @@ export declare class FeaturesListComponent {
42
42
  iconSize: number;
43
43
  mode: "horizontal" | "vertical";
44
44
  gap: "small" | "medium" | "large";
45
- alignment: "center" | "start";
45
+ alignment: "start" | "center";
46
46
  imageShape: "circle" | "square";
47
47
  maxVisible: number;
48
48
  showMoreLabel?: string;
@@ -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" | "bordered" | "shadowed" | "padding">>>;
31
+ config: import("@angular/core").Signal<MetricCardMetadata & Required<Pick<MetricCardMetadata, "padding" | "borderRadius" | "bordered" | "shadowed">>>;
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?: "left" | "center" | "right";
60
+ alignment?: "right" | "center" | "left";
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?: "full" | "block";
79
+ expand?: "block" | "full";
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?: "default" | "small" | "large";
95
- fill?: "default" | "clear" | "outline" | "solid";
96
- type: "reset" | "submit" | "button";
94
+ size?: "small" | "default" | "large";
95
+ fill?: "outline" | "clear" | "solid" | "default";
96
+ type: "button" | "submit" | "reset";
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, "borderRadius" | "align" | "padding">>>;
38
+ config: import("@angular/core").Signal<AuthCtaMetadata & Required<Pick<AuthCtaMetadata, "padding" | "borderRadius" | "align">>>;
39
39
  loginLabel: import("@angular/core").Signal<string>;
40
40
  registerLabel: import("@angular/core").Signal<string>;
41
41
  resolvedBg: import("@angular/core").Signal<string>;
@@ -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<2 | 3 | 4>;
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>;
@@ -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<"paste" | "file">;
31
+ readonly importMode: import("@angular/core").WritableSignal<"file" | "paste">;
32
32
  readonly onConflictControl: FormControl<string>;
33
33
  readonly sendActivationControl: FormControl<boolean>;
34
34
  readonly conflictSelectProps: import("@angular/core").Signal<Partial<InputMetadata>>;
@@ -103,6 +103,7 @@ export declare class OrganizationViewComponent {
103
103
  private enrichWithProfiles;
104
104
  loadRoles(): void;
105
105
  roleLabel(roleIdOrName: string): string;
106
+ private mergeRoleDisplayNames;
106
107
  onViewMember(member: MemberDetail): void;
107
108
  protected tt(key: string): string;
108
109
  static ɵfac: i0.ɵɵFactoryDeclaration<OrganizationViewComponent, never>;
@@ -58,6 +58,8 @@ export interface ListOrgMembersResponse {
58
58
  members: OrgMember[];
59
59
  nextToken?: string;
60
60
  count: number;
61
+ /** Backend SSOT para labels de roles en la respuesta (ADR-024 Phase 2). */
62
+ roleDisplayNames?: Record<string, Record<string, string>>;
61
63
  }
62
64
  export interface PendingInvitation {
63
65
  orgId: string;
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.22";
5
+ export declare const VERSION = "4.0.23";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.22",
3
+ "version": "4.0.23",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"