valtech-components 4.0.1023 → 4.0.1024

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.
@@ -46,6 +46,7 @@ export declare class SearchSelectorComponent implements OnInit, OnChanges {
46
46
  */
47
47
  private resolveProps;
48
48
  private setupComponent;
49
+ iconMask(src: string): string;
49
50
  /**
50
51
  * Busca un key en `_global` primero, luego en `Common`, finalmente cae al
51
52
  * default hardcoded. Útil para textos cross-cutting (cancel/ok/close/etc.)
@@ -1,3 +1,4 @@
1
+ import { ModalLayoutActionEvent } from '../../molecules/modal-layout/types';
1
2
  import { ButtonMetadata } from '../../types';
2
3
  import * as i0 from "@angular/core";
3
4
  /**
@@ -50,9 +51,11 @@ export declare class LoginAttemptModalComponent {
50
51
  /** "No fui yo" — ejecuta el bloqueo y pasa a estado done. */
51
52
  confirmBlock(): Promise<void>;
52
53
  close(): void;
53
- get mineBtn(): Partial<ButtonMetadata>;
54
- get blockBtn(): Partial<ButtonMetadata>;
55
- get closeBtn(): Partial<ButtonMetadata>;
54
+ handleAction(event: ModalLayoutActionEvent): void;
55
+ get actions(): ButtonMetadata[];
56
+ get mineBtn(): ButtonMetadata;
57
+ get blockBtn(): ButtonMetadata;
58
+ get closeBtn(): ButtonMetadata;
56
59
  static ɵfac: i0.ɵɵFactoryDeclaration<LoginAttemptModalComponent, never>;
57
60
  static ɵcmp: i0.ɵɵComponentDeclaration<LoginAttemptModalComponent, "val-login-attempt-modal", never, { "title": { "alias": "title"; "required": false; }; "body": { "alias": "body"; "required": false; }; "deviceLabel": { "alias": "deviceLabel"; "required": false; }; "metaLabel": { "alias": "metaLabel"; "required": false; }; "doneLabel": { "alias": "doneLabel"; "required": false; }; "mineLabel": { "alias": "mineLabel"; "required": false; }; "blockLabel": { "alias": "blockLabel"; "required": false; }; "closeLabel": { "alias": "closeLabel"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; "onBlock": { "alias": "onBlock"; "required": false; }; "_modalRef": { "alias": "_modalRef"; "required": false; }; }, {}, never, never, true, never>;
58
61
  }
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
5
5
  * perfil desde el avatar del header. Se abre vía `ModalService.open({ component })`
6
6
  * (recibe `_modalRef` por componentProps) o lo despacha `HeaderActionsService`.
7
7
  *
8
- * Header canónico (Regla #5): sin `ion-title`, botón Cerrar en `slot=end`.
8
+ * Usa `val-modal-layout` como shell estándar de modales.
9
9
  */
10
10
  export declare class ProfileModalComponent {
11
11
  private readonly i18n;
@@ -86,7 +86,10 @@ export type InputOption = {
86
86
  name: string;
87
87
  /** Optional icon shown next to the option label */
88
88
  icon?: {
89
- name: string;
89
+ /** Ionicon name. */
90
+ name?: string;
91
+ /** Image/SVG asset URL. Takes precedence over name when present. */
92
+ src?: string;
90
93
  color?: string;
91
94
  };
92
95
  /** Whether the option is selected by default */
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.1023";
5
+ export declare const VERSION = "4.0.1024";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.1023",
3
+ "version": "4.0.1024",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"