valtech-components 2.0.1019 → 2.0.1021

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.
@@ -38,11 +38,18 @@ export declare class AboutViewComponent {
38
38
  private toast;
39
39
  private route;
40
40
  /**
41
- * Config vía @Input (object-first). Si no se pasa, se cae al route data
41
+ * Config vía input (object-first). Si no se pasa, se cae al route data
42
42
  * `aboutConfig` (poblado por `provideValtechAboutRoutes`). `resolvedConfig`
43
- * mergea con los defaults — `@Input` gana sobre route data.
43
+ * mergea con los defaults — el input gana sobre route data.
44
+ *
45
+ * **Signal input** (no `@Input` clásico): `resolvedConfig` es un `computed` que se
46
+ * evalúa por primera vez en el constructor (vía `this.ns` → `setBackHeader`), ANTES
47
+ * de que un `@Input` clásico esté bindeado. Con `@Input` el computed memoizaba la
48
+ * config vacía y, al no depender de ninguna señal, NUNCA recomputaba → ignoraba
49
+ * `[config]` (social/acciones/versión/marca quedaban en default). Como signal, el
50
+ * computed lo trackea y recomputa cuando el binding llega.
44
51
  */
45
- config?: AboutViewConfig;
52
+ readonly config: import("@angular/core").InputSignal<AboutViewConfig>;
46
53
  readonly resolvedConfig: import("@angular/core").Signal<Required<Omit<AboutViewConfig, "onRated">> & Pick<AboutViewConfig, "onRated">>;
47
54
  /** Namespace i18n resuelto (capturado para llamadas no-reactivas). */
48
55
  private get ns();
@@ -85,5 +92,5 @@ export declare class AboutViewComponent {
85
92
  */
86
93
  openRating(): Promise<void>;
87
94
  static ɵfac: i0.ɵɵFactoryDeclaration<AboutViewComponent, never>;
88
- static ɵcmp: i0.ɵɵComponentDeclaration<AboutViewComponent, "val-about-view", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
95
+ static ɵcmp: i0.ɵɵComponentDeclaration<AboutViewComponent, "val-about-view", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
89
96
  }
@@ -56,6 +56,7 @@ export declare class MemberDetailModalComponent implements OnInit, OnDestroy {
56
56
  constructor();
57
57
  ngOnInit(): void;
58
58
  permissionLabel(perm: string): string;
59
+ private humanizeCode;
59
60
  private onChangeRole;
60
61
  onRemove(): Promise<void>;
61
62
  roleLabel(roleIdOrName: 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 = "2.0.1019";
5
+ export declare const VERSION = "2.0.1021";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.1019",
3
+ "version": "2.0.1021",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"