valtech-components 4.0.1018 → 4.0.1020

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.
@@ -57,7 +57,7 @@ export declare class RightsFooterComponent {
57
57
  /**
58
58
  * Computed helper for color prop in template.
59
59
  */
60
- propsColor: import("@angular/core").Signal<"success" | "dark" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light" | "medium">;
60
+ propsColor: import("@angular/core").Signal<"success" | "medium" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light" | "dark">;
61
61
  /**
62
62
  * Computed helper for withMargin prop in template.
63
63
  */
@@ -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<"medium" | "small" | "large" | "xlarge">;
14
+ propsSize: import("@angular/core").Signal<"small" | "medium" | "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<"medium" | "small" | "large" | "xlarge" | "xsmall">;
41
+ readonly sizeClass: import("@angular/core").Signal<"small" | "medium" | "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>;
@@ -41,8 +41,8 @@ export declare class FeaturesListComponent {
41
41
  iconColor: string;
42
42
  iconSize: number;
43
43
  mode: "horizontal" | "vertical";
44
- gap: "medium" | "small" | "large";
45
- alignment: "start" | "center";
44
+ gap: "small" | "medium" | "large";
45
+ alignment: "center" | "start";
46
46
  imageShape: "circle" | "square";
47
47
  maxVisible: number;
48
48
  showMoreLabel?: 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<"default" | "small" | "large">;
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;
@@ -6,7 +6,7 @@ export declare class OperationReferenceComponent {
6
6
  protected label: import("@angular/core").Signal<string>;
7
7
  protected copiedLabel: import("@angular/core").Signal<string>;
8
8
  protected copyAriaLabel: import("@angular/core").Signal<string>;
9
- protected align: import("@angular/core").Signal<"start" | "end" | "center">;
9
+ protected align: import("@angular/core").Signal<"center" | "start" | "end">;
10
10
  protected copyValue(): void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<OperationReferenceComponent, never>;
12
12
  static ɵcmp: i0.ɵɵComponentDeclaration<OperationReferenceComponent, "val-operation-reference", never, { "props": { "alias": "props"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -6,7 +6,7 @@ export declare class PhoneDisplayComponent {
6
6
  props: PhoneDisplayMetadata;
7
7
  onClick: EventEmitter<string>;
8
8
  protected rawPhone: import("@angular/core").Signal<string>;
9
- protected mode: import("@angular/core").Signal<"button" | "link" | "text">;
9
+ protected mode: import("@angular/core").Signal<"link" | "text" | "button">;
10
10
  protected formatted: import("@angular/core").Signal<string>;
11
11
  protected href: import("@angular/core").Signal<string>;
12
12
  protected ariaLabel: import("@angular/core").Signal<string>;
@@ -57,7 +57,7 @@ export declare class ArticleComponent implements OnInit, AfterViewInit {
57
57
  getVideoElement(element: ArticleElement): ArticleVideoElement;
58
58
  getCustomElement(element: ArticleElement): ArticleCustomElement;
59
59
  getQuoteTextProps(element: ArticleElement): {
60
- size: "medium" | "small" | "large" | "xlarge";
60
+ size: "small" | "medium" | "large" | "xlarge";
61
61
  color: import("@ionic/core").Color;
62
62
  content?: string;
63
63
  bold: boolean;
@@ -73,7 +73,7 @@ export declare class ArticleComponent implements OnInit, AfterViewInit {
73
73
  showQuoteMark?: boolean;
74
74
  };
75
75
  getHighlightTextProps(element: ArticleElement): {
76
- size: "medium" | "small" | "large" | "xlarge";
76
+ size: "small" | "medium" | "large" | "xlarge";
77
77
  color: import("@ionic/core").Color;
78
78
  content?: string;
79
79
  bold: boolean;
@@ -88,7 +88,7 @@ export declare class ArticleComponent implements OnInit, AfterViewInit {
88
88
  getHighlightColor(element: ArticleElement): string;
89
89
  getButtonProps(element: ArticleElement): {
90
90
  actionType?: import("valtech-components").ActionType;
91
- expand?: "block" | "full";
91
+ expand?: "full" | "block";
92
92
  link?: string;
93
93
  href?: string;
94
94
  routerLink?: string | any[];
@@ -103,9 +103,9 @@ export declare class ArticleComponent implements OnInit, AfterViewInit {
103
103
  contentInterpolation?: Record<string, string | number>;
104
104
  icon?: import("valtech-components").IconMetada;
105
105
  shape?: "round";
106
- size?: "default" | "small" | "large";
107
- fill?: "outline" | "clear" | "solid" | "default" | "tint";
108
- type: "submit" | "button" | "reset";
106
+ size?: "small" | "default" | "large";
107
+ fill?: "default" | "clear" | "outline" | "solid" | "tint";
108
+ type: "reset" | "submit" | "button";
109
109
  token?: string;
110
110
  ariaLabel?: string;
111
111
  ref?: any;
@@ -57,6 +57,7 @@ export declare class FormComponent implements OnInit, OnChanges, DoCheck {
57
57
  constructor(fb: FormBuilder, elementRef: ElementRef);
58
58
  /** Arma la definición de controles (valor inicial + validadores) desde `props`. */
59
59
  private buildFormControlsDef;
60
+ private initialValueForField;
60
61
  /**
61
62
  * Reconstruye el `FormGroup` desde cero, con los valores iniciales de `props`
62
63
  * actuales (no los que el usuario haya tecleado desde entonces).
@@ -96,6 +97,8 @@ export declare class FormComponent implements OnInit, OnChanges, DoCheck {
96
97
  submitHandler(token?: string): Promise<void>;
97
98
  onAttachmentChange(fieldName: string, items: AttachmentItem[]): void;
98
99
  getControl(field: string): FormControl;
100
+ private ensureControl;
101
+ private findFieldForControl;
99
102
  /**
100
103
  * Ids estables (label + error) para un field. Memoizados por referencia para
101
104
  * que el wiring `aria-labelledby` / `aria-describedby` no cambie entre ciclos
@@ -59,7 +59,7 @@ export declare class SurveyBuilderComponent implements OnInit {
59
59
  readonly wizardStep: import("@angular/core").WritableSignal<number>;
60
60
  readonly validationError: import("@angular/core").WritableSignal<string>;
61
61
  readonly saving: import("@angular/core").WritableSignal<boolean>;
62
- readonly uploadingImage: import("@angular/core").WritableSignal<"" | "header" | "success">;
62
+ readonly uploadingImage: import("@angular/core").WritableSignal<"" | "success" | "header">;
63
63
  readonly sectionIds: import("@angular/core").WritableSignal<string[]>;
64
64
  readonly sectionNames: import("@angular/core").WritableSignal<Record<string, string>>;
65
65
  readonly sectionSubtitles: import("@angular/core").WritableSignal<Record<string, 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.1018";
5
+ export declare const VERSION = "4.0.1020";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.1018",
3
+ "version": "4.0.1020",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"