valtech-components 4.0.250 → 4.0.252

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.
@@ -54,6 +54,14 @@ export declare class ToolbarComponent implements OnInit {
54
54
  * Devuelve las acciones de la izquierda.
55
55
  */
56
56
  leftActions(): ToolbarAction[];
57
+ /**
58
+ * trackBy por `token` para el *ngFor de acciones. Sin esto, como rightActions()/
59
+ * leftActions() devuelven un array NUEVO en cada change detection, Angular diffea
60
+ * por identidad y DESTRUYE/RECREA los nodos (val-user-avatar / val-image) cuando
61
+ * cambia la referencia → el <img> se recrea y reaparece el fallback ("parpadeo").
62
+ * Con key estable, Angular reusa el elemento existente → sin recarga ni flicker.
63
+ */
64
+ trackByToken(_index: number, action: ToolbarAction): string;
57
65
  /**
58
66
  * Language selector props — memoized to avoid new object reference on every CD cycle.
59
67
  */
@@ -25,17 +25,6 @@ export interface WorkflowExecution extends FirestoreDocument {
25
25
  startedAt?: string;
26
26
  stoppedAt?: string;
27
27
  }
28
- /** Estado por-paso de una ejecución (vista "en acción"). */
29
- export interface WorkflowStep {
30
- name: string;
31
- status: 'pending' | 'running' | 'succeeded' | 'failed';
32
- retries: number;
33
- }
34
- /** Resumen del historial de una ejecución. */
35
- export interface WorkflowHistory {
36
- status: WorkflowStatus;
37
- steps: WorkflowStep[];
38
- }
39
28
  /**
40
29
  * WorkflowService (ADR-045) — arranca state machines de Step Functions registradas
41
30
  * y observa su ejecución en tiempo real (Firestore). Reusable por cualquier app.
@@ -52,8 +41,6 @@ export declare class WorkflowService {
52
41
  constructor(config: ValtechAuthConfig | null);
53
42
  private get appIdHeader();
54
43
  start(name: string, input?: Record<string, unknown>): Observable<WorkflowStartResult>;
55
- /** Resumen por-paso del historial de una ejecución (para mostrar el progreso). */
56
- history(executionArn: string): Observable<WorkflowHistory>;
57
44
  watch(executionName: string): Observable<WorkflowExecution | null>;
58
45
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowService, [{ optional: true; }]>;
59
46
  static ɵprov: i0.ɵɵInjectableDeclaration<WorkflowService>;
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.250";
5
+ export declare const VERSION = "4.0.252";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.250",
3
+ "version": "4.0.252",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"