valtech-components 4.0.956 → 4.0.958

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<"primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | "light" | "medium" | "dark">;
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,7 +41,7 @@ export declare class FeaturesListComponent {
41
41
  iconColor: string;
42
42
  iconSize: number;
43
43
  mode: "horizontal" | "vertical";
44
- gap: "medium" | "small" | "large";
44
+ gap: "small" | "medium" | "large";
45
45
  alignment: "center" | "start";
46
46
  imageShape: "circle" | "square";
47
47
  maxVisible: number;
@@ -1,5 +1,6 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { ValGroup } from '../../../services/groups/types';
1
+ import { OnChanges, OnDestroy, OnInit, EventEmitter, SimpleChanges } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { InputType } from '../../types';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
5
6
  * val-group-picker — elegir el grupo dueño de un recurso (ADR-083).
@@ -9,10 +10,14 @@ import * as i0 from "@angular/core";
9
10
  * no como un `<select>` armado a mano en cada app — "una línea, una etiqueta
10
11
  * i18n" (ver ADR-083 §"Qué se construye una sola vez").
11
12
  *
13
+ * Renderiza vía `val-select-input` (el selector estándar de `val-form`) en vez
14
+ * de un `ion-select` propio — mismo look/comportamiento que cualquier otro
15
+ * campo SELECT del factory, sin reimplementar popover/i18n de cancel-ok.
16
+ *
12
17
  * Sin texto hardcodeado: los labels llegan por `@Input` (lib i18n-agnostic).
13
18
  * Cada app pone su palabra ("Equipo", "Sucursal", "Refugio").
14
19
  */
15
- export declare class GroupPickerComponent implements OnInit {
20
+ export declare class GroupPickerComponent implements OnInit, OnChanges, OnDestroy {
16
21
  label: string;
17
22
  placeholder: string;
18
23
  noGroupLabel: string;
@@ -20,9 +25,16 @@ export declare class GroupPickerComponent implements OnInit {
20
25
  disabled: boolean;
21
26
  valueChange: EventEmitter<string>;
22
27
  private readonly groupsSvc;
23
- groups: ValGroup[];
28
+ private groups;
29
+ private valueSub?;
30
+ readonly inputType = InputType.SELECT;
31
+ readonly enabledState: "ENABLED";
32
+ readonly disabledState: "DISABLED";
33
+ readonly selectOptions: import("@angular/core").Signal<import("../../types").InputOption[]>;
34
+ readonly control: FormControl<string>;
24
35
  ngOnInit(): void;
25
- onChange(v: string): void;
36
+ ngOnChanges(changes: SimpleChanges): void;
37
+ ngOnDestroy(): void;
26
38
  static ɵfac: i0.ɵɵFactoryDeclaration<GroupPickerComponent, never>;
27
39
  static ɵcmp: i0.ɵɵComponentDeclaration<GroupPickerComponent, "val-group-picker", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "noGroupLabel": { "alias": "noGroupLabel"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
28
40
  }
@@ -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;
@@ -105,7 +105,7 @@ export declare class ArticleComponent implements OnInit, AfterViewInit {
105
105
  shape?: "round";
106
106
  size?: "small" | "default" | "large";
107
107
  fill?: "default" | "clear" | "outline" | "solid" | "tint";
108
- type: "button" | "submit" | "reset";
108
+ type: "reset" | "submit" | "button";
109
109
  token?: string;
110
110
  ref?: any;
111
111
  handler?: (value: any) => any;
@@ -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<3 | 4 | 2>;
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>;
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.956";
5
+ export declare const VERSION = "4.0.958";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.956",
3
+ "version": "4.0.958",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"