valtech-components 2.0.794 → 2.0.796

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.
@@ -21,6 +21,7 @@ export declare class FormComponent implements OnInit, OnChanges, DoCheck {
21
21
  private fieldPropMemo;
22
22
  private usernamePropMemo;
23
23
  private textareaPropMemo;
24
+ private selectPropMemo;
24
25
  private previousState;
25
26
  constructor(fb: FormBuilder, elementRef: ElementRef);
26
27
  ngOnInit(): void;
@@ -39,6 +40,14 @@ export declare class FormComponent implements OnInit, OnChanges, DoCheck {
39
40
  submitHandler(token?: string): Promise<void>;
40
41
  getControl(field: string): FormControl;
41
42
  getFieldProp(field: InputMetadata): InputMetadata;
43
+ /**
44
+ * Adapter para SELECT — igual que `getFieldProp` pero limpia `label`.
45
+ * val-form ya renderiza el título del campo con `<val-title>` arriba del input;
46
+ * si además pasáramos `label` al `<ion-select>`, este lo pinta DENTRO del pill
47
+ * → redundancia visual ("Tipo" dos veces). Reusa el mismo memo (con la entrada
48
+ * ya label-stripped) para no romper la identidad de referencia.
49
+ */
50
+ getSelectProp(field: InputMetadata): InputMetadata;
42
51
  /**
43
52
  * Adapter — convierte un `InputMetadata` (con type=HANDLE) a `UsernameInputMetadata`.
44
53
  * El check de disponibilidad se resuelve dentro del component (AuthService inyectado);
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 = "2.0.794";
5
+ export declare const VERSION = "2.0.796";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.794",
3
+ "version": "2.0.796",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"