valtech-components 2.0.1018 → 2.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.
- package/esm2022/lib/components/organisms/about-view/about-view.component.mjs +18 -7
- package/esm2022/lib/components/organisms/organization-view/organization-view.component.mjs +5 -5
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +21 -10
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/about-view/about-view.component.d.ts +11 -4
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -38,11 +38,18 @@ export declare class AboutViewComponent {
|
|
|
38
38
|
private toast;
|
|
39
39
|
private route;
|
|
40
40
|
/**
|
|
41
|
-
* Config vía
|
|
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 —
|
|
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
|
|
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
|
}
|
package/lib/version.d.ts
CHANGED